From sqr-users-bounces@sqrug.org Wed Jul 01 00:02:41 2009 Date: Wed, 1 Jul 2009 00:00:03 -0400 From: Nathan Stratton Treadway Subject: [sqr-users] Monthly sqr-users Hints Posting sqr-users Mailing List Hints and Guidelines Nathan Stratton Treadway, Ray Ontko & Co. (nathanst@ontko.com) $Revision: 1.23 $ $Date: 2006/07/27 16:28:24 $ This document gathers in one location information about the sqr-users mail list. It includes instructions for changing your subscription settings (including unsubscribing), as well are guidelines for using the list. ______________________________________________________________________ Table of Contents 1. Changes Since Previous Version 2. Introduction 2.1 sqr-users Mailing List 2.2 sqr-users Hints and Guidelines Document 2.3 Related Mailing Lists 3. Interacting with the list server 3.1 Subscribing to the list 3.2 Unsubscribing from the list 3.3 When your email address changes 3.4 Digests 3.5 Obtaining your password 3.6 Problems 4. Posting to the sqr-users List 4.1 General Guidelines 4.2 Posting a Message 4.3 Replying to a Message 5. Job Announcements ______________________________________________________________________ 1. Changes Since Previous Version Changes since the version dated 2005/08/19: o Added note about spam filtering and sender verification systems blocking subscription confirmation messages. 2. Introduction 2.1. sqr-users Mailing List The sqr-users mailing list was created to enable discussion related to the SQR database language from Hyperion (and to other products in the SQR product suite). Note: SQR used to be published by SQRIBE Technologies, which was merged into Brio Technology on August 3, 1999. Brio Technology changed its name to Brio Software in October 2001. On October 16, 2003, Hyperion acquired Brio Software. SQR and related applications have also been called "Brio.Report" and "Brio Reports". The mailing list is provided as a service of Ray Ontko & Co. A searchable archive of past postings to the mailing list is available from the SQR Users Group web site . 2.2. sqr-users Hints and Guidelines Document This document gives various hints and guidelines about the sqr-users mailing list. It will be posted approximately monthly to the mailing list so that new users can see it (and existing users can find it easily). An HTML version of the document is always available at http://www.sqrug.org/sqr-users/sqr-users-hints.html. If you have comments or suggestions about this document, please contact me directly at the address listed in the title section. This document is Copyright (C) 1999-2004 by Ray Ontko & Co. It may be freely copied and distributed provided it is not modified in any way and it retains the original copyright notice. 2.3. Related Mailing Lists Here are some mailing lists that cover topics relating to SQR in some way. sqr-jobs : SQR Jobs This list may be used for posting SQR-related resumes, recruitments, job announcements, project announcments, help- wanted, work-wanted ads, etc. To join, follow the link above, or send any message to "sqr-jobs-subscribe@yahoogroups.com". peoplesoft-fans : PeopleSoft Fans Moderated list covering technical and functional aspects of PeopleSoft. To join, follow the link above, or send any message to "peoplesoft-fans-subscribe@yahoogroups.com". psusers : PeopleSoft Users For questions related to any aspect of PeopleSoft (including PeopleSoft-specific SQR issues). This list has merged with the Peoplesoft Fans mailing list and is no longer active, but the message achive can still be found at the link above. HyperionSQR : Hyperion- SQR List for discussion of SQR, SQR Developer (formerly called Brio.Report and Report Builder), and SQR iServer. To join, follow the link above, or send any message to "HyperionSQR- subscribe@yahoogroups.com". rm-users : Report- Mart Users List for discussion of Brio Portal (previously called ReportMart). To join, follow the link above, or send a message containing the word "subscribe" in the body to "rm-users- request@sqrug.org". brioportalusersgroup : Brio Portal Users Group list List for discussion of Brio Portal. To join, follow the link above, or send any message to "brioportalusersgroup- subscribe@yahoogroups.com". brio-l : OpenITx Brio List List for technical and functional discussion of all Brio products (but most messages are currently about Brio Intelligence). To join, follow the link above. briousers : Brio.Enter- prise Users List for discussion of the Brio.Enterprise (now called Intelligence) product. To join, follow the link above, or send any message to "briousers-subscribe@yahoogroups.com". briolist : Brio List List for discussion of Brio Intelligence. To join, follow the link above, or send any message to "briolist- subscribe@yahoogroups.com". 3. Interacting with the list server The sqr-users mailing list is hosted using the Mailman list server package. All of the Mailman functions described below are accessed from the sqr-users List Info page, "http://www.sqrug.org/mailman/listinfo/sqr-users". 3.1. Subscribing to the list To subscribe to the mailing list, enter your e-mail address in the box at the top of the "Subscribing to sqr-users" section on the sqr-users List Info page, then choose a password to assign to your subscription and enter it in both "Password" boxes. This password is used to allow you to securely make changes to your subscription over the web. This password will be e-mailed back to you at varous times, so you should not use the same password as you are using elsewhere. Once you have filled in the password, click the "Subscribe" button. You should soon receive an e-mail message from the list server requesting confirmation of your subscription request. Once you have replied to this message and your subscription has been processed, you will receive a "welcome" message giving you more information on the list server, and as well as a reminder of the subscription password you chose. Many sites are now implementing spam filtering and/or sender verification systems, which can prevent your confirmation message from getting delivered to you. You may need check for a message from "sqr- users-request[-AT-]sqrug.org" caught in the filter, or add that address to your list of authorized senders, in order to complete the confirmation process. 3.2. Unsubscribing from the list To unsubscribe from the list, go to the sqr-users List Info page, enter your e-mail address in the "sqr-users Subscribers" section near the bottom of the page, and click the "Unsubscribe or edit options" button. You will then see the "member options" page; fill in your password at the top of the page and click "Log in". (If you have forgotton your password, see the ``Obtaining your Password'' section, below). This will take you to the "membership configuration" page. In the middle of that page, there will be an "Unsubscribing from sqr- users" section; simply turn on the "Yes, I really want to unsubscribe" checkbox and click the "Unsubscribe" button. You should get a page back saying that the removal was successful (as well as a confirmation email message). The removal will take effect immediately; there is no need to send in a confirmation e-mail message. If you don't know your password, you can choose to unsubscribe using e-mail confirmation. Instead of entering the password on the "member options" page, just click the "Unsubscribe" button found just below the "Log In" button. You will then see a page noting that a confirmation e-mail has been sent; once you follow the confirmation instructions in that e-mail your removal will be complete. 3.3. When your email address changes If your e-mail address changes -- for example, if your company changes names, or if your mail administrator changes the way your name is spelled out or abbreviated -- you will need to update your subscription to match your new address before you can post to the list (see the ``Posting'' section, below). To do this, simply log in to your "membership configuration" page (see the directions for logging in to this page in the ``Unsubscribing'' section, above). At the top of that page you'll see a "Changing your membership information" section. Fill out the text boxes and click the "Change My Address and Name" button. You will be sent a confirmation e-mail, and once you have responded to that e-mail your subscription will be updated and you can begin posting from your new address. 3.4. Digests You can request to get your messages in digest form (one large message containing all of the posts made each day). To do this, log in to your "membership configuration" page (see the directions on doing this in the ``Unsubscribing'' section, above). At the bottom of the page, you will see a section titled "Your sqr-users Subscription Options". Change the "Set Digest Mode" option (the second option in the list) to "On" and click the "Submit My Changes" button at the bottom of the page. You actually have a choice of two different digest formats, "MIME" or "Plain Text". The MIME format sends each individual list message as a separate MIME attachment to the digest; the plain text format consists of one large text message, with all of the individual messages run together. Which format you will want to use depends on your mail- reading software (and personal preference). If you are not sure which format will work best, you can just leave the default setting of "MIME" and see if the next morning's digest is easy to read in your mail reader -- you can change to the other format at any time using that same web page. If you use digests, you should not just "reply" to the digest mailing. Instead, be sure your message's subject header matches the subject in the original posting to which you are replying, and that you don't include a quoted copy of the entire digest in your post. To restore normal distribution, simply follow the above instructions choosing the "Off" setting for the Digest option. 3.5. Obtaining your password You will not be able to change your subscription options without your password. If you have forgotten your password, simply click the "Email My Password to Me" button on the "member options" page and your password will be emailed to you. You will also be e-mailed a copy of your password at the beginning of each month, as part of a "mailing list memberships reminder" message from the Mailman software. 3.6. Problems If the above instructions do not work, please contact the list manager at "sqr-users-manager@sqrug.org". (Do not send a message to the list itself -- no one there can help you with your problem!) Please include a description of what you were trying to do and what exactly happened when you made the attempt. 4. Posting to the sqr-users List In order to post to the mailing list, you must be subscribed to it (see directions above). More specifically, in order for Mailman to recognize that this message was sent by a subscriber, the return address on your message much exactly match the addresss you used to subscribe -- if you have more than one address you will need to be sure that you are sending from the correct one. (See the ``When you email address changes'' section, above, if your e-mail address has changed since you subscribed.) 4.1. General Guidelines For any message you send to the list, please: o make sure your mail software is not requesting a "Return Receipt". (If a "Return Receipt Requested" message is sent to the list, several dozen receipt messages will be sent out to the mailing list as other subscribers' mail systems repond....) o do not send messages in HTML or other special formats. (These are not usable by many subscribers, especially those who receive their messages in digest format.) The list server will delete these special attachments from your message and send you a warning notice. Also, if you are trying to send (for example) SQR source code files, make sure your mail-reader software is assigning proper MIME types to your attachments or they may not be distributed. o keep in mind that over 500 people will receive your message, and that it will appear in the list archives. Try to keep your messages on-topic and relatively short. Consider sending your message directly to particular people if it won't interest many of the list's subscribers. o ignore abusive and inappropriate messages that get sent to the list, rather than getting drawn into a debate. The very nature of these messages will cause most subscribers to automatically discredit them -- no "response" is necessary. To the contrary, any response will only "add fuel to the fire," prolonging the controversy and further interupting the normal conversation on the list. 4.2. Posting a Message Once you are subscribed, you can post to the list by sending a message to "sqr-users@sqrug.org". Be sure your subject heading describes your specific problem or question (i.e. don't just use "SQR Question"). In the body of your message, please include the following information: o SQR product name and version number (see notes below) o Operating system name and version number o Database name and version number o Application name (i.e. PeopleSoft) and a version number, if any Also, include a short code sample whenever possible. It's much easier for other people to understand what you are trying to do when they can see the actual code. (At the same time, be careful not to post confidential or proprietary code, since the posting will be placed in a public web archive.) Note that your question should relate to SQR or other Brio Report product in some way. Don't ask questions about PeopleSoft, for example, unless you are having SQR-related issues. (For PeopleSoft- specific questions, see other lists mentioned in the ``Related Mailing Lists'' section.) In 2001, PeopleSoft purchased from Brio the rights to the source code for SQR and began releasing its own line of SQR. PeopleSoft's SQR version numbering is different from Brio/Hyperion's, so it's very important to mention whether you are using Hyperion's "SQR" or "SQR for PeopleSoft". (This info is included automatically if you include the full SQR version-id string as described below.) To get the version-id string for your copy of SQR, you can run the following program: begin-program show $sqr-ver end-program This will produce a line that looks something like this: SQR/3.0.15/Intel/SCO Unix R3.2 V5.0/Oracle 7.2.2.3/Sep 25 1996 Include the full line of output in your message. Note that the oper- ating system and database version numbers listed here are the ones under which this copy of SQR was compiled, so you'll still need to include this information for your own environment. In a command-line environment (Unix, etc.), you can also get this version-id string by saying sqr -id 4.3. Replying to a Message Messages sent out on the list have a Reply-To header pointing to the list. This means that you should be able to simply use your mail reader's "reply" function to send a reply to the list. Generally, all answers to questions sent out on the list should be public replies, so that other subscribers can benefit. In those cases where a private reply is appropriate, be sure to over-ride the default Reply-To address. If your message is not actually a reply to the earlier message, please do not use the "reply" function. Instead, address a new e-mail message to the list as described in the previous section. (This is because the list archives will incorrectly show the new message in the original thread if you use "reply".) You should quote enough lines from the original message that later readers can understand your answer even if they missed the original question. At the same time, you should remove any unnecessary lines from the quote in order to make your message shorter and easier to understand. (Remember that some people read the mailing list in digest form, and the digests become much larger if unnecessary lines are quoted.) 5. Job Announcements Please do not post job announcements on the sqr-users list, but use the sqr-jobs list instead. (See ``Related Mailing Lists'' for more information on this list.) A large number of sqr-users subscribers do not want to receive job announcements (for various reasons) and such posts tend to cause a lot of disruption of the discussion on the list. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jul 01 17:09:20 2009 From: Date: Wed, 1 Jul 2009 17:06:21 -0400 Subject: [sqr-users] Qpen command record-length problem I need to open a window-compatible .txt file for writing where all records = are the same length, but that length is not known until run time. The synt= ax appears to expect an integer literal value for the length. What is need= ed is something like either using an integer variable for the length or dyn= amically building the open command and then execute it. Can anyone help? -Steve Jones UPS _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jul 01 17:40:57 2009 Subject: RE: [sqr-users] Qpen command record-length problem Date: Wed, 1 Jul 2009 14:37:58 -0700 From: "Alexander, Steven" The open command does not let you use a variable for the length parameter. If you know the maximum possible value you could open "varying" with that value. There is no penalty for opening "record=3D32000:vary" and then writing exactly 853 bytes on every line. If you have to open fixed length, no line feed, try the ASK command: ask rec_len ... open ... record=3D{rec_len}:fixed_nolf -----Original Message----- From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mailto:sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf Of Jones.Steven@ups.com Sent: Wednesday, July 01, 2009 2:06 PM To: sqr-users@sqrug.org Subject: [sqr-users] Qpen command record-length problem I need to open a window-compatible .txt file for writing where all records are the same length, but that length is not known until run time. The syntax appears to expect an integer literal value for the length. What is needed is something like either using an integer variable for the length or dynamically building the open command and then execute it. Can anyone help? -Steve Jones UPS _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jul 01 17:44:23 2009 From: "franck.masson" Subject: Re:[sqr-users] Qpen command record-length problem Date: Wed, 1 Jul 2009 23:38:53 +0200 (CEST) According to the documentation : OPEN {filename_lit|_var|_col} AS {filenum_num_lit|_var|_col} {FOR-READING|FOR-WRITING|FOR-APPEND} {RECORD=3Dlength_num_lit|_var|_col[:FIXED|:FIXED_NOLF|:VARY:BINARY]}] [STATUS=3Dnum_var]] [ENCODING=3D{_var|_col|ASCII|ANSI|SJIS|JEUC|EBCDIC| EBCDIK290|EBCDIK1027| UCS-2|UTF-8|others... }] =20 you can use a variable to specify the RECORD value =20 franck, > Message du 01/07/09 23:09 > De : Jones.Steven@ups.com > A : sqr-users@sqrug.org > Copie =C3=A0 :=20 > Objet : [sqr-users] Qpen command record-length problem > >=20 > I need to open a window-compatible .txt file for writing where all record= s are the same length, but that length is not known until run time. The syn= tax appears to expect an integer literal value for the length. What is need= ed is something like either using an integer variable for the length or dyn= amically building the open command and then execute it. > Can anyone help? > -Steve Jones > UPS >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jul 01 17:52:21 2009 Subject: RE: [sqr-users] Qpen command record-length problem Date: Wed, 1 Jul 2009 14:49:28 -0700 From: "Alexander, Steven" I think that depends on the version of SQR. -----Original Message----- From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mailto:= sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf Of = franck.masson Sent: Wednesday, July 01, 2009 2:39 PM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: Re:[sqr-users] Qpen command record-length problem According to the documentation : OPEN {filename_lit|_var|_col} AS {filenum_num_lit|_var|_col} {FOR-READING|FOR-WRITING|FOR-APPEND} {RECORD=3Dlength_num_lit|_var|_col[:FIXED|:FIXED_NOLF|:VARY:BINARY]}] [STATUS=3Dnum_var]] [ENCODING=3D{_var|_col|ASCII|ANSI|SJIS|JEUC|EBCDIC| EBCDIK290|EBCDIK1027| UCS-2|UTF-8|others... }] =20 you can use a variable to specify the RECORD value =20 franck, > Message du 01/07/09 23:09 > De : Jones.Steven@ups.com > A : sqr-users@sqrug.org > Copie =E0 :=20 > Objet : [sqr-users] Qpen command record-length problem > >=20 > I need to open a window-compatible .txt file for writing where all record= s are the same length, but that length is not known until run time. The syn= tax appears to expect an integer literal value for the length. What is need= ed is something like either using an integer variable for the length or dyn= amically building the open command and then execute it. > Can anyone help? > -Steve Jones > UPS >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jul 01 18:09:21 2009 From: Date: Wed, 1 Jul 2009 18:06:20 -0400 Subject: RE: [sqr-users] Qpen command record-length problem Thank you for your replies. The rec_len is determined by the sum of the width of the various columns th= e user selects thru input parms and thus not an ask. Can it be done that w= ay somehow? -Steve=20=20 -----Original Message----- From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-users-= bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of Alexander, Steven Sent: Wednesday, July 01, 2009 2:38 PM To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Subject: RE: [sqr-users] Qpen command record-length problem The open command does not let you use a variable for the length parameter. = If you know the maximum possible value you could open "varying" with that = value. There is no penalty for opening "record=3D32000:vary" and then writ= ing exactly 853 bytes on every line. If you have to open fixed length, no line feed, try the ASK command: ask rec_len ... open ... record=3D{rec_len}:fixed_nolf -----Original Message----- From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mailto:sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Be= half Of Jones.Steven@ups.com Sent: Wednesday, July 01, 2009 2:06 PM To: sqr-users@sqrug.org Subject: [sqr-users] Qpen command record-length problem I need to open a window-compatible .txt file for writing where all records = are the same length, but that length is not known until run time. The synt= ax appears to expect an integer literal value for the length. What is need= ed is something like either using an integer variable for the length or dyn= amically building the open command and then execute it. Can anyone help? -Steve Jones UPS _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jul 01 18:12:46 2009 From: Date: Wed, 1 Jul 2009 18:08:41 -0400 Subject: RE: Re:[sqr-users] Qpen command record-length problem The sqr version I am using is 6.2. I saw that syntax in the manual for 8.5= but haven't been able to test it. Anyone know how to do it in 6.2? -Steve=20 -----Original Message----- From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-users-= bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of franck.masson Sent: Wednesday, July 01, 2009 2:39 PM To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Subject: Re:[sqr-users] Qpen command record-length problem According to the documentation : OPEN {filename_lit|_var|_col} AS {filenum_num_lit|_var|_col} {FOR-READING|FOR-WRITING|FOR-APPEND} {RECORD=3Dlength_num_lit|_var|_col[:FIXED|:FIXED_NOLF|:VARY:BINARY]}] [STATUS=3Dnum_var]] [ENCODING=3D{_var|_col|ASCII|ANSI|SJIS|JEUC|EBCDIC| EBCDIK290|EBCDIK1027| UCS-2|UTF-8|others... }] =20 you can use a variable to specify the RECORD value =20 franck, > Message du 01/07/09 23:09 > De : Jones.Steven@ups.com > A : sqr-users@sqrug.org > Copie =E0 :=20 > Objet : [sqr-users] Qpen command record-length problem > >=20 > I need to open a window-compatible .txt file for writing where all record= s are the same length, but that length is not known until run time. The syn= tax appears to expect an integer literal value for the length. What is need= ed is something like either using an integer variable for the length or dyn= amically building the open command and then execute it. > Can anyone help? > -Steve Jones > UPS >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jul 01 18:19:07 2009 From: "franck.masson" Subject: RE: Re:[sqr-users] Qpen command record-length problem Date: Thu, 2 Jul 2009 00:16:17 +0200 (CEST) Have you try the Ask command as proposed in the previous email ?=20 > Message du 02/07/09 00:12 > De : Jones.Steven@ups.com > A : sqr-users@sqrug.org > Copie =C3=A0 :=20 > Objet : RE: Re:[sqr-users] Qpen command record-length problem > >=20 > The sqr version I am using is 6.2. I saw that syntax in the manual for 8.= 5 but haven't been able to test it. Anyone know how to do it in 6.2? > -Steve=20 >=20 > -----Original Message----- > From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-user= s-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of franck.masson > Sent: Wednesday, July 01, 2009 2:39 PM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: Re:[sqr-users] Qpen command record-length problem >=20 > According to the documentation : > OPEN {filename_lit|_var|_col} AS > {filenum_num_lit|_var|_col} > {FOR-READING|FOR-WRITING|FOR-APPEND} > {RECORD=3Dlength_num_lit|_var|_col[:FIXED|:FIXED_NOLF|:VARY:BINARY]}] > [STATUS=3Dnum_var]] > [ENCODING=3D{_var|_col|ASCII|ANSI|SJIS|JEUC|EBCDIC| EBCDIK290|EBCDIK1027| > UCS-2|UTF-8|others... }] >=20 > you can use a variable to specify the RECORD value >=20 > franck, >=20 >=20 >=20 >=20 > > Message du 01/07/09 23:09 > > De : Jones.Steven@ups.com > > A : sqr-users@sqrug.org > > Copie =C3=A0 :=20 > > Objet : [sqr-users] Qpen command record-length problem > > > >=20 > > I need to open a window-compatible .txt file for writing where all reco= rds are the same length, but that length is not known until run time. The s= yntax appears to expect an integer literal value for the length. What is ne= eded is something like either using an integer variable for the length or d= ynamically building the open command and then execute it. > > Can anyone help? > > -Steve Jones > > UPS > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > >=20 >=20 > Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jul 01 18:28:07 2009 From: the dragon Subject: RE: [sqr-users] Qpen command record-length problem Date: Wed, 1 Jul 2009 17:25:24 -0500 Sure - if you have the tables and columns, the maximum column width can be = determined, and added together. =20 peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your= services for 40 hours a week, not purchasing your soul. Your time is the o= nly real finite asset that you have, and once used it can never be recovere= d, so don't waste it by giving it away.=20 I work to live; I don't live to work.=20 "Time is the coin of your life. It is the only coin you have, and only you = can determine how it will be spent. Be careful lest you let other people sp= end it for you." -- Carl Sandburg (1878 - 1967)=20 It is impossible to defeat an ignorant man in argument. -- William G. McAdo= o=20 Religion is regarded by the common people as true, by the wise as false, an= d by the rulers as useful. -- Seneca=20 "I distrust those people who know so well what God wants them to do because= I notice it always coincides with their own desires." - Susan B. Anthony =20 > From: Jones.Steven@ups.com > To: sqr-users@sqrug.org > Date: Wed, 1 Jul 2009 18:06:20 -0400 > Subject: RE: [sqr-users] Qpen command record-length problem >=20 > Thank you for your replies. > The rec_len is determined by the sum of the width of the various columns = the user selects thru input parms and thus not an ask. Can it be done that = way somehow? > -Steve=20 >=20 > -----Original Message----- > From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-user= s-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of Alexander, Steven > Sent: Wednesday, July 01, 2009 2:38 PM > To: This list is for discussion about the SQR database reportinglanguage = from Hyperion Solutions. > Subject: RE: [sqr-users] Qpen command record-length problem >=20 > The open command does not let you use a variable for the length parameter= . If you know the maximum possible value you could open "varying" with that= value. There is no penalty for opening "record=3D32000:vary" and then writ= ing exactly 853 bytes on every line. >=20 > If you have to open fixed length, no line feed, try the ASK command: >=20 > ask rec_len > ... > open ... record=3D{rec_len}:fixed_nolf >=20 >=20 >=20 > -----Original Message----- > From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org > [mailto:sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On = Behalf Of Jones.Steven@ups.com > Sent: Wednesday, July 01, 2009 2:06 PM > To: sqr-users@sqrug.org > Subject: [sqr-users] Qpen command record-length problem >=20 > I need to open a window-compatible .txt file for writing where all record= s are the same length, but that length is not known until run time. The syn= tax appears to expect an integer literal value for the length. What is need= ed is something like either using an integer variable for the length or dyn= amically building the open command and then execute it. > Can anyone help? > -Steve Jones > UPS >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Hotmail=AE has ever-growing storage! Don=92t worry about storage limits.=20 http://windowslive.com/Tutorial/Hotmail/Storage?ocid=3DTXT_TAGLM_WL_HM_Tuto= rial_Storage_062009 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jul 01 18:52:29 2009 From: Date: Wed, 1 Jul 2009 18:49:32 -0400 Subject: RE: Re:[sqr-users] Qpen command record-length problem I'm not very familiar with Ask, however the user has no idea of the value t= o put in the ASK. The value is added up from the db column widths the user= selects during the run, so the SQR obtains the value at run-time prior to = the open. Can that be somehow put in as if it came from an ASK? -Steve -----Original Message----- From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-users-= bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of franck.masson Sent: Wednesday, July 01, 2009 3:16 PM To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Subject: RE: Re:[sqr-users] Qpen command record-length problem Have you try the Ask command as proposed in the previous email ?=20 > Message du 02/07/09 00:12 > De : Jones.Steven@ups.com > A : sqr-users@sqrug.org > Copie =E0 :=20 > Objet : RE: Re:[sqr-users] Qpen command record-length problem > >=20 > The sqr version I am using is 6.2. I saw that syntax in the manual for 8.= 5 but haven't been able to test it. Anyone know how to do it in 6.2? > -Steve >=20 > -----Original Message----- > From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org=20 > [mailto:sqr-users-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of= =20 > franck.masson > Sent: Wednesday, July 01, 2009 2:39 PM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: Re:[sqr-users] Qpen command record-length problem >=20 > According to the documentation : > OPEN {filename_lit|_var|_col} AS > {filenum_num_lit|_var|_col} > {FOR-READING|FOR-WRITING|FOR-APPEND} > {RECORD=3Dlength_num_lit|_var|_col[:FIXED|:FIXED_NOLF|:VARY:BINARY]}] > [STATUS=3Dnum_var]] > [ENCODING=3D{_var|_col|ASCII|ANSI|SJIS|JEUC|EBCDIC|=20 > EBCDIK290|EBCDIK1027| > UCS-2|UTF-8|others... }] >=20 > you can use a variable to specify the RECORD value >=20 > franck, >=20 >=20 >=20 >=20 > > Message du 01/07/09 23:09 > > De : Jones.Steven@ups.com > > A : sqr-users@sqrug.org > > Copie =E0 :=20 > > Objet : [sqr-users] Qpen command record-length problem > > > >=20 > > I need to open a window-compatible .txt file for writing where all reco= rds are the same length, but that length is not known until run time. The s= yntax appears to expect an integer literal value for the length. What is ne= eded is something like either using an integer variable for the length or d= ynamically building the open command and then execute it. > > Can anyone help? > > -Steve Jones > > UPS > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > >=20 >=20 > Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jul 01 20:03:11 2009 Subject: RE: Re:[sqr-users] Qpen command record-length problem Date: Wed, 1 Jul 2009 17:00:28 -0700 From: "Alexander, Steven" Can my other idea work for you? Set the record length to 32000 varying but= make each record the same size. -----Original Message----- From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mailto:= sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf Of = Jones.Steven@ups.com Sent: Wednesday, July 01, 2009 3:50 PM To: sqr-users@sqrug.org Subject: RE: Re:[sqr-users] Qpen command record-length problem I'm not very familiar with Ask, however the user has no idea of the value t= o put in the ASK. The value is added up from the db column widths the user= selects during the run, so the SQR obtains the value at run-time prior to = the open. Can that be somehow put in as if it came from an ASK? -Steve -----Original Message----- From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-users-= bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of franck.masson Sent: Wednesday, July 01, 2009 3:16 PM To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Subject: RE: Re:[sqr-users] Qpen command record-length problem Have you try the Ask command as proposed in the previous email ?=20 > Message du 02/07/09 00:12 > De : Jones.Steven@ups.com > A : sqr-users@sqrug.org > Copie =E0 :=20 > Objet : RE: Re:[sqr-users] Qpen command record-length problem > >=20 > The sqr version I am using is 6.2. I saw that syntax in the manual for 8.= 5 but haven't been able to test it. Anyone know how to do it in 6.2? > -Steve >=20 > -----Original Message----- > From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org=20 > [mailto:sqr-users-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of= =20 > franck.masson > Sent: Wednesday, July 01, 2009 2:39 PM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: Re:[sqr-users] Qpen command record-length problem >=20 > According to the documentation : > OPEN {filename_lit|_var|_col} AS > {filenum_num_lit|_var|_col} > {FOR-READING|FOR-WRITING|FOR-APPEND} > {RECORD=3Dlength_num_lit|_var|_col[:FIXED|:FIXED_NOLF|:VARY:BINARY]}] > [STATUS=3Dnum_var]] > [ENCODING=3D{_var|_col|ASCII|ANSI|SJIS|JEUC|EBCDIC|=20 > EBCDIK290|EBCDIK1027| > UCS-2|UTF-8|others... }] >=20 > you can use a variable to specify the RECORD value >=20 > franck, >=20 >=20 >=20 >=20 > > Message du 01/07/09 23:09 > > De : Jones.Steven@ups.com > > A : sqr-users@sqrug.org > > Copie =E0 :=20 > > Objet : [sqr-users] Qpen command record-length problem > > > >=20 > > I need to open a window-compatible .txt file for writing where all reco= rds are the same length, but that length is not known until run time. The s= yntax appears to expect an integer literal value for the length. What is ne= eded is something like either using an integer variable for the length or d= ynamically building the open command and then execute it. > > Can anyone help? > > -Steve Jones > > UPS > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > >=20 >=20 > Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jul 01 20:15:10 2009 From: "Paul hoyte" Subject: RE: Re:[sqr-users] Qpen command record-length problem Date: Wed, 1 Jul 2009 20:12:46 -0400 This can be done simply by declaring the file as a variable length file with say a max of 1000 characters (pick any length you want that will not be ever exceeded), then open the file and read it into a $variable. Then parse the $variable to extract the data from $variable into other specific $variables if needed. Paul Hoyte pa_hoyte@si-proservices.com (248) 752-6970 -----Original Message----- From: sqr-users-bounces+pi_hoyte=3Dsi-proservices.com@sqrug.org [mailto:sqr-users-bounces+pi_hoyte=3Dsi-proservices.com@sqrug.org] On Behalf Of Jones.Steven@ups.com Sent: Wednesday, July 01, 2009 6:50 PM To: sqr-users@sqrug.org Subject: RE: Re:[sqr-users] Qpen command record-length problem I'm not very familiar with Ask, however the user has no idea of the value to put in the ASK. The value is added up from the db column widths the user selects during the run, so the SQR obtains the value at run-time prior to the open. Can that be somehow put in as if it came from an ASK? -Steve -----Original Message----- From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-users-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of franck.masson Sent: Wednesday, July 01, 2009 3:16 PM To: This list is for discussion about the SQR database reporting language from Hyperion Solutions. Subject: RE: Re:[sqr-users] Qpen command record-length problem Have you try the Ask command as proposed in the previous email ?=20 > Message du 02/07/09 00:12 > De : Jones.Steven@ups.com > A : sqr-users@sqrug.org > Copie =E0 :=20 > Objet : RE: Re:[sqr-users] Qpen command record-length problem > >=20 > The sqr version I am using is 6.2. I saw that syntax in the manual for 8.5 but haven't been able to test it. Anyone know how to do it in 6.2? > -Steve >=20 > -----Original Message----- > From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org=20 > [mailto:sqr-users-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of= =20 > franck.masson > Sent: Wednesday, July 01, 2009 2:39 PM > To: This list is for discussion about the SQR database reporting language from Hyperion Solutions. > Subject: Re:[sqr-users] Qpen command record-length problem >=20 > According to the documentation : > OPEN {filename_lit|_var|_col} AS > {filenum_num_lit|_var|_col} > {FOR-READING|FOR-WRITING|FOR-APPEND} > {RECORD=3Dlength_num_lit|_var|_col[:FIXED|:FIXED_NOLF|:VARY:BINARY]}] > [STATUS=3Dnum_var]] > [ENCODING=3D{_var|_col|ASCII|ANSI|SJIS|JEUC|EBCDIC|=20 > EBCDIK290|EBCDIK1027| > UCS-2|UTF-8|others... }] >=20 > you can use a variable to specify the RECORD value >=20 > franck, >=20 >=20 >=20 >=20 > > Message du 01/07/09 23:09 > > De : Jones.Steven@ups.com > > A : sqr-users@sqrug.org > > Copie =E0 :=20 > > Objet : [sqr-users] Qpen command record-length problem > > > >=20 > > I need to open a window-compatible .txt file for writing where all records are the same length, but that length is not known until run time. The syntax appears to expect an integer literal value for the length. What is needed is something like either using an integer variable for the length or dynamically building the open command and then execute it. > > Can anyone help? > > -Steve Jones > > UPS > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > >=20 >=20 > Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jul 02 17:56:24 2009 From: Date: Thu, 2 Jul 2009 17:53:04 -0400 Subject: RE: Re:[sqr-users] Qpen command record-length problem Thanks all for your suggestions. =20=20 I haven't tried getting the custom parameter collection page to add up the = column lengths and then pass it as a hidden ask to sqr. I am doubous that = it would work. Instead I opted to set a variable flag. When on I open the= file with the maximum row length as one of you suggested and then rpad the= actual line to that length before writing. This is compatible with versio= n 6.2. If the flag is off, I open using the 8.5 syntax which creates a pot= entially much narrower file.=20=20 I didn't use vary as I needed to have MS compatible end-of-line characters = which I couldn't seem to do with a variable file type. As the file is potentially 181x2,000,000 rows, to be downloaded via interne= t, size mattered. As we expect to be using version 8.5 later this year, it= will require only turning off the switch later. -Steve=20 -----Original Message----- From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-users-= bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of Alexander, Steven Sent: Wednesday, July 01, 2009 5:00 PM To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Subject: RE: Re:[sqr-users] Qpen command record-length problem Can my other idea work for you? Set the record length to 32000 varying but= make each record the same size. -----Original Message----- From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mailto:= sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf Of = Jones.Steven@ups.com Sent: Wednesday, July 01, 2009 3:50 PM To: sqr-users@sqrug.org Subject: RE: Re:[sqr-users] Qpen command record-length problem I'm not very familiar with Ask, however the user has no idea of the value t= o put in the ASK. The value is added up from the db column widths the user= selects during the run, so the SQR obtains the value at run-time prior to = the open. Can that be somehow put in as if it came from an ASK? -Steve -----Original Message----- From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-users-= bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of franck.masson Sent: Wednesday, July 01, 2009 3:16 PM To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Subject: RE: Re:[sqr-users] Qpen command record-length problem Have you try the Ask command as proposed in the previous email ?=20 > Message du 02/07/09 00:12 > De : Jones.Steven@ups.com > A : sqr-users@sqrug.org > Copie =E0 :=20 > Objet : RE: Re:[sqr-users] Qpen command record-length problem > >=20 > The sqr version I am using is 6.2. I saw that syntax in the manual for 8.= 5 but haven't been able to test it. Anyone know how to do it in 6.2? > -Steve >=20 > -----Original Message----- > From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org > [mailto:sqr-users-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of= =20 > franck.masson > Sent: Wednesday, July 01, 2009 2:39 PM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: Re:[sqr-users] Qpen command record-length problem >=20 > According to the documentation : > OPEN {filename_lit|_var|_col} AS > {filenum_num_lit|_var|_col} > {FOR-READING|FOR-WRITING|FOR-APPEND} > {RECORD=3Dlength_num_lit|_var|_col[:FIXED|:FIXED_NOLF|:VARY:BINARY]}] > [STATUS=3Dnum_var]] > [ENCODING=3D{_var|_col|ASCII|ANSI|SJIS|JEUC|EBCDIC| > EBCDIK290|EBCDIK1027| > UCS-2|UTF-8|others... }] >=20 > you can use a variable to specify the RECORD value >=20 > franck, >=20 >=20 >=20 >=20 > > Message du 01/07/09 23:09 > > De : Jones.Steven@ups.com > > A : sqr-users@sqrug.org > > Copie =E0 :=20 > > Objet : [sqr-users] Qpen command record-length problem > > > >=20 > > I need to open a window-compatible .txt file for writing where all reco= rds are the same length, but that length is not known until run time. The s= yntax appears to expect an integer literal value for the length. What is ne= eded is something like either using an integer variable for the length or d= ynamically building the open command and then execute it. > > Can anyone help? > > -Steve Jones > > UPS > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > >=20 >=20 > Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jul 02 18:37:29 2009 From: the dragon Subject: RE: [sqr-users] Qpen command record-length problem Date: Thu, 2 Jul 2009 17:34:44 -0500 You wouldn't need to do that through an ask. If you have the tables and co= lumns, you can tag the data dictionary prior to opening the files. =20 peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your= services for 40 hours a week, not purchasing your soul. Your time is the o= nly real finite asset that you have, and once used it can never be recovere= d, so don't waste it by giving it away.=20 I work to live; I don't live to work.=20 "Time is the coin of your life. It is the only coin you have, and only you = can determine how it will be spent. Be careful lest you let other people sp= end it for you." -- Carl Sandburg (1878 - 1967)=20 It is impossible to defeat an ignorant man in argument. -- William G. McAdo= o=20 Religion is regarded by the common people as true, by the wise as false, an= d by the rulers as useful. -- Seneca=20 "I distrust those people who know so well what God wants them to do because= I notice it always coincides with their own desires." - Susan B. Anthony =20 > From: Jones.Steven@ups.com > To: sqr-users@sqrug.org > Date: Thu, 2 Jul 2009 17:53:04 -0400 > Subject: RE: Re:[sqr-users] Qpen command record-length problem >=20 > Thanks all for your suggestions. >=20 > I haven't tried getting the custom parameter collection page to add up th= e column lengths and then pass it as a hidden ask to sqr. I am doubous that= it would work. Instead I opted to set a variable flag. When on I open the = file with the maximum row length as one of you suggested and then rpad the = actual line to that length before writing. This is compatible with version = 6.2. If the flag is off, I open using the 8.5 syntax which creates a potent= ially much narrower file.=20 >=20 > I didn't use vary as I needed to have MS compatible end-of-line character= s which I couldn't seem to do with a variable file type. >=20 > As the file is potentially 181x2,000,000 rows, to be downloaded via inter= net, size mattered. As we expect to be using version 8.5 later this year, i= t will require only turning off the switch later. > -Steve=20 >=20 > -----Original Message----- > From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-user= s-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of Alexander, Steven > Sent: Wednesday, July 01, 2009 5:00 PM > To: This list is for discussion about the SQR database reportinglanguage = from Hyperion Solutions. > Subject: RE: Re:[sqr-users] Qpen command record-length problem >=20 > Can my other idea work for you? Set the record length to 32000 varying bu= t make each record the same size. >=20 > -----Original Message----- > From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mailt= o:sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf O= f Jones.Steven@ups.com > Sent: Wednesday, July 01, 2009 3:50 PM > To: sqr-users@sqrug.org > Subject: RE: Re:[sqr-users] Qpen command record-length problem >=20 > I'm not very familiar with Ask, however the user has no idea of the value= to put in the ASK. The value is added up from the db column widths the use= r selects during the run, so the SQR obtains the value at run-time prior to= the open. Can that be somehow put in as if it came from an ASK? > -Steve >=20 > -----Original Message----- > From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-user= s-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of franck.masson > Sent: Wednesday, July 01, 2009 3:16 PM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: RE: Re:[sqr-users] Qpen command record-length problem >=20 > Have you try the Ask command as proposed in the previous email ?=20 >=20 >=20 >=20 > > Message du 02/07/09 00:12 > > De : Jones.Steven@ups.com > > A : sqr-users@sqrug.org > > Copie =E0 :=20 > > Objet : RE: Re:[sqr-users] Qpen command record-length problem > > > >=20 > > The sqr version I am using is 6.2. I saw that syntax in the manual for = 8.5 but haven't been able to test it. Anyone know how to do it in 6.2? > > -Steve > >=20 > > -----Original Message----- > > From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org > > [mailto:sqr-users-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf O= f=20 > > franck.masson > > Sent: Wednesday, July 01, 2009 2:39 PM > > To: This list is for discussion about the SQR database reporting langua= ge from Hyperion Solutions. > > Subject: Re:[sqr-users] Qpen command record-length problem > >=20 > > According to the documentation : > > OPEN {filename_lit|_var|_col} AS > > {filenum_num_lit|_var|_col} > > {FOR-READING|FOR-WRITING|FOR-APPEND} > > {RECORD=3Dlength_num_lit|_var|_col[:FIXED|:FIXED_NOLF|:VARY:BINARY]}] > > [STATUS=3Dnum_var]] > > [ENCODING=3D{_var|_col|ASCII|ANSI|SJIS|JEUC|EBCDIC| > > EBCDIK290|EBCDIK1027| > > UCS-2|UTF-8|others... }] > >=20 > > you can use a variable to specify the RECORD value > >=20 > > franck, > >=20 > >=20 > >=20 > >=20 > > > Message du 01/07/09 23:09 > > > De : Jones.Steven@ups.com > > > A : sqr-users@sqrug.org > > > Copie =E0 :=20 > > > Objet : [sqr-users] Qpen command record-length problem > > > > > >=20 > > > I need to open a window-compatible .txt file for writing where all re= cords are the same length, but that length is not known until run time. The= syntax appears to expect an integer literal value for the length. What is = needed is something like either using an integer variable for the length or= dynamically building the open command and then execute it. > > > Can anyone help? > > > -Steve Jones > > > UPS > > >=20 > > > _______________________________________________ > > > sqr-users mailing list > > > sqr-users@sqrug.org > > > http://www.sqrug.org/mailman/listinfo/sqr-users > > >=20 > > >=20 > >=20 > > Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net > > 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > >=20 >=20 > Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Lauren found her dream laptop. Find the PC that=92s right for you. http://www.microsoft.com/windows/choosepc/?ocid=3Dftp_val_wl_290 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jul 02 18:49:01 2009 Subject: RE: Re:[sqr-users] Qpen command record-length problem Date: Thu, 2 Jul 2009 15:46:04 -0700 From: "Alexander, Steven" Steve, please try it without RPAD. Here's some sample code: begin-program open 'c:\sqr\test.txt' as 1 for-writing record=3D32000:vary let $line =3D 'abcdefg' let #i =3D 0 while #i < 50 write 1 from $line=20 add 1 to #i end-while write 1 from 'hijklmn' end-program This program generate a text file that is 51 lines long. Every line is the= same length - seven characters. If you run the program in Windows, every = line will be terminated with the standard Windows CR/LF. If you run the pr= ogram in Unix, every line will be terminated with the standard Unix LF. Yo= u can FTP the file to Windows in "ASCII" mode, and the FTP software will co= nvert each LF to CR/LF. If you're viewing the output file in the Peoplesof= t Process Monitor, I believe it will make the same LF to CR/LF conversion. Because I wrote exactly 7 characters on every line, I got the same file tha= t I would get with "record=3D7:fixed" without needing to know the record le= ngth in advance. -----Original Message----- From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mailto:= sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf Of = Jones.Steven@ups.com Sent: Thursday, July 02, 2009 2:53 PM To: sqr-users@sqrug.org Subject: RE: Re:[sqr-users] Qpen command record-length problem Thanks all for your suggestions. =20=20 I haven't tried getting the custom parameter collection page to add up the = column lengths and then pass it as a hidden ask to sqr. I am doubous that = it would work. Instead I opted to set a variable flag. When on I open the= file with the maximum row length as one of you suggested and then rpad the= actual line to that length before writing. This is compatible with versio= n 6.2. If the flag is off, I open using the 8.5 syntax which creates a pot= entially much narrower file.=20=20 I didn't use vary as I needed to have MS compatible end-of-line characters = which I couldn't seem to do with a variable file type. As the file is potentially 181x2,000,000 rows, to be downloaded via interne= t, size mattered. As we expect to be using version 8.5 later this year, it= will require only turning off the switch later. -Steve=20 -----Original Message----- From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-users-= bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of Alexander, Steven Sent: Wednesday, July 01, 2009 5:00 PM To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Subject: RE: Re:[sqr-users] Qpen command record-length problem Can my other idea work for you? Set the record length to 32000 varying but= make each record the same size. -----Original Message----- From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mailto:= sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf Of = Jones.Steven@ups.com Sent: Wednesday, July 01, 2009 3:50 PM To: sqr-users@sqrug.org Subject: RE: Re:[sqr-users] Qpen command record-length problem I'm not very familiar with Ask, however the user has no idea of the value t= o put in the ASK. The value is added up from the db column widths the user= selects during the run, so the SQR obtains the value at run-time prior to = the open. Can that be somehow put in as if it came from an ASK? -Steve -----Original Message----- From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-users-= bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of franck.masson Sent: Wednesday, July 01, 2009 3:16 PM To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Subject: RE: Re:[sqr-users] Qpen command record-length problem Have you try the Ask command as proposed in the previous email ?=20 > Message du 02/07/09 00:12 > De : Jones.Steven@ups.com > A : sqr-users@sqrug.org > Copie =E0 :=20 > Objet : RE: Re:[sqr-users] Qpen command record-length problem > >=20 > The sqr version I am using is 6.2. I saw that syntax in the manual for 8.= 5 but haven't been able to test it. Anyone know how to do it in 6.2? > -Steve >=20 > -----Original Message----- > From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org > [mailto:sqr-users-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of= =20 > franck.masson > Sent: Wednesday, July 01, 2009 2:39 PM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: Re:[sqr-users] Qpen command record-length problem >=20 > According to the documentation : > OPEN {filename_lit|_var|_col} AS > {filenum_num_lit|_var|_col} > {FOR-READING|FOR-WRITING|FOR-APPEND} > {RECORD=3Dlength_num_lit|_var|_col[:FIXED|:FIXED_NOLF|:VARY:BINARY]}] > [STATUS=3Dnum_var]] > [ENCODING=3D{_var|_col|ASCII|ANSI|SJIS|JEUC|EBCDIC| > EBCDIK290|EBCDIK1027| > UCS-2|UTF-8|others... }] >=20 > you can use a variable to specify the RECORD value >=20 > franck, >=20 >=20 >=20 >=20 > > Message du 01/07/09 23:09 > > De : Jones.Steven@ups.com > > A : sqr-users@sqrug.org > > Copie =E0 :=20 > > Objet : [sqr-users] Qpen command record-length problem > > > >=20 > > I need to open a window-compatible .txt file for writing where all reco= rds are the same length, but that length is not known until run time. The s= yntax appears to expect an integer literal value for the length. What is ne= eded is something like either using an integer variable for the length or d= ynamically building the open command and then execute it. > > Can anyone help? > > -Steve Jones > > UPS > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > >=20 >=20 > Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jul 02 18:52:41 2009 From: Date: Thu, 2 Jul 2009 18:47:43 -0400 Subject: RE: [sqr-users] Qpen command record-length problem Clark, Can you give me a code example? -Steve -----Original Message----- From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-users-= bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of the dragon Sent: Thursday, July 02, 2009 3:35 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Qpen command record-length problem You wouldn't need to do that through an ask. If you have the tables and co= lumns, you can tag the data dictionary prior to opening the files. =20 peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your= services for 40 hours a week, not purchasing your soul. Your time is the o= nly real finite asset that you have, and once used it can never be recovere= d, so don't waste it by giving it away.=20 I work to live; I don't live to work.=20 "Time is the coin of your life. It is the only coin you have, and only you = can determine how it will be spent. Be careful lest you let other people sp= end it for you." -- Carl Sandburg (1878 - 1967)=20 It is impossible to defeat an ignorant man in argument. -- William G. McAdo= o=20 Religion is regarded by the common people as true, by the wise as false, an= d by the rulers as useful. -- Seneca=20 "I distrust those people who know so well what God wants them to do because= I notice it always coincides with their own desires." - Susan B. Anthony =20 > From: Jones.Steven@ups.com > To: sqr-users@sqrug.org > Date: Thu, 2 Jul 2009 17:53:04 -0400 > Subject: RE: Re:[sqr-users] Qpen command record-length problem >=20 > Thanks all for your suggestions. >=20 > I haven't tried getting the custom parameter collection page to add up th= e column lengths and then pass it as a hidden ask to sqr. I am doubous that= it would work. Instead I opted to set a variable flag. When on I open the = file with the maximum row length as one of you suggested and then rpad the = actual line to that length before writing. This is compatible with version = 6.2. If the flag is off, I open using the 8.5 syntax which creates a potent= ially much narrower file.=20 >=20 > I didn't use vary as I needed to have MS compatible end-of-line character= s which I couldn't seem to do with a variable file type. >=20 > As the file is potentially 181x2,000,000 rows, to be downloaded via inter= net, size mattered. As we expect to be using version 8.5 later this year, i= t will require only turning off the switch later. > -Steve >=20 > -----Original Message----- > From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org=20 > [mailto:sqr-users-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of= =20 > Alexander, Steven > Sent: Wednesday, July 01, 2009 5:00 PM > To: This list is for discussion about the SQR database reportinglanguage = from Hyperion Solutions. > Subject: RE: Re:[sqr-users] Qpen command record-length problem >=20 > Can my other idea work for you? Set the record length to 32000 varying bu= t make each record the same size. >=20 > -----Original Message----- > From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org=20 > [mailto:sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On= =20 > Behalf Of Jones.Steven@ups.com > Sent: Wednesday, July 01, 2009 3:50 PM > To: sqr-users@sqrug.org > Subject: RE: Re:[sqr-users] Qpen command record-length problem >=20 > I'm not very familiar with Ask, however the user has no idea of the value= to put in the ASK. The value is added up from the db column widths the use= r selects during the run, so the SQR obtains the value at run-time prior to= the open. Can that be somehow put in as if it came from an ASK? > -Steve >=20 > -----Original Message----- > From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org=20 > [mailto:sqr-users-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of= =20 > franck.masson > Sent: Wednesday, July 01, 2009 3:16 PM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: RE: Re:[sqr-users] Qpen command record-length problem >=20 > Have you try the Ask command as proposed in the previous email ?=20 >=20 >=20 >=20 > > Message du 02/07/09 00:12 > > De : Jones.Steven@ups.com > > A : sqr-users@sqrug.org > > Copie =E0 :=20 > > Objet : RE: Re:[sqr-users] Qpen command record-length problem > > > >=20 > > The sqr version I am using is 6.2. I saw that syntax in the manual for = 8.5 but haven't been able to test it. Anyone know how to do it in 6.2? > > -Steve > >=20 > > -----Original Message----- > > From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org > > [mailto:sqr-users-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf= =20 > > Of franck.masson > > Sent: Wednesday, July 01, 2009 2:39 PM > > To: This list is for discussion about the SQR database reporting langua= ge from Hyperion Solutions. > > Subject: Re:[sqr-users] Qpen command record-length problem > >=20 > > According to the documentation : > > OPEN {filename_lit|_var|_col} AS > > {filenum_num_lit|_var|_col} > > {FOR-READING|FOR-WRITING|FOR-APPEND} > > {RECORD=3Dlength_num_lit|_var|_col[:FIXED|:FIXED_NOLF|:VARY:BINARY]}] > > [STATUS=3Dnum_var]] > > [ENCODING=3D{_var|_col|ASCII|ANSI|SJIS|JEUC|EBCDIC| > > EBCDIK290|EBCDIK1027| > > UCS-2|UTF-8|others... }] > >=20 > > you can use a variable to specify the RECORD value > >=20 > > franck, > >=20 > >=20 > >=20 > >=20 > > > Message du 01/07/09 23:09 > > > De : Jones.Steven@ups.com > > > A : sqr-users@sqrug.org > > > Copie =E0 :=20 > > > Objet : [sqr-users] Qpen command record-length problem > > > > > >=20 > > > I need to open a window-compatible .txt file for writing where all re= cords are the same length, but that length is not known until run time. The= syntax appears to expect an integer literal value for the length. What is = needed is something like either using an integer variable for the length or= dynamically building the open command and then execute it. > > > Can anyone help? > > > -Steve Jones > > > UPS > > >=20 > > > _______________________________________________ > > > sqr-users mailing list > > > sqr-users@sqrug.org > > > http://www.sqrug.org/mailman/listinfo/sqr-users > > >=20 > > >=20 > >=20 > > Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net > > 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > >=20 >=20 > Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Lauren found her dream laptop. Find the PC that's right for you. http://www.microsoft.com/windows/choosepc/?ocid=3Dftp_val_wl_290 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jul 02 18:56:07 2009 Subject: RE: [sqr-users] Qpen command record-length problem Date: Thu, 2 Jul 2009 15:50:22 -0700 From: "Alexander, Steven" Clark, Steven is using a version of SQR that doesn't support a variable as the rec= ord length of a file. It has to be a literal known at the time of compilat= ion, so reading the data dictionary and summing field lengths won't work. -----Original Message----- From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mailto:= sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf Of = the dragon Sent: Thursday, July 02, 2009 3:35 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Qpen command record-length problem You wouldn't need to do that through an ask. If you have the tables and co= lumns, you can tag the data dictionary prior to opening the files. =20 peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your= services for 40 hours a week, not purchasing your soul. Your time is the o= nly real finite asset that you have, and once used it can never be recovere= d, so don't waste it by giving it away.=20 I work to live; I don't live to work.=20 "Time is the coin of your life. It is the only coin you have, and only you = can determine how it will be spent. Be careful lest you let other people sp= end it for you." -- Carl Sandburg (1878 - 1967)=20 It is impossible to defeat an ignorant man in argument. -- William G. McAdo= o=20 Religion is regarded by the common people as true, by the wise as false, an= d by the rulers as useful. -- Seneca=20 "I distrust those people who know so well what God wants them to do because= I notice it always coincides with their own desires." - Susan B. Anthony =20 > From: Jones.Steven@ups.com > To: sqr-users@sqrug.org > Date: Thu, 2 Jul 2009 17:53:04 -0400 > Subject: RE: Re:[sqr-users] Qpen command record-length problem >=20 > Thanks all for your suggestions. >=20 > I haven't tried getting the custom parameter collection page to add up th= e column lengths and then pass it as a hidden ask to sqr. I am doubous that= it would work. Instead I opted to set a variable flag. When on I open the = file with the maximum row length as one of you suggested and then rpad the = actual line to that length before writing. This is compatible with version = 6.2. If the flag is off, I open using the 8.5 syntax which creates a potent= ially much narrower file.=20 >=20 > I didn't use vary as I needed to have MS compatible end-of-line character= s which I couldn't seem to do with a variable file type. >=20 > As the file is potentially 181x2,000,000 rows, to be downloaded via inter= net, size mattered. As we expect to be using version 8.5 later this year, i= t will require only turning off the switch later. > -Steve=20 >=20 > -----Original Message----- > From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-user= s-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of Alexander, Steven > Sent: Wednesday, July 01, 2009 5:00 PM > To: This list is for discussion about the SQR database reportinglanguage = from Hyperion Solutions. > Subject: RE: Re:[sqr-users] Qpen command record-length problem >=20 > Can my other idea work for you? Set the record length to 32000 varying bu= t make each record the same size. >=20 > -----Original Message----- > From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mailt= o:sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf O= f Jones.Steven@ups.com > Sent: Wednesday, July 01, 2009 3:50 PM > To: sqr-users@sqrug.org > Subject: RE: Re:[sqr-users] Qpen command record-length problem >=20 > I'm not very familiar with Ask, however the user has no idea of the value= to put in the ASK. The value is added up from the db column widths the use= r selects during the run, so the SQR obtains the value at run-time prior to= the open. Can that be somehow put in as if it came from an ASK? > -Steve >=20 > -----Original Message----- > From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-user= s-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of franck.masson > Sent: Wednesday, July 01, 2009 3:16 PM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: RE: Re:[sqr-users] Qpen command record-length problem >=20 > Have you try the Ask command as proposed in the previous email ?=20 >=20 >=20 >=20 > > Message du 02/07/09 00:12 > > De : Jones.Steven@ups.com > > A : sqr-users@sqrug.org > > Copie =E0 :=20 > > Objet : RE: Re:[sqr-users] Qpen command record-length problem > > > >=20 > > The sqr version I am using is 6.2. I saw that syntax in the manual for = 8.5 but haven't been able to test it. Anyone know how to do it in 6.2? > > -Steve > >=20 > > -----Original Message----- > > From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org > > [mailto:sqr-users-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf O= f=20 > > franck.masson > > Sent: Wednesday, July 01, 2009 2:39 PM > > To: This list is for discussion about the SQR database reporting langua= ge from Hyperion Solutions. > > Subject: Re:[sqr-users] Qpen command record-length problem > >=20 > > According to the documentation : > > OPEN {filename_lit|_var|_col} AS > > {filenum_num_lit|_var|_col} > > {FOR-READING|FOR-WRITING|FOR-APPEND} > > {RECORD=3Dlength_num_lit|_var|_col[:FIXED|:FIXED_NOLF|:VARY:BINARY]}] > > [STATUS=3Dnum_var]] > > [ENCODING=3D{_var|_col|ASCII|ANSI|SJIS|JEUC|EBCDIC| > > EBCDIK290|EBCDIK1027| > > UCS-2|UTF-8|others... }] > >=20 > > you can use a variable to specify the RECORD value > >=20 > > franck, > >=20 > >=20 > >=20 > >=20 > > > Message du 01/07/09 23:09 > > > De : Jones.Steven@ups.com > > > A : sqr-users@sqrug.org > > > Copie =E0 :=20 > > > Objet : [sqr-users] Qpen command record-length problem > > > > > >=20 > > > I need to open a window-compatible .txt file for writing where all re= cords are the same length, but that length is not known until run time. The= syntax appears to expect an integer literal value for the length. What is = needed is something like either using an integer variable for the length or= dynamically building the open command and then execute it. > > > Can anyone help? > > > -Steve Jones > > > UPS > > >=20 > > > _______________________________________________ > > > sqr-users mailing list > > > sqr-users@sqrug.org > > > http://www.sqrug.org/mailman/listinfo/sqr-users > > >=20 > > >=20 > >=20 > > Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net > > 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > >=20 >=20 > Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Lauren found her dream laptop. Find the PC that's right for you. http://www.microsoft.com/windows/choosepc/?ocid=3Dftp_val_wl_290 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jul 02 20:53:28 2009 From: the dragon Subject: RE: [sqr-users] Qpen command record-length problem Date: Thu, 2 Jul 2009 19:50:25 -0500 pseudo code would go something like this... =20 pass in values get column lengths from data dictionary add column lengths together put them in a variable open file using variable. =20 peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your= services for 40 hours a week, not purchasing your soul. Your time is the o= nly real finite asset that you have, and once used it can never be recovere= d, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you = can determine how it will be spent. Be careful lest you let other people sp= end it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, an= d by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because= I notice it always coincides with their own desires." - Susan B. Anthony ---------------------------------------- > > Clark, > Can you give me a code example? > -Steve > > -----Original Message----- > > You wouldn't need to do that through an ask. If you have the tables and c= olumns, you can tag the data dictionary prior to opening the files. > > > > peace, > > clark 'the dragon' willis > > PSA: Salary <> Slavery. If you earn a salary, your employer is renting yo= ur services for 40 hours a week, not purchasing your soul. Your time is the= only real finite asset that you have, and once used it can never be recove= red, so don't waste it by giving it away. > > I work to live; I don't live to work. > > "Time is the coin of your life. It is the only coin you have, and only yo= u can determine how it will be spent. Be careful lest you let other people = spend it for you." -- Carl Sandburg (1878 - 1967) > > It is impossible to defeat an ignorant man in argument. -- William G. McA= doo > > Religion is regarded by the common people as true, by the wise as false, = and by the rulers as useful. -- Seneca > > "I distrust those people who know so well what God wants them to do becau= se I notice it always coincides with their own desires." - Susan B. Anthony > > > >> From: Jones.Steven@ups.com >> To: sqr-users@sqrug.org >> Date: Thu, 2 Jul 2009 17:53:04 -0400 >> Subject: RE: Re:[sqr-users] Qpen command record-length problem >> >> Thanks all for your suggestions. >> >> I haven't tried getting the custom parameter collection page to add up t= he column lengths and then pass it as a hidden ask to sqr. I am doubous tha= t it would work. Instead I opted to set a variable flag. When on I open the= file with the maximum row length as one of you suggested and then rpad the= actual line to that length before writing. This is compatible with version= 6.2. If the flag is off, I open using the 8.5 syntax which creates a poten= tially much narrower file. >> >> I didn't use vary as I needed to have MS compatible end-of-line characte= rs which I couldn't seem to do with a variable file type. >> >> As the file is potentially 181x2,000,000 rows, to be downloaded via inte= rnet, size mattered. As we expect to be using version 8.5 later this year, = it will require only turning off the switch later. >> -Steve >> >> -----Original Message----- >> From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org >> [mailto:sqr-users-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of >> Alexander, Steven >> Sent: Wednesday, July 01, 2009 5:00 PM >> To: This list is for discussion about the SQR database reportinglanguage= from Hyperion Solutions. >> Subject: RE: Re:[sqr-users] Qpen command record-length problem >> >> Can my other idea work for you? Set the record length to 32000 varying b= ut make each record the same size. >> >> -----Original Message----- >> From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org >> [mailto:sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On >> Behalf Of Jones.Steven@ups.com >> Sent: Wednesday, July 01, 2009 3:50 PM >> To: sqr-users@sqrug.org >> Subject: RE: Re:[sqr-users] Qpen command record-length problem >> >> I'm not very familiar with Ask, however the user has no idea of the valu= e to put in the ASK. The value is added up from the db column widths the us= er selects during the run, so the SQR obtains the value at run-time prior t= o the open. Can that be somehow put in as if it came from an ASK? >> -Steve >> >> -----Original Message----- >> From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org >> [mailto:sqr-users-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of >> franck.masson >> Sent: Wednesday, July 01, 2009 3:16 PM >> To: This list is for discussion about the SQR database reporting languag= e from Hyperion Solutions. >> Subject: RE: Re:[sqr-users] Qpen command record-length problem >> >> Have you try the Ask command as proposed in the previous email ? >> >> >> >>> Message du 02/07/09 00:12 >>> De : Jones.Steven@ups.com >>> A : sqr-users@sqrug.org >>> Copie =E0 : >>> Objet : RE: Re:[sqr-users] Qpen command record-length problem >>> >>> >>> The sqr version I am using is 6.2. I saw that syntax in the manual for = 8.5 but haven't been able to test it. Anyone know how to do it in 6.2? >>> -Steve >>> >>> -----Original Message----- >>> From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org >>> [mailto:sqr-users-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf >>> Of franck.masson >>> Sent: Wednesday, July 01, 2009 2:39 PM >>> To: This list is for discussion about the SQR database reporting langua= ge from Hyperion Solutions. >>> Subject: Re:[sqr-users] Qpen command record-length problem >>> >>> According to the documentation : >>> OPEN {filename_lit|_var|_col} AS >>> {filenum_num_lit|_var|_col} >>> {FOR-READING|FOR-WRITING|FOR-APPEND} >>> {RECORD=3Dlength_num_lit|_var|_col[:FIXED|:FIXED_NOLF|:VARY:BINARY]}] >>> [STATUS=3Dnum_var]] >>> [ENCODING=3D{_var|_col|ASCII|ANSI|SJIS|JEUC|EBCDIC| >>> EBCDIK290|EBCDIK1027| >>> UCS-2|UTF-8|others... }] >>> >>> you can use a variable to specify the RECORD value >>> >>> franck, >>> >>> >>> >>> >>>> Message du 01/07/09 23:09 >>>> De : Jones.Steven@ups.com >>>> A : sqr-users@sqrug.org >>>> Copie =E0 : >>>> Objet : [sqr-users] Qpen command record-length problem >>>> >>>> >>>> I need to open a window-compatible .txt file for writing where all rec= ords are the same length, but that length is not known until run time. The = syntax appears to expect an integer literal value for the length. What is n= eeded is something like either using an integer variable for the length or = dynamically building the open command and then execute it. >>>> Can anyone help? >>>> -Steve Jones >>>> UPS >>>> >>>> _______________________________________________ >>>> sqr-users mailing list >>>> sqr-users@sqrug.org >>>> http://www.sqrug.org/mailman/listinfo/sqr-users >>>> >>>> >>> >>> Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net >>> 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. >>> >>> _______________________________________________ >>> sqr-users mailing list >>> sqr-users@sqrug.org >>> http://www.sqrug.org/mailman/listinfo/sqr-users >>> >>> _______________________________________________ >>> sqr-users mailing list >>> sqr-users@sqrug.org >>> http://www.sqrug.org/mailman/listinfo/sqr-users >>> >>> >> >> Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net >> 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users > > _________________________________________________________________ > Lauren found her dream laptop. Find the PC that's right for you. > http://www.microsoft.com/windows/choosepc/?ocid=3Dftp_val_wl_290 > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Hotmail=AE has ever-growing storage! Don=92t worry about storage limits.=20 http://windowslive.com/Tutorial/Hotmail/Storage?ocid=3DTXT_TAGLM_WL_HM_Tuto= rial_Storage_062009 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jul 02 20:56:47 2009 From: the dragon Subject: RE: [sqr-users] Qpen command record-length problem Date: Thu, 2 Jul 2009 19:51:49 -0500 ahhh, didn't know that; sorry. =20 Then based upon the values that *could* be chosen, pick the theoretical max. =20 peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your= services for 40 hours a week, not purchasing your soul. Your time is the o= nly real finite asset that you have, and once used it can never be recovere= d, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you = can determine how it will be spent. Be careful lest you let other people sp= end it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, an= d by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because= I notice it always coincides with their own desires." - Susan B. Anthony ---------------------------------------- > Subject: RE: [sqr-users] Qpen command record-length problem > Date: Thu, 2 Jul 2009 15:50:22 -0700 > From: Steven.Alexander@sanjoseca.gov > To: sqr-users@sqrug.org > > Clark, > > Steven is using a version of SQR that doesn't support a variable as the r= ecord length of a file. It has to be a literal known at the time of compila= tion, so reading the data dictionary and summing field lengths won't work. > > > -----Original Message----- > From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mailt= o:sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf O= f the dragon > Sent: Thursday, July 02, 2009 3:35 PM > To: sqr-users@sqrug.org > Subject: RE: [sqr-users] Qpen command record-length problem > > > You wouldn't need to do that through an ask. If you have the tables and c= olumns, you can tag the data dictionary prior to opening the files. > > > > peace, > > clark 'the dragon' willis > > PSA: Salary <> Slavery. If you earn a salary, your employer is renting yo= ur services for 40 hours a week, not purchasing your soul. Your time is the= only real finite asset that you have, and once used it can never be recove= red, so don't waste it by giving it away. > > I work to live; I don't live to work. > > "Time is the coin of your life. It is the only coin you have, and only yo= u can determine how it will be spent. Be careful lest you let other people = spend it for you." -- Carl Sandburg (1878 - 1967) > > It is impossible to defeat an ignorant man in argument. -- William G. McA= doo > > Religion is regarded by the common people as true, by the wise as false, = and by the rulers as useful. -- Seneca > > "I distrust those people who know so well what God wants them to do becau= se I notice it always coincides with their own desires." - Susan B. Anthony > > > >> From: Jones.Steven@ups.com >> To: sqr-users@sqrug.org >> Date: Thu, 2 Jul 2009 17:53:04 -0400 >> Subject: RE: Re:[sqr-users] Qpen command record-length problem >> >> Thanks all for your suggestions. >> >> I haven't tried getting the custom parameter collection page to add up t= he column lengths and then pass it as a hidden ask to sqr. I am doubous tha= t it would work. Instead I opted to set a variable flag. When on I open the= file with the maximum row length as one of you suggested and then rpad the= actual line to that length before writing. This is compatible with version= 6.2. If the flag is off, I open using the 8.5 syntax which creates a poten= tially much narrower file. >> >> I didn't use vary as I needed to have MS compatible end-of-line characte= rs which I couldn't seem to do with a variable file type. >> >> As the file is potentially 181x2,000,000 rows, to be downloaded via inte= rnet, size mattered. As we expect to be using version 8.5 later this year, = it will require only turning off the switch later. >> -Steve >> >> -----Original Message----- >> From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-use= rs-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of Alexander, Steven >> Sent: Wednesday, July 01, 2009 5:00 PM >> To: This list is for discussion about the SQR database reportinglanguage= from Hyperion Solutions. >> Subject: RE: Re:[sqr-users] Qpen command record-length problem >> >> Can my other idea work for you? Set the record length to 32000 varying b= ut make each record the same size. >> >> -----Original Message----- >> From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mail= to:sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf = Of Jones.Steven@ups.com >> Sent: Wednesday, July 01, 2009 3:50 PM >> To: sqr-users@sqrug.org >> Subject: RE: Re:[sqr-users] Qpen command record-length problem >> >> I'm not very familiar with Ask, however the user has no idea of the valu= e to put in the ASK. The value is added up from the db column widths the us= er selects during the run, so the SQR obtains the value at run-time prior t= o the open. Can that be somehow put in as if it came from an ASK? >> -Steve >> >> -----Original Message----- >> From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-use= rs-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of franck.masson >> Sent: Wednesday, July 01, 2009 3:16 PM >> To: This list is for discussion about the SQR database reporting languag= e from Hyperion Solutions. >> Subject: RE: Re:[sqr-users] Qpen command record-length problem >> >> Have you try the Ask command as proposed in the previous email ? >> >> >> >>> Message du 02/07/09 00:12 >>> De : Jones.Steven@ups.com >>> A : sqr-users@sqrug.org >>> Copie =E0 : >>> Objet : RE: Re:[sqr-users] Qpen command record-length problem >>> >>> >>> The sqr version I am using is 6.2. I saw that syntax in the manual for = 8.5 but haven't been able to test it. Anyone know how to do it in 6.2? >>> -Steve >>> >>> -----Original Message----- >>> From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org >>> [mailto:sqr-users-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of >>> franck.masson >>> Sent: Wednesday, July 01, 2009 2:39 PM >>> To: This list is for discussion about the SQR database reporting langua= ge from Hyperion Solutions. >>> Subject: Re:[sqr-users] Qpen command record-length problem >>> >>> According to the documentation : >>> OPEN {filename_lit|_var|_col} AS >>> {filenum_num_lit|_var|_col} >>> {FOR-READING|FOR-WRITING|FOR-APPEND} >>> {RECORD=3Dlength_num_lit|_var|_col[:FIXED|:FIXED_NOLF|:VARY:BINARY]}] >>> [STATUS=3Dnum_var]] >>> [ENCODING=3D{_var|_col|ASCII|ANSI|SJIS|JEUC|EBCDIC| >>> EBCDIK290|EBCDIK1027| >>> UCS-2|UTF-8|others... }] >>> >>> you can use a variable to specify the RECORD value >>> >>> franck, >>> >>> >>> >>> >>>> Message du 01/07/09 23:09 >>>> De : Jones.Steven@ups.com >>>> A : sqr-users@sqrug.org >>>> Copie =E0 : >>>> Objet : [sqr-users] Qpen command record-length problem >>>> >>>> >>>> I need to open a window-compatible .txt file for writing where all rec= ords are the same length, but that length is not known until run time. The = syntax appears to expect an integer literal value for the length. What is n= eeded is something like either using an integer variable for the length or = dynamically building the open command and then execute it. >>>> Can anyone help? >>>> -Steve Jones >>>> UPS >>>> >>>> _______________________________________________ >>>> sqr-users mailing list >>>> sqr-users@sqrug.org >>>> http://www.sqrug.org/mailman/listinfo/sqr-users >>>> >>>> >>> >>> Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net >>> 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. >>> >>> _______________________________________________ >>> sqr-users mailing list >>> sqr-users@sqrug.org >>> http://www.sqrug.org/mailman/listinfo/sqr-users >>> >>> _______________________________________________ >>> sqr-users mailing list >>> sqr-users@sqrug.org >>> http://www.sqrug.org/mailman/listinfo/sqr-users >>> >>> >> >> Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net >> 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users > > _________________________________________________________________ > Lauren found her dream laptop. Find the PC that's right for you. > http://www.microsoft.com/windows/choosepc/?ocid=3Dftp_val_wl_290 > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Lauren found her dream laptop. Find the PC that=92s right for you. http://www.microsoft.com/windows/choosepc/?ocid=3Dftp_val_wl_290 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Jul 04 01:44:20 2009 From: "Gopal" Date: Sat, 4 Jul 2009 11:14:22 +0530 Subject: [sqr-users] Mixed font style in a single Line. Hello All, I need to print a mixed font style text in SQR report in a single line. I.e. Certain part of the given string literal should be printed in Normal font. Some part should be in Italics and the rest should be in Bold italics. The string literal is pulled from the DB and it has dynamic values bind with it. Any help? Best Regards, Gopal.R _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Jul 04 02:11:26 2009 From: "Steve Cavill" Subject: RE: [sqr-users] Mixed font style in a single Line. Date: Sat, 4 Jul 2009 16:10:31 +1000 Use multiple print statements for the various parts of the line and specify the required font for each. Steve -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of Gopal Sent: Saturday, 4 July 2009 3:44 PM To: sqr-users@sqrug.org Subject: [sqr-users] Mixed font style in a single Line. Hello All, I need to print a mixed font style text in SQR report in a single line. I.e. Certain part of the given string literal should be printed in Normal font. Some part should be in Italics and the rest should be in Bold italics. The string literal is pulled from the DB and it has dynamic values bind with it. Any help? Best Regards, Gopal.R _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Jul 04 02:24:11 2009 From: "Steve Cavill" Subject: RE: [sqr-users] Qpen command record-length problem Date: Sat, 4 Jul 2009 16:23:12 +1000 I thought all windows text files were variable length. Windows does not understand fixed length records, so the record=32000:vary method suggested by Steve A should work fine. Steve C -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of Jones.Steven@ups.com Sent: Thursday, 2 July 2009 8:06 AM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Qpen command record-length problem Thank you for your replies. The rec_len is determined by the sum of the width of the various columns the user selects thru input parms and thus not an ask. Can it be done that way somehow? -Steve -----Original Message----- From: sqr-users-bounces+jones.steven=ups.com@sqrug.org [mailto:sqr-users-bounces+jones.steven=ups.com@sqrug.org] On Behalf Of Alexander, Steven Sent: Wednesday, July 01, 2009 2:38 PM To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Subject: RE: [sqr-users] Qpen command record-length problem The open command does not let you use a variable for the length parameter. If you know the maximum possible value you could open "varying" with that value. There is no penalty for opening "record=32000:vary" and then writing exactly 853 bytes on every line. If you have to open fixed length, no line feed, try the ASK command: ask rec_len ... open ... record={rec_len}:fixed_nolf -----Original Message----- From: sqr-users-bounces+steven.alexander=sanjoseca.gov@sqrug.org [mailto:sqr-users-bounces+steven.alexander=sanjoseca.gov@sqrug.org] On Behalf Of Jones.Steven@ups.com Sent: Wednesday, July 01, 2009 2:06 PM To: sqr-users@sqrug.org Subject: [sqr-users] Qpen command record-length problem I need to open a window-compatible .txt file for writing where all records are the same length, but that length is not known until run time. The syntax appears to expect an integer literal value for the length. What is needed is something like either using an integer variable for the length or dynamically building the open command and then execute it. Can anyone help? -Steve Jones UPS _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Jul 04 02:27:32 2009 From: "Steve Cavill" Subject: RE: [sqr-users] S.O.S !! how to print a header on multiple columnreport? Date: Sat, 4 Jul 2009 16:25:25 +1000 Have you tried a begin-heading section to print the column headers? Steve -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of Alvaro Soares Sent: Friday, 26 June 2009 4:43 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: [sqr-users] S.O.S !! how to print a header on multiple columnreport? Hi All!! I have built a report with multiple columns using the COLUMN command. But i am not getting to print a header for these columns. Does someone have any example code to do that please ? Thanks _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Jul 04 02:42:30 2009 From: "Steve Cavill" Subject: RE: Re:[sqr-users] Qpen command record-length problem Date: Sat, 4 Jul 2009 16:41:38 +1000 Ah, I see now. Are you creating a file on an operating systems other than = windows that you want to read on windows? Steve=20 -----Original Message----- From: sqr-users-bounces+steve.cavill=3Dinfoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=3Dinfoclarity.com.au@sqrug.org] On B= ehalf Of Jones.Steven@ups.com Sent: Thursday, 2 July 2009 8:09 AM To: sqr-users@sqrug.org Subject: RE: Re:[sqr-users] Qpen command record-length problem The sqr version I am using is 6.2. I saw that syntax in the manual for 8.5= but haven't been able to test it. Anyone know how to do it in 6.2? -Steve=20 -----Original Message----- From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-users-= bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of franck.masson Sent: Wednesday, July 01, 2009 2:39 PM To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Subject: Re:[sqr-users] Qpen command record-length problem According to the documentation : OPEN {filename_lit|_var|_col} AS {filenum_num_lit|_var|_col} {FOR-READING|FOR-WRITING|FOR-APPEND} {RECORD=3Dlength_num_lit|_var|_col[:FIXED|:FIXED_NOLF|:VARY:BINARY]}] [STATUS=3Dnum_var]] [ENCODING=3D{_var|_col|ASCII|ANSI|SJIS|JEUC|EBCDIC| EBCDIK290|EBCDIK1027| UCS-2|UTF-8|others... }] =20 you can use a variable to specify the RECORD value =20 franck, > Message du 01/07/09 23:09 > De : Jones.Steven@ups.com > A : sqr-users@sqrug.org > Copie =E0 :=20 > Objet : [sqr-users] Qpen command record-length problem > >=20 > I need to open a window-compatible .txt file for writing where all record= s are the same length, but that length is not known until run time. The syntax appears to expect an integer literal value for the len= gth. What is needed is something like either using an integer variable for the length or dynamically building the open command an= d then execute it. > Can anyone help? > -Steve Jones > UPS >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Jul 04 02:48:18 2009 From: "Gopal" Subject: RE: [sqr-users] Mixed font style in a single Line. Date: Sat, 4 Jul 2009 12:18:20 +0530 Steve, Thanks for you reply. But the italics and bold texts should be part of a single line or paragraph. If I use multiple print statements, how can I get the last x,y coordinate in order to continue printing from where I left. Best Regards, Gopal.R -----Original Message----- From: sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org]On Behalf Of Steve Cavill Sent: Saturday, July 04, 2009 11:41 AM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] Mixed font style in a single Line. Use multiple print statements for the various parts of the line and specify the required font for each. Steve -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of Gopal Sent: Saturday, 4 July 2009 3:44 PM To: sqr-users@sqrug.org Subject: [sqr-users] Mixed font style in a single Line. Hello All, I need to print a mixed font style text in SQR report in a single line. I.e. Certain part of the given string literal should be printed in Normal font. Some part should be in Italics and the rest should be in Bold italics. The string literal is pulled from the DB and it has dynamic values bind with it. Any help? Best Regards, Gopal.R _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Jul 04 03:21:16 2009 From: "Steve Cavill" Subject: RE: [sqr-users] Mixed font style in a single Line. Date: Sat, 4 Jul 2009 17:20:28 +1000 That's how print works. Print 'hel' (1,1) Print 'lo' () Will print: hello The first 3 chapters of this doc provide a good overview of how SQR works: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/pr_developer_vol1.pdf Steve -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of Gopal Sent: Saturday, 4 July 2009 4:48 PM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] Mixed font style in a single Line. Steve, Thanks for you reply. But the italics and bold texts should be part of a single line or paragraph. If I use multiple print statements, how can I get the last x,y coordinate in order to continue printing from where I left. Best Regards, Gopal.R -----Original Message----- From: sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org]On Behalf Of Steve Cavill Sent: Saturday, July 04, 2009 11:41 AM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] Mixed font style in a single Line. Use multiple print statements for the various parts of the line and specify the required font for each. Steve -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of Gopal Sent: Saturday, 4 July 2009 3:44 PM To: sqr-users@sqrug.org Subject: [sqr-users] Mixed font style in a single Line. Hello All, I need to print a mixed font style text in SQR report in a single line. I.e. Certain part of the given string literal should be printed in Normal font. Some part should be in Italics and the rest should be in Bold italics. The string literal is pulled from the DB and it has dynamic values bind with it. Any help? Best Regards, Gopal.R _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Jul 04 04:06:28 2009 From: "Gopal" Subject: RE: [sqr-users] Mixed font style in a single Line. Date: Sat, 4 Jul 2009 13:35:39 +0530 Steve, I tried as you directed. But the strings are getting overlapped. Pasted my sample program here. Please direct. Begin-Setup Declare-Layout Default Orientation = Portrait Paper-Size = (Letter) Top-Margin = 0.500 Bottom-Margin = 0.500 Left-Margin = 0.500 Right-Margin = 0.500 Line-Height = 1 Char-Width = 1 End-Declare End-Setup Begin-program do master_query End-program Begin-procedure master_query !consider the variable $desc_en content is a dynamic text fetched from DB and can grow shring based on the value in DB. let $desc_en = 'This is a sample Text to be printed in Normal font style^^^This text to be displayed in Italics@@@ This text to be displayed in Normal style again' let #len_desc_en_Pos_first = instr($desc_en,'^^^',1) let #len_desc_en_Pos_second = instr($desc_en,'@@@',1) let #length_Desc_en = length ($desc_en) let $substr_desc_en = substr($desc_en,1,#len_desc_en_Pos_first - 1 ) Alter-Printer Font=4 Point-Size= 10 ! [SQR.INI] 4=Arial,proportional print $desc_en (10,10) wrap 120 30 strip ='' on=<10> line-height=10 Keep-Top next-listing Alter-Printer Font=4 Point-Size= 10 ! [SQR.INI] 4=Arial,proportional print $substr_desc_en (+15,10) wrap 100 30 strip ='' on=<10> line-height=10 Keep-Top !let #current_column_Yposition = mod(length($substr_desc_en),99) ! Unable to get current column of the printer( Y position) ! let #dest_Wrap = wrapdepth($substr_desc_en, 100, 10, '', '') ! I Managed to get the current Line of the printer. !let #dest_Wrap = #dest_Wrap - 1 let $substr_desc_en = substr($desc_en, #len_desc_en_Pos_first + 3, (#len_desc_en_Pos_second -1 )- (#len_desc_en_Pos_first +3) ) Alter-Printer Font=31 Point-Size= 10 ! [SQR.INI] 31=Arial,Italics ! print $substr_desc_en (+#dest_Wrap, #current-column) wrap 100 30 strip ='' on=<10> line-height=10 Keep-Top print $substr_desc_en () wrap 100 30 strip ='' on=<10> line-height=10 Keep-Top !let #current_column_Yposition = mod(length($substr_desc_en),99) ! Unable to get current column of the printer( Y position) ! let #dest_Wrap = wrapdepth($substr_desc_en, 100, 10, '', '') ! I Managed to get the current Line of the printer. !let #dest_Wrap = #dest_Wrap - 1 let $substr_desc_en = substr($desc_en,#len_desc_en_Pos_second + 3, #length_Desc_en - (#len_desc_en_Pos_second + 2)) Alter-Printer Font=4 Point-Size= 10 ! [SQR.INI] 4=Arial,proportional ! print $substr_desc_en (#current-line, #substr_yAxis_position) wrap 120 30 strip ='' on=<10> line-height=10 Keep-Top print $substr_desc_en () wrap 100 30 strip ='' on=<10> line-height=10 Keep-Top end-procedure Best Regards, Gopal.R -----Original Message----- From: sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org]On Behalf Of Steve Cavill Sent: Saturday, July 04, 2009 12:50 PM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] Mixed font style in a single Line. That's how print works. Print 'hel' (1,1) Print 'lo' () Will print: hello The first 3 chapters of this doc provide a good overview of how SQR works: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/pr_developer_vol1.p df Steve -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of Gopal Sent: Saturday, 4 July 2009 4:48 PM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] Mixed font style in a single Line. Steve, Thanks for you reply. But the italics and bold texts should be part of a single line or paragraph. If I use multiple print statements, how can I get the last x,y coordinate in order to continue printing from where I left. Best Regards, Gopal.R -----Original Message----- From: sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org]On Behalf Of Steve Cavill Sent: Saturday, July 04, 2009 11:41 AM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] Mixed font style in a single Line. Use multiple print statements for the various parts of the line and specify the required font for each. Steve -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of Gopal Sent: Saturday, 4 July 2009 3:44 PM To: sqr-users@sqrug.org Subject: [sqr-users] Mixed font style in a single Line. Hello All, I need to print a mixed font style text in SQR report in a single line. I.e. Certain part of the given string literal should be printed in Normal font. Some part should be in Italics and the rest should be in Bold italics. The string literal is pulled from the DB and it has dynamic values bind with it. Any help? Best Regards, Gopal.R _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Jul 04 06:56:32 2009 From: the dragon Subject: RE: [sqr-users] Mixed font style in a single Line. Date: Sat, 4 Jul 2009 05:53:00 -0500 You'll notice in Steve's example that he doesn't use any of that nonsensica= l dynamic positioning. Yes, if you use that with different font sytles it = will never work - you have to use Steve's method - can you see the differen= ce? Additionally, even with non-dynamic printing, due to the complexities = of proportional font, things still might not line up exactly. =20 Now might be a good time to RTFM on SQR. =20 peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your= services for 40 hours a week, not purchasing your soul. Your time is the o= nly real finite asset that you have, and once used it can never be recovere= d, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you = can determine how it will be spent. Be careful lest you let other people sp= end it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, an= d by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because= I notice it always coincides with their own desires." - Susan B. Anthony ---------------------------------------- > > Steve, > > I tried as you directed. But the strings are getting overlapped. Pasted my > sample program here. Please direct. > > Begin-Setup > Declare-Layout Default > Orientation =3D Portrait > Paper-Size =3D (Letter) > Top-Margin =3D 0.500 > Bottom-Margin =3D 0.500 > Left-Margin =3D 0.500 > Right-Margin =3D 0.500 > Line-Height =3D 1 > Char-Width =3D 1 > > End-Declare > > End-Setup > Begin-program > do master_query > End-program > > Begin-procedure master_query > !consider the variable $desc_en content is a dynamic text fetched from DB > and can grow shring based on the value in DB. > let $desc_en =3D 'This is a sample Text to be printed in Normal font > style^^^This text to be displayed in Italics@@@ This text to be displayed= in > Normal style again' > let #len_desc_en_Pos_first =3D instr($desc_en,'^^^',1) > let #len_desc_en_Pos_second =3D instr($desc_en,'@@@',1) > let #length_Desc_en =3D length ($desc_en) > let $substr_desc_en =3D substr($desc_en,1,#len_desc_en_Pos_first - 1 ) > Alter-Printer Font=3D4 Point-Size=3D 10 ! [SQR.INI] 4=3DArial,proportional > > print $desc_en (10,10) wrap 120 30 strip =3D'' on=3D line-height=3D10 > Keep-Top > next-listing > > Alter-Printer Font=3D4 Point-Size=3D 10 ! [SQR.INI] 4=3DArial,proportional > print $substr_desc_en (+15,10) wrap 100 30 strip =3D'' on=3D line-height= =3D10 > Keep-Top > > > !let #current_column_Yposition =3D mod(length($substr_desc_en),99) ! Unab= le to > get current column of the printer( Y position) > ! let #dest_Wrap =3D wrapdepth($substr_desc_en, 100, 10, '', '') ! I Mana= ged > to get the current Line of the printer. > !let #dest_Wrap =3D #dest_Wrap - 1 > let $substr_desc_en =3D substr($desc_en, #len_desc_en_Pos_first + 3, > (#len_desc_en_Pos_second -1 )- (#len_desc_en_Pos_first +3) ) > Alter-Printer Font=3D31 Point-Size=3D 10 ! [SQR.INI] 31=3DArial,Italics > ! print $substr_desc_en (+#dest_Wrap, #current-column) wrap 100 30 strip = =3D'' > on=3D line-height=3D10 Keep-Top > print $substr_desc_en () wrap 100 30 strip =3D'' on=3D line-height=3D10 > Keep-Top > > > !let #current_column_Yposition =3D mod(length($substr_desc_en),99) ! Unab= le to > get current column of the printer( Y position) > ! let #dest_Wrap =3D wrapdepth($substr_desc_en, 100, 10, '', '') ! I Mana= ged > to get the current Line of the printer. > !let #dest_Wrap =3D #dest_Wrap - 1 > let $substr_desc_en =3D substr($desc_en,#len_desc_en_Pos_second + 3, > #length_Desc_en - (#len_desc_en_Pos_second + 2)) > Alter-Printer Font=3D4 Point-Size=3D 10 ! [SQR.INI] 4=3DArial,proportional > ! print $substr_desc_en (#current-line, #substr_yAxis_position) wrap 120 = 30 > strip =3D'' on=3D line-height=3D10 Keep-Top > print $substr_desc_en () wrap 100 30 strip =3D'' on=3D line-height=3D10 > Keep-Top > > end-procedure > > > Best Regards, > > Gopal.R > > -----Original Message----- > > That's how print works. > Print 'hel' (1,1) > Print 'lo' () > > Will print: > hello > > The first 3 chapters of this doc provide a good overview of how SQR works: > http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/pr_developer_vol= 1.p > df > > Steve > > -----Original Message----- > > Steve, > > Thanks for you reply. > But the italics and bold texts should be part of a single line or paragra= ph. > If I use multiple print statements, how can I get the last x,y coordinate= in > order to continue printing from where I left. > > Best Regards, > > Gopal.R > > -----Original Message----- > > Use multiple print statements for the various parts of the line and speci= fy > the required font for each. > Steve > > -----Original Message----- > > Hello All, > > I need to print a mixed font style text in SQR report in a single line. I= .e. > Certain part of the given string literal should be printed in Normal font. > Some part should be in Italics and the rest should be in Bold italics. The > string literal is pulled from the DB and it has dynamic > values bind with it. > > Any help? > > Best Regards, > > Gopal.R > _________________________________________________________________ Lauren found her dream laptop. Find the PC that=92s right for you. http://www.microsoft.com/windows/choosepc/?ocid=3Dftp_val_wl_290 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Jul 04 07:28:46 2009 From: "Steve Cavill" Subject: RE: [sqr-users] Mixed font style in a single Line. Date: Sat, 4 Jul 2009 21:26:59 +1000 Actually you don't seem to have tried what I suggested at all. Your program is not a simple test. To try to get something to work it's always a good idea to start with something simple. I also suggest you don't use line-height and char-width=1 unless there is a specific reason. It make print positions difficult. So you should try something like: Alter-printer font=4 Print 'This is normal font' (1,1) Alter-printer font=31 Print 'This is italics' () Alter-printer font=4 Print 'this is normal again' () font=4 And work from there. Steve -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of Gopal Sent: Saturday, 4 July 2009 6:06 PM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] Mixed font style in a single Line. Steve, I tried as you directed. But the strings are getting overlapped. Pasted my sample program here. Please direct. Begin-Setup Declare-Layout Default Orientation = Portrait Paper-Size = (Letter) Top-Margin = 0.500 Bottom-Margin = 0.500 Left-Margin = 0.500 Right-Margin = 0.500 Line-Height = 1 Char-Width = 1 End-Declare End-Setup Begin-program do master_query End-program Begin-procedure master_query !consider the variable $desc_en content is a dynamic text fetched from DB and can grow shring based on the value in DB. let $desc_en = 'This is a sample Text to be printed in Normal font style^^^This text to be displayed in Italics@@@ This text to be displayed in Normal style again' let #len_desc_en_Pos_first = instr($desc_en,'^^^',1) let #len_desc_en_Pos_second = instr($desc_en,'@@@',1) let #length_Desc_en = length ($desc_en) let $substr_desc_en = substr($desc_en,1,#len_desc_en_Pos_first - 1 ) Alter-Printer Font=4 Point-Size= 10 ! [SQR.INI] 4=Arial,proportional print $desc_en (10,10) wrap 120 30 strip ='' on=<10> line-height=10 Keep-Top next-listing Alter-Printer Font=4 Point-Size= 10 ! [SQR.INI] 4=Arial,proportional print $substr_desc_en (+15,10) wrap 100 30 strip ='' on=<10> line-height=10 Keep-Top !let #current_column_Yposition = mod(length($substr_desc_en),99) ! Unable to get current column of the printer( Y position) ! let #dest_Wrap = wrapdepth($substr_desc_en, 100, 10, '', '') ! I Managed to get the current Line of the printer. !let #dest_Wrap = #dest_Wrap - 1 let $substr_desc_en = substr($desc_en, #len_desc_en_Pos_first + 3, (#len_desc_en_Pos_second -1 )- (#len_desc_en_Pos_first +3) ) Alter-Printer Font=31 Point-Size= 10 ! [SQR.INI] 31=Arial,Italics ! print $substr_desc_en (+#dest_Wrap, #current-column) wrap 100 30 strip ='' on=<10> line-height=10 Keep-Top print $substr_desc_en () wrap 100 30 strip ='' on=<10> line-height=10 Keep-Top !let #current_column_Yposition = mod(length($substr_desc_en),99) ! Unable to get current column of the printer( Y position) ! let #dest_Wrap = wrapdepth($substr_desc_en, 100, 10, '', '') ! I Managed to get the current Line of the printer. !let #dest_Wrap = #dest_Wrap - 1 let $substr_desc_en = substr($desc_en,#len_desc_en_Pos_second + 3, #length_Desc_en - (#len_desc_en_Pos_second + 2)) Alter-Printer Font=4 Point-Size= 10 ! [SQR.INI] 4=Arial,proportional ! print $substr_desc_en (#current-line, #substr_yAxis_position) wrap 120 30 strip ='' on=<10> line-height=10 Keep-Top print $substr_desc_en () wrap 100 30 strip ='' on=<10> line-height=10 Keep-Top end-procedure Best Regards, Gopal.R -----Original Message----- From: sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org]On Behalf Of Steve Cavill Sent: Saturday, July 04, 2009 12:50 PM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] Mixed font style in a single Line. That's how print works. Print 'hel' (1,1) Print 'lo' () Will print: hello The first 3 chapters of this doc provide a good overview of how SQR works: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/pr_developer_vol1.p df Steve -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of Gopal Sent: Saturday, 4 July 2009 4:48 PM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] Mixed font style in a single Line. Steve, Thanks for you reply. But the italics and bold texts should be part of a single line or paragraph. If I use multiple print statements, how can I get the last x,y coordinate in order to continue printing from where I left. Best Regards, Gopal.R -----Original Message----- From: sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org]On Behalf Of Steve Cavill Sent: Saturday, July 04, 2009 11:41 AM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] Mixed font style in a single Line. Use multiple print statements for the various parts of the line and specify the required font for each. Steve -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of Gopal Sent: Saturday, 4 July 2009 3:44 PM To: sqr-users@sqrug.org Subject: [sqr-users] Mixed font style in a single Line. Hello All, I need to print a mixed font style text in SQR report in a single line. I.e. Certain part of the given string literal should be printed in Normal font. Some part should be in Italics and the rest should be in Bold italics. The string literal is pulled from the DB and it has dynamic values bind with it. Any help? Best Regards, Gopal.R _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Jul 04 07:33:13 2009 From: "Gopal" Subject: RE: [sqr-users] Mixed font style in a single Line. Date: Sat, 4 Jul 2009 17:01:10 +0530 Steve never used font-styles. But that what my requirement is. Best Regards, Gopal.R -----Original Message----- From: sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org]On Behalf Of the dragon Sent: Saturday, July 04, 2009 4:23 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Mixed font style in a single Line. You'll notice in Steve's example that he doesn't use any of that nonsensical dynamic positioning. Yes, if you use that with different font sytles it will never work - you have to use Steve's method - can you see the difference? Additionally, even with non-dynamic printing, due to the complexities of proportional font, things still might not line up exactly. Now might be a good time to RTFM on SQR. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ---------------------------------------- > > Steve, > > I tried as you directed. But the strings are getting overlapped. Pasted my > sample program here. Please direct. > > Begin-Setup > Declare-Layout Default > Orientation = Portrait > Paper-Size = (Letter) > Top-Margin = 0.500 > Bottom-Margin = 0.500 > Left-Margin = 0.500 > Right-Margin = 0.500 > Line-Height = 1 > Char-Width = 1 > > End-Declare > > End-Setup > Begin-program > do master_query > End-program > > Begin-procedure master_query > !consider the variable $desc_en content is a dynamic text fetched from DB > and can grow shring based on the value in DB. > let $desc_en = 'This is a sample Text to be printed in Normal font > style^^^This text to be displayed in Italics@@@ This text to be displayed in > Normal style again' > let #len_desc_en_Pos_first = instr($desc_en,'^^^',1) > let #len_desc_en_Pos_second = instr($desc_en,'@@@',1) > let #length_Desc_en = length ($desc_en) > let $substr_desc_en = substr($desc_en,1,#len_desc_en_Pos_first - 1 ) > Alter-Printer Font=4 Point-Size= 10 ! [SQR.INI] 4=Arial,proportional > > print $desc_en (10,10) wrap 120 30 strip ='' on= line-height=10 > Keep-Top > next-listing > > Alter-Printer Font=4 Point-Size= 10 ! [SQR.INI] 4=Arial,proportional > print $substr_desc_en (+15,10) wrap 100 30 strip ='' on= line-height=10 > Keep-Top > > > !let #current_column_Yposition = mod(length($substr_desc_en),99) ! Unable to > get current column of the printer( Y position) > ! let #dest_Wrap = wrapdepth($substr_desc_en, 100, 10, '', '') ! I Managed > to get the current Line of the printer. > !let #dest_Wrap = #dest_Wrap - 1 > let $substr_desc_en = substr($desc_en, #len_desc_en_Pos_first + 3, > (#len_desc_en_Pos_second -1 )- (#len_desc_en_Pos_first +3) ) > Alter-Printer Font=31 Point-Size= 10 ! [SQR.INI] 31=Arial,Italics > ! print $substr_desc_en (+#dest_Wrap, #current-column) wrap 100 30 strip ='' > on= line-height=10 Keep-Top > print $substr_desc_en () wrap 100 30 strip ='' on= line-height=10 > Keep-Top > > > !let #current_column_Yposition = mod(length($substr_desc_en),99) ! Unable to > get current column of the printer( Y position) > ! let #dest_Wrap = wrapdepth($substr_desc_en, 100, 10, '', '') ! I Managed > to get the current Line of the printer. > !let #dest_Wrap = #dest_Wrap - 1 > let $substr_desc_en = substr($desc_en,#len_desc_en_Pos_second + 3, > #length_Desc_en - (#len_desc_en_Pos_second + 2)) > Alter-Printer Font=4 Point-Size= 10 ! [SQR.INI] 4=Arial,proportional > ! print $substr_desc_en (#current-line, #substr_yAxis_position) wrap 120 30 > strip ='' on= line-height=10 Keep-Top > print $substr_desc_en () wrap 100 30 strip ='' on= line-height=10 > Keep-Top > > end-procedure > > > Best Regards, > > Gopal.R > > -----Original Message----- > > That's how print works. > Print 'hel' (1,1) > Print 'lo' () > > Will print: > hello > > The first 3 chapters of this doc provide a good overview of how SQR works: > http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/pr_developer_vol1.p > df > > Steve > > -----Original Message----- > > Steve, > > Thanks for you reply. > But the italics and bold texts should be part of a single line or paragraph. > If I use multiple print statements, how can I get the last x,y coordinate in > order to continue printing from where I left. > > Best Regards, > > Gopal.R > > -----Original Message----- > > Use multiple print statements for the various parts of the line and specify > the required font for each. > Steve > > -----Original Message----- > > Hello All, > > I need to print a mixed font style text in SQR report in a single line. I.e. > Certain part of the given string literal should be printed in Normal font. > Some part should be in Italics and the rest should be in Bold italics. The > string literal is pulled from the DB and it has dynamic > values bind with it. > > Any help? > > Best Regards, > > Gopal.R > _________________________________________________________________ Lauren found her dream laptop. Find the PC that's right for you. http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Jul 04 07:40:27 2009 From: the dragon Subject: RE: [sqr-users] Mixed font style in a single Line. Date: Sat, 4 Jul 2009 06:37:04 -0500 "I also suggest you don't use line-height and char-width=3D1 unless there i= s a specific reason." =20 My guess, based upon the primary question, is that he inherited this from s= omeone more experienced, and now he needs to support it. You're giving goo= d advice, which should create a *foundation* of understanding to further bu= ild upon, rather than giving a quick fix. Good job of teaching!!! =20 peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your= services for 40 hours a week, not purchasing your soul. Your time is the o= nly real finite asset that you have, and once used it can never be recovere= d, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you = can determine how it will be spent. Be careful lest you let other people sp= end it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, an= d by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because= I notice it always coincides with their own desires." - Susan B. Anthony ---------------------------------------- > > Actually you don't seem to have tried what I suggested at all. > > Your program is not a simple test. To try to get something to work it's a= lways a good idea to start with something simple. > > I also suggest you don't use line-height and char-width=3D1 unless there = is a specific reason. It make print positions difficult. > > So you should try something like: > Alter-printer font=3D4 > Print 'This is normal font' (1,1) > Alter-printer font=3D31 > Print 'This is italics' () > Alter-printer font=3D4 > Print 'this is normal again' () font=3D4 > > And work from there. > Steve > > > -----Original Message----- > > Steve, > > I tried as you directed. But the strings are getting overlapped. Pasted m= y sample program here. Please direct. > > > Begin-Setup > Declare-Layout Default > Orientation =3D Portrait > Paper-Size =3D (Letter) > Top-Margin =3D 0.500 > Bottom-Margin =3D 0.500 > Left-Margin =3D 0.500 > Right-Margin =3D 0.500 > Line-Height =3D 1 > Char-Width =3D 1 > > End-Declare > > End-Setup > Begin-program > do master_query > End-program > > > Begin-procedure master_query > !consider the variable $desc_en content is a dynamic text fetched from DB= and can grow shring based on the value in DB. > let $desc_en =3D 'This is a sample Text to be printed in Normal font styl= e^^^This text to be displayed in Italics@@@ This text to be > displayed in Normal style again' > let #len_desc_en_Pos_first =3D instr($desc_en,'^^^',1) let #len_desc_en_P= os_second =3D instr($desc_en,'@@@',1) let #length_Desc_en > =3D length ($desc_en) let $substr_desc_en =3D substr($desc_en,1,#len_desc= _en_Pos_first - 1 ) > Alter-Printer Font=3D4 Point-Size=3D 10 ! [SQR.INI] 4=3DArial,proportional > > print $desc_en (10,10) wrap 120 30 strip =3D'' on=3D line-height=3D10 Kee= p-Top next-listing > > Alter-Printer Font=3D4 Point-Size=3D 10 ! [SQR.INI] 4=3DArial,proportional > print $substr_desc_en (+15,10) wrap 100 30 strip =3D'' on=3D line-height= =3D10 Keep-Top > > > !let #current_column_Yposition =3D mod(length($substr_desc_en),99) ! Unab= le to get current column of the printer( Y position) ! let > #dest_Wrap =3D wrapdepth($substr_desc_en, 100, 10, '', '') ! I Managed to= get the current Line of the printer. > !let #dest_Wrap =3D #dest_Wrap - 1 > let $substr_desc_en =3D substr($desc_en, #len_desc_en_Pos_first + 3, (#le= n_desc_en_Pos_second -1 )- (#len_desc_en_Pos_first +3) ) > Alter-Printer Font=3D31 Point-Size=3D 10 ! [SQR.INI] 31=3DArial,Italics > ! print $substr_desc_en (+#dest_Wrap, #current-column) wrap 100 30 strip = =3D'' > on=3D line-height=3D10 Keep-Top > print $substr_desc_en () wrap 100 30 strip =3D'' on=3D line-height=3D10 K= eep-Top > > > !let #current_column_Yposition =3D mod(length($substr_desc_en),99) ! Unab= le to get current column of the printer( Y position) ! let > #dest_Wrap =3D wrapdepth($substr_desc_en, 100, 10, '', '') ! I Managed to= get the current Line of the printer. > !let #dest_Wrap =3D #dest_Wrap - 1 > let $substr_desc_en =3D substr($desc_en,#len_desc_en_Pos_second + 3, #len= gth_Desc_en - (#len_desc_en_Pos_second + 2)) Alter-Printer > Font=3D4 Point-Size=3D 10 ! [SQR.INI] 4=3DArial,proportional ! print $sub= str_desc_en (#current-line, #substr_yAxis_position) wrap 120 30 > strip =3D'' on=3D line-height=3D10 Keep-Top print $substr_desc_en () wrap= 100 30 strip =3D'' on=3D line-height=3D10 Keep-Top > > end-procedure > > > Best Regards, > > Gopal.R > > -----Original Message----- > > That's how print works. > Print 'hel' (1,1) > Print 'lo' () > > Will print: > hello > > The first 3 chapters of this doc provide a good overview of how SQR works: > http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/pr_developer_vol= 1.p > df > > Steve > > -----Original Message----- > > Steve, > > Thanks for you reply. > But the italics and bold texts should be part of a single line or paragra= ph. > If I use multiple print statements, how can I get the last x,y coordinate= in order to continue printing from where I left. > > Best Regards, > > Gopal.R > > -----Original Message----- _________________________________________________________________ Hotmail=AE has ever-growing storage! Don=92t worry about storage limits.=20 http://windowslive.com/Tutorial/Hotmail/Storage?ocid=3DTXT_TAGLM_WL_HM_Tuto= rial_Storage_062009 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Jul 04 08:20:30 2009 From: "Gopal" Subject: RE: [sqr-users] Mixed font style in a single Line. Date: Sat, 4 Jul 2009 17:49:23 +0530 Tons Thanks for your suggestions. My problem is I'm already having this report running in production which will result in 60 pages PDF. Now I cannot change the Layout declarations. All I need to do is, add a small piece in it. Best Regards, Gopal.R -----Original Message----- From: sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org]On Behalf Of the dragon Sent: Saturday, July 04, 2009 5:07 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Mixed font style in a single Line. "I also suggest you don't use line-height and char-width=1 unless there is a specific reason." My guess, based upon the primary question, is that he inherited this from someone more experienced, and now he needs to support it. You're giving good advice, which should create a *foundation* of understanding to further build upon, rather than giving a quick fix. Good job of teaching!!! peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ---------------------------------------- > > Actually you don't seem to have tried what I suggested at all. > > Your program is not a simple test. To try to get something to work it's always a good idea to start with something simple. > > I also suggest you don't use line-height and char-width=1 unless there is a specific reason. It make print positions difficult. > > So you should try something like: > Alter-printer font=4 > Print 'This is normal font' (1,1) > Alter-printer font=31 > Print 'This is italics' () > Alter-printer font=4 > Print 'this is normal again' () font=4 > > And work from there. > Steve > > > -----Original Message----- > > Steve, > > I tried as you directed. But the strings are getting overlapped. Pasted my sample program here. Please direct. > > > Begin-Setup > Declare-Layout Default > Orientation = Portrait > Paper-Size = (Letter) > Top-Margin = 0.500 > Bottom-Margin = 0.500 > Left-Margin = 0.500 > Right-Margin = 0.500 > Line-Height = 1 > Char-Width = 1 > > End-Declare > > End-Setup > Begin-program > do master_query > End-program > > > Begin-procedure master_query > !consider the variable $desc_en content is a dynamic text fetched from DB and can grow shring based on the value in DB. > let $desc_en = 'This is a sample Text to be printed in Normal font style^^^This text to be displayed in Italics@@@ This text to be > displayed in Normal style again' > let #len_desc_en_Pos_first = instr($desc_en,'^^^',1) let #len_desc_en_Pos_second = instr($desc_en,'@@@',1) let #length_Desc_en > = length ($desc_en) let $substr_desc_en = substr($desc_en,1,#len_desc_en_Pos_first - 1 ) > Alter-Printer Font=4 Point-Size= 10 ! [SQR.INI] 4=Arial,proportional > > print $desc_en (10,10) wrap 120 30 strip ='' on= line-height=10 Keep-Top next-listing > > Alter-Printer Font=4 Point-Size= 10 ! [SQR.INI] 4=Arial,proportional > print $substr_desc_en (+15,10) wrap 100 30 strip ='' on= line-height=10 Keep-Top > > > !let #current_column_Yposition = mod(length($substr_desc_en),99) ! Unable to get current column of the printer( Y position) ! let > #dest_Wrap = wrapdepth($substr_desc_en, 100, 10, '', '') ! I Managed to get the current Line of the printer. > !let #dest_Wrap = #dest_Wrap - 1 > let $substr_desc_en = substr($desc_en, #len_desc_en_Pos_first + 3, (#len_desc_en_Pos_second -1 )- (#len_desc_en_Pos_first +3) ) > Alter-Printer Font=31 Point-Size= 10 ! [SQR.INI] 31=Arial,Italics > ! print $substr_desc_en (+#dest_Wrap, #current-column) wrap 100 30 strip ='' > on= line-height=10 Keep-Top > print $substr_desc_en () wrap 100 30 strip ='' on= line-height=10 Keep-Top > > > !let #current_column_Yposition = mod(length($substr_desc_en),99) ! Unable to get current column of the printer( Y position) ! let > #dest_Wrap = wrapdepth($substr_desc_en, 100, 10, '', '') ! I Managed to get the current Line of the printer. > !let #dest_Wrap = #dest_Wrap - 1 > let $substr_desc_en = substr($desc_en,#len_desc_en_Pos_second + 3, #length_Desc_en - (#len_desc_en_Pos_second + 2)) Alter-Printer > Font=4 Point-Size= 10 ! [SQR.INI] 4=Arial,proportional ! print $substr_desc_en (#current-line, #substr_yAxis_position) wrap 120 30 > strip ='' on= line-height=10 Keep-Top print $substr_desc_en () wrap 100 30 strip ='' on= line-height=10 Keep-Top > > end-procedure > > > Best Regards, > > Gopal.R > > -----Original Message----- > > That's how print works. > Print 'hel' (1,1) > Print 'lo' () > > Will print: > hello > > The first 3 chapters of this doc provide a good overview of how SQR works: > http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/pr_developer_vol1.p > df > > Steve > > -----Original Message----- > > Steve, > > Thanks for you reply. > But the italics and bold texts should be part of a single line or paragraph. > If I use multiple print statements, how can I get the last x,y coordinate in order to continue printing from where I left. > > Best Regards, > > Gopal.R > > -----Original Message----- _________________________________________________________________ Hotmail(r) has ever-growing storage! Don't worry about storage limits. http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutoria l_Storage_062009 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Jul 04 11:01:50 2009 From: "Steve Cavill" Subject: RE: [sqr-users] Mixed font style in a single Line. Date: Sun, 5 Jul 2009 01:00:47 +1000 You still need to start with something simple to test. Don't try to change the existing program. Create a new test program to find out what will work for you, Then apply that technique to your existing program. Note you will have a LOT of trouble combining multiple print commands with proportional fonts. That's because you can't accurately calculate the length of a string in proportional font. Can you use a fixed font? #current-line and #current-column automatic variables might also be useful Do you need the "wrap" option? That will make your task particularly difficult. Steve -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of Gopal Sent: Saturday, 4 July 2009 10:19 PM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] Mixed font style in a single Line. Tons Thanks for your suggestions. My problem is I'm already having this report running in production which will result in 60 pages PDF. Now I cannot change the Layout declarations. All I need to do is, add a small piece in it. Best Regards, Gopal.R -----Original Message----- From: sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org]On Behalf Of the dragon Sent: Saturday, July 04, 2009 5:07 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Mixed font style in a single Line. "I also suggest you don't use line-height and char-width=1 unless there is a specific reason." My guess, based upon the primary question, is that he inherited this from someone more experienced, and now he needs to support it. You're giving good advice, which should create a *foundation* of understanding to further build upon, rather than giving a quick fix. Good job of teaching!!! peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ---------------------------------------- > > Actually you don't seem to have tried what I suggested at all. > > Your program is not a simple test. To try to get something to work > it's always a good idea to start with something simple. > > I also suggest you don't use line-height and char-width=1 unless there > is a specific reason. It make print positions difficult. > > So you should try something like: > Alter-printer font=4 > Print 'This is normal font' (1,1) > Alter-printer font=31 > Print 'This is italics' () > Alter-printer font=4 > Print 'this is normal again' () font=4 > > And work from there. > Steve > > > -----Original Message----- > > Steve, > > I tried as you directed. But the strings are getting overlapped. > Pasted my sample program here. Please direct. > > > Begin-Setup > Declare-Layout Default > Orientation = Portrait > Paper-Size = (Letter) > Top-Margin = 0.500 > Bottom-Margin = 0.500 > Left-Margin = 0.500 > Right-Margin = 0.500 > Line-Height = 1 > Char-Width = 1 > > End-Declare > > End-Setup > Begin-program > do master_query > End-program > > > Begin-procedure master_query > !consider the variable $desc_en content is a dynamic text fetched from > DB and can grow shring based on the value in DB. > let $desc_en = 'This is a sample Text to be printed in Normal font style^^^This text to be displayed in Italics@@@ This text to be > displayed in Normal style again' > let #len_desc_en_Pos_first = instr($desc_en,'^^^',1) let #len_desc_en_Pos_second = instr($desc_en,'@@@',1) let #length_Desc_en > = length ($desc_en) let $substr_desc_en = substr($desc_en,1,#len_desc_en_Pos_first - 1 ) > Alter-Printer Font=4 Point-Size= 10 ! [SQR.INI] 4=Arial,proportional > > print $desc_en (10,10) wrap 120 30 strip ='' on= line-height=10 > Keep-Top next-listing > > Alter-Printer Font=4 Point-Size= 10 ! [SQR.INI] 4=Arial,proportional > print $substr_desc_en (+15,10) wrap 100 30 strip ='' on= > line-height=10 Keep-Top > > > !let #current_column_Yposition = mod(length($substr_desc_en),99) ! > Unable to get current column of the printer( Y position) ! let > #dest_Wrap = wrapdepth($substr_desc_en, 100, 10, '', '') ! I Managed > to get the current Line of the printer. > !let #dest_Wrap = #dest_Wrap - 1 > let $substr_desc_en = substr($desc_en, #len_desc_en_Pos_first + 3, (#len_desc_en_Pos_second -1 )- (#len_desc_en_Pos_first +3) ) > Alter-Printer Font=31 Point-Size= 10 ! [SQR.INI] 31=Arial,Italics ! > print $substr_desc_en (+#dest_Wrap, #current-column) wrap 100 30 strip ='' > on= line-height=10 Keep-Top > print $substr_desc_en () wrap 100 30 strip ='' on= line-height=10 > Keep-Top > > > !let #current_column_Yposition = mod(length($substr_desc_en),99) ! > Unable to get current column of the printer( Y position) ! let > #dest_Wrap = wrapdepth($substr_desc_en, 100, 10, '', '') ! I Managed > to get the current Line of the printer. > !let #dest_Wrap = #dest_Wrap - 1 > let $substr_desc_en = substr($desc_en,#len_desc_en_Pos_second + 3, #length_Desc_en - (#len_desc_en_Pos_second + 2)) Alter-Printer > Font=4 Point-Size= 10 ! [SQR.INI] 4=Arial,proportional ! print $substr_desc_en (#current-line, #substr_yAxis_position) wrap 120 30 > strip ='' on= line-height=10 Keep-Top print $substr_desc_en () wrap > 100 30 strip ='' on= line-height=10 Keep-Top > > end-procedure > > > Best Regards, > > Gopal.R > > -----Original Message----- > > That's how print works. > Print 'hel' (1,1) > Print 'lo' () > > Will print: > hello > > The first 3 chapters of this doc provide a good overview of how SQR works: > http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/pr_developer_vol1.p > df > > Steve > > -----Original Message----- > > Steve, > > Thanks for you reply. > But the italics and bold texts should be part of a single line or paragraph. > If I use multiple print statements, how can I get the last x,y > coordinate in order to continue printing from where I left. > > Best Regards, > > Gopal.R > > -----Original Message----- _________________________________________________________________ Hotmail(r) has ever-growing storage! Don't worry about storage limits. http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutoria l_Storage_062009 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Jul 06 12:15:11 2009 From: Date: Mon, 6 Jul 2009 12:11:49 -0400 Subject: RE: Re:[sqr-users] Qpen command record-length problem Correct. When I run sqr builder on my pc I get different line endings than= I get when I run it from the portal on Solaris. -Steve J=20 -----Original Message----- From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-users-= bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of Steve Cavill Sent: Friday, July 03, 2009 11:42 PM To: 'This list is for discussion about the SQR database reportinglanguage f= rom Hyperion Solutions.' Subject: RE: Re:[sqr-users] Qpen command record-length problem Ah, I see now. Are you creating a file on an operating systems other than = windows that you want to read on windows? Steve=20 -----Original Message----- From: sqr-users-bounces+steve.cavill=3Dinfoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=3Dinfoclarity.com.au@sqrug.org] On B= ehalf Of Jones.Steven@ups.com Sent: Thursday, 2 July 2009 8:09 AM To: sqr-users@sqrug.org Subject: RE: Re:[sqr-users] Qpen command record-length problem The sqr version I am using is 6.2. I saw that syntax in the manual for 8.5= but haven't been able to test it. Anyone know how to do it in 6.2? -Steve=20 -----Original Message----- From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-users-= bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of franck.masson Sent: Wednesday, July 01, 2009 2:39 PM To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Subject: Re:[sqr-users] Qpen command record-length problem According to the documentation : OPEN {filename_lit|_var|_col} AS {filenum_num_lit|_var|_col} {FOR-READING|FOR-WRITING|FOR-APPEND} {RECORD=3Dlength_num_lit|_var|_col[:FIXED|:FIXED_NOLF|:VARY:BINARY]}] [STATUS=3Dnum_var]] [ENCODING=3D{_var|_col|ASCII|ANSI|SJIS|JEUC|EBCDIC| EBCDIK290|EBCDIK1027| UCS-2|UTF-8|others... }] =20 you can use a variable to specify the RECORD value =20 franck, > Message du 01/07/09 23:09 > De : Jones.Steven@ups.com > A : sqr-users@sqrug.org > Copie =E0 :=20 > Objet : [sqr-users] Qpen command record-length problem > >=20 > I need to open a window-compatible .txt file for writing where all=20 > records are the same length, but that length is not known until run time. The syntax appears to expect an integer literal value for the len= gth. What is needed is something like either using an integer variable for = the length or dynamically building the open command and then execute it. > Can anyone help? > -Steve Jones > UPS >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Jul 06 13:41:18 2009 From: the dragon Subject: RE: [sqr-users] Qpen command record-length problem Date: Mon, 6 Jul 2009 12:38:37 -0500 The old 10 vs 13 vs 10/13 issue.... =20 You can replace the end of line/carriage return terminators... =20 peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your= services for 40 hours a week, not purchasing your soul. Your time is the o= nly real finite asset that you have, and once used it can never be recovere= d, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you = can determine how it will be spent. Be careful lest you let other people sp= end it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, an= d by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because= I notice it always coincides with their own desires." - Susan B. Anthony ---------------------------------------- > > Correct. When I run sqr builder on my pc I get different line endings tha= n I get when I run it from the portal on Solaris. > -Steve J > > -----Original Message----- > > Ah, I see now. Are you creating a file on an operating systems other than= windows that you want to read on windows? > Steve > > -----Original Message----- > > The sqr version I am using is 6.2. I saw that syntax in the manual for 8.= 5 but haven't been able to test it. Anyone know how to do it in 6.2? > -Steve > > -----Original Message----- > > According to the documentation : > OPEN {filename_lit|_var|_col} AS > {filenum_num_lit|_var|_col} > {FOR-READING|FOR-WRITING|FOR-APPEND} > {RECORD=3Dlength_num_lit|_var|_col[:FIXED|:FIXED_NOLF|:VARY:BINARY]}] > [STATUS=3Dnum_var]] > [ENCODING=3D{_var|_col|ASCII|ANSI|SJIS|JEUC|EBCDIC| EBCDIK290|EBCDIK1027| > UCS-2|UTF-8|others... }] > > you can use a variable to specify the RECORD value > > franck, > > > > >> Message du 01/07/09 23:09 >> De : Jones.Steven@ups.com >> A : sqr-users@sqrug.org >> Copie =E0 : >> Objet : [sqr-users] Qpen command record-length problem >> >> >> I need to open a window-compatible .txt file for writing where all >> records are the same length, but that length is not known until > run time. The syntax appears to expect an integer literal value for the l= ength. What is needed is something like either using an integer variable fo= r the length or dynamically building the open command and then execute it. >> Can anyone help? >> -Steve Jones >> UPS >> _________________________________________________________________ Hotmail=AE has ever-growing storage! Don=92t worry about storage limits.=20 http://windowslive.com/Tutorial/Hotmail/Storage?ocid=3DTXT_TAGLM_WL_HM_Tuto= rial_Storage_062009 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Jul 06 16:03:34 2009 Subject: RE: [sqr-users] Qpen command record-length problem Date: Mon, 6 Jul 2009 13:00:39 -0700 From: "Alexander, Steven" I'm losing track of the actual problem here. Are you trying to create a fi= le with CR/LF (aka 10/13) line endings in a Unix environment? That's diffe= rent from the problem of not knowing the length of the lines in advance. The SQR compiler that runs on Unix (or Solaris) will end lines with LF. Th= e SQR compiler that runs on Windows will end lines with CR/LF. That's not = part of the OPEN or WRITE commands; that's built-in. The software that you= use to move the file from Unix to Windows will change the LF to CR/LF auto= matically. Have you actually tried the suggestions we've given you? What are your act= ual results? If you are somehow getting the file from Unix to Windows without adding the= CR, maybe you should use a different tool to transport it. There is one m= ore thing I could suggest, but I'd like to know what your actual experience= is so far. -----Original Message----- From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mailto:= sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf Of = the dragon Sent: Monday, July 06, 2009 10:39 AM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Qpen command record-length problem The old 10 vs 13 vs 10/13 issue.... =20 You can replace the end of line/carriage return terminators... =20 peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your= services for 40 hours a week, not purchasing your soul. Your time is the o= nly real finite asset that you have, and once used it can never be recovere= d, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you = can determine how it will be spent. Be careful lest you let other people sp= end it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, an= d by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because= I notice it always coincides with their own desires." - Susan B. Anthony ---------------------------------------- > > Correct. When I run sqr builder on my pc I get different line endings tha= n I get when I run it from the portal on Solaris. > -Steve J > > -----Original Message----- > > Ah, I see now. Are you creating a file on an operating systems other than= windows that you want to read on windows? > Steve > > -----Original Message----- > > The sqr version I am using is 6.2. I saw that syntax in the manual for 8.= 5 but haven't been able to test it. Anyone know how to do it in 6.2? > -Steve > > -----Original Message----- > > According to the documentation : > OPEN {filename_lit|_var|_col} AS > {filenum_num_lit|_var|_col} > {FOR-READING|FOR-WRITING|FOR-APPEND} > {RECORD=3Dlength_num_lit|_var|_col[:FIXED|:FIXED_NOLF|:VARY:BINARY]}] > [STATUS=3Dnum_var]] > [ENCODING=3D{_var|_col|ASCII|ANSI|SJIS|JEUC|EBCDIC| EBCDIK290|EBCDIK1027| > UCS-2|UTF-8|others... }] > > you can use a variable to specify the RECORD value > > franck, > > > > >> Message du 01/07/09 23:09 >> De : Jones.Steven@ups.com >> A : sqr-users@sqrug.org >> Copie =E0 : >> Objet : [sqr-users] Qpen command record-length problem >> >> >> I need to open a window-compatible .txt file for writing where all >> records are the same length, but that length is not known until > run time. The syntax appears to expect an integer literal value for the l= ength. What is needed is something like either using an integer variable fo= r the length or dynamically building the open command and then execute it. >> Can anyone help? >> -Steve Jones >> UPS >> _________________________________________________________________ Hotmail=AE has ever-growing storage! Don't worry about storage limits.=20 http://windowslive.com/Tutorial/Hotmail/Storage?ocid=3DTXT_TAGLM_WL_HM_Tuto= rial_Storage_062009 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Jul 06 17:30:57 2009 From: Date: Mon, 6 Jul 2009 17:27:52 -0400 Subject: RE: [sqr-users] Qpen command record-length problem There are two problems: * Determine the file's record length based on which db columns the user sel= ects for the output file. I can determine that number during run-time OK. = Opening the file with that number as the record-length seems very simple i= n sqr 8.5 but seems impossible in sqr 6.2 as 6.2 seems to require a numeric= literal fixed at compile-time. I have thus coded the sqr to open with the= maximum line. * Get the proper line ender (CR/LF vs LF) on the line. Ideally the line en= der would immediately follow the last data column with no unnecessary fille= r (see above). During development, I was running the SQR on windows, which= generated the CR/LF at the end of the filler just fine. During performanc= e testing, I moved to a pre-production Brio Portal (version 7.x) on Solaris= . That is when the line ender problem showed up. Because users will be ac= cessing the portal with a browser and downloading the file, probably using = FTP to whatever, I wanted the file to have the correct ender. In the appli= cation this supersceeds, the file ender was CR/LF and the file was attached= to an email and sent to the user, sometimes zipped, sometimes not. It appears that when running on Solaris, opening a file with VARY causes th= e file ender to be LF, so I avoided it, opting for FIXED_NOLF and manually = adding CR/LF at the end of the filler. Since last week I have become aware= that FTP attempts to convert the line ender based on the source and target= systems. I have not thoroughly tested the possibilities, having reverted = to working on another part of the code the last few days. My goal is to have a file generated on the Solaris box that can be download= ed by the user to whatever he/she is using and have the correct line ender.= My other goal is/was to make the line length dynamically no longer than n= eeded to reduce the user's download time & file size. That appears impossi= ble using sqr 6.2. Has anyone dealt with creating a text file from sqr on unix or solaris for = downloading by internet users? -Steve Jones UPS -----Original Message----- From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-users-= bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of Alexander, Steven Sent: Monday, July 06, 2009 1:01 PM To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Subject: RE: [sqr-users] Qpen command record-length problem I'm losing track of the actual problem here. Are you trying to create a fi= le with CR/LF (aka 10/13) line endings in a Unix environment? That's diffe= rent from the problem of not knowing the length of the lines in advance. The SQR compiler that runs on Unix (or Solaris) will end lines with LF. Th= e SQR compiler that runs on Windows will end lines with CR/LF. That's not = part of the OPEN or WRITE commands; that's built-in. The software that you= use to move the file from Unix to Windows will change the LF to CR/LF auto= matically. Have you actually tried the suggestions we've given you? What are your act= ual results? If you are somehow getting the file from Unix to Windows without adding the= CR, maybe you should use a different tool to transport it. There is one m= ore thing I could suggest, but I'd like to know what your actual experience= is so far. -----Original Message----- From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mailto:= sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf Of = the dragon Sent: Monday, July 06, 2009 10:39 AM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Qpen command record-length problem The old 10 vs 13 vs 10/13 issue.... =20 You can replace the end of line/carriage return terminators... =20 peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your= services for 40 hours a week, not purchasing your soul. Your time is the o= nly real finite asset that you have, and once used it can never be recovere= d, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you = can determine how it will be spent. Be careful lest you let other people sp= end it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, an= d by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because= I notice it always coincides with their own desires." - Susan B. Anthony ---------------------------------------- > > Correct. When I run sqr builder on my pc I get different line endings tha= n I get when I run it from the portal on Solaris. > -Steve J > > -----Original Message----- > > Ah, I see now. Are you creating a file on an operating systems other than= windows that you want to read on windows? > Steve > > -----Original Message----- > > The sqr version I am using is 6.2. I saw that syntax in the manual for 8.= 5 but haven't been able to test it. Anyone know how to do it in 6.2? > -Steve > > -----Original Message----- > > According to the documentation : > OPEN {filename_lit|_var|_col} AS > {filenum_num_lit|_var|_col} > {FOR-READING|FOR-WRITING|FOR-APPEND} > {RECORD=3Dlength_num_lit|_var|_col[:FIXED|:FIXED_NOLF|:VARY:BINARY]}] > [STATUS=3Dnum_var]] > [ENCODING=3D{_var|_col|ASCII|ANSI|SJIS|JEUC|EBCDIC|=20 > EBCDIK290|EBCDIK1027| > UCS-2|UTF-8|others... }] > > you can use a variable to specify the RECORD value > > franck, > > > > >> Message du 01/07/09 23:09 >> De : Jones.Steven@ups.com >> A : sqr-users@sqrug.org >> Copie =E0 : >> Objet : [sqr-users] Qpen command record-length problem >> >> >> I need to open a window-compatible .txt file for writing where all=20 >> records are the same length, but that length is not known until > run time. The syntax appears to expect an integer literal value for the l= ength. What is needed is something like either using an integer variable fo= r the length or dynamically building the open command and then execute it. >> Can anyone help? >> -Steve Jones >> UPS >> _________________________________________________________________ Hotmail=AE has ever-growing storage! Don't worry about storage limits.=20 http://windowslive.com/Tutorial/Hotmail/Storage?ocid=3DTXT_TAGLM_WL_HM_Tuto= rial_Storage_062009 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Jul 06 18:01:11 2009 Subject: RE: [sqr-users] Qpen command record-length problem Date: Mon, 6 Jul 2009 14:58:19 -0700 From: "Alexander, Steven" When you get around to trying it, I think you'll find that FTP will convert= the line ender properly. It does for me. If not, you've already figured out the alternative. Open the file with var= y. Add a CR at the end of each line. Solaris will add the LF. -----Original Message----- From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mailto:= sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf Of = Jones.Steven@ups.com Sent: Monday, July 06, 2009 2:28 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Qpen command record-length problem There are two problems: * Determine the file's record length based on which db columns the user sel= ects for the output file. I can determine that number during run-time OK. = Opening the file with that number as the record-length seems very simple i= n sqr 8.5 but seems impossible in sqr 6.2 as 6.2 seems to require a numeric= literal fixed at compile-time. I have thus coded the sqr to open with the= maximum line. * Get the proper line ender (CR/LF vs LF) on the line. Ideally the line en= der would immediately follow the last data column with no unnecessary fille= r (see above). During development, I was running the SQR on windows, which= generated the CR/LF at the end of the filler just fine. During performanc= e testing, I moved to a pre-production Brio Portal (version 7.x) on Solaris= . That is when the line ender problem showed up. Because users will be ac= cessing the portal with a browser and downloading the file, probably using = FTP to whatever, I wanted the file to have the correct ender. In the appli= cation this supersceeds, the file ender was CR/LF and the file was attached= to an email and sent to the user, sometimes zipped, sometimes not. It appears that when running on Solaris, opening a file with VARY causes th= e file ender to be LF, so I avoided it, opting for FIXED_NOLF and manually = adding CR/LF at the end of the filler. Since last week I have become aware= that FTP attempts to convert the line ender based on the source and target= systems. I have not thoroughly tested the possibilities, having reverted = to working on another part of the code the last few days. My goal is to have a file generated on the Solaris box that can be download= ed by the user to whatever he/she is using and have the correct line ender.= My other goal is/was to make the line length dynamically no longer than n= eeded to reduce the user's download time & file size. That appears impossi= ble using sqr 6.2. Has anyone dealt with creating a text file from sqr on unix or solaris for = downloading by internet users? -Steve Jones UPS -----Original Message----- From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-users-= bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of Alexander, Steven Sent: Monday, July 06, 2009 1:01 PM To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Subject: RE: [sqr-users] Qpen command record-length problem I'm losing track of the actual problem here. Are you trying to create a fi= le with CR/LF (aka 10/13) line endings in a Unix environment? That's diffe= rent from the problem of not knowing the length of the lines in advance. The SQR compiler that runs on Unix (or Solaris) will end lines with LF. Th= e SQR compiler that runs on Windows will end lines with CR/LF. That's not = part of the OPEN or WRITE commands; that's built-in. The software that you= use to move the file from Unix to Windows will change the LF to CR/LF auto= matically. Have you actually tried the suggestions we've given you? What are your act= ual results? If you are somehow getting the file from Unix to Windows without adding the= CR, maybe you should use a different tool to transport it. There is one m= ore thing I could suggest, but I'd like to know what your actual experience= is so far. -----Original Message----- From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mailto:= sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf Of = the dragon Sent: Monday, July 06, 2009 10:39 AM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Qpen command record-length problem The old 10 vs 13 vs 10/13 issue.... =20 You can replace the end of line/carriage return terminators... =20 peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your= services for 40 hours a week, not purchasing your soul. Your time is the o= nly real finite asset that you have, and once used it can never be recovere= d, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you = can determine how it will be spent. Be careful lest you let other people sp= end it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, an= d by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because= I notice it always coincides with their own desires." - Susan B. Anthony ---------------------------------------- > > Correct. When I run sqr builder on my pc I get different line endings tha= n I get when I run it from the portal on Solaris. > -Steve J > > -----Original Message----- > > Ah, I see now. Are you creating a file on an operating systems other than= windows that you want to read on windows? > Steve > > -----Original Message----- > > The sqr version I am using is 6.2. I saw that syntax in the manual for 8.= 5 but haven't been able to test it. Anyone know how to do it in 6.2? > -Steve > > -----Original Message----- > > According to the documentation : > OPEN {filename_lit|_var|_col} AS > {filenum_num_lit|_var|_col} > {FOR-READING|FOR-WRITING|FOR-APPEND} > {RECORD=3Dlength_num_lit|_var|_col[:FIXED|:FIXED_NOLF|:VARY:BINARY]}] > [STATUS=3Dnum_var]] > [ENCODING=3D{_var|_col|ASCII|ANSI|SJIS|JEUC|EBCDIC|=20 > EBCDIK290|EBCDIK1027| > UCS-2|UTF-8|others... }] > > you can use a variable to specify the RECORD value > > franck, > > > > >> Message du 01/07/09 23:09 >> De : Jones.Steven@ups.com >> A : sqr-users@sqrug.org >> Copie =E0 : >> Objet : [sqr-users] Qpen command record-length problem >> >> >> I need to open a window-compatible .txt file for writing where all=20 >> records are the same length, but that length is not known until > run time. The syntax appears to expect an integer literal value for the l= ength. What is needed is something like either using an integer variable fo= r the length or dynamically building the open command and then execute it. >> Can anyone help? >> -Steve Jones >> UPS >> _________________________________________________________________ Hotmail=AE has ever-growing storage! Don't worry about storage limits.=20 http://windowslive.com/Tutorial/Hotmail/Storage?ocid=3DTXT_TAGLM_WL_HM_Tuto= rial_Storage_062009 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Jul 06 19:50:26 2009 From: "franck.masson" Subject: RE: [sqr-users] Qpen command record-length problem Date: Tue, 7 Jul 2009 01:47:34 +0200 (CEST) Hi Jones =20 1) size of the line/record =20 as you need a Line Ender you just have to specify the Maximum length of yo= ur record with the open statement and the vary option. Sqr will not add any= additionnal character to fill the record. (look to the documentation :=20 =20 For the VARY file type, this is the maximum size for a record=20 )=20 so=20 =20 open 'log.dat' as 5 for-writing record=3D32000:vary=20 2) File Ender=20 if you really need ( i am surprise because any editor on windows can= handle LF or CRLF) =20 suppose that &c1 is your column name and #lc1 the lenght =20 encode '<13>' into $cr =20 write 5 from &c1:#lc11 &c2:#lc2 ...... $cr =20 =20 franck > Message du 06/07/09 23:31 > De : Jones.Steven@ups.com > A : sqr-users@sqrug.org > Copie =C3=A0 :=20 > Objet : RE: [sqr-users] Qpen command record-length problem > >=20 > There are two problems: >=20 > * Determine the file's record length based on which db columns the user s= elects for the output file. I can determine that number during run-time OK.= Opening the file with that number as the record-length seems very simple i= n sqr 8.5 but seems impossible in sqr 6.2 as 6.2 seems to require a numeric= literal fixed at compile-time. I have thus coded the sqr to open with the = maximum line. >=20 > * Get the proper line ender (CR/LF vs LF) on the line. Ideally the line e= nder would immediately follow the last data column with no unnecessary fill= er (see above). During development, I was running the SQR on windows, which= generated the CR/LF at the end of the filler just fine. During performance= testing, I moved to a pre-production Brio Portal (version 7.x) on Solaris.= That is when the line ender problem showed up. Because users will be acces= sing the portal with a browser and downloading the file, probably using FTP= to whatever, I wanted the file to have the correct ender. In the applicati= on this supersceeds, the file ender was CR/LF and the file was attached to = an email and sent to the user, sometimes zipped, sometimes not. >=20 > It appears that when running on Solaris, opening a file with VARY causes = the file ender to be LF, so I avoided it, opting for FIXED_NOLF and manuall= y adding CR/LF at the end of the filler. Since last week I have become awar= e that FTP attempts to convert the line ender based on the source and targe= t systems. I have not thoroughly tested the possibilities, having reverted = to working on another part of the code the last few days. >=20 > My goal is to have a file generated on the Solaris box that can be downlo= aded by the user to whatever he/she is using and have the correct line ende= r. My other goal is/was to make the line length dynamically no longer than = needed to reduce the user's download time & file size. That appears impossi= ble using sqr 6.2. >=20 > Has anyone dealt with creating a text file from sqr on unix or solaris fo= r downloading by internet users? >=20 > -Steve Jones > UPS >=20 > -----Original Message----- > From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-user= s-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of Alexander, Steven > Sent: Monday, July 06, 2009 1:01 PM > To: This list is for discussion about the SQR database reportinglanguage = from Hyperion Solutions. > Subject: RE: [sqr-users] Qpen command record-length problem >=20 > I'm losing track of the actual problem here. Are you trying to create a f= ile with CR/LF (aka 10/13) line endings in a Unix environment? That's diffe= rent from the problem of not knowing the length of the lines in advance. >=20 > The SQR compiler that runs on Unix (or Solaris) will end lines with LF. T= he SQR compiler that runs on Windows will end lines with CR/LF. That's not = part of the OPEN or WRITE commands; that's built-in. The software that you = use to move the file from Unix to Windows will change the LF to CR/LF autom= atically. >=20 > Have you actually tried the suggestions we've given you? What are your ac= tual results? >=20 > If you are somehow getting the file from Unix to Windows without adding t= he CR, maybe you should use a different tool to transport it. There is one = more thing I could suggest, but I'd like to know what your actual experienc= e is so far. >=20 >=20 >=20 > -----Original Message----- > From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mailt= o:sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf O= f the dragon > Sent: Monday, July 06, 2009 10:39 AM > To: sqr-users@sqrug.org > Subject: RE: [sqr-users] Qpen command record-length problem >=20 >=20 > The old 10 vs 13 vs 10/13 issue.... >=20 > You can replace the end of line/carriage return terminators... >=20 > peace, > clark 'the dragon' willis >=20 >=20 >=20 > PSA: Salary <> Slavery. If you earn a salary, your employer is renting yo= ur services for 40 hours a week, not purchasing your soul. Your time is the= only real finite asset that you have, and once used it can never be recove= red, so don't waste it by giving it away. >=20 > I work to live; I don't live to work. >=20 > "Time is the coin of your life. It is the only coin you have, and only yo= u can determine how it will be spent. Be careful lest you let other people = spend it for you." -- Carl Sandburg (1878 - 1967) >=20 > It is impossible to defeat an ignorant man in argument. -- William G. McA= doo >=20 > Religion is regarded by the common people as true, by the wise as false, = and by the rulers as useful. -- Seneca >=20 > "I distrust those people who know so well what God wants them to do becau= se I notice it always coincides with their own desires." - Susan B. Anthony >=20 >=20 > ---------------------------------------- > > > > Correct. When I run sqr builder on my pc I get different line endings t= han I get when I run it from the portal on Solaris. > > -Steve J > > > > -----Original Message----- > > > > Ah, I see now. Are you creating a file on an operating systems other th= an windows that you want to read on windows? > > Steve > > > > -----Original Message----- > > > > The sqr version I am using is 6.2. I saw that syntax in the manual for = 8.5 but haven't been able to test it. Anyone know how to do it in 6.2? > > -Steve > > > > -----Original Message----- > > > > According to the documentation : > > OPEN {filename_lit|_var|_col} AS > > {filenum_num_lit|_var|_col} > > {FOR-READING|FOR-WRITING|FOR-APPEND} > > {RECORD=3Dlength_num_lit|_var|_col[:FIXED|:FIXED_NOLF|:VARY:BINARY]}] > > [STATUS=3Dnum_var]] > > [ENCODING=3D{_var|_col|ASCII|ANSI|SJIS|JEUC|EBCDIC|=20 > > EBCDIK290|EBCDIK1027| > > UCS-2|UTF-8|others... }] > > > > you can use a variable to specify the RECORD value > > > > franck, > > > > > > > > > >> Message du 01/07/09 23:09 > >> De : Jones.Steven@ups.com > >> A : sqr-users@sqrug.org > >> Copie =C3=A0 : > >> Objet : [sqr-users] Qpen command record-length problem > >> > >> > >> I need to open a window-compatible .txt file for writing where all=20 > >> records are the same length, but that length is not known until > > run time. The syntax appears to expect an integer literal value for the= length. What is needed is something like either using an integer variable = for the length or dynamically building the open command and then execute it. > >> Can anyone help? > >> -Steve Jones > >> UPS > >> > _________________________________________________________________ > Hotmail=C2=AE has ever-growing storage! Don't worry about storage limits.= =20 > http://windowslive.com/Tutorial/Hotmail/Storage?ocid=3DTXT_TAGLM_WL_HM_Tu= torial_Storage_062009 >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jul 08 15:10:42 2009 Date: Wed, 8 Jul 2009 15:07:35 -0400 From: "Pactwa, Marissa" Subject: [sqr-users] Use of Variables Hi All, =20 We've been coding in SQR for over 10 yrs now and have written very complex programs but this one stumped us. I'm sure it's something stupid but for the life of me, we cannot figure it out.=20 =20 This code has been running for a few months now with no issues but as of last night, it started running for over 10 hrs, it seems to be stuck in this one query and our dba said it's been using a lot of resources that they have to kill it eventually.=20 =20 The code has several begin-selects statements and it seems to hang in one query. We tried different ways of re-organizing the query and nothing worked except for when we hardcoded one of the where clause and that's when it ran. But when we put back the original using a variable, it hang again. Like I said , we're STUMPED!!! Big time!!! We copied the code and ran in TOAD and it ran in seconds but it just seems to hang in SQR. =20 Any ideas? Thanks. Marissa =20 BEGIN-SELECT !ON-ERROR=3DAbend A01_1.DBID A01_1.TYPE S01_1.salesperson_code F01_1.full_account A01_1.name A01_1.acquisition_date TM01_1.posting_code TM01_1.event_date TM01_1.units TM01_1.gross_amount =20 ! --------------------------------------- ! Variables set after the select are: ! --------------------------------------- Let $DEPTID =3D &A01_1.DBID Let $SP_ACCOUNT_TYPE =3D to_char(&A01_1.TYPE) Let $SP_SALES_PERSON_ID =3D &S01_1.salesperson_code Let $SP_CUSTOMER_ID =3D &F01_1.full_account Let $SP_CUSTOMER_NAME =3D &A01_1.name Let $SP_CUST_START_DT =3D &A01_1.acquisition_date Let #SP_POSTING_CODE =3D &TM01_1.posting_code Let $SP_TRANSACTION_DT =3D &TM01_1.event_date Let #SP_GALLONS =3D &TM01_1.units Let #SP_GALLONS =3D round(#SP_GALLONS, 0) Let #SP_SALE_AMOUNT =3D &TM01_1.gross_amount=20 show 'within --> Cost Type 01 (1 of 2)' =20 !do Check-Leap-Year show 'after check leap year --> Cost Type 01 (1 of 2)' =20 if $Leap_Year_Flag =3D 'False' Do Single-Insert end-if show 'after single insert --> Cost Type 01 (1 of 2)' =20 from O_ACCOUNTS A01_1, O_TRANS_MAIN TM01_1, O_TANKS T01_1, O_SALESPERSON S01_1, O_FULL_ACCOUNT F01_1=20 Where=20=20=20=20=20=20=20=20 A01_1.DBID =3D 1469 and ! A01_1.DBID =3D #VD_deptid and=20 TM01_1.DBID =3D A01_1.DBID and T01_1.DBID =3D A01_1.DBID and S01_1.DBID =3D A01_1.DBID and F01_1.DBID =3D A01_1.DBID and TM01_1.salesperson > '00' and=20 TM01_1.salesperson <=3D '99' and=20 A01_1.account_num =3D TM01_1.account_num and=20 A01_1.account_num =3D F01_1.account_num and=20 TM01_1.account_num =3D T01_1.account_num and=20 TM01_1.tank_num =3D T01_1.tank_num and=20 TM01_1.created_by <> 'conversion' and=20 TM01_1.tank_num >=3D 1 and=20 TM01_1.posting_date >=3D $starting_date and=20 TM01_1.posting_date <=3D $ending_date and=20 S01_1.salesperson_code =3D TM01_1.salesperson and ((TM01_1.units <=3D -1 or TM01_1.units >=3D 1) or=20 (TM01_1.units =3D0 AND TM01_1.delivery_reason=3D0)) and add_months(A01_1.acquisition_date, 36) > TM01_1.event_date and TM01_1.posting_code in [$pc_set01] END-SELECT =20 =20 =20 Marissa Pactwa Hyperion, Sr. Programmer/Analyst Suburban Propane (973) 503-9040 =20 =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jul 09 15:51:50 2009 Subject: RE: [sqr-users] Use of Variables Date: Wed, 8 Jul 2009 15:47:13 -0400 From: "Putney II, Zynon E" Have you used display or show for all the variables in the where clause=0D to verify that they are what you expect them to be going into the=0D select, and that they aren't changed in between rows? My first=0D inclination is to look at $pc_set01.=0D =0D I'd put display or show for each variable in the where clause right=0D before going into the select, and then after the let statements so it=0D spits them out at you for every row. You might find something that way?=0D =0D =0D =0D =0D -----Original Message-----=0D From: sqr-users-bounces+zputney=3Dpaychex.com@sqrug.org=0D [mailto:sqr-users-bounces+zputney=3Dpaychex.com@sqrug.org] On Behalf Of=0D Pactwa, Marissa=0D Sent: Wednesday, July 08, 2009 3:08 PM=0D To: This list is for discussion about the SQR database reportinglanguage=0D fromHyperion Solutions.=0D Subject: [sqr-users] Use of Variables=0D =0D Hi All,=0D =0D =0D =0D We've been coding in SQR for over 10 yrs now and have written very=0D complex programs but this one stumped us. I'm sure it's something stupid=0D but for the life of me, we cannot figure it out. =0D =0D =0D =0D This code has been running for a few months now with no issues but as of=0D last night, it started running for over 10 hrs, it seems to be stuck in=0D this one query and our dba said it's been using a lot of resources that=0D they have to kill it eventually. =0D =0D =0D =0D The code has several begin-selects statements and it seems to hang in=0D one query. We tried different ways of re-organizing the query and=0D nothing worked except for when we hardcoded one of the where clause and=0D that's when it ran. But when we put back the original using a variable,=0D it hang again. Like I said , we're STUMPED!!! Big time!!! We copied the=0D code and ran in TOAD and it ran in seconds but it just seems to hang in=0D SQR.=0D =0D =0D =0D Any ideas?=0D =0D Thanks.=0D =0D Marissa=0D =0D =0D =0D BEGIN-SELECT !ON-ERROR=3DAbend=0D =0D A01_1.DBID=0D =0D A01_1.TYPE=0D =0D S01_1.salesperson_code=0D =0D F01_1.full_account=0D =0D A01_1.name=0D =0D A01_1.acquisition_date=0D =0D TM01_1.posting_code=0D =0D TM01_1.event_date=0D =0D TM01_1.units=0D =0D TM01_1.gross_amount=0D =0D =0D =0D ! ---------------------------------------=0D =0D ! Variables set after the select are:=0D =0D ! ---------------------------------------=0D =0D Let $DEPTID =3D &A01_1.DBID=0D =0D Let $SP_ACCOUNT_TYPE =3D to_char(&A01_1.TYPE)=0D =0D =0D Let $SP_SALES_PERSON_ID =3D &S01_1.salesperson_code=0D =0D Let $SP_CUSTOMER_ID =3D &F01_1.full_account=0D =0D Let $SP_CUSTOMER_NAME =3D &A01_1.name=0D =0D Let $SP_CUST_START_DT =3D &A01_1.acquisition_date=0D =0D Let #SP_POSTING_CODE =3D &TM01_1.posting_code=0D =0D Let $SP_TRANSACTION_DT =3D &TM01_1.event_date=0D =0D Let #SP_GALLONS =3D &TM01_1.units=0D =0D Let #SP_GALLONS =3D round(#SP_GALLONS, 0)=0D =0D Let #SP_SALE_AMOUNT =3D &TM01_1.gross_amount =0D =0D show 'within --> Cost Type 01 (1 of 2)'=0D =0D =0D =0D !do Check-Leap-Year=0D =0D show 'after check leap year --> Cost Type 01 (1 of 2)'=0D =0D =0D =0D if $Leap_Year_Flag =3D 'False'=0D =0D Do Single-Insert=0D =0D end-if=0D =0D show 'after single insert --> Cost Type 01 (1 of 2)'=0D =0D =0D =0D from O_ACCOUNTS A01_1, O_TRANS_MAIN TM01_1, O_TANKS T01_1, O_SALESPERSON=0D S01_1, O_FULL_ACCOUNT F01_1 =0D =0D Where =0D =0D A01_1.DBID =3D 1469 and=0D =0D ! A01_1.DBID =3D #VD_deptid and =0D =0D TM01_1.DBID =3D A01_1.DBID and=0D =0D T01_1.DBID =3D A01_1.DBID and=0D =0D S01_1.DBID =3D A01_1.DBID and=0D =0D F01_1.DBID =3D A01_1.DBID and=0D =0D TM01_1.salesperson > '00' and =0D =0D TM01_1.salesperson <=3D '99' and =0D =0D A01_1.account_num =3D TM01_1.account_num and =0D =0D A01_1.account_num =3D F01_1.account_num and =0D =0D TM01_1.account_num =3D T01_1.account_num and =0D =0D TM01_1.tank_num =3D T01_1.tank_num and =0D =0D TM01_1.created_by <> 'conversion' and =0D =0D TM01_1.tank_num >=3D 1 and =0D =0D TM01_1.posting_date >=3D $starting_date and =0D =0D TM01_1.posting_date <=3D $ending_date and =0D =0D S01_1.salesperson_code =3D TM01_1.salesperson and=0D =0D ((TM01_1.units <=3D -1 or TM01_1.units >=3D 1) or =0D =0D (TM01_1.units =3D0 AND TM01_1.delivery_reason=3D0)) and=0D =0D add_months(A01_1.acquisition_date, 36) > TM01_1.event_date and=0D =0D TM01_1.posting_code in [$pc_set01]=0D =0D END-SELECT=0D =0D =0D =0D =0D =0D =0D =0D Marissa Pactwa=0D =0D Hyperion, Sr. Programmer/Analyst=0D =0D Suburban Propane=0D =0D (973) 503-9040=0D =0D =0D =0D =0D =0D _______________________________________________=0D sqr-users mailing list=0D sqr-users@sqrug.org=0D http://www.sqrug.org/mailman/listinfo/sqr-users=0D =0D =0D -----------------------------------------=0D The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. =0D =0D Thank you. Paychex, Inc. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jul 08 19:19:13 2009 Subject: RE: [sqr-users] Use of Variables Date: Wed, 8 Jul 2009 16:16:15 -0700 From: "Alexander, Steven" Are you saying that it gets stuck with "[$pc_set01]" but runs fine when you use the literal value of $pc_set01? If so, what is the value of $pc_set01? -----Original Message----- From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mailto:sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf Of Pactwa, Marissa Sent: Wednesday, July 08, 2009 12:08 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: [sqr-users] Use of Variables Hi All, =20 We've been coding in SQR for over 10 yrs now and have written very complex programs but this one stumped us. I'm sure it's something stupid but for the life of me, we cannot figure it out.=20 =20 This code has been running for a few months now with no issues but as of last night, it started running for over 10 hrs, it seems to be stuck in this one query and our dba said it's been using a lot of resources that they have to kill it eventually.=20 =20 The code has several begin-selects statements and it seems to hang in one query. We tried different ways of re-organizing the query and nothing worked except for when we hardcoded one of the where clause and that's when it ran. But when we put back the original using a variable, it hang again. Like I said , we're STUMPED!!! Big time!!! We copied the code and ran in TOAD and it ran in seconds but it just seems to hang in SQR. =20 Any ideas? Thanks. Marissa =20 BEGIN-SELECT !ON-ERROR=3DAbend A01_1.DBID A01_1.TYPE S01_1.salesperson_code F01_1.full_account A01_1.name A01_1.acquisition_date TM01_1.posting_code TM01_1.event_date TM01_1.units TM01_1.gross_amount =20 ! --------------------------------------- ! Variables set after the select are: ! --------------------------------------- Let $DEPTID =3D &A01_1.DBID Let $SP_ACCOUNT_TYPE =3D to_char(&A01_1.TYPE) Let $SP_SALES_PERSON_ID =3D &S01_1.salesperson_code Let $SP_CUSTOMER_ID =3D &F01_1.full_account Let $SP_CUSTOMER_NAME =3D &A01_1.name Let $SP_CUST_START_DT =3D &A01_1.acquisition_date Let #SP_POSTING_CODE =3D &TM01_1.posting_code Let $SP_TRANSACTION_DT =3D &TM01_1.event_date Let #SP_GALLONS =3D &TM01_1.units Let #SP_GALLONS =3D round(#SP_GALLONS, 0) Let #SP_SALE_AMOUNT =3D &TM01_1.gross_amount=20 show 'within --> Cost Type 01 (1 of 2)' =20 !do Check-Leap-Year show 'after check leap year --> Cost Type 01 (1 of 2)' =20 if $Leap_Year_Flag =3D 'False' Do Single-Insert end-if show 'after single insert --> Cost Type 01 (1 of 2)' =20 from O_ACCOUNTS A01_1, O_TRANS_MAIN TM01_1, O_TANKS T01_1, O_SALESPERSON S01_1, O_FULL_ACCOUNT F01_1=20 Where=20=20=20=20=20=20=20=20 A01_1.DBID =3D 1469 and ! A01_1.DBID =3D #VD_deptid and=20 TM01_1.DBID =3D A01_1.DBID and T01_1.DBID =3D A01_1.DBID and S01_1.DBID =3D A01_1.DBID and F01_1.DBID =3D A01_1.DBID and TM01_1.salesperson > '00' and=20 TM01_1.salesperson <=3D '99' and=20 A01_1.account_num =3D TM01_1.account_num and=20 A01_1.account_num =3D F01_1.account_num and=20 TM01_1.account_num =3D T01_1.account_num and=20 TM01_1.tank_num =3D T01_1.tank_num and=20 TM01_1.created_by <> 'conversion' and=20 TM01_1.tank_num >=3D 1 and=20 TM01_1.posting_date >=3D $starting_date and=20 TM01_1.posting_date <=3D $ending_date and=20 S01_1.salesperson_code =3D TM01_1.salesperson and ((TM01_1.units <=3D -1 or TM01_1.units >=3D 1) or=20 (TM01_1.units =3D0 AND TM01_1.delivery_reason=3D0)) and add_months(A01_1.acquisition_date, 36) > TM01_1.event_date and TM01_1.posting_code in [$pc_set01] END-SELECT =20 =20 =20 Marissa Pactwa Hyperion, Sr. Programmer/Analyst Suburban Propane (973) 503-9040 =20 =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jul 08 22:16:47 2009 From: the dragon Subject: RE: [sqr-users] Use of Variables Date: Wed, 8 Jul 2009 21:14:01 -0500 And what was done to the database recently? What changes were made there? =20 peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your= services for 40 hours a week, not purchasing your soul. Your time is the o= nly real finite asset that you have, and once used it can never be recovere= d, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you = can determine how it will be spent. Be careful lest you let other people sp= end it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, an= d by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because= I notice it always coincides with their own desires." - Susan B. Anthony ---------------------------------------- > > Hi All, > > > > We've been coding in SQR for over 10 yrs now and have written very > complex programs but this one stumped us. I'm sure it's something stupid > but for the life of me, we cannot figure it out. > > > > This code has been running for a few months now with no issues but as of > last night, it started running for over 10 hrs, it seems to be stuck in > this one query and our dba said it's been using a lot of resources that > they have to kill it eventually. > > > > The code has several begin-selects statements and it seems to hang in > one query. We tried different ways of re-organizing the query and > nothing worked except for when we hardcoded one of the where clause and > that's when it ran. But when we put back the original using a variable, > it hang again. Like I said , we're STUMPED!!! Big time!!! We copied the > code and ran in TOAD and it ran in seconds but it just seems to hang in > SQR. > > > > Any ideas? > > Thanks. > > Marissa > > > _________________________________________________________________ Windows Live=99 SkyDrive=99: Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=3DTXT_TAGLM_WL_SD_25GB_062009 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jul 09 08:36:11 2009 Subject: RE: [sqr-users] Use of Variables Date: Thu, 9 Jul 2009 08:32:11 -0400 From: "Pactwa, Marissa" The DBAs said that nothing was done to the database. Unfortunately, we don't have the "greatest" dba's in the world (you know what I mean) so we couldn't really get anything from them as far as any changes to our database.=20 Steven, we were using the value "1469" for the variable "#VD_deptid". We've tried several dept_id and got the same results. -----Original Message----- From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of the dragon Sent: Wednesday, July 08, 2009 10:14 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Use of Variables And what was done to the database recently? What changes were made there? =20 peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ---------------------------------------- > > Hi All, > > > > We've been coding in SQR for over 10 yrs now and have written very > complex programs but this one stumped us. I'm sure it's something stupid > but for the life of me, we cannot figure it out. > > > > This code has been running for a few months now with no issues but as of > last night, it started running for over 10 hrs, it seems to be stuck in > this one query and our dba said it's been using a lot of resources that > they have to kill it eventually. > > > > The code has several begin-selects statements and it seems to hang in > one query. We tried different ways of re-organizing the query and > nothing worked except for when we hardcoded one of the where clause and > that's when it ran. But when we put back the original using a variable, > it hang again. Like I said , we're STUMPED!!! Big time!!! We copied the > code and ran in TOAD and it ran in seconds but it just seems to hang in > SQR. > > > > Any ideas? > > Thanks. > > Marissa > > > _________________________________________________________________ Windows Live(tm) SkyDrive(tm): Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=3DTXT_TAGLM_WL_SD_25GB_062009 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jul 09 09:19:00 2009 From: "Steve Cavill" Subject: RE: [sqr-users] Use of Variables Date: Thu, 9 Jul 2009 23:16:33 +1000 Is the database DBID value a number or string? Try using $VD_deptid instead. Or use a cast/convert function to make sure they are the right type E,g, DBID = cast(#VD_deptid, type) Steve. -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of Pactwa, Marissa Sent: Thursday, 9 July 2009 10:32 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Use of Variables The DBAs said that nothing was done to the database. Unfortunately, we don't have the "greatest" dba's in the world (you know what I mean) so we couldn't really get anything from them as far as any changes to our database. Steven, we were using the value "1469" for the variable "#VD_deptid". We've tried several dept_id and got the same results. -----Original Message----- From: sqr-users-bounces+mpactwa=suburbanpropane.com@sqrug.org [mailto:sqr-users-bounces+mpactwa=suburbanpropane.com@sqrug.org] On Behalf Of the dragon Sent: Wednesday, July 08, 2009 10:14 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Use of Variables And what was done to the database recently? What changes were made there? peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ---------------------------------------- > > Hi All, > > > > We've been coding in SQR for over 10 yrs now and have written very > complex programs but this one stumped us. I'm sure it's something stupid > but for the life of me, we cannot figure it out. > > > > This code has been running for a few months now with no issues but as of > last night, it started running for over 10 hrs, it seems to be stuck in > this one query and our dba said it's been using a lot of resources that > they have to kill it eventually. > > > > The code has several begin-selects statements and it seems to hang in > one query. We tried different ways of re-organizing the query and > nothing worked except for when we hardcoded one of the where clause and > that's when it ran. But when we put back the original using a variable, > it hang again. Like I said , we're STUMPED!!! Big time!!! We copied the > code and ran in TOAD and it ran in seconds but it just seems to hang in > SQR. > > > > Any ideas? > > Thanks. > > Marissa > > > _________________________________________________________________ Windows Live(tm) SkyDrive(tm): Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jul 09 16:02:41 2009 Subject: RE: [sqr-users] Use of Variables Date: Thu, 9 Jul 2009 15:59:55 -0400 From: "Pactwa, Marissa" We did put show to display the values of the variables and everything looks ok. The only thing I can think of is it's a memory issue. For some reason when we hardcode, it's only processing 1 dept_id (even if there's a lot of rows) and it goes fast but when if we call the same procedure in a loop for different depts, that's where it hangs. I'm not a dba so I'm not sure where to look in our database or server to fix this. We did run explain plan on the query and it is optimized. -----Original Message----- From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of Putney II, Zynon E Sent: Wednesday, July 08, 2009 3:47 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Use of Variables Have you used display or show for all the variables in the where clause to verify that they are what you expect them to be going into the select, and that they aren't changed in between rows? My first inclination is to look at $pc_set01. I'd put display or show for each variable in the where clause right before going into the select, and then after the let statements so it spits them out at you for every row. You might find something that way? =20 -----Original Message----- From: sqr-users-bounces+zputney=3Dpaychex.com@sqrug.org [mailto:sqr-users-bounces+zputney=3Dpaychex.com@sqrug.org] On Behalf Of Pactwa, Marissa Sent: Wednesday, July 08, 2009 3:08 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: [sqr-users] Use of Variables Hi All, =20 We've been coding in SQR for over 10 yrs now and have written very complex programs but this one stumped us. I'm sure it's something stupid but for the life of me, we cannot figure it out.=20 =20 This code has been running for a few months now with no issues but as of last night, it started running for over 10 hrs, it seems to be stuck in this one query and our dba said it's been using a lot of resources that they have to kill it eventually.=20 =20 The code has several begin-selects statements and it seems to hang in one query. We tried different ways of re-organizing the query and nothing worked except for when we hardcoded one of the where clause and that's when it ran. But when we put back the original using a variable, it hang again. Like I said , we're STUMPED!!! Big time!!! We copied the code and ran in TOAD and it ran in seconds but it just seems to hang in SQR. =20 Any ideas? Thanks. Marissa =20 BEGIN-SELECT !ON-ERROR=3DAbend A01_1.DBID A01_1.TYPE S01_1.salesperson_code F01_1.full_account A01_1.name A01_1.acquisition_date TM01_1.posting_code TM01_1.event_date TM01_1.units TM01_1.gross_amount =20 ! --------------------------------------- ! Variables set after the select are: ! --------------------------------------- Let $DEPTID =3D &A01_1.DBID Let $SP_ACCOUNT_TYPE =3D to_char(&A01_1.TYPE) Let $SP_SALES_PERSON_ID =3D &S01_1.salesperson_code Let $SP_CUSTOMER_ID =3D &F01_1.full_account Let $SP_CUSTOMER_NAME =3D &A01_1.name Let $SP_CUST_START_DT =3D &A01_1.acquisition_date Let #SP_POSTING_CODE =3D &TM01_1.posting_code Let $SP_TRANSACTION_DT =3D &TM01_1.event_date Let #SP_GALLONS =3D &TM01_1.units Let #SP_GALLONS =3D round(#SP_GALLONS, 0) Let #SP_SALE_AMOUNT =3D &TM01_1.gross_amount=20 show 'within --> Cost Type 01 (1 of 2)' =20 !do Check-Leap-Year show 'after check leap year --> Cost Type 01 (1 of 2)' =20 if $Leap_Year_Flag =3D 'False' Do Single-Insert end-if show 'after single insert --> Cost Type 01 (1 of 2)' =20 from O_ACCOUNTS A01_1, O_TRANS_MAIN TM01_1, O_TANKS T01_1, O_SALESPERSON S01_1, O_FULL_ACCOUNT F01_1=20 Where=20=20=20=20=20=20=20=20 A01_1.DBID =3D 1469 and ! A01_1.DBID =3D #VD_deptid and=20 TM01_1.DBID =3D A01_1.DBID and T01_1.DBID =3D A01_1.DBID and S01_1.DBID =3D A01_1.DBID and F01_1.DBID =3D A01_1.DBID and TM01_1.salesperson > '00' and=20 TM01_1.salesperson <=3D '99' and=20 A01_1.account_num =3D TM01_1.account_num and=20 A01_1.account_num =3D F01_1.account_num and=20 TM01_1.account_num =3D T01_1.account_num and=20 TM01_1.tank_num =3D T01_1.tank_num and=20 TM01_1.created_by <> 'conversion' and=20 TM01_1.tank_num >=3D 1 and=20 TM01_1.posting_date >=3D $starting_date and=20 TM01_1.posting_date <=3D $ending_date and=20 S01_1.salesperson_code =3D TM01_1.salesperson and ((TM01_1.units <=3D -1 or TM01_1.units >=3D 1) or=20 (TM01_1.units =3D0 AND TM01_1.delivery_reason=3D0)) and add_months(A01_1.acquisition_date, 36) > TM01_1.event_date and TM01_1.posting_code in [$pc_set01] END-SELECT =20 =20 =20 Marissa Pactwa Hyperion, Sr. Programmer/Analyst Suburban Propane (973) 503-9040 =20 =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ----------------------------------------- The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer.=20 Thank you. Paychex, Inc. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jul 09 16:26:11 2009 From: "franck.masson" Subject: RE: [sqr-users] Use of Variables Date: Thu, 9 Jul 2009 22:23:13 +0200 (CEST) if i understand your issue is with=20 ! A01_1.DBID =3D #VD_deptid=20 =20 add this where clause=20 2 =3D 1 =20 and display in sqr the sql statement used/sent to the database with the sql you may understand the issue =20 have you tried to use=20 A01_1.DBID =3D [$VD_deptid] or A01_1.DBID =3D [#VD_deptid] franck > Message du 09/07/09 22:02 > De : "Pactwa, Marissa"=20 > A : "This list is for discussion about the SQR database reportinglanguage= from Hyperion Solutions."=20 > Copie =C3=A0 :=20 > Objet : RE: [sqr-users] Use of Variables > >=20 >=20 > We did put show to display the values of the variables and everything > looks ok. The only thing I can think of is it's a memory issue. For some > reason when we hardcode, it's only processing 1 dept_id (even if there's > a lot of rows) and it goes fast but when if we call the same procedure > in a loop for different depts, that's where it hangs. >=20 > I'm not a dba so I'm not sure where to look in our database or server to > fix this. We did run explain plan on the query and it is optimized. >=20 >=20 > -----Original Message----- > From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org > [mailto:sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On > Behalf Of Putney II, Zynon E > Sent: Wednesday, July 08, 2009 3:47 PM > To: This list is for discussion about the SQR database reportinglanguage > fromHyperion Solutions. > Subject: RE: [sqr-users] Use of Variables >=20 > Have you used display or show for all the variables in the where clause >=20 > to verify that they are what you expect them to be going into the >=20 > select, and that they aren't changed in between rows? My first >=20 > inclination is to look at $pc_set01. >=20 >=20 >=20 > I'd put display or show for each variable in the where clause right >=20 > before going into the select, and then after the let statements so it >=20 > spits them out at you for every row. You might find something that way? >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > -----Original Message----- >=20 > From: sqr-users-bounces+zputney=3Dpaychex.com@sqrug.org >=20 > [mailto:sqr-users-bounces+zputney=3Dpaychex.com@sqrug.org] On Behalf Of >=20 > Pactwa, Marissa >=20 > Sent: Wednesday, July 08, 2009 3:08 PM >=20 > To: This list is for discussion about the SQR database reportinglanguage >=20 > fromHyperion Solutions. >=20 > Subject: [sqr-users] Use of Variables >=20 >=20 >=20 > Hi All, >=20 >=20 >=20 >=20 >=20 >=20 >=20 > We've been coding in SQR for over 10 yrs now and have written very >=20 > complex programs but this one stumped us. I'm sure it's something stupid >=20 > but for the life of me, we cannot figure it out.=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > This code has been running for a few months now with no issues but as of >=20 > last night, it started running for over 10 hrs, it seems to be stuck in >=20 > this one query and our dba said it's been using a lot of resources that >=20 > they have to kill it eventually.=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > The code has several begin-selects statements and it seems to hang in >=20 > one query. We tried different ways of re-organizing the query and >=20 > nothing worked except for when we hardcoded one of the where clause and >=20 > that's when it ran. But when we put back the original using a variable, >=20 > it hang again. Like I said , we're STUMPED!!! Big time!!! We copied the >=20 > code and ran in TOAD and it ran in seconds but it just seems to hang in >=20 > SQR. >=20 >=20 >=20 >=20 >=20 >=20 >=20 > Any ideas? >=20 >=20 >=20 > Thanks. >=20 >=20 >=20 > Marissa >=20 >=20 >=20 >=20 >=20 >=20 >=20 > BEGIN-SELECT !ON-ERROR=3DAbend >=20 >=20 >=20 > A01_1.DBID >=20 >=20 >=20 > A01_1.TYPE >=20 >=20 >=20 > S01_1.salesperson_code >=20 >=20 >=20 > F01_1.full_account >=20 >=20 >=20 > A01_1.name >=20 >=20 >=20 > A01_1.acquisition_date >=20 >=20 >=20 > TM01_1.posting_code >=20 >=20 >=20 > TM01_1.event_date >=20 >=20 >=20 > TM01_1.units >=20 >=20 >=20 > TM01_1.gross_amount >=20 >=20 >=20 >=20 >=20 >=20 >=20 > ! --------------------------------------- >=20 >=20 >=20 > ! Variables set after the select are: >=20 >=20 >=20 > ! --------------------------------------- >=20 >=20 >=20 > Let $DEPTID =3D &A01_1.DBID >=20 >=20 >=20 > Let $SP_ACCOUNT_TYPE =3D to_char(&A01_1.TYPE) >=20 >=20 >=20 >=20 >=20 > Let $SP_SALES_PERSON_ID =3D &S01_1.salesperson_code >=20 >=20 >=20 > Let $SP_CUSTOMER_ID =3D &F01_1.full_account >=20 >=20 >=20 > Let $SP_CUSTOMER_NAME =3D &A01_1.name >=20 >=20 >=20 > Let $SP_CUST_START_DT =3D &A01_1.acquisition_date >=20 >=20 >=20 > Let #SP_POSTING_CODE =3D &TM01_1.posting_code >=20 >=20 >=20 > Let $SP_TRANSACTION_DT =3D &TM01_1.event_date >=20 >=20 >=20 > Let #SP_GALLONS =3D &TM01_1.units >=20 >=20 >=20 > Let #SP_GALLONS =3D round(#SP_GALLONS, 0) >=20 >=20 >=20 > Let #SP_SALE_AMOUNT =3D &TM01_1.gross_amount=20 >=20 >=20 >=20 > show 'within --> Cost Type 01 (1 of 2)' >=20 >=20 >=20 >=20 >=20 >=20 >=20 > !do Check-Leap-Year >=20 >=20 >=20 > show 'after check leap year --> Cost Type 01 (1 of 2)' >=20 >=20 >=20 >=20 >=20 >=20 >=20 > if $Leap_Year_Flag =3D 'False' >=20 >=20 >=20 > Do Single-Insert >=20 >=20 >=20 > end-if >=20 >=20 >=20 > show 'after single insert --> Cost Type 01 (1 of 2)' >=20 >=20 >=20 >=20 >=20 >=20 >=20 > from O_ACCOUNTS A01_1, O_TRANS_MAIN TM01_1, O_TANKS T01_1, O_SALESPERSON >=20 > S01_1, O_FULL_ACCOUNT F01_1=20 >=20 >=20 >=20 > Where=20 >=20 >=20 >=20 > A01_1.DBID =3D 1469 and >=20 >=20 >=20 > ! A01_1.DBID =3D #VD_deptid and=20 >=20 >=20 >=20 > TM01_1.DBID =3D A01_1.DBID and >=20 >=20 >=20 > T01_1.DBID =3D A01_1.DBID and >=20 >=20 >=20 > S01_1.DBID =3D A01_1.DBID and >=20 >=20 >=20 > F01_1.DBID =3D A01_1.DBID and >=20 >=20 >=20 > TM01_1.salesperson > '00' and=20 >=20 >=20 >=20 > TM01_1.salesperson <=3D '99' and=20 >=20 >=20 >=20 > A01_1.account_num =3D TM01_1.account_num and=20 >=20 >=20 >=20 > A01_1.account_num =3D F01_1.account_num and=20 >=20 >=20 >=20 > TM01_1.account_num =3D T01_1.account_num and=20 >=20 >=20 >=20 > TM01_1.tank_num =3D T01_1.tank_num and=20 >=20 >=20 >=20 > TM01_1.created_by <> 'conversion' and=20 >=20 >=20 >=20 > TM01_1.tank_num >=3D 1 and=20 >=20 >=20 >=20 > TM01_1.posting_date >=3D $starting_date and=20 >=20 >=20 >=20 > TM01_1.posting_date <=3D $ending_date and=20 >=20 >=20 >=20 > S01_1.salesperson_code =3D TM01_1.salesperson and >=20 >=20 >=20 > ((TM01_1.units <=3D -1 or TM01_1.units >=3D 1) or=20 >=20 >=20 >=20 > (TM01_1.units =3D0 AND TM01_1.delivery_reason=3D0)) and >=20 >=20 >=20 > add_months(A01_1.acquisition_date, 36) > TM01_1.event_date and >=20 >=20 >=20 > TM01_1.posting_code in [$pc_set01] >=20 >=20 >=20 > END-SELECT >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > Marissa Pactwa >=20 >=20 >=20 > Hyperion, Sr. Programmer/Analyst >=20 >=20 >=20 > Suburban Propane >=20 >=20 >=20 > (973) 503-9040 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > _______________________________________________ >=20 > sqr-users mailing list >=20 > sqr-users@sqrug.org >=20 > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 >=20 >=20 >=20 > ----------------------------------------- >=20 > The information contained in this message may be privileged, > confidential, and protected from disclosure. If the reader of this > message is not the intended recipient, or any employee or agent > responsible for delivering this message to the intended recipient, > you are hereby notified that any dissemination, distribution, or > copying of this communication is strictly prohibited. If you have > received this communication in error, please notify us immediately > by replying to the message and deleting it from your computer.=20 >=20 >=20 >=20 > Thank you. Paychex, Inc. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jul 09 18:05:24 2009 From: the dragon Subject: RE: [sqr-users] Use of Variables Date: Thu, 9 Jul 2009 17:02:36 -0500 Once again, =20 All these responses are great. However, if the code has not changed, no pe= oplesoft tools or apps patches have been applied, no data loads have occurr= ed, and the process used to run quickly, and doesn't now, the problem is in= your database. Something changed there. Mayhaps indexing or stats was lo= st, but the problem is in your database. =20 What do your OS admins see on the db and process scheduler servers when the= sqr is running? What do your DBAs see at the DB level? =20 peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your= services for 40 hours a week, not purchasing your soul. Your time is the o= nly real finite asset that you have, and once used it can never be recovere= d, so don't waste it by giving it away.=20 I work to live; I don't live to work.=20 "Time is the coin of your life. It is the only coin you have, and only you = can determine how it will be spent. Be careful lest you let other people sp= end it for you." -- Carl Sandburg (1878 - 1967)=20 It is impossible to defeat an ignorant man in argument. -- William G. McAdo= o=20 Religion is regarded by the common people as true, by the wise as false, an= d by the rulers as useful. -- Seneca=20 "I distrust those people who know so well what God wants them to do because= I notice it always coincides with their own desires." - Susan B. Anthony =20 >=20 > if i understand your issue is with=20 > ! A01_1.DBID =3D #VD_deptid=20 >=20 > add this where clause=20 > 2 =3D 1 >=20 > and display in sqr the sql statement used/sent to the database > with the sql you may understand the issue >=20 > have you tried to use=20 > A01_1.DBID =3D [$VD_deptid] > or > A01_1.DBID =3D [#VD_deptid] > franck >=20 >=20 > >=20 > > We did put show to display the values of the variables and everything > > looks ok. The only thing I can think of is it's a memory issue. For some > > reason when we hardcode, it's only processing 1 dept_id (even if there's > > a lot of rows) and it goes fast but when if we call the same procedure > > in a loop for different depts, that's where it hangs. > >=20 > > I'm not a dba so I'm not sure where to look in our database or server to > > fix this. We did run explain plan on the query and it is optimized. > >=20 > >=20 > > -----Original Message----- > >=20 > > Have you used display or show for all the variables in the where clause > >=20 > > to verify that they are what you expect them to be going into the > >=20 > > select, and that they aren't changed in between rows? My first > >=20 > > inclination is to look at $pc_set01. > >=20 > >=20 > >=20 > > I'd put display or show for each variable in the where clause right > >=20 > > before going into the select, and then after the let statements so it > >=20 > > spits them out at you for every row. You might find something that way? > >=20 > >=20 > > -----Original Message----- > >=20 > >=20 > > Hi All, > >=20 > > We've been coding in SQR for over 10 yrs now and have written very > > complex programs but this one stumped us. I'm sure it's something stupid > > but for the life of me, we cannot figure it out.=20 > >=20 > > This code has been running for a few months now with no issues but as of > > last night, it started running for over 10 hrs, it seems to be stuck in > > this one query and our dba said it's been using a lot of resources that > > they have to kill it eventually.=20 > >=20 > > The code has several begin-selects statements and it seems to hang in > > one query. We tried different ways of re-organizing the query and > > nothing worked except for when we hardcoded one of the where clause and > > that's when it ran. But when we put back the original using a variable, > > it hang again. Like I said , we're STUMPED!!! Big time!!! We copied the > > code and ran in TOAD and it ran in seconds but it just seems to hang in > > SQR. > > Any ideas? > >=20 > > Thanks. > >=20 > > Marissa _________________________________________________________________ Windows Live=99 SkyDrive=99: Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=3DTXT_TAGLM_WL_SD_25GB_062009 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jul 09 18:35:39 2009 From: sri kanth Subject: [sqr-users] SQR Error 4505 Date: Thu, 9 Jul 2009 15:32:58 -0700 Hi All, =20 Its been so long since I have posted in the group.Hope all are doing fine. =20 Our Ledger Vs Journal Integrity report is running to an error. In the log f= ile we se enothign but " (SQR 4504) Fixed column placement #variable must = be > 0. Use relative positioning, (5,+#col,0)." =20 We are really going clue less in this. Can somebody help us out in this. =20 Thanks in advance! =20 -Srikanth _________________________________________________________________ Hotmail=AE has ever-growing storage! Don=92t worry about storage limits.=20 http://windowslive.com/Tutorial/Hotmail/Storage?ocid=3DTXT_TAGLM_WL_HM_Tuto= rial_Storage_062009 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jul 09 18:49:35 2009 From: sri kanth Subject: RE: [sqr-users] SQR Error 4505 Date: Thu, 9 Jul 2009 15:46:53 -0700 The error code is 4504 not 4505. Where do I find all SQR error details onli= ne? =20 > From: gskchoudary@hotmail.com > To: sqr-users@sqrug.org > Subject: [sqr-users] SQR Error 4505 > Date: Thu, 9 Jul 2009 15:32:58 -0700 >=20 >=20 > Hi All, >=20 >=20 >=20 > Its been so long since I have posted in the group.Hope all are doing fine. >=20 >=20 >=20 > Our Ledger Vs Journal Integrity report is running to an error. In the log= file we se enothign but " (SQR 4504) Fixed column placement #variable must= be > 0. Use relative positioning, (5,+#col,0)." >=20 >=20 >=20 > We are really going clue less in this. Can somebody help us out in this. >=20 >=20 >=20 > Thanks in advance! >=20 >=20 >=20 > -Srikanth >=20 > _________________________________________________________________ > Hotmail=AE has ever-growing storage! Don=92t worry about storage limits.= =20 > http://windowslive.com/Tutorial/Hotmail/Storage?ocid=3DTXT_TAGLM_WL_HM_Tu= torial_Storage_062009 >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Windows Live=99: Keep your life in sync.=20 http://windowslive.com/explore?ocid=3DTXT_TAGLM_WL_BR_life_in_synch_062009 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jul 09 19:05:05 2009 Subject: RE: [sqr-users] SQR Error 4505 Date: Thu, 9 Jul 2009 16:02:12 -0700 From: "Alexander, Steven" The error message seems to be referring to some code like this: Print 'Hello World' (5, #col) You're using a variable to position the text and somehow that variable contains a negative number. Add a line above the print statement: Show #col That should tell you what's going on. -----Original Message----- From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mailto:sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf Of sri kanth Sent: Thursday, July 09, 2009 3:47 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] SQR Error 4505 The error code is 4504 not 4505. Where do I find all SQR error details online? =20 > From: gskchoudary@hotmail.com > To: sqr-users@sqrug.org > Subject: [sqr-users] SQR Error 4505 > Date: Thu, 9 Jul 2009 15:32:58 -0700 >=20 >=20 > Hi All, >=20 >=20 >=20 > Its been so long since I have posted in the group.Hope all are doing fine. >=20 >=20 >=20 > Our Ledger Vs Journal Integrity report is running to an error. In the log file we se enothign but " (SQR 4504) Fixed column placement #variable must be > 0. Use relative positioning, (5,+#col,0)." >=20 >=20 >=20 > We are really going clue less in this. Can somebody help us out in this. >=20 >=20 >=20 > Thanks in advance! >=20 >=20 >=20 > -Srikanth >=20 > _________________________________________________________________ > Hotmail(r) has ever-growing storage! Don't worry about storage limits. > http://windowslive.com/Tutorial/Hotmail/Storage?ocid=3DTXT_TAGLM_WL_HM_Tut orial_Storage_062009 >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Windows Live(tm): Keep your life in sync.=20 http://windowslive.com/explore?ocid=3DTXT_TAGLM_WL_BR_life_in_synch_062009 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jul 09 19:08:43 2009 Subject: RE: [sqr-users] Use of Variables Date: Thu, 9 Jul 2009 16:04:12 -0700 From: "Alexander, Steven" Normally I'd agree, but Marissa has run the query successfully in TOAD. She had to change the query to replace variables with literals and somehow "fixed" the query in the process. -----Original Message----- From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mailto:sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf Of the dragon Sent: Thursday, July 09, 2009 3:03 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Use of Variables Once again, =20 All these responses are great. However, if the code has not changed, no peoplesoft tools or apps patches have been applied, no data loads have occurred, and the process used to run quickly, and doesn't now, the problem is in your database. Something changed there. Mayhaps indexing or stats was lost, but the problem is in your database. =20 What do your OS admins see on the db and process scheduler servers when the sqr is running? What do your DBAs see at the DB level? =20 peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away.=20 I work to live; I don't live to work.=20 "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967)=20 It is impossible to defeat an ignorant man in argument. -- William G. McAdoo=20 Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca=20 "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony =20 >=20 > if i understand your issue is with=20 > ! A01_1.DBID =3D #VD_deptid=20 >=20 > add this where clause=20 > 2 =3D 1 >=20 > and display in sqr the sql statement used/sent to the database > with the sql you may understand the issue >=20 > have you tried to use=20 > A01_1.DBID =3D [$VD_deptid] > or > A01_1.DBID =3D [#VD_deptid] > franck >=20 >=20 > >=20 > > We did put show to display the values of the variables and everything > > looks ok. The only thing I can think of is it's a memory issue. For some > > reason when we hardcode, it's only processing 1 dept_id (even if there's > > a lot of rows) and it goes fast but when if we call the same procedure > > in a loop for different depts, that's where it hangs. > >=20 > > I'm not a dba so I'm not sure where to look in our database or server to > > fix this. We did run explain plan on the query and it is optimized. > >=20 > >=20 > > -----Original Message----- > >=20 > > Have you used display or show for all the variables in the where clause > >=20 > > to verify that they are what you expect them to be going into the > >=20 > > select, and that they aren't changed in between rows? My first > >=20 > > inclination is to look at $pc_set01. > >=20 > >=20 > >=20 > > I'd put display or show for each variable in the where clause right > >=20 > > before going into the select, and then after the let statements so it > >=20 > > spits them out at you for every row. You might find something that way? > >=20 > >=20 > > -----Original Message----- > >=20 > >=20 > > Hi All, > >=20 > > We've been coding in SQR for over 10 yrs now and have written very > > complex programs but this one stumped us. I'm sure it's something stupid > > but for the life of me, we cannot figure it out.=20 > >=20 > > This code has been running for a few months now with no issues but as of > > last night, it started running for over 10 hrs, it seems to be stuck in > > this one query and our dba said it's been using a lot of resources that > > they have to kill it eventually.=20 > >=20 > > The code has several begin-selects statements and it seems to hang in > > one query. We tried different ways of re-organizing the query and > > nothing worked except for when we hardcoded one of the where clause and > > that's when it ran. But when we put back the original using a variable, > > it hang again. Like I said , we're STUMPED!!! Big time!!! We copied the > > code and ran in TOAD and it ran in seconds but it just seems to hang in > > SQR. > > Any ideas? > >=20 > > Thanks. > >=20 > > Marissa _________________________________________________________________ Windows Live(tm) SkyDrive(tm): Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=3DTXT_TAGLM_WL_SD_25GB_062009 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jul 09 20:28:25 2009 From: Subject: RE: [sqr-users] Use of Variables Date: Thu, 09 Jul 2009 17:25:24 -0700 This kind of looks like something I ran into just one time. We had a new table with one primary key field (numeric). With this SQL: =20 WHERE KEY_FIELD =3D #KeyValue =20 it ran basically forever (we had to kill the process). I changed it to: =20 let $KeyValue =3D edit(#KeyValue, '888888888') ... WHERE KEY_FIELD =3D [$KeyValue] =20 and then it ran normally. Never figured out what the problem was and this kludge is still running in production. =20 Kevin Reschenberg SparkPath Technologies, Inc. sparkpath.com | sqr-info.com | protallian.com -------- Original Message -------- Subject: RE: [sqr-users] Use of Variables From: "Alexander, Steven" Date: Thu, July 09, 2009 4:04 pm To: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." Normally I'd agree, but Marissa has run the query successfully in TOAD. She had to change the query to replace variables with literals and somehow "fixed" the query in the process. -----Original Message----- From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mailto:sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf Of the dragon Sent: Thursday, July 09, 2009 3:03 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Use of Variables Once again, All these responses are great. However, if the code has not changed, no peoplesoft tools or apps patches have been applied, no data loads have occurred, and the process used to run quickly, and doesn't now, the problem is in your database. Something changed there. Mayhaps indexing or stats was lost, but the problem is in your database. What do your OS admins see on the db and process scheduler servers when the sqr is running? What do your DBAs see at the DB level? peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away.=20 I work to live; I don't live to work.=20 "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967)=20 It is impossible to defeat an ignorant man in argument. -- William G. McAdoo=20 Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca=20 "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony >=20 > if i understand your issue is with=20 > ! A01_1.DBID =3D #VD_deptid=20 >=20 > add this where clause=20 > 2 =3D 1 >=20 > and display in sqr the sql statement used/sent to the database > with the sql you may understand the issue >=20 > have you tried to use=20 > A01_1.DBID =3D [$VD_deptid] > or > A01_1.DBID =3D [#VD_deptid] > franck >=20 >=20 > >=20 > > We did put show to display the values of the variables and everything > > looks ok. The only thing I can think of is it's a memory issue. For some > > reason when we hardcode, it's only processing 1 dept_id (even if there's > > a lot of rows) and it goes fast but when if we call the same procedure > > in a loop for different depts, that's where it hangs. > >=20 > > I'm not a dba so I'm not sure where to look in our database or server to > > fix this. We did run explain plan on the query and it is optimized. > >=20 > >=20 > > -----Original Message----- > >=20 > > Have you used display or show for all the variables in the where clause > >=20 > > to verify that they are what you expect them to be going into the > >=20 > > select, and that they aren't changed in between rows? My first > >=20 > > inclination is to look at $pc_set01. > >=20 > >=20 > >=20 > > I'd put display or show for each variable in the where clause right > >=20 > > before going into the select, and then after the let statements so it > >=20 > > spits them out at you for every row. You might find something that way? > >=20 > >=20 > > -----Original Message----- > >=20 > >=20 > > Hi All, > >=20 > > We've been coding in SQR for over 10 yrs now and have written very > > complex programs but this one stumped us. I'm sure it's something stupid > > but for the life of me, we cannot figure it out.=20 > >=20 > > This code has been running for a few months now with no issues but as of > > last night, it started running for over 10 hrs, it seems to be stuck in > > this one query and our dba said it's been using a lot of resources that > > they have to kill it eventually.=20 > >=20 > > The code has several begin-selects statements and it seems to hang in > > one query. We tried different ways of re-organizing the query and > > nothing worked except for when we hardcoded one of the where clause and > > that's when it ran. But when we put back the original using a variable, > > it hang again. Like I said , we're STUMPED!!! Big time!!! We copied the > > code and ran in TOAD and it ran in seconds but it just seems to hang in > > SQR. > > Any ideas? > >=20 > > Thanks. > >=20 > > Marissa _________________________________________________________________ Windows Live(tm) SkyDrive(tm): Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=3DTXT_TAGLM_WL_SD_25GB_062009 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jul 10 08:45:35 2009 Subject: RE: [sqr-users] Use of Variables Date: Fri, 10 Jul 2009 08:41:35 -0400 From: "Pactwa, Marissa" Thanks everyone for your reply. They're very much appreciated. We did try the same thing as Steve and Kevin has suggested and is now running.=20 Replaced=20 A01_1.DBID =3D #VD_deptid With A01_1.DBID =3D edit(#VD_deptid,'9999') It's still very slow but at least it finished. Took about 4 hrs to run where it used to run only for an hour for many months.=20 Just like Kevin, I have no clue what the problem was but if someone knows why, I would be very interested to know. Thanks again and have a great weekend everyone.=20 Marissa -----Original Message----- From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of kevin.reschenberg@sparkpath.com Sent: Thursday, July 09, 2009 8:25 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] Use of Variables This kind of looks like something I ran into just one time. We had a new table with one primary key field (numeric). With this SQL: =20 WHERE KEY_FIELD =3D #KeyValue =20 it ran basically forever (we had to kill the process). I changed it to: =20 let $KeyValue =3D edit(#KeyValue, '888888888') ... WHERE KEY_FIELD =3D [$KeyValue] =20 and then it ran normally. Never figured out what the problem was and this kludge is still running in production. =20 Kevin Reschenberg SparkPath Technologies, Inc. sparkpath.com | sqr-info.com | protallian.com -------- Original Message -------- Subject: RE: [sqr-users] Use of Variables From: "Alexander, Steven" Date: Thu, July 09, 2009 4:04 pm To: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." Normally I'd agree, but Marissa has run the query successfully in TOAD. She had to change the query to replace variables with literals and somehow "fixed" the query in the process. -----Original Message----- From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mailto:sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf Of the dragon Sent: Thursday, July 09, 2009 3:03 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Use of Variables Once again, All these responses are great. However, if the code has not changed, no peoplesoft tools or apps patches have been applied, no data loads have occurred, and the process used to run quickly, and doesn't now, the problem is in your database. Something changed there. Mayhaps indexing or stats was lost, but the problem is in your database. What do your OS admins see on the db and process scheduler servers when the sqr is running? What do your DBAs see at the DB level? peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away.=20 I work to live; I don't live to work.=20 "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967)=20 It is impossible to defeat an ignorant man in argument. -- William G. McAdoo=20 Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca=20 "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony >=20 > if i understand your issue is with=20 > ! A01_1.DBID =3D #VD_deptid=20 >=20 > add this where clause=20 > 2 =3D 1 >=20 > and display in sqr the sql statement used/sent to the database > with the sql you may understand the issue >=20 > have you tried to use=20 > A01_1.DBID =3D [$VD_deptid] > or > A01_1.DBID =3D [#VD_deptid] > franck >=20 >=20 > >=20 > > We did put show to display the values of the variables and everything > > looks ok. The only thing I can think of is it's a memory issue. For some > > reason when we hardcode, it's only processing 1 dept_id (even if there's > > a lot of rows) and it goes fast but when if we call the same procedure > > in a loop for different depts, that's where it hangs. > >=20 > > I'm not a dba so I'm not sure where to look in our database or server to > > fix this. We did run explain plan on the query and it is optimized. > >=20 > >=20 > > -----Original Message----- > >=20 > > Have you used display or show for all the variables in the where clause > >=20 > > to verify that they are what you expect them to be going into the > >=20 > > select, and that they aren't changed in between rows? My first > >=20 > > inclination is to look at $pc_set01. > >=20 > >=20 > >=20 > > I'd put display or show for each variable in the where clause right > >=20 > > before going into the select, and then after the let statements so it > >=20 > > spits them out at you for every row. You might find something that way? > >=20 > >=20 > > -----Original Message----- > >=20 > >=20 > > Hi All, > >=20 > > We've been coding in SQR for over 10 yrs now and have written very > > complex programs but this one stumped us. I'm sure it's something stupid > > but for the life of me, we cannot figure it out.=20 > >=20 > > This code has been running for a few months now with no issues but as of > > last night, it started running for over 10 hrs, it seems to be stuck in > > this one query and our dba said it's been using a lot of resources that > > they have to kill it eventually.=20 > >=20 > > The code has several begin-selects statements and it seems to hang in > > one query. We tried different ways of re-organizing the query and > > nothing worked except for when we hardcoded one of the where clause and > > that's when it ran. But when we put back the original using a variable, > > it hang again. Like I said , we're STUMPED!!! Big time!!! We copied the > > code and ran in TOAD and it ran in seconds but it just seems to hang in > > SQR. > > Any ideas? > >=20 > > Thanks. > >=20 > > Marissa _________________________________________________________________ Windows Live(tm) SkyDrive(tm): Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=3DTXT_TAGLM_WL_SD_25GB_062009 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jul 10 09:45:34 2009 Date: Fri, 10 Jul 2009 08:41:43 -0500 From: "Ojha, Dipin" Subject: [sqr-users] Printing in Legal from portal Hi All, =20 I am generating my SQR reports from the Hyperion Portal in PDF format. I wa= nt the printer settings, while I open the PDF, to be in Legal size by defau= lt. Is there any way I could do that? Any suggestions will be appreciated. =20 Thanks. _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the=20 intended recipient, please: (i) delete the message and all copies; (ii) do = not disclose,=20 distribute or use the message in any manner; and (iii) notify the sender im= mediately. In addition,=20 please be aware that any message addressed to our domain is subject to arch= iving and review by=20 persons other than the intended recipient. Thank you. _____________ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jul 10 09:54:40 2009 From: "franck.masson" Subject: Re:[sqr-users] Printing in Legal from portal Date: Fri, 10 Jul 2009 15:51:48 +0200 (CEST) you have to do it in your sqr code=20 > Message du 10/07/09 15:45 > De : "Ojha, Dipin"=20 > A : sqr-users@sqrug.org > Copie =C3=A0 :=20 > Objet : [sqr-users] Printing in Legal from portal > >=20 > Hi All, >=20 >=20 >=20 > I am generating my SQR reports from the Hyperion Portal in PDF format. I = want the printer settings, while I open the PDF, to be in Legal size by def= ault. Is there any way I could do that? Any suggestions will be appreciated. >=20 >=20 >=20 > Thanks. >=20 > _____________ >=20 > The information contained in this message is proprietary and/or confident= ial. If you are not the=20 > intended recipient, please: (i) delete the message and all copies; (ii) d= o not disclose,=20 > distribute or use the message in any manner; and (iii) notify the sender = immediately. In addition,=20 > please be aware that any message addressed to our domain is subject to ar= chiving and review by=20 > persons other than the intended recipient. Thank you. > _____________ >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jul 10 10:01:02 2009 Subject: RE: [sqr-users] Printing in Legal from portal Date: Fri, 10 Jul 2009 09:57:05 -0400 From: "Putney II, Zynon E" Perhaps...?=0D =0D begin-setup=0D declare-layout legal_size=0D paper-size=3D(8.5, 14)=0D end-declare=0D end-setup =0D =0D =0D =0D -----Original Message-----=0D From: sqr-users-bounces+zputney=3Dpaychex.com@sqrug.org=0D [mailto:sqr-users-bounces+zputney=3Dpaychex.com@sqrug.org] On Behalf Of=0D Ojha, Dipin=0D Sent: Friday, July 10, 2009 9:42 AM=0D To: sqr-users@sqrug.org=0D Subject: [sqr-users] Printing in Legal from portal=0D =0D Hi All,=0D =0D =0D =0D I am generating my SQR reports from the Hyperion Portal in PDF format. I=0D want the printer settings, while I open the PDF, to be in Legal size by=0D default. Is there any way I could do that? Any suggestions will be=0D appreciated.=0D =0D =0D =0D Thanks.=0D =0D _____________=0D =0D The information contained in this message is proprietary and/or=0D confidential. If you are not the intended recipient, please: (i) delete=0D the message and all copies; (ii) do not disclose, distribute or use the=0D message in any manner; and (iii) notify the sender immediately. In=0D addition, please be aware that any message addressed to our domain is=0D subject to archiving and review by persons other than the intended=0D recipient. Thank you.=0D _____________=0D =0D _______________________________________________=0D sqr-users mailing list=0D sqr-users@sqrug.org=0D http://www.sqrug.org/mailman/listinfo/sqr-users=0D =0D =0D -----------------------------------------=0D The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. =0D =0D Thank you. Paychex, Inc. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jul 10 10:04:36 2009 Subject: RE: [sqr-users] Printing in Legal from portal Date: Fri, 10 Jul 2009 09:00:56 -0500 From: "Ojha, Dipin" --===============2010002340== Content-class: urn:content-classes:message Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Q291bGQgeW91IHN1Z2dlc3Qgb24gaG93IEkgY291bGQgc3RhcnQgZG9pbmcg aXQ/DQpJIGhhdmUgY2hhbmdlZCB0aGUgcGFwZXItc2l6ZSB0byAoMTQsOC41 KS4gSSB3YW50IHRoZSBwcmludGVyIHRvIHByaW50IGZyb20gdGhlIGxlZ2Fs IHRyYXkgKHdoaWNoIGlzIHRyYXkgMykuDQoNClRoYW5rcy4NCg0KLS0tLS1P cmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IHNxci11c2Vycy1ib3VuY2Vz K2RpcGluLm9qaGE9Zm5pcy5jb21Ac3FydWcub3JnIFttYWlsdG86c3FyLXVz ZXJzLWJvdW5jZXMrZGlwaW4ub2poYT1mbmlzLmNvbUBzcXJ1Zy5vcmddIE9u IEJlaGFsZiBPZiBmcmFuY2subWFzc29uDQpTZW50OiBGcmlkYXksIEp1bHkg MTAsIDIwMDkgOTo1MiBBTQ0KVG86IFRoaXMgbGlzdCBpcyBmb3IgZGlzY3Vz c2lvbiBhYm91dCB0aGUgU1FSIGRhdGFiYXNlIHJlcG9ydGluZyBsYW5ndWFn ZWZyb20gSHlwZXJpb24gU29sdXRpb25zLg0KU3ViamVjdDogUmU6W3Nxci11 c2Vyc10gUHJpbnRpbmcgaW4gTGVnYWwgZnJvbSBwb3J0YWwNCg0KeW91IGhh dmUgdG8gZG8gaXQgaW4geW91ciBzcXIgY29kZSANCg0KDQoNCg0KPiBNZXNz YWdlIGR1IDEwLzA3LzA5IDE1OjQ1DQo+IERlIDogIk9qaGEsIERpcGluIiAN Cj4gQSA6IHNxci11c2Vyc0BzcXJ1Zy5vcmcNCj4gQ29waWUgw6AgOiANCj4g T2JqZXQgOiBbc3FyLXVzZXJzXSBQcmludGluZyBpbiBMZWdhbCBmcm9tIHBv cnRhbA0KPg0KPiANCj4gSGkgQWxsLA0KPiANCj4gDQo+IA0KPiBJIGFtIGdl bmVyYXRpbmcgbXkgU1FSIHJlcG9ydHMgZnJvbSB0aGUgSHlwZXJpb24gUG9y dGFsIGluIFBERiBmb3JtYXQuIEkgd2FudCB0aGUgcHJpbnRlciBzZXR0aW5n cywgd2hpbGUgSSBvcGVuIHRoZSBQREYsIHRvIGJlIGluIExlZ2FsIHNpemUg YnkgZGVmYXVsdC4gSXMgdGhlcmUgYW55IHdheSBJIGNvdWxkIGRvIHRoYXQ/ IEFueSBzdWdnZXN0aW9ucyB3aWxsIGJlIGFwcHJlY2lhdGVkLg0KPiANCj4g DQo+IA0KPiBUaGFua3MuDQo+IA0KPiBfX19fX19fX19fX19fDQo+IA0KPiBU aGUgaW5mb3JtYXRpb24gY29udGFpbmVkIGluIHRoaXMgbWVzc2FnZSBpcyBw cm9wcmlldGFyeSBhbmQvb3IgY29uZmlkZW50aWFsLiBJZiB5b3UgYXJlIG5v dCB0aGUgDQo+IGludGVuZGVkIHJlY2lwaWVudCwgcGxlYXNlOiAoaSkgZGVs ZXRlIHRoZSBtZXNzYWdlIGFuZCBhbGwgY29waWVzOyAoaWkpIGRvIG5vdCBk aXNjbG9zZSwgDQo+IGRpc3RyaWJ1dGUgb3IgdXNlIHRoZSBtZXNzYWdlIGlu IGFueSBtYW5uZXI7IGFuZCAoaWlpKSBub3RpZnkgdGhlIHNlbmRlciBpbW1l ZGlhdGVseS4gSW4gYWRkaXRpb24sIA0KPiBwbGVhc2UgYmUgYXdhcmUgdGhh dCBhbnkgbWVzc2FnZSBhZGRyZXNzZWQgdG8gb3VyIGRvbWFpbiBpcyBzdWJq ZWN0IHRvIGFyY2hpdmluZyBhbmQgcmV2aWV3IGJ5IA0KPiBwZXJzb25zIG90 aGVyIHRoYW4gdGhlIGludGVuZGVkIHJlY2lwaWVudC4gVGhhbmsgeW91Lg0K PiBfX19fX19fX19fX19fDQo+IA0KPiBfX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fXw0KPiBzcXItdXNlcnMgbWFpbGlu ZyBsaXN0DQo+IHNxci11c2Vyc0BzcXJ1Zy5vcmcNCj4gaHR0cDovL3d3dy5z cXJ1Zy5vcmcvbWFpbG1hbi9saXN0aW5mby9zcXItdXNlcnMNCj4gDQo+IA0K DQogQ3LDqWV6IHZvdHJlIGFkcmVzc2Ugw6lsZWN0cm9uaXF1ZSBwcmVub20u bm9tQGxhcG9zdGUubmV0IA0KIDEgR28gZCdlc3BhY2UgZGUgc3RvY2thZ2Us IGFudGktc3BhbSBldCBhbnRpLXZpcnVzIGludMOpZ3LDqXMuDQoNCl9fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fDQpz cXItdXNlcnMgbWFpbGluZyBsaXN0DQpzcXItdXNlcnNAc3FydWcub3JnDQpo dHRwOi8vd3d3LnNxcnVnLm9yZy9tYWlsbWFuL2xpc3RpbmZvL3Nxci11c2Vy cw0KCl9fX19fX19fX19fX18KClRoZSBpbmZvcm1hdGlvbiBjb250YWluZWQg aW4gdGhpcyBtZXNzYWdlIGlzIHByb3ByaWV0YXJ5IGFuZC9vciBjb25maWRl bnRpYWwuIElmIHlvdSBhcmUgbm90IHRoZSAKaW50ZW5kZWQgcmVjaXBpZW50 LCBwbGVhc2U6IChpKSBkZWxldGUgdGhlIG1lc3NhZ2UgYW5kIGFsbCBjb3Bp ZXM7IChpaSkgZG8gbm90IGRpc2Nsb3NlLCAKZGlzdHJpYnV0ZSBvciB1c2Ug dGhlIG1lc3NhZ2UgaW4gYW55IG1hbm5lcjsgYW5kIChpaWkpIG5vdGlmeSB0 aGUgc2VuZGVyIGltbWVkaWF0ZWx5LiBJbiBhZGRpdGlvbiwgCnBsZWFzZSBi ZSBhd2FyZSB0aGF0IGFueSBtZXNzYWdlIGFkZHJlc3NlZCB0byBvdXIgZG9t YWluIGlzIHN1YmplY3QgdG8gYXJjaGl2aW5nIGFuZCByZXZpZXcgYnkgCnBl cnNvbnMgb3RoZXIgdGhhbiB0aGUgaW50ZW5kZWQgcmVjaXBpZW50LiBUaGFu ayB5b3UuCl9fX19fX19fX19fX18K --===============2010002340== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --===============2010002340==-- From sqr-users-bounces@sqrug.org Fri Jul 10 10:26:25 2009 From: "franck.masson" Subject: RE: [sqr-users] Printing in Legal from portal Date: Fri, 10 Jul 2009 16:23:32 +0200 (CEST) how do you print your pdf ? is it from acrobat reader on the desktop ? or is it in your sqr ? > Message du 10/07/09 16:04 > De : "Ojha, Dipin"=20 > A : sqr-users@sqrug.org > Copie =C3=A0 :=20 > Objet : RE: [sqr-users] Printing in Legal from portal > > Could you suggest on how I could start doing it? > I have changed the paper-size to (14,8.5). I want the printer to print fr= om the legal tray (which is tray 3). >=20 > Thanks. >=20 > -----Original Message----- > From: sqr-users-bounces+dipin.ojha=3Dfnis.com@sqrug.org [mailto:sqr-users= -bounces+dipin.ojha=3Dfnis.com@sqrug.org] On Behalf Of franck.masson > Sent: Friday, July 10, 2009 9:52 AM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: Re:[sqr-users] Printing in Legal from portal >=20 > you have to do it in your sqr code=20 >=20 >=20 >=20 >=20 > > Message du 10/07/09 15:45 > > De : "Ojha, Dipin"=20 > > A : sqr-users@sqrug.org > > Copie =C3=A0 :=20 > > Objet : [sqr-users] Printing in Legal from portal > > > >=20 > > Hi All, > >=20 > >=20 > >=20 > > I am generating my SQR reports from the Hyperion Portal in PDF format. = I want the printer settings, while I open the PDF, to be in Legal size by d= efault. Is there any way I could do that? Any suggestions will be appreciat= ed. > >=20 > >=20 > >=20 > > Thanks. > >=20 > > _____________ > >=20 > > The information contained in this message is proprietary and/or confide= ntial. If you are not the=20 > > intended recipient, please: (i) delete the message and all copies; (ii)= do not disclose,=20 > > distribute or use the message in any manner; and (iii) notify the sende= r immediately. In addition,=20 > > please be aware that any message addressed to our domain is subject to = archiving and review by=20 > > persons other than the intended recipient. Thank you. > > _____________ > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > >=20 >=20 > Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 > 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > _____________ The information contained in this message is proprietary an= d/or confidential. If you are not the intended recipient, please: (i) delet= e the message and all copies; (ii) do not disclose, distribute or use the m= essage in any manner; and (iii) notify the sender immediately. In addition,= please be aware that any message addressed to our domain is subject to arc= hiving and review by persons other than the intended recipient. Thank you. = _____________ > > [ (pas de nom de fichier) (0.1 Ko) ] Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jul 10 10:48:48 2009 Subject: RE: [sqr-users] Printing in Legal from portal Date: Fri, 10 Jul 2009 09:45:45 -0500 From: "Ojha, Dipin" --===============1843637015== Content-class: urn:content-classes:message Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 VGhlIFNRUiBnZW5lcmF0ZXMgdGhlIFBERiBvdXRwdXQgYW5kIEkgb3BlbiBp dCB1cCBmcm9tIEFjcm9iYXQgUmVhZGVyIHRvIHByaW50IHRoZSBvdXRwdXQu DQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBzcXItdXNl cnMtYm91bmNlcytkaXBpbi5vamhhPWZuaXMuY29tQHNxcnVnLm9yZyBbbWFp bHRvOnNxci11c2Vycy1ib3VuY2VzK2RpcGluLm9qaGE9Zm5pcy5jb21Ac3Fy dWcub3JnXSBPbiBCZWhhbGYgT2YgZnJhbmNrLm1hc3Nvbg0KU2VudDogRnJp ZGF5LCBKdWx5IDEwLCAyMDA5IDEwOjI0IEFNDQpUbzogVGhpcyBsaXN0IGlz IGZvciBkaXNjdXNzaW9uIGFib3V0IHRoZSBTUVIgZGF0YWJhc2UgcmVwb3J0 aW5nIGxhbmd1YWdlZnJvbSBIeXBlcmlvbiBTb2x1dGlvbnMuDQpTdWJqZWN0 OiBSRTogW3Nxci11c2Vyc10gUHJpbnRpbmcgaW4gTGVnYWwgZnJvbSBwb3J0 YWwNCg0KaG93IGRvIHlvdSBwcmludCB5b3VyIHBkZiA/DQppcyBpdCBmcm9t IGFjcm9iYXQgcmVhZGVyICBvbiB0aGUgZGVza3RvcCA/DQpvciBpcyBpdCBp biB5b3VyIHNxciA/DQoNCg0KDQoNCj4gTWVzc2FnZSBkdSAxMC8wNy8wOSAx NjowNA0KPiBEZSA6ICJPamhhLCBEaXBpbiIgDQo+IEEgOiBzcXItdXNlcnNA c3FydWcub3JnDQo+IENvcGllIMOgIDogDQo+IE9iamV0IDogUkU6IFtzcXIt dXNlcnNdIFByaW50aW5nIGluIExlZ2FsIGZyb20gcG9ydGFsDQo+DQo+IENv dWxkIHlvdSBzdWdnZXN0IG9uIGhvdyBJIGNvdWxkIHN0YXJ0IGRvaW5nIGl0 Pw0KPiBJIGhhdmUgY2hhbmdlZCB0aGUgcGFwZXItc2l6ZSB0byAoMTQsOC41 KS4gSSB3YW50IHRoZSBwcmludGVyIHRvIHByaW50IGZyb20gdGhlIGxlZ2Fs IHRyYXkgKHdoaWNoIGlzIHRyYXkgMykuDQo+IA0KPiBUaGFua3MuDQo+IA0K PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBzcXItdXNl cnMtYm91bmNlcytkaXBpbi5vamhhPWZuaXMuY29tQHNxcnVnLm9yZyBbbWFp bHRvOnNxci11c2Vycy1ib3VuY2VzK2RpcGluLm9qaGE9Zm5pcy5jb21Ac3Fy dWcub3JnXSBPbiBCZWhhbGYgT2YgZnJhbmNrLm1hc3Nvbg0KPiBTZW50OiBG cmlkYXksIEp1bHkgMTAsIDIwMDkgOTo1MiBBTQ0KPiBUbzogVGhpcyBsaXN0 IGlzIGZvciBkaXNjdXNzaW9uIGFib3V0IHRoZSBTUVIgZGF0YWJhc2UgcmVw b3J0aW5nIGxhbmd1YWdlZnJvbSBIeXBlcmlvbiBTb2x1dGlvbnMuDQo+IFN1 YmplY3Q6IFJlOltzcXItdXNlcnNdIFByaW50aW5nIGluIExlZ2FsIGZyb20g cG9ydGFsDQo+IA0KPiB5b3UgaGF2ZSB0byBkbyBpdCBpbiB5b3VyIHNxciBj b2RlIA0KPiANCj4gDQo+IA0KPiANCj4gPiBNZXNzYWdlIGR1IDEwLzA3LzA5 IDE1OjQ1DQo+ID4gRGUgOiAiT2poYSwgRGlwaW4iIA0KPiA+IEEgOiBzcXIt dXNlcnNAc3FydWcub3JnDQo+ID4gQ29waWUgw6AgOiANCj4gPiBPYmpldCA6 IFtzcXItdXNlcnNdIFByaW50aW5nIGluIExlZ2FsIGZyb20gcG9ydGFsDQo+ ID4NCj4gPiANCj4gPiBIaSBBbGwsDQo+ID4gDQo+ID4gDQo+ID4gDQo+ID4g SSBhbSBnZW5lcmF0aW5nIG15IFNRUiByZXBvcnRzIGZyb20gdGhlIEh5cGVy aW9uIFBvcnRhbCBpbiBQREYgZm9ybWF0LiBJIHdhbnQgdGhlIHByaW50ZXIg c2V0dGluZ3MsIHdoaWxlIEkgb3BlbiB0aGUgUERGLCB0byBiZSBpbiBMZWdh bCBzaXplIGJ5IGRlZmF1bHQuIElzIHRoZXJlIGFueSB3YXkgSSBjb3VsZCBk byB0aGF0PyBBbnkgc3VnZ2VzdGlvbnMgd2lsbCBiZSBhcHByZWNpYXRlZC4N Cj4gPiANCj4gPiANCj4gPiANCj4gPiBUaGFua3MuDQo+ID4gDQo+ID4gX19f X19fX19fX19fXw0KPiA+IA0KPiA+IFRoZSBpbmZvcm1hdGlvbiBjb250YWlu ZWQgaW4gdGhpcyBtZXNzYWdlIGlzIHByb3ByaWV0YXJ5IGFuZC9vciBjb25m aWRlbnRpYWwuIElmIHlvdSBhcmUgbm90IHRoZSANCj4gPiBpbnRlbmRlZCBy ZWNpcGllbnQsIHBsZWFzZTogKGkpIGRlbGV0ZSB0aGUgbWVzc2FnZSBhbmQg YWxsIGNvcGllczsgKGlpKSBkbyBub3QgZGlzY2xvc2UsIA0KPiA+IGRpc3Ry aWJ1dGUgb3IgdXNlIHRoZSBtZXNzYWdlIGluIGFueSBtYW5uZXI7IGFuZCAo aWlpKSBub3RpZnkgdGhlIHNlbmRlciBpbW1lZGlhdGVseS4gSW4gYWRkaXRp b24sIA0KPiA+IHBsZWFzZSBiZSBhd2FyZSB0aGF0IGFueSBtZXNzYWdlIGFk ZHJlc3NlZCB0byBvdXIgZG9tYWluIGlzIHN1YmplY3QgdG8gYXJjaGl2aW5n IGFuZCByZXZpZXcgYnkgDQo+ID4gcGVyc29ucyBvdGhlciB0aGFuIHRoZSBp bnRlbmRlZCByZWNpcGllbnQuIFRoYW5rIHlvdS4NCj4gPiBfX19fX19fX19f X19fDQo+ID4gDQo+ID4gX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX18NCj4gPiBzcXItdXNlcnMgbWFpbGluZyBsaXN0 DQo+ID4gc3FyLXVzZXJzQHNxcnVnLm9yZw0KPiA+IGh0dHA6Ly93d3cuc3Fy dWcub3JnL21haWxtYW4vbGlzdGluZm8vc3FyLXVzZXJzDQo+ID4gDQo+ID4g DQo+IA0KPiBDcsOpZXogdm90cmUgYWRyZXNzZSDDqWxlY3Ryb25pcXVlIHBy ZW5vbS5ub21AbGFwb3N0ZS5uZXQgDQo+IDEgR28gZCdlc3BhY2UgZGUgc3Rv Y2thZ2UsIGFudGktc3BhbSBldCBhbnRpLXZpcnVzIGludMOpZ3LDqXMuDQo+ IA0KPiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fXw0KPiBzcXItdXNlcnMgbWFpbGluZyBsaXN0DQo+IHNxci11c2Vy c0BzcXJ1Zy5vcmcNCj4gaHR0cDovL3d3dy5zcXJ1Zy5vcmcvbWFpbG1hbi9s aXN0aW5mby9zcXItdXNlcnMNCj4gX19fX19fX19fX19fXyBUaGUgaW5mb3Jt YXRpb24gY29udGFpbmVkIGluIHRoaXMgbWVzc2FnZSBpcyBwcm9wcmlldGFy eSBhbmQvb3IgY29uZmlkZW50aWFsLiBJZiB5b3UgYXJlIG5vdCB0aGUgaW50 ZW5kZWQgcmVjaXBpZW50LCBwbGVhc2U6IChpKSBkZWxldGUgdGhlIG1lc3Nh Z2UgYW5kIGFsbCBjb3BpZXM7IChpaSkgZG8gbm90IGRpc2Nsb3NlLCBkaXN0 cmlidXRlIG9yIHVzZSB0aGUgbWVzc2FnZSBpbiBhbnkgbWFubmVyOyBhbmQg KGlpaSkgbm90aWZ5IHRoZSBzZW5kZXIgaW1tZWRpYXRlbHkuIEluIGFkZGl0 aW9uLCBwbGVhc2UgYmUgYXdhcmUgdGhhdCBhbnkgbWVzc2FnZSBhZGRyZXNz ZWQgdG8gb3VyIGRvbWFpbiBpcyBzdWJqZWN0IHRvIGFyY2hpdmluZyBhbmQg cmV2aWV3IGJ5IHBlcnNvbnMgb3RoZXIgdGhhbiB0aGUgaW50ZW5kZWQgcmVj aXBpZW50LiBUaGFuayB5b3UuIF9fX19fX19fX19fX18gPg0KPiBbIChwYXMg ZGUgbm9tIGRlIGZpY2hpZXIpICgwLjEgS28pIF0NCg0KIENyw6lleiB2b3Ry ZSBhZHJlc3NlIMOpbGVjdHJvbmlxdWUgcHJlbm9tLm5vbUBsYXBvc3RlLm5l dCANCiAxIEdvIGQnZXNwYWNlIGRlIHN0b2NrYWdlLCBhbnRpLXNwYW0gZXQg YW50aS12aXJ1cyBpbnTDqWdyw6lzLg0KDQpfX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fXw0Kc3FyLXVzZXJzIG1haWxp bmcgbGlzdA0Kc3FyLXVzZXJzQHNxcnVnLm9yZw0KaHR0cDovL3d3dy5zcXJ1 Zy5vcmcvbWFpbG1hbi9saXN0aW5mby9zcXItdXNlcnMNCgpfX19fX19fX19f X19fCgpUaGUgaW5mb3JtYXRpb24gY29udGFpbmVkIGluIHRoaXMgbWVzc2Fn ZSBpcyBwcm9wcmlldGFyeSBhbmQvb3IgY29uZmlkZW50aWFsLiBJZiB5b3Ug YXJlIG5vdCB0aGUgCmludGVuZGVkIHJlY2lwaWVudCwgcGxlYXNlOiAoaSkg ZGVsZXRlIHRoZSBtZXNzYWdlIGFuZCBhbGwgY29waWVzOyAoaWkpIGRvIG5v dCBkaXNjbG9zZSwgCmRpc3RyaWJ1dGUgb3IgdXNlIHRoZSBtZXNzYWdlIGlu IGFueSBtYW5uZXI7IGFuZCAoaWlpKSBub3RpZnkgdGhlIHNlbmRlciBpbW1l ZGlhdGVseS4gSW4gYWRkaXRpb24sIApwbGVhc2UgYmUgYXdhcmUgdGhhdCBh bnkgbWVzc2FnZSBhZGRyZXNzZWQgdG8gb3VyIGRvbWFpbiBpcyBzdWJqZWN0 IHRvIGFyY2hpdmluZyBhbmQgcmV2aWV3IGJ5IApwZXJzb25zIG90aGVyIHRo YW4gdGhlIGludGVuZGVkIHJlY2lwaWVudC4gVGhhbmsgeW91LgpfX19fX19f X19fX19fCg== --===============1843637015== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --===============1843637015==-- From sqr-users-bounces@sqrug.org Fri Jul 10 11:00:00 2009 From: "franck.masson" Subject: RE: [sqr-users] Printing in Legal from portal Date: Fri, 10 Jul 2009 16:57:11 +0200 (CEST) so from your print windows selection you should be able to select propertie= s and select the tray=20 so it is nothing related to sqr=20 > Message du 10/07/09 16:48 > De : "Ojha, Dipin"=20 > A : "This list is for discussion about the SQR database reportinglanguage= from Hyperion Solutions."=20 > Copie =C3=A0 :=20 > Objet : RE: [sqr-users] Printing in Legal from portal > > The SQR generates the PDF output and I open it up from Acrobat Reader to = print the output. >=20 > -----Original Message----- > From: sqr-users-bounces+dipin.ojha=3Dfnis.com@sqrug.org [mailto:sqr-users= -bounces+dipin.ojha=3Dfnis.com@sqrug.org] On Behalf Of franck.masson > Sent: Friday, July 10, 2009 10:24 AM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: RE: [sqr-users] Printing in Legal from portal >=20 > how do you print your pdf ? > is it from acrobat reader on the desktop ? > or is it in your sqr ? >=20 >=20 >=20 >=20 > > Message du 10/07/09 16:04 > > De : "Ojha, Dipin"=20 > > A : sqr-users@sqrug.org > > Copie =C3=A0 :=20 > > Objet : RE: [sqr-users] Printing in Legal from portal > > > > Could you suggest on how I could start doing it? > > I have changed the paper-size to (14,8.5). I want the printer to print = from the legal tray (which is tray 3). > >=20 > > Thanks. > >=20 > > -----Original Message----- > > From: sqr-users-bounces+dipin.ojha=3Dfnis.com@sqrug.org [mailto:sqr-use= rs-bounces+dipin.ojha=3Dfnis.com@sqrug.org] On Behalf Of franck.masson > > Sent: Friday, July 10, 2009 9:52 AM > > To: This list is for discussion about the SQR database reporting langua= gefrom Hyperion Solutions. > > Subject: Re:[sqr-users] Printing in Legal from portal > >=20 > > you have to do it in your sqr code=20 > >=20 > >=20 > >=20 > >=20 > > > Message du 10/07/09 15:45 > > > De : "Ojha, Dipin"=20 > > > A : sqr-users@sqrug.org > > > Copie =C3=A0 :=20 > > > Objet : [sqr-users] Printing in Legal from portal > > > > > >=20 > > > Hi All, > > >=20 > > >=20 > > >=20 > > > I am generating my SQR reports from the Hyperion Portal in PDF format= . I want the printer settings, while I open the PDF, to be in Legal size by= default. Is there any way I could do that? Any suggestions will be appreci= ated. > > >=20 > > >=20 > > >=20 > > > Thanks. > > >=20 > > > _____________ > > >=20 > > > The information contained in this message is proprietary and/or confi= dential. If you are not the=20 > > > intended recipient, please: (i) delete the message and all copies; (i= i) do not disclose,=20 > > > distribute or use the message in any manner; and (iii) notify the sen= der immediately. In addition,=20 > > > please be aware that any message addressed to our domain is subject t= o archiving and review by=20 > > > persons other than the intended recipient. Thank you. > > > _____________ > > >=20 > > > _______________________________________________ > > > sqr-users mailing list > > > sqr-users@sqrug.org > > > http://www.sqrug.org/mailman/listinfo/sqr-users > > >=20 > > >=20 > >=20 > > Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 > > 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > _____________ The information contained in this message is proprietary = and/or confidential. If you are not the intended recipient, please: (i) del= ete the message and all copies; (ii) do not disclose, distribute or use the= message in any manner; and (iii) notify the sender immediately. In additio= n, please be aware that any message addressed to our domain is subject to a= rchiving and review by persons other than the intended recipient. Thank you= . _____________ > > > [ (pas de nom de fichier) (0.1 Ko) ] >=20 > Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 > 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > _____________ The information contained in this message is proprietary an= d/or confidential. If you are not the intended recipient, please: (i) delet= e the message and all copies; (ii) do not disclose, distribute or use the m= essage in any manner; and (iii) notify the sender immediately. In addition,= please be aware that any message addressed to our domain is subject to arc= hiving and review by persons other than the intended recipient. Thank you. = _____________ > > [ (pas de nom de fichier) (0.1 Ko) ] Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jul 10 11:09:37 2009 Subject: RE: [sqr-users] Printing in Legal from portal Date: Fri, 10 Jul 2009 10:06:31 -0500 From: "Ojha, Dipin" --===============1598798302== Content-class: urn:content-classes:message Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 VGhhbmsgeW91IGZvciB5b3VyIHJlcGx5LiBJIGFtIGFibGUgdG8gZG8gdGhh dC4gSSB3YXMganVzdCB0cnlpbmcgdG8gcHJpbnQgaXQgYnkgZGVmYXVsdCBp biBsZWdhbCBzaXplIHdpdGhvdXQgaGF2aW5nIHRoZSB1c2VyIHRvIGNoYW5n ZSB0aGUgcHJvcGVydGllcyB3aGlsZSBwcmludGluZyB0aGUgcmVwb3J0LiBX aGVuIEkgcHJpbnQgc29tZSBvdGhlciByZXBvcnRzIHRoYXQgYXJlIGluIEE0 LCBpdCBzaG91bGQgYXV0b21hdGljYWxseSBzd2l0Y2ggdG8gdGhhdCBzaXpl LiBEbyB5b3Uga25vdyBpZiB0aGlzIGlzIHBvc3NpYmxlIGluIFNRUj8NCg0K LS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IHNxci11c2Vycy1i b3VuY2VzK2RpcGluLm9qaGE9Zm5pcy5jb21Ac3FydWcub3JnIFttYWlsdG86 c3FyLXVzZXJzLWJvdW5jZXMrZGlwaW4ub2poYT1mbmlzLmNvbUBzcXJ1Zy5v cmddIE9uIEJlaGFsZiBPZiBmcmFuY2subWFzc29uDQpTZW50OiBGcmlkYXks IEp1bHkgMTAsIDIwMDkgMTA6NTcgQU0NClRvOiBUaGlzIGxpc3QgaXMgZm9y IGRpc2N1c3Npb24gYWJvdXQgdGhlIFNRUiBkYXRhYmFzZSByZXBvcnRpbmcg bGFuZ3VhZ2Vmcm9tIEh5cGVyaW9uIFNvbHV0aW9ucy4NClN1YmplY3Q6IFJF OiBbc3FyLXVzZXJzXSBQcmludGluZyBpbiBMZWdhbCBmcm9tIHBvcnRhbA0K DQpzbyBmcm9tIHlvdXIgcHJpbnQgd2luZG93cyBzZWxlY3Rpb24geW91IHNo b3VsZCBiZSBhYmxlIHRvIHNlbGVjdCBwcm9wZXJ0aWVzIGFuZCBzZWxlY3Qg dGhlIHRyYXkgDQpzbyBpdCBpcyBub3RoaW5nIHJlbGF0ZWQgdG8gc3FyIA0K DQoNCg0KPiBNZXNzYWdlIGR1IDEwLzA3LzA5IDE2OjQ4DQo+IERlIDogIk9q aGEsIERpcGluIiANCj4gQSA6ICJUaGlzIGxpc3QgaXMgZm9yIGRpc2N1c3Np b24gYWJvdXQgdGhlIFNRUiBkYXRhYmFzZSByZXBvcnRpbmdsYW5ndWFnZSBm cm9tICBIeXBlcmlvbiBTb2x1dGlvbnMuIiANCj4gQ29waWUgw6AgOiANCj4g T2JqZXQgOiBSRTogW3Nxci11c2Vyc10gUHJpbnRpbmcgaW4gTGVnYWwgZnJv bSBwb3J0YWwNCj4NCj4gVGhlIFNRUiBnZW5lcmF0ZXMgdGhlIFBERiBvdXRw dXQgYW5kIEkgb3BlbiBpdCB1cCBmcm9tIEFjcm9iYXQgUmVhZGVyIHRvIHBy aW50IHRoZSBvdXRwdXQuDQo+IA0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2Ut LS0tLQ0KPiBGcm9tOiBzcXItdXNlcnMtYm91bmNlcytkaXBpbi5vamhhPWZu aXMuY29tQHNxcnVnLm9yZyBbbWFpbHRvOnNxci11c2Vycy1ib3VuY2VzK2Rp cGluLm9qaGE9Zm5pcy5jb21Ac3FydWcub3JnXSBPbiBCZWhhbGYgT2YgZnJh bmNrLm1hc3Nvbg0KPiBTZW50OiBGcmlkYXksIEp1bHkgMTAsIDIwMDkgMTA6 MjQgQU0NCj4gVG86IFRoaXMgbGlzdCBpcyBmb3IgZGlzY3Vzc2lvbiBhYm91 dCB0aGUgU1FSIGRhdGFiYXNlIHJlcG9ydGluZyBsYW5ndWFnZWZyb20gSHlw ZXJpb24gU29sdXRpb25zLg0KPiBTdWJqZWN0OiBSRTogW3Nxci11c2Vyc10g UHJpbnRpbmcgaW4gTGVnYWwgZnJvbSBwb3J0YWwNCj4gDQo+IGhvdyBkbyB5 b3UgcHJpbnQgeW91ciBwZGYgPw0KPiBpcyBpdCBmcm9tIGFjcm9iYXQgcmVh ZGVyIG9uIHRoZSBkZXNrdG9wID8NCj4gb3IgaXMgaXQgaW4geW91ciBzcXIg Pw0KPiANCj4gDQo+IA0KPiANCj4gPiBNZXNzYWdlIGR1IDEwLzA3LzA5IDE2 OjA0DQo+ID4gRGUgOiAiT2poYSwgRGlwaW4iIA0KPiA+IEEgOiBzcXItdXNl cnNAc3FydWcub3JnDQo+ID4gQ29waWUgw6AgOiANCj4gPiBPYmpldCA6IFJF OiBbc3FyLXVzZXJzXSBQcmludGluZyBpbiBMZWdhbCBmcm9tIHBvcnRhbA0K PiA+DQo+ID4gQ291bGQgeW91IHN1Z2dlc3Qgb24gaG93IEkgY291bGQgc3Rh cnQgZG9pbmcgaXQ/DQo+ID4gSSBoYXZlIGNoYW5nZWQgdGhlIHBhcGVyLXNp emUgdG8gKDE0LDguNSkuIEkgd2FudCB0aGUgcHJpbnRlciB0byBwcmludCBm cm9tIHRoZSBsZWdhbCB0cmF5ICh3aGljaCBpcyB0cmF5IDMpLg0KPiA+IA0K PiA+IFRoYW5rcy4NCj4gPiANCj4gPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2Ut LS0tLQ0KPiA+IEZyb206IHNxci11c2Vycy1ib3VuY2VzK2RpcGluLm9qaGE9 Zm5pcy5jb21Ac3FydWcub3JnIFttYWlsdG86c3FyLXVzZXJzLWJvdW5jZXMr ZGlwaW4ub2poYT1mbmlzLmNvbUBzcXJ1Zy5vcmddIE9uIEJlaGFsZiBPZiBm cmFuY2subWFzc29uDQo+ID4gU2VudDogRnJpZGF5LCBKdWx5IDEwLCAyMDA5 IDk6NTIgQU0NCj4gPiBUbzogVGhpcyBsaXN0IGlzIGZvciBkaXNjdXNzaW9u IGFib3V0IHRoZSBTUVIgZGF0YWJhc2UgcmVwb3J0aW5nIGxhbmd1YWdlZnJv bSBIeXBlcmlvbiBTb2x1dGlvbnMuDQo+ID4gU3ViamVjdDogUmU6W3Nxci11 c2Vyc10gUHJpbnRpbmcgaW4gTGVnYWwgZnJvbSBwb3J0YWwNCj4gPiANCj4g PiB5b3UgaGF2ZSB0byBkbyBpdCBpbiB5b3VyIHNxciBjb2RlIA0KPiA+IA0K PiA+IA0KPiA+IA0KPiA+IA0KPiA+ID4gTWVzc2FnZSBkdSAxMC8wNy8wOSAx NTo0NQ0KPiA+ID4gRGUgOiAiT2poYSwgRGlwaW4iIA0KPiA+ID4gQSA6IHNx ci11c2Vyc0BzcXJ1Zy5vcmcNCj4gPiA+IENvcGllIMOgIDogDQo+ID4gPiBP YmpldCA6IFtzcXItdXNlcnNdIFByaW50aW5nIGluIExlZ2FsIGZyb20gcG9y dGFsDQo+ID4gPg0KPiA+ID4gDQo+ID4gPiBIaSBBbGwsDQo+ID4gPiANCj4g PiA+IA0KPiA+ID4gDQo+ID4gPiBJIGFtIGdlbmVyYXRpbmcgbXkgU1FSIHJl cG9ydHMgZnJvbSB0aGUgSHlwZXJpb24gUG9ydGFsIGluIFBERiBmb3JtYXQu IEkgd2FudCB0aGUgcHJpbnRlciBzZXR0aW5ncywgd2hpbGUgSSBvcGVuIHRo ZSBQREYsIHRvIGJlIGluIExlZ2FsIHNpemUgYnkgZGVmYXVsdC4gSXMgdGhl cmUgYW55IHdheSBJIGNvdWxkIGRvIHRoYXQ/IEFueSBzdWdnZXN0aW9ucyB3 aWxsIGJlIGFwcHJlY2lhdGVkLg0KPiA+ID4gDQo+ID4gPiANCj4gPiA+IA0K PiA+ID4gVGhhbmtzLg0KPiA+ID4gDQo+ID4gPiBfX19fX19fX19fX19fDQo+ ID4gPiANCj4gPiA+IFRoZSBpbmZvcm1hdGlvbiBjb250YWluZWQgaW4gdGhp cyBtZXNzYWdlIGlzIHByb3ByaWV0YXJ5IGFuZC9vciBjb25maWRlbnRpYWwu IElmIHlvdSBhcmUgbm90IHRoZSANCj4gPiA+IGludGVuZGVkIHJlY2lwaWVu dCwgcGxlYXNlOiAoaSkgZGVsZXRlIHRoZSBtZXNzYWdlIGFuZCBhbGwgY29w aWVzOyAoaWkpIGRvIG5vdCBkaXNjbG9zZSwgDQo+ID4gPiBkaXN0cmlidXRl IG9yIHVzZSB0aGUgbWVzc2FnZSBpbiBhbnkgbWFubmVyOyBhbmQgKGlpaSkg bm90aWZ5IHRoZSBzZW5kZXIgaW1tZWRpYXRlbHkuIEluIGFkZGl0aW9uLCAN Cj4gPiA+IHBsZWFzZSBiZSBhd2FyZSB0aGF0IGFueSBtZXNzYWdlIGFkZHJl c3NlZCB0byBvdXIgZG9tYWluIGlzIHN1YmplY3QgdG8gYXJjaGl2aW5nIGFu ZCByZXZpZXcgYnkgDQo+ID4gPiBwZXJzb25zIG90aGVyIHRoYW4gdGhlIGlu dGVuZGVkIHJlY2lwaWVudC4gVGhhbmsgeW91Lg0KPiA+ID4gX19fX19fX19f X19fXw0KPiA+ID4gDQo+ID4gPiBfX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fXw0KPiA+ID4gc3FyLXVzZXJzIG1haWxp bmcgbGlzdA0KPiA+ID4gc3FyLXVzZXJzQHNxcnVnLm9yZw0KPiA+ID4gaHR0 cDovL3d3dy5zcXJ1Zy5vcmcvbWFpbG1hbi9saXN0aW5mby9zcXItdXNlcnMN Cj4gPiA+IA0KPiA+ID4gDQo+ID4gDQo+ID4gQ3LDqWV6IHZvdHJlIGFkcmVz c2Ugw6lsZWN0cm9uaXF1ZSBwcmVub20ubm9tQGxhcG9zdGUubmV0IA0KPiA+ IDEgR28gZCdlc3BhY2UgZGUgc3RvY2thZ2UsIGFudGktc3BhbSBldCBhbnRp LXZpcnVzIGludMOpZ3LDqXMuDQo+ID4gDQo+ID4gX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCj4gPiBzcXItdXNl cnMgbWFpbGluZyBsaXN0DQo+ID4gc3FyLXVzZXJzQHNxcnVnLm9yZw0KPiA+ IGh0dHA6Ly93d3cuc3FydWcub3JnL21haWxtYW4vbGlzdGluZm8vc3FyLXVz ZXJzDQo+ID4gX19fX19fX19fX19fXyBUaGUgaW5mb3JtYXRpb24gY29udGFp bmVkIGluIHRoaXMgbWVzc2FnZSBpcyBwcm9wcmlldGFyeSBhbmQvb3IgY29u ZmlkZW50aWFsLiBJZiB5b3UgYXJlIG5vdCB0aGUgaW50ZW5kZWQgcmVjaXBp ZW50LCBwbGVhc2U6IChpKSBkZWxldGUgdGhlIG1lc3NhZ2UgYW5kIGFsbCBj b3BpZXM7IChpaSkgZG8gbm90IGRpc2Nsb3NlLCBkaXN0cmlidXRlIG9yIHVz ZSB0aGUgbWVzc2FnZSBpbiBhbnkgbWFubmVyOyBhbmQgKGlpaSkgbm90aWZ5 IHRoZSBzZW5kZXIgaW1tZWRpYXRlbHkuIEluIGFkZGl0aW9uLCBwbGVhc2Ug YmUgYXdhcmUgdGhhdCBhbnkgbWVzc2FnZSBhZGRyZXNzZWQgdG8gb3VyIGRv bWFpbiBpcyBzdWJqZWN0IHRvIGFyY2hpdmluZyBhbmQgcmV2aWV3IGJ5IHBl cnNvbnMgb3RoZXIgdGhhbiB0aGUgaW50ZW5kZWQgcmVjaXBpZW50LiBUaGFu ayB5b3UuIF9fX19fX19fX19fX18gPg0KPiA+IFsgKHBhcyBkZSBub20gZGUg ZmljaGllcikgKDAuMSBLbykgXQ0KPiANCj4gQ3LDqWV6IHZvdHJlIGFkcmVz c2Ugw6lsZWN0cm9uaXF1ZSBwcmVub20ubm9tQGxhcG9zdGUubmV0IA0KPiAx IEdvIGQnZXNwYWNlIGRlIHN0b2NrYWdlLCBhbnRpLXNwYW0gZXQgYW50aS12 aXJ1cyBpbnTDqWdyw6lzLg0KPiANCj4gX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18NCj4gc3FyLXVzZXJzIG1haWxp bmcgbGlzdA0KPiBzcXItdXNlcnNAc3FydWcub3JnDQo+IGh0dHA6Ly93d3cu c3FydWcub3JnL21haWxtYW4vbGlzdGluZm8vc3FyLXVzZXJzDQo+IF9fX19f X19fX19fX18gVGhlIGluZm9ybWF0aW9uIGNvbnRhaW5lZCBpbiB0aGlzIG1l c3NhZ2UgaXMgcHJvcHJpZXRhcnkgYW5kL29yIGNvbmZpZGVudGlhbC4gSWYg eW91IGFyZSBub3QgdGhlIGludGVuZGVkIHJlY2lwaWVudCwgcGxlYXNlOiAo aSkgZGVsZXRlIHRoZSBtZXNzYWdlIGFuZCBhbGwgY29waWVzOyAoaWkpIGRv IG5vdCBkaXNjbG9zZSwgZGlzdHJpYnV0ZSBvciB1c2UgdGhlIG1lc3NhZ2Ug aW4gYW55IG1hbm5lcjsgYW5kIChpaWkpIG5vdGlmeSB0aGUgc2VuZGVyIGlt bWVkaWF0ZWx5LiBJbiBhZGRpdGlvbiwgcGxlYXNlIGJlIGF3YXJlIHRoYXQg YW55IG1lc3NhZ2UgYWRkcmVzc2VkIHRvIG91ciBkb21haW4gaXMgc3ViamVj dCB0byBhcmNoaXZpbmcgYW5kIHJldmlldyBieSBwZXJzb25zIG90aGVyIHRo YW4gdGhlIGludGVuZGVkIHJlY2lwaWVudC4gVGhhbmsgeW91LiBfX19fX19f X19fX19fID4NCj4gWyAocGFzIGRlIG5vbSBkZSBmaWNoaWVyKSAoMC4xIEtv KSBdDQoNCiBDcsOpZXogdm90cmUgYWRyZXNzZSDDqWxlY3Ryb25pcXVlIHBy ZW5vbS5ub21AbGFwb3N0ZS5uZXQgDQogMSBHbyBkJ2VzcGFjZSBkZSBzdG9j a2FnZSwgYW50aS1zcGFtIGV0IGFudGktdmlydXMgaW50w6lncsOpcy4NCg0K X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X18NCnNxci11c2VycyBtYWlsaW5nIGxpc3QNCnNxci11c2Vyc0BzcXJ1Zy5v cmcNCmh0dHA6Ly93d3cuc3FydWcub3JnL21haWxtYW4vbGlzdGluZm8vc3Fy LXVzZXJzDQoKX19fX19fX19fX19fXwoKVGhlIGluZm9ybWF0aW9uIGNvbnRh aW5lZCBpbiB0aGlzIG1lc3NhZ2UgaXMgcHJvcHJpZXRhcnkgYW5kL29yIGNv bmZpZGVudGlhbC4gSWYgeW91IGFyZSBub3QgdGhlIAppbnRlbmRlZCByZWNp cGllbnQsIHBsZWFzZTogKGkpIGRlbGV0ZSB0aGUgbWVzc2FnZSBhbmQgYWxs IGNvcGllczsgKGlpKSBkbyBub3QgZGlzY2xvc2UsIApkaXN0cmlidXRlIG9y IHVzZSB0aGUgbWVzc2FnZSBpbiBhbnkgbWFubmVyOyBhbmQgKGlpaSkgbm90 aWZ5IHRoZSBzZW5kZXIgaW1tZWRpYXRlbHkuIEluIGFkZGl0aW9uLCAKcGxl YXNlIGJlIGF3YXJlIHRoYXQgYW55IG1lc3NhZ2UgYWRkcmVzc2VkIHRvIG91 ciBkb21haW4gaXMgc3ViamVjdCB0byBhcmNoaXZpbmcgYW5kIHJldmlldyBi eSAKcGVyc29ucyBvdGhlciB0aGFuIHRoZSBpbnRlbmRlZCByZWNpcGllbnQu IFRoYW5rIHlvdS4KX19fX19fX19fX19fXwo= --===============1598798302== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --===============1598798302==-- From sqr-users-bounces@sqrug.org Fri Jul 10 11:22:08 2009 From: "Torres, Jennifer" Date: Fri, 10 Jul 2009 09:18:26 -0600 Subject: RE: [sqr-users] Printing in Legal from portal --===============2028838720== Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 VHJ5IHVzaW5nIHRoZSBwcmludC1kaXJlY3QgY29tbWFuZCAtIHRoZSBpbmZv cm1hdGlvbiBuZWVkZWQgaW4geW91ciBsaW5lIG9mIGNvZGUgaXMgcHJpbnRl ciBzcGVjaWZpYy4NCg0KUG9zdC1zY3JpcHQgcHJpbnRpbmcgZXhhbXBsZTog DQpwcmludC1kaXJlY3QgcHJpbnRlcj1wcyAnMSBzZXRwYXBlcnRyYXknDQoN Ci0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBzcXItdXNlcnMt Ym91bmNlcytqZW5uaWZlci50b3JyZXM9Y29sb3N0YXRlLXB1ZWJsby5lZHVA c3FydWcub3JnIFttYWlsdG86c3FyLXVzZXJzLWJvdW5jZXMramVubmlmZXIu dG9ycmVzPWNvbG9zdGF0ZS1wdWVibG8uZWR1QHNxcnVnLm9yZ10gT24gQmVo YWxmIE9mIE9qaGEsIERpcGluDQpTZW50OiBGcmlkYXksIEp1bHkgMTAsIDIw MDkgOTowNyBBTQ0KVG86IFRoaXMgbGlzdCBpcyBmb3IgZGlzY3Vzc2lvbiBh Ym91dCB0aGUgU1FSIGRhdGFiYXNlIHJlcG9ydGluZ2xhbmd1YWdlIGZyb20g SHlwZXJpb24gU29sdXRpb25zLg0KU3ViamVjdDogUkU6IFtzcXItdXNlcnNd IFByaW50aW5nIGluIExlZ2FsIGZyb20gcG9ydGFsDQoNClRoYW5rIHlvdSBm b3IgeW91ciByZXBseS4gSSBhbSBhYmxlIHRvIGRvIHRoYXQuIEkgd2FzIGp1 c3QgdHJ5aW5nIHRvIHByaW50IGl0IGJ5IGRlZmF1bHQgaW4gbGVnYWwgc2l6 ZSB3aXRob3V0IGhhdmluZyB0aGUgdXNlciB0byBjaGFuZ2UgdGhlIHByb3Bl cnRpZXMgd2hpbGUgcHJpbnRpbmcgdGhlIHJlcG9ydC4gV2hlbiBJIHByaW50 IHNvbWUgb3RoZXIgcmVwb3J0cyB0aGF0IGFyZSBpbiBBNCwgaXQgc2hvdWxk IGF1dG9tYXRpY2FsbHkgc3dpdGNoIHRvIHRoYXQgc2l6ZS4gRG8geW91IGtu b3cgaWYgdGhpcyBpcyBwb3NzaWJsZSBpbiBTUVI/DQoNCi0tLS0tT3JpZ2lu YWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBzcXItdXNlcnMtYm91bmNlcytkaXBp bi5vamhhPWZuaXMuY29tQHNxcnVnLm9yZyBbbWFpbHRvOnNxci11c2Vycy1i b3VuY2VzK2RpcGluLm9qaGE9Zm5pcy5jb21Ac3FydWcub3JnXSBPbiBCZWhh bGYgT2YgZnJhbmNrLm1hc3Nvbg0KU2VudDogRnJpZGF5LCBKdWx5IDEwLCAy MDA5IDEwOjU3IEFNDQpUbzogVGhpcyBsaXN0IGlzIGZvciBkaXNjdXNzaW9u IGFib3V0IHRoZSBTUVIgZGF0YWJhc2UgcmVwb3J0aW5nIGxhbmd1YWdlZnJv bSBIeXBlcmlvbiBTb2x1dGlvbnMuDQpTdWJqZWN0OiBSRTogW3Nxci11c2Vy c10gUHJpbnRpbmcgaW4gTGVnYWwgZnJvbSBwb3J0YWwNCg0Kc28gZnJvbSB5 b3VyIHByaW50IHdpbmRvd3Mgc2VsZWN0aW9uIHlvdSBzaG91bGQgYmUgYWJs ZSB0byBzZWxlY3QgcHJvcGVydGllcyBhbmQgc2VsZWN0IHRoZSB0cmF5IHNv IGl0IGlzIG5vdGhpbmcgcmVsYXRlZCB0byBzcXIgDQoNCg0KDQo+IE1lc3Nh Z2UgZHUgMTAvMDcvMDkgMTY6NDgNCj4gRGUgOiAiT2poYSwgRGlwaW4iIA0K PiBBIDogIlRoaXMgbGlzdCBpcyBmb3IgZGlzY3Vzc2lvbiBhYm91dCB0aGUg U1FSIGRhdGFiYXNlIHJlcG9ydGluZ2xhbmd1YWdlIGZyb20gIEh5cGVyaW9u IFNvbHV0aW9ucy4iIA0KPiBDb3BpZSDDoCA6IA0KPiBPYmpldCA6IFJFOiBb c3FyLXVzZXJzXSBQcmludGluZyBpbiBMZWdhbCBmcm9tIHBvcnRhbA0KPg0K PiBUaGUgU1FSIGdlbmVyYXRlcyB0aGUgUERGIG91dHB1dCBhbmQgSSBvcGVu IGl0IHVwIGZyb20gQWNyb2JhdCBSZWFkZXIgdG8gcHJpbnQgdGhlIG91dHB1 dC4NCj4gDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206 IHNxci11c2Vycy1ib3VuY2VzK2RpcGluLm9qaGE9Zm5pcy5jb21Ac3FydWcu b3JnIFttYWlsdG86c3FyLXVzZXJzLWJvdW5jZXMrZGlwaW4ub2poYT1mbmlz LmNvbUBzcXJ1Zy5vcmddIE9uIEJlaGFsZiBPZiBmcmFuY2subWFzc29uDQo+ IFNlbnQ6IEZyaWRheSwgSnVseSAxMCwgMjAwOSAxMDoyNCBBTQ0KPiBUbzog VGhpcyBsaXN0IGlzIGZvciBkaXNjdXNzaW9uIGFib3V0IHRoZSBTUVIgZGF0 YWJhc2UgcmVwb3J0aW5nIGxhbmd1YWdlZnJvbSBIeXBlcmlvbiBTb2x1dGlv bnMuDQo+IFN1YmplY3Q6IFJFOiBbc3FyLXVzZXJzXSBQcmludGluZyBpbiBM ZWdhbCBmcm9tIHBvcnRhbA0KPiANCj4gaG93IGRvIHlvdSBwcmludCB5b3Vy IHBkZiA/DQo+IGlzIGl0IGZyb20gYWNyb2JhdCByZWFkZXIgb24gdGhlIGRl c2t0b3AgPw0KPiBvciBpcyBpdCBpbiB5b3VyIHNxciA/DQo+IA0KPiANCj4g DQo+IA0KPiA+IE1lc3NhZ2UgZHUgMTAvMDcvMDkgMTY6MDQNCj4gPiBEZSA6 ICJPamhhLCBEaXBpbiIgDQo+ID4gQSA6IHNxci11c2Vyc0BzcXJ1Zy5vcmcN Cj4gPiBDb3BpZSDDoCA6IA0KPiA+IE9iamV0IDogUkU6IFtzcXItdXNlcnNd IFByaW50aW5nIGluIExlZ2FsIGZyb20gcG9ydGFsDQo+ID4NCj4gPiBDb3Vs ZCB5b3Ugc3VnZ2VzdCBvbiBob3cgSSBjb3VsZCBzdGFydCBkb2luZyBpdD8N Cj4gPiBJIGhhdmUgY2hhbmdlZCB0aGUgcGFwZXItc2l6ZSB0byAoMTQsOC41 KS4gSSB3YW50IHRoZSBwcmludGVyIHRvIHByaW50IGZyb20gdGhlIGxlZ2Fs IHRyYXkgKHdoaWNoIGlzIHRyYXkgMykuDQo+ID4gDQo+ID4gVGhhbmtzLg0K PiA+IA0KPiA+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+ID4gRnJv bTogc3FyLXVzZXJzLWJvdW5jZXMrZGlwaW4ub2poYT1mbmlzLmNvbUBzcXJ1 Zy5vcmcgW21haWx0bzpzcXItdXNlcnMtYm91bmNlcytkaXBpbi5vamhhPWZu aXMuY29tQHNxcnVnLm9yZ10gT24gQmVoYWxmIE9mIGZyYW5jay5tYXNzb24N Cj4gPiBTZW50OiBGcmlkYXksIEp1bHkgMTAsIDIwMDkgOTo1MiBBTQ0KPiA+ IFRvOiBUaGlzIGxpc3QgaXMgZm9yIGRpc2N1c3Npb24gYWJvdXQgdGhlIFNR UiBkYXRhYmFzZSByZXBvcnRpbmcgbGFuZ3VhZ2Vmcm9tIEh5cGVyaW9uIFNv bHV0aW9ucy4NCj4gPiBTdWJqZWN0OiBSZTpbc3FyLXVzZXJzXSBQcmludGlu ZyBpbiBMZWdhbCBmcm9tIHBvcnRhbA0KPiA+IA0KPiA+IHlvdSBoYXZlIHRv IGRvIGl0IGluIHlvdXIgc3FyIGNvZGUgDQo+ID4gDQo+ID4gDQo+ID4gDQo+ ID4gDQo+ID4gPiBNZXNzYWdlIGR1IDEwLzA3LzA5IDE1OjQ1DQo+ID4gPiBE ZSA6ICJPamhhLCBEaXBpbiIgDQo+ID4gPiBBIDogc3FyLXVzZXJzQHNxcnVn Lm9yZw0KPiA+ID4gQ29waWUgw6AgOiANCj4gPiA+IE9iamV0IDogW3Nxci11 c2Vyc10gUHJpbnRpbmcgaW4gTGVnYWwgZnJvbSBwb3J0YWwNCj4gPiA+DQo+ ID4gPiANCj4gPiA+IEhpIEFsbCwNCj4gPiA+IA0KPiA+ID4gDQo+ID4gPiAN Cj4gPiA+IEkgYW0gZ2VuZXJhdGluZyBteSBTUVIgcmVwb3J0cyBmcm9tIHRo ZSBIeXBlcmlvbiBQb3J0YWwgaW4gUERGIGZvcm1hdC4gSSB3YW50IHRoZSBw cmludGVyIHNldHRpbmdzLCB3aGlsZSBJIG9wZW4gdGhlIFBERiwgdG8gYmUg aW4gTGVnYWwgc2l6ZSBieSBkZWZhdWx0LiBJcyB0aGVyZSBhbnkgd2F5IEkg Y291bGQgZG8gdGhhdD8gQW55IHN1Z2dlc3Rpb25zIHdpbGwgYmUgYXBwcmVj aWF0ZWQuDQo+ID4gPiANCj4gPiA+IA0KPiA+ID4gDQo+ID4gPiBUaGFua3Mu DQo+ID4gPiANCj4gPiA+IF9fX19fX19fX19fX18NCj4gPiA+IA0KPiA+ID4g VGhlIGluZm9ybWF0aW9uIGNvbnRhaW5lZCBpbiB0aGlzIG1lc3NhZ2UgaXMg cHJvcHJpZXRhcnkgYW5kL29yIGNvbmZpZGVudGlhbC4gSWYgeW91IGFyZSBu b3QgdGhlIA0KPiA+ID4gaW50ZW5kZWQgcmVjaXBpZW50LCBwbGVhc2U6IChp KSBkZWxldGUgdGhlIG1lc3NhZ2UgYW5kIGFsbCBjb3BpZXM7IChpaSkgZG8g bm90IGRpc2Nsb3NlLCANCj4gPiA+IGRpc3RyaWJ1dGUgb3IgdXNlIHRoZSBt ZXNzYWdlIGluIGFueSBtYW5uZXI7IGFuZCAoaWlpKSBub3RpZnkgdGhlIHNl bmRlciBpbW1lZGlhdGVseS4gSW4gYWRkaXRpb24sIA0KPiA+ID4gcGxlYXNl IGJlIGF3YXJlIHRoYXQgYW55IG1lc3NhZ2UgYWRkcmVzc2VkIHRvIG91ciBk b21haW4gaXMgc3ViamVjdCB0byBhcmNoaXZpbmcgYW5kIHJldmlldyBieSAN Cj4gPiA+IHBlcnNvbnMgb3RoZXIgdGhhbiB0aGUgaW50ZW5kZWQgcmVjaXBp ZW50LiBUaGFuayB5b3UuDQo+ID4gPiBfX19fX19fX19fX19fDQo+ID4gPiAN Cj4gPiA+IF9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fDQo+ID4gPiBzcXItdXNlcnMgbWFpbGluZyBsaXN0DQo+ID4g PiBzcXItdXNlcnNAc3FydWcub3JnDQo+ID4gPiBodHRwOi8vd3d3LnNxcnVn Lm9yZy9tYWlsbWFuL2xpc3RpbmZvL3Nxci11c2Vycw0KPiA+ID4gDQo+ID4g PiANCj4gPiANCj4gPiBDcsOpZXogdm90cmUgYWRyZXNzZSDDqWxlY3Ryb25p cXVlIHByZW5vbS5ub21AbGFwb3N0ZS5uZXQgDQo+ID4gMSBHbyBkJ2VzcGFj ZSBkZSBzdG9ja2FnZSwgYW50aS1zcGFtIGV0IGFudGktdmlydXMgaW50w6ln csOpcy4NCj4gPiANCj4gPiBfX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fXw0KPiA+IHNxci11c2VycyBtYWlsaW5nIGxp c3QNCj4gPiBzcXItdXNlcnNAc3FydWcub3JnDQo+ID4gaHR0cDovL3d3dy5z cXJ1Zy5vcmcvbWFpbG1hbi9saXN0aW5mby9zcXItdXNlcnMNCj4gPiBfX19f X19fX19fX19fIFRoZSBpbmZvcm1hdGlvbiBjb250YWluZWQgaW4gdGhpcyBt ZXNzYWdlIGlzIHByb3ByaWV0YXJ5IGFuZC9vciBjb25maWRlbnRpYWwuIElm IHlvdSBhcmUgbm90IHRoZSBpbnRlbmRlZCByZWNpcGllbnQsIHBsZWFzZTog KGkpIGRlbGV0ZSB0aGUgbWVzc2FnZSBhbmQgYWxsIGNvcGllczsgKGlpKSBk byBub3QgZGlzY2xvc2UsIGRpc3RyaWJ1dGUgb3IgdXNlIHRoZSBtZXNzYWdl IGluIGFueSBtYW5uZXI7IGFuZCAoaWlpKSBub3RpZnkgdGhlIHNlbmRlciBp bW1lZGlhdGVseS4gSW4gYWRkaXRpb24sIHBsZWFzZSBiZSBhd2FyZSB0aGF0 IGFueSBtZXNzYWdlIGFkZHJlc3NlZCB0byBvdXIgZG9tYWluIGlzIHN1Ympl Y3QgdG8gYXJjaGl2aW5nIGFuZCByZXZpZXcgYnkgcGVyc29ucyBvdGhlciB0 aGFuIHRoZSBpbnRlbmRlZCByZWNpcGllbnQuIFRoYW5rIHlvdS4gX19fX19f X19fX19fXyA+DQo+ID4gWyAocGFzIGRlIG5vbSBkZSBmaWNoaWVyKSAoMC4x IEtvKSBdDQo+IA0KPiBDcsOpZXogdm90cmUgYWRyZXNzZSDDqWxlY3Ryb25p cXVlIHByZW5vbS5ub21AbGFwb3N0ZS5uZXQgDQo+IDEgR28gZCdlc3BhY2Ug ZGUgc3RvY2thZ2UsIGFudGktc3BhbSBldCBhbnRpLXZpcnVzIGludMOpZ3LD qXMuDQo+IA0KPiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fXw0KPiBzcXItdXNlcnMgbWFpbGluZyBsaXN0DQo+IHNx ci11c2Vyc0BzcXJ1Zy5vcmcNCj4gaHR0cDovL3d3dy5zcXJ1Zy5vcmcvbWFp bG1hbi9saXN0aW5mby9zcXItdXNlcnMNCj4gX19fX19fX19fX19fXyBUaGUg aW5mb3JtYXRpb24gY29udGFpbmVkIGluIHRoaXMgbWVzc2FnZSBpcyBwcm9w cmlldGFyeSBhbmQvb3IgY29uZmlkZW50aWFsLiBJZiB5b3UgYXJlIG5vdCB0 aGUgaW50ZW5kZWQgcmVjaXBpZW50LCBwbGVhc2U6IChpKSBkZWxldGUgdGhl IG1lc3NhZ2UgYW5kIGFsbCBjb3BpZXM7IChpaSkgZG8gbm90IGRpc2Nsb3Nl LCBkaXN0cmlidXRlIG9yIHVzZSB0aGUgbWVzc2FnZSBpbiBhbnkgbWFubmVy OyBhbmQgKGlpaSkgbm90aWZ5IHRoZSBzZW5kZXIgaW1tZWRpYXRlbHkuIElu IGFkZGl0aW9uLCBwbGVhc2UgYmUgYXdhcmUgdGhhdCBhbnkgbWVzc2FnZSBh ZGRyZXNzZWQgdG8gb3VyIGRvbWFpbiBpcyBzdWJqZWN0IHRvIGFyY2hpdmlu ZyBhbmQgcmV2aWV3IGJ5IHBlcnNvbnMgb3RoZXIgdGhhbiB0aGUgaW50ZW5k ZWQgcmVjaXBpZW50LiBUaGFuayB5b3UuIF9fX19fX19fX19fX18gPg0KPiBb IChwYXMgZGUgbm9tIGRlIGZpY2hpZXIpICgwLjEgS28pIF0NCg0KIENyw6ll eiB2b3RyZSBhZHJlc3NlIMOpbGVjdHJvbmlxdWUgcHJlbm9tLm5vbUBsYXBv c3RlLm5ldCANCiAxIEdvIGQnZXNwYWNlIGRlIHN0b2NrYWdlLCBhbnRpLXNw YW0gZXQgYW50aS12aXJ1cyBpbnTDqWdyw6lzLg0KDQpfX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0Kc3FyLXVzZXJz IG1haWxpbmcgbGlzdA0Kc3FyLXVzZXJzQHNxcnVnLm9yZw0KaHR0cDovL3d3 dy5zcXJ1Zy5vcmcvbWFpbG1hbi9saXN0aW5mby9zcXItdXNlcnMNCg0KX19f X19fX19fX19fXw0KDQpUaGUgaW5mb3JtYXRpb24gY29udGFpbmVkIGluIHRo aXMgbWVzc2FnZSBpcyBwcm9wcmlldGFyeSBhbmQvb3IgY29uZmlkZW50aWFs LiBJZiB5b3UgYXJlIG5vdCB0aGUgDQppbnRlbmRlZCByZWNpcGllbnQsIHBs ZWFzZTogKGkpIGRlbGV0ZSB0aGUgbWVzc2FnZSBhbmQgYWxsIGNvcGllczsg KGlpKSBkbyBub3QgZGlzY2xvc2UsIA0KZGlzdHJpYnV0ZSBvciB1c2UgdGhl IG1lc3NhZ2UgaW4gYW55IG1hbm5lcjsgYW5kIChpaWkpIG5vdGlmeSB0aGUg c2VuZGVyIGltbWVkaWF0ZWx5LiBJbiBhZGRpdGlvbiwgDQpwbGVhc2UgYmUg YXdhcmUgdGhhdCBhbnkgbWVzc2FnZSBhZGRyZXNzZWQgdG8gb3VyIGRvbWFp biBpcyBzdWJqZWN0IHRvIGFyY2hpdmluZyBhbmQgcmV2aWV3IGJ5IA0KcGVy c29ucyBvdGhlciB0aGFuIHRoZSBpbnRlbmRlZCByZWNpcGllbnQuIFRoYW5r IHlvdS4NCl9fX19fX19fX19fX18NCg== --===============2028838720== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --===============2028838720==-- From sqr-users-bounces@sqrug.org Fri Jul 10 11:31:22 2009 From: "Gary Furash" Date: Fri, 10 Jul 2009 08:28:41 -0700 Subject: [sqr-users] Re: Change Image Directory for UNIX v. WINDOWS I have an SQR program (PeopleSoft 9) that could run on unix or windows. The DECLARE-IMAGE...SOURCE statement only seems to work when I give it an absolute path. It does not seem to recognize relative paths (e.g., ".\logo.hgpl") or automatically search in the current directory where the SQR is located (e.g., "logo.hpgl"). 1. Am I missing something? Should there be a way to get it to do a relative path or search automatically? 2. If not, is there some way (in a #DECLARE) to detect if I'm running in WINDOWS/DOS or not, and, if so, do one path rather than another? Thank you in advance for any suggestions. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jul 10 14:03:15 2009 Date: Fri, 10 Jul 2009 14:01:05 -0400 Subject: Re: [sqr-users] Re: Change Image Directory for UNIX v. WINDOWS From: Don Mellen Check out the pre-defined variable *$sqr-platform.* On Fri, Jul 10, 2009 at 11:28 AM, Gary Furash wrote: > I have an SQR program (PeopleSoft 9) that could run on unix or windows. > > The DECLARE-IMAGE...SOURCE statement only seems to work when I give it an > absolute path. It does not seem to recognize relative paths (e.g., > ".\logo.hgpl") or automatically search in the current directory where the > SQR is located (e.g., "logo.hpgl"). > > 1. Am I missing something? Should there be a way to get it to do a relative > path or search automatically? > > 2. If not, is there some way (in a #DECLARE) to detect if I'm running in > WINDOWS/DOS or not, and, if so, do one path rather than another? > > Thank you in advance for any suggestions. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > -- ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ donm@ontko.com | "In the beginning, there was nothing, which exploded" (Terry Pratchett) _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jul 10 18:08:48 2009 Date: Fri, 10 Jul 2009 15:05:53 -0700 (PDT) From: Jay Sagadraca Subject: [sqr-users] print image Hello, =A0=A0=A0=A0 I went through the past=A0messages in the SQR User Group=A0but= I can't find the solution to my problem. I'm printing a letter with a logo= and a signature. =A0=A0=A0=A0 Here is=A0part of my sqr: =A0=A0=A0=A0 declare-image jay-logo=A0 =A0=A0=A0=A0=A0=A0 type=3Deps-file=20 =A0=A0=A0=A0 end-declare =A0=A0=A0=A0 and in the print part I have the following: =A0=A0=A0=A0=A0print-image jay-logo (34,1) =A0=A0=A0=A0=A0=A0 source=3D'/tmp/company.eps' =A0=A0=A0=A0=A0=A0 image-size =3D(20,4) =A0=A0=A0 The problem is when I have the print-image jay-logo, the image is= printed but the body of letter is not printed.=A0 The company.eps is new b= ut when I used the an old eps file (just to check if it is working properly= ), I don't have a problem.=A0 I checked with the guy who created the eps fi= le and he said that he is using an abode software to do it and does nothing= unusual. I compared the old eps file with the new jay-logo and the old eps= file is bigger in terms of number of bytes.=A0 The signature is not showin= g either but I'm having a box with an incline line inside it.=A0=20 =A0=A0=A0 Gurus, what is the cause(s) of the box being show instead of the = image?=A0 How can I rectify this problem? I tried making the image smaller/= bigger, wider/thinner but the same box. =A0 =A0=A0=A0 Please help me. =A0=A0=20 =A0=A0=A0=A0=A0=20 =A0 Jay V. Sagadraca Markham, Ontario, Canada email : knight7883@yahoo.ca __________________________________________________________________ Get a sneak peak at messages with a handy reading pane with All new Yahoo! = Mail: http://ca.promos.yahoo.com/newmail/overview2/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Jul 13 04:09:20 2009 From: "franck.masson" Subject: Re:[sqr-users] print image Date: Mon, 13 Jul 2009 10:05:34 +0200 (CEST) to solve your problem you have to edit your logo file and delete the line = that bring the issue. =20 Franck, > Message du 11/07/09 00:08 > De : "Jay Sagadraca"=20 > A : sqr-users@sqrug.org > Copie =C3=A0 : "Jay Sagadraca"=20 > Objet : [sqr-users] print image > >=20 > Hello, >=20 > I went through the past messages in the SQR User Group but I can't f= ind the solution to my problem. I'm printing a letter with a logo and a sig= nature. >=20 > Here is part of my sqr: >=20 > declare-image jay-logo=20 > type=3Deps-file=20 > end-declare >=20 > and in the print part I have the following: >=20 > print-image jay-logo (34,1) > source=3D'/tmp/company.eps' > image-size =3D(20,4) >=20 > The problem is when I have the print-image jay-logo, the image is pri= nted but the body of letter is not printed. The company.eps is new but whe= n I used the an old eps file (just to check if it is working properly), I d= on't have a problem. I checked with the guy who created the eps file and h= e said that he is using an abode software to do it and does nothing unusual= . I compared the old eps file with the new jay-logo and the old eps file is= bigger in terms of number of bytes. The signature is not showing either b= ut I'm having a box with an incline line inside it.=20=20 >=20 > Gurus, what is the cause(s) of the box being show instead of the imag= e? How can I rectify this problem? I tried making the image smaller/bigger= , wider/thinner but the same box. >=20 > Please help me. >=20=20=20=20 >=20=20=20=20=20=20=20 >=20=20 > Jay V. Sagadraca > Markham, Ontario, Canada > email : knight7883@yahoo.ca >=20 >=20 > __________________________________________________________________ > Get a sneak peak at messages with a handy reading pane with All new Yahoo= ! Mail: http://ca.promos.yahoo.com/newmail/overview2/ >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jul 14 05:21:34 2009 Subject: RE: [sqr-users] print image Date: Tue, 14 Jul 2009 11:17:41 +0200 From: Jay, The EPS file has to be EPS level 1 or 2. Later compressions don't work pro= perly with some SQR programmes. I have had this problem before. Took me a while to work it out. Also check the sizes of your bounding box in the EPS file, you may have a w= hite out problem. When the box is bigger than the image and covers the who= les page. Ps2pdf the output file and then select all, this way you can find out if th= e text is in the background and being covered, as it will highlight the tex= t, etc... Good Luck Regards Matthew Olliver -----Original Message----- From: sqr-users-bounces+matthew.olliver=3Darvato-systems.co.uk@sqrug.org [m= ailto:sqr-users-bounces+matthew.olliver=3Darvato-systems.co.uk@sqrug.org] O= n Behalf Of Jay Sagadraca Sent: 10 July 2009 23:06 To: sqr-users@sqrug.org Cc: Jay Sagadraca Subject: [sqr-users] print image Hello, =A0=A0=A0=A0 I went through the past=A0messages in the SQR User Group=A0but= I can't find the solution to my problem. I'm printing a letter with a logo= and a signature. =A0=A0=A0=A0 Here is=A0part of my sqr: =A0=A0=A0=A0 declare-image jay-logo=A0 =A0=A0=A0=A0=A0=A0 type=3Deps-file=20 =A0=A0=A0=A0 end-declare =A0=A0=A0=A0 and in the print part I have the following: =A0=A0=A0=A0=A0print-image jay-logo (34,1) =A0=A0=A0=A0=A0=A0 source=3D'/tmp/company.eps' =A0=A0=A0=A0=A0=A0 image-size =3D(20,4) =A0=A0=A0 The problem is when I have the print-image jay-logo, the image is= printed but the body of letter is not printed.=A0 The company.eps is new b= ut when I used the an old eps file (just to check if it is working properly= ), I don't have a problem.=A0 I checked with the guy who created the eps fi= le and he said that he is using an abode software to do it and does nothing= unusual. I compared the old eps file with the new jay-logo and the old eps= file is bigger in terms of number of bytes.=A0 The signature is not showin= g either but I'm having a box with an incline line inside it.=A0=20 =A0=A0=A0 Gurus, what is the cause(s) of the box being show instead of the = image?=A0 How can I rectify this problem? I tried making the image smaller/= bigger, wider/thinner but the same box. =A0 =A0=A0=A0 Please help me. =A0=A0=20 =A0=A0=A0=A0=A0=20 =A0 Jay V. Sagadraca Markham, Ontario, Canada email : knight7883@yahoo.ca __________________________________________________________________ Get a sneak peak at messages with a handy reading pane with All new Yahoo! = Mail: http://ca.promos.yahoo.com/newmail/overview2/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jul 15 08:26:05 2009 Date: Wed, 15 Jul 2009 12:22:35 +0000 (GMT) From: Mark Subject: [sqr-users] SFTP a file from UNIX to External server I need to sftp a File from UNIX system to a remote server. Any help is appr= eciated as i am not sure wht is the command line to run a SFTP Script....= =A0i have written FTP Scripts and called them using Call System Using previ= ously Thanks Ashwin =20=20=20=20=20=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jul 15 12:34:13 2009 Date: Wed, 15 Jul 2009 10:31:26 -0600 Subject: Re: [sqr-users] SFTP a file from UNIX to External server From: Robert Goshko On Wed, Jul 15, 2009 at 6:22 AM, Mark wrote: > I need to sftp a File from UNIX system to a remote server. Any help is > appreciated as i am not sure wht is the command line to run a SFTP > Script.... i have written FTP Scripts and called them using Call System > Using previously > SFTP can not be scripted 100% the same as FTP as the password prompt for an SFTP session is run under a child process which prevents passing the password from a script. Best way is to set-up a user ID that uses key only (RSA or DSA) authentication and does not require a password. -- ...Rob -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 ================================================ Robert Goshko Registered Linux User #260513 Want a Gmail account, 6+ GB web mail - anyone can get one! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jul 15 13:01:31 2009 Subject: Re: [sqr-users] SFTP a file from UNIX to External server From: sfedak@enwin.com Date: Wed, 15 Jul 2009 12:59:23 -0400 Does this help? To connect to remote server and put the files. sftp -v -b -oPasswordAuthentication=no userid@ip_address < Sent by: sqr-users-bounces+sfedak=enwin.com@sqrug.org 15/07/2009 08:22 AM Please respond to "This list is for discussion about the SQR database reporting language from Hyperion Solutions." To sqr-users@sqrug.org cc Subject [sqr-users] SFTP a file from UNIX to External server I need to sftp a File from UNIX system to a remote server. Any help is appreciated as i am not sure wht is the command line to run a SFTP Script.... i have written FTP Scripts and called them using Call System Using previously Thanks Ashwin _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jul 15 13:10:06 2009 Subject: Re: [sqr-users] SFTP a file from UNIX to External server From: sfedak@enwin.com Date: Wed, 15 Jul 2009 13:07:46 -0400 sorry.......I belong to a unix forum and sqr users group..........I just sent you (a few minutes ago) what I would do in the Unix script (not really anything to do with sqr - my mistake). Sharon _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jul 15 15:05:02 2009 Date: Wed, 15 Jul 2009 19:02:22 +0000 (GMT) From: Mark Subject: Re: [sqr-users] SFTP a file from UNIX to External server I am able to run the script on the UNIX system but when i put the script in= a file and call tht file using call system using ...it gets=A0stuck at the= password prompt .... the sceipts fails at the password prompt after execut= ing STFP user@xxx.xx.com =A0 ________________________________ From: Mark To: sqr-users@sqrug.org Sent: Wednesday, 15 July, 2009 7:22:35 Subject: [sqr-users] SFTP a file from UNIX to External server I need to sftp a File from UNIX system to a remote server. Any help is appr= eciated as i am not sure wht is the command line to run a SFTP Script....= =A0i have written FTP Scripts and called them using Call System Using previ= ously Thanks Ashwin =A0 =A0 =A0=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20=20=20=20=20=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jul 15 15:15:18 2009 Date: Wed, 15 Jul 2009 13:12:29 -0600 Subject: Re: [sqr-users] SFTP a file from UNIX to External server From: Robert Goshko On Wed, Jul 15, 2009 at 1:02 PM, Mark wrote: > I am able to run the script on the UNIX system but when i put the script in > a file and call tht file using call system using ...it gets stuck at the > password prompt .... the sceipts fails at the password prompt after > executing > > STFP user@xxx.xx.com > You have to have the SFTP account setup with no password and key only authentication, you can generate the key pair set with ssh-keygen -- ...Rob -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 ================================================ Robert Goshko Registered Linux User #260513 Want a Gmail account, 6+ GB web mail - anyone can get one! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jul 15 15:18:47 2009 From: Subject: RE: [sqr-users] SFTP a file from UNIX to External server Date: Wed, 15 Jul 2009 15:14:57 -0400 don't know if this helps, I'm working on the same thing but via Ap Engine = in PeopleSoft on nt using Putty PSFTP. Just got it to work by using the -p= w flag in the psftp command line: =20 psftp -pw whateverpasswordis -b c:\temp\ftp.scr =20 C:\temp\ftp.scr holds the username : =20 open sfin-xxxx-xxi@192.165.1.25 22 put c:\temp\barb.txt =20 =20 =20 Barb =20 > Date: Wed, 15 Jul 2009 19:02:22 +0000 > From: ashwin443@yahoo.co.uk > Subject: Re: [sqr-users] SFTP a file from UNIX to External server > To: sqr-users@sqrug.org >=20 > I am able to run the script on the UNIX system but when i put the script = in a file and call tht file using call system using ...it gets stuck at the= password prompt .... the sceipts fails at the password prompt after execut= ing >=20 > STFP user@xxx.xx.com >=20 >=20 >=20 >=20=20 >=20 >=20 >=20 > ________________________________ > From: Mark > To: sqr-users@sqrug.org > Sent: Wednesday, 15 July, 2009 7:22:35 > Subject: [sqr-users] SFTP a file from UNIX to External server >=20 > I need to sftp a File from UNIX system to a remote server. Any help is ap= preciated as i am not sure wht is the command line to run a SFTP Script....= i have written FTP Scripts and called them using Call System Using previou= sly >=20 > Thanks > Ashwin >=20 >=20 >=20=20=20=20=20=20=20 >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 >=20 >=20 >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jul 15 15:24:32 2009 Subject: Re: [sqr-users] SFTP a file from UNIX to External server From: sfedak@enwin.com Date: Wed, 15 Jul 2009 15:22:22 -0400 Yes, it will wait for a password if you don't have the key set up in your config somewhere (honestly, our system administrator sets up the keys so I don't know that part). But, if that key is set up in your config then it should not wait for the password...............as long as you include -oPasswordAuthentication=no in the sftp command line. Did you include that in the script? _______________________________________________________ Mark Sent by: sqr-users-bounces+sfedak=enwin.com@sqrug.org 15/07/2009 03:02 PM Please respond to "This list is for discussion about the SQR database reporting language from Hyperion Solutions." To "This list is for discussion about the SQR database reporting language from Hyperion Solutions." cc Subject Re: [sqr-users] SFTP a file from UNIX to External server I am able to run the script on the UNIX system but when i put the script in a file and call tht file using call system using ...it gets stuck at the password prompt .... the sceipts fails at the password prompt after executing STFP user@xxx.xx.com ________________________________ From: Mark To: sqr-users@sqrug.org Sent: Wednesday, 15 July, 2009 7:22:35 Subject: [sqr-users] SFTP a file from UNIX to External server I need to sftp a File from UNIX system to a remote server. Any help is appreciated as i am not sure wht is the command line to run a SFTP Script.... i have written FTP Scripts and called them using Call System Using previously Thanks Ashwin _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jul 24 10:03:57 2009 Date: Fri, 24 Jul 2009 10:00:34 -0400 From: "George Jansen" Subject: [sqr-users] Distribution We have for years run SQR on a Solaris Sparc server, and now would like to = move the installation to Linux. It appears though, that Oracle now sells/sh= ips SQR only with the whole Hyperion EPM infrastructure wrapped around it. = Is this the case. Has anybody recently installed SQR without all that? George Jansen _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jul 24 11:36:22 2009 Date: Fri, 24 Jul 2009 08:33:44 -0700 (PDT) From: J George Subject: [sqr-users] Code Statistical functions in SQR Hello, =A0 In a SQR, I need to do statistical functions such as 'Quartile' and 'Standa= rd Deviation'. Let me know how I can do statistical functions in SQR code. =A0 =20=20=20=20=20=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jul 24 11:42:08 2009 Subject: RE: [sqr-users] Code Statistical functions in SQR Date: Fri, 24 Jul 2009 10:39:44 -0500 From: "Knapp, Richard" You must mean "Please let me know..." Sort and order the set and do the math.=20 Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #300 or 712 Lewis Hall Columbia, MO 65201 573-882-8856 (LSB) 573-882-4126 (Lewis) knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-b= ounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of J George Sent: Friday, July 24, 2009 10:34 AM To: sqr-users@sqrug.org Subject: [sqr-users] Code Statistical functions in SQR Hello, =A0 In a SQR, I need to do statistical functions such as 'Quartile' and 'Standa= rd Deviation'. Let me know how I can do statistical functions in SQR code. =A0 =20=20=20=20=20=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jul 24 11:52:21 2009 Date: Fri, 24 Jul 2009 08:49:40 -0700 (PDT) From: J George Subject: RE: [sqr-users] Code Statistical functions in SQR Sorry that I missed please. Please pardon me. Thank you Jacob --- On Fri, 7/24/09, Knapp, Richard wrote: From: Knapp, Richard Subject: RE: [sqr-users] Code Statistical functions in SQR To: "This list is for discussion about the SQR database reportinglanguage f= rom Hyperion Solutions." Date: Friday, July 24, 2009, 10:39 AM You must mean "Please let me know..." Sort and order the set and do the math.=20 Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street=A0 #300 or 712 Lewis Hall Columbia, MO 65201 573-882-8856 (LSB) 573-882-4126 (Lewis) knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-b= ounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of J George Sent: Friday, July 24, 2009 10:34 AM To: sqr-users@sqrug.org Subject: [sqr-users] Code Statistical functions in SQR Hello, =A0 In a SQR, I need to do statistical functions such as 'Quartile' and 'Standa= rd Deviation'. Let me know how I can do statistical functions in SQR code. =A0 =A0 =A0 =A0=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20=20=20=20=20=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jul 24 12:08:38 2009 Date: Fri, 24 Jul 2009 12:05:43 -0400 From: "George Jansen" Subject: RE: [sqr-users] Code Statistical functions in SQR You probably do have the STDDEV function available to you through your data= base engine, e.g SQL> select avg(data_length), stddev(data_length) 2 from user_tab_columns 3 where data_type =3D 'VARCHAR2'; AVG(DATA_LENGTH) STDDEV(DATA_LENGTH) ---------------- ------------------- 20.1737873 42.2760106 SQL>=20 Quartiles and such could be trickier; with Oracle one needs the Enterprise = Edition to get what Oracle calls the "analytic functions", including ntiles. George Jansen _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jul 24 13:00:38 2009 Date: 24 Jul 2009 16:56:13 -0000 From: "Hemang" Subject: [sqr-users] Dynamically find a particular value on a graph's X-axis Hi, We have a simple line graph for the current month. The x-axis will be dates excluding the weekends and holidays. Now the business wants a verticle line on the graph on a particular date value. a database column will have this date and will change each month. So the graph should plot the verticle line on that date only. Is there a way I can find out the column position of a particular value on x-axis? Then I can draw the line accordingly. If you can think of any other solution, please let me know. Thanks, Hemang _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jul 24 13:20:48 2009 From: "franck.masson" Subject: Re:[sqr-users] Dynamically find a particular value on a graph's X-axis Date: Fri, 24 Jul 2009 19:17:51 +0200 (CEST) what version of SQR ?=20 > Message du 24/07/09 19:00 > De : "Hemang"=20 > A : sqr-users@sqrug.org > Copie =C3=A0 :=20 > Objet : [sqr-users] Dynamically find a particular value on a graph's X-ax= is > >=20 >=20 > Hi, >=20 > We have a simple line graph for the current month. The x-axis will be dat= es excluding the weekends and holidays. Now the business wants a verticle l= ine on the graph on a particular date value. a database column will have th= is date and will change each month. >=20 > So the graph should plot the verticle line on that date only. Is there a = way I can find out the column position of a particular value on x-axis? The= n I can draw the line accordingly. >=20 > If you can think of any other solution, please let me know. >=20 > Thanks, > Hemang >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jul 24 13:40:41 2009 From: "franck.masson" Subject: Re:[sqr-users] Distribution Date: Fri, 24 Jul 2009 19:37:49 +0200 (CEST) Georges, These informtion are not correct, you can still buy / install sqr as a stan= dalone product. if you are under maintenance with your SQR licence on solaris, the licence = model have change since version 9 where your licence is not any more attach= ed to Oprating system/database but only to the number of CPU on any Operati= ng System & Database. This mean in your case that if you are in version 9 you can move your licen= ce to Linux and it is part of your maintenance Contract.=20 Contact also the Oracle Support to get this confirmation and also that the = Upgrade to V9 or V11 is at no charge. Franck, > Message du 24/07/09 16:04 > De : "George Jansen"=20 > A : sqr-users@sqrug.org > Copie =C3=A0 :=20 > Objet : [sqr-users] Distribution > >=20 > We have for years run SQR on a Solaris Sparc server, and now would like t= o move the installation to Linux. It appears though, that Oracle now sells/= ships SQR only with the whole Hyperion EPM infrastructure wrapped around it= . Is this the case. Has anybody recently installed SQR without all that? >=20 > George Jansen >=20 >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jul 24 22:17:48 2009 Date: 25 Jul 2009 02:13:19 -0000 Subject: Re: Re:[sqr-users] Dynamically find a particular value on a graph's X-axis From: "Hemang" SQR 9.3 On Fri, 24 Jul 2009 22:47:27 +0530 wrote >what version of SQR ? > > > >> Message du 24/07/09 19:00 >> De : "Hemang" >> A : sqr-users@sqrug.org >> Copie   :  >> Objet : [sqr-users] Dynamically find a particular value on a graph's X-axis >> >> >> >> Hi, >> >> We have a simple line graph for the current month. The x-axis will be dates excluding the weekends and holidays. Now the business wants a verticle line on the graph on a particular date value. a database column will have this date and will change each month. >> >> So the graph should plot the verticle line on that date only. Is there a way I can find out the column position of a particular value on x-axis? Then I can draw the line accordingly. >> >> If you can think of any other solution, please let me know. >> >> Thanks, >> Hemang >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users >> >> > > Cr©ez votre adresse ©lectronique prenom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus int©gr©s. > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Jul 27 19:10:00 2009 From: "franck.masson" Subject: Re: Re:[sqr-users] Dynamically find a particular value on a graph's X-axis Date: Tue, 28 Jul 2009 00:29:53 +0200 (CEST) you can try something like this=20 Begin-Setup !Dollar-Symbol=20 Declare-Printer Default-ps Color =3D yes End-Declare Declare-Report Default Printer-Type =3D ps End-Declare Declare-Layout Default Max-Lines =3D 62 Left-Margin =3D 0.10 Right-Margin =3D 0.25 End-Declare Create-Array ! Array of Bar Chart Values Name =3D profits Size =3D 10 Field =3D date:char Field =3D profits:number Create-Array ! This Array is passed to the Print-Chart Name =3D quotes Size =3D 10 Field =3D date:char Field =3D sharePrice:number ! Declare-Chart is not necessary to print a chart. However, it can be used !as a template and its properties can be modified in each Print-Chart that !uses this chart name. ! NOTE: Declare-Chart must physically preceede Print-Chart Declare-Chart stock_chart Chart-Size =3D (60,30) Type =3D line Y-Axis-Label =3D 'Profits' End-Declare End-Setup Begin-Report Alter-Locale Locale =3D 'US-English' Money-Sign-Location =3D Right Money-Sign =3D '$$' ! Bar value use for the vertical line=20 Put 'April 00' -1 !hole-value=20 Into quotes(0) date sharePrice Put 'May 00' -1 Into quotes(1) date sharePrice Put 'June 00' -1 Into quotes(2) date sharePrice Put 'July 00' 100 ! maximum Y2 axis Into quotes(3) date sharePrice Put 'August 00' -1 Into quotes(4) date sharePrice Put 'September 00' -1 Into quotes(5) date sharePrice ! line 2 Put 'April ''00' -8000 Into profits(0) date profits Put 'May ''00' 25000 Into profits(1) date profits Put 'June ''00' 13000 Into profits(2) date profits Put 'July ''00' 7000 Into profits(3) date profits Put 'August ''00' 31000 Into profits(4) date profits Put 'September ''00' 42000 Into profits(5) date profits Move 1 TO #x Move 1 TO #y Move 6 TO #row Move 2 TO #col Create-Color-Palette Name =3D 'Green' Color_1 =3D (0,255,0) Color_2 =3D (0,255,0) Create-Color-Palette Name =3D 'Red' Color_1 =3D (255,0,0) Color_2 =3D (255,0,0) ! Print the Chart Print-Chart stock_chart (#y, #x) Title =3D 'Kellie''s Creations Inc. (KCI) Profits Rebound' Sub-Title =3D 'Test Program' Fill =3D color Y2-Type =3D bar Y2-Data-Array-Row-Count =3D #row Y2-Data-Array-Column-Count =3D #col Y2-Data-Array =3D quotes !Y2-Axis-Label =3D 'Share Price' Y2-Color-Palette =3D 'Red' Y2-Axis-Max-Value =3D 100 Y2-Axis-Min-Value =3D 0 Y2-Axis-Mask =3D '' attributes=3D('Y2-axis.marker','point-size',1) y2-axis-label=3D'' y2-axis-grid=3Dno y-axis-grid=3Dno Y-AXIS-MAJOR-TICK-MARKS=3Dyes Y-AXIS-MINOR-TICK-MARKS=3Dno y2-axis-major-tick-marks=3Dyes y2-axis-minor-tick-marks=3Dno y2-axis-major-increment=3D200 y2-axis-minor-increment=3D100 Legend =3D no Type =3D line Data-Array =3D profits Data-Array-Row-Count =3D #row Data-Array-Column-Count =3D #col Color-Palette =3D 'Green' X-AXIS-LABEL =3D 'Profits recover but share price remains low' Item-Color =3D ('ChartBackground',(255,185,5)) Item-Color =3D ('HeaderBackground',(255,185,5)) Item-Color =3D ('ChartAreaBackground',(255,185,5)) X-Axis-Rotate =3D 8000000 Y-Axis-Mask =3D '$$$$,$$MI' Y-Axis-Min-Value =3D -20000 ATTRIBUTES=3D('All','hole-value',-1) ! Hole-Value definition ATTRIBUTES=3D('All','CLUSTER-WIDTH',1) ! size of the Bare to be display as = a Line=20 End-Report > Message du 25/07/09 04:17 > De : "Hemang"=20 > A : franck.masson2002@laposte.net > Copie =C3=A0 : sqr-users@sqrug.org > Objet : Re: Re:[sqr-users] Dynamically find a particular value on a graph= 's X-axis > >=20 >=20 > SQR 9.3 >=20 > On Fri, 24 Jul 2009 22:47:27 +0530 wrote > >what version of SQR ?=20 > > > > > > > >> Message du 24/07/09 19:00 > >> De : "Hemang"=20 > >> A : sqr-users@sqrug.org > >> Copie :=20 > >> Objet : [sqr-users] Dynamically find a particular value on a graph's X= -axis > >> > >>=20 > >>=20 > >> Hi, > >>=20 > >> We have a simple line graph for the current month. The x-axis will be = dates excluding the weekends and holidays. Now the business wants a verticl= e line on the graph on a particular date value. a database column will have= this date and will change each month. > >>=20 > >> So the graph should plot the verticle line on that date only. Is there= a way I can find out the column position of a particular value on x-axis? = Then I can draw the line accordingly. > >>=20 > >> If you can think of any other solution, please let me know. > >>=20 > >> Thanks, > >> Hemang > >>=20 > >> _______________________________________________ > >> sqr-users mailing list > >> sqr-users@sqrug.org > >> http://www.sqrug.org/mailman/listinfo/sqr-users > >>=20 > >>=20 > > > > Cr=C2=A9ez votre adresse =C2=A9lectronique prenom.nom@laposte.net=20 > > 1 Go d'espace de stockage, anti-spam et anti-virus int=C2=A9gr=C2=A9s. > > > >_______________________________________________ > >sqr-users mailing list > >sqr-users@sqrug.org > >http://www.sqrug.org/mailman/listinfo/sqr-users > > >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Aug 01 00:02:52 2009 Date: Sat, 1 Aug 2009 00:00:04 -0400 From: Nathan Stratton Treadway Subject: [sqr-users] Monthly sqr-users Hints Posting sqr-users Mailing List Hints and Guidelines Nathan Stratton Treadway, Ray Ontko & Co. (nathanst@ontko.com) $Revision: 1.23 $ $Date: 2006/07/27 16:28:24 $ This document gathers in one location information about the sqr-users mail list. It includes instructions for changing your subscription settings (including unsubscribing), as well are guidelines for using the list. ______________________________________________________________________ Table of Contents 1. Changes Since Previous Version 2. Introduction 2.1 sqr-users Mailing List 2.2 sqr-users Hints and Guidelines Document 2.3 Related Mailing Lists 3. Interacting with the list server 3.1 Subscribing to the list 3.2 Unsubscribing from the list 3.3 When your email address changes 3.4 Digests 3.5 Obtaining your password 3.6 Problems 4. Posting to the sqr-users List 4.1 General Guidelines 4.2 Posting a Message 4.3 Replying to a Message 5. Job Announcements ______________________________________________________________________ 1. Changes Since Previous Version Changes since the version dated 2005/08/19: o Added note about spam filtering and sender verification systems blocking subscription confirmation messages. 2. Introduction 2.1. sqr-users Mailing List The sqr-users mailing list was created to enable discussion related to the SQR database language from Hyperion (and to other products in the SQR product suite). Note: SQR used to be published by SQRIBE Technologies, which was merged into Brio Technology on August 3, 1999. Brio Technology changed its name to Brio Software in October 2001. On October 16, 2003, Hyperion acquired Brio Software. SQR and related applications have also been called "Brio.Report" and "Brio Reports". The mailing list is provided as a service of Ray Ontko & Co. A searchable archive of past postings to the mailing list is available from the SQR Users Group web site . 2.2. sqr-users Hints and Guidelines Document This document gives various hints and guidelines about the sqr-users mailing list. It will be posted approximately monthly to the mailing list so that new users can see it (and existing users can find it easily). An HTML version of the document is always available at http://www.sqrug.org/sqr-users/sqr-users-hints.html. If you have comments or suggestions about this document, please contact me directly at the address listed in the title section. This document is Copyright (C) 1999-2004 by Ray Ontko & Co. It may be freely copied and distributed provided it is not modified in any way and it retains the original copyright notice. 2.3. Related Mailing Lists Here are some mailing lists that cover topics relating to SQR in some way. sqr-jobs : SQR Jobs This list may be used for posting SQR-related resumes, recruitments, job announcements, project announcments, help- wanted, work-wanted ads, etc. To join, follow the link above, or send any message to "sqr-jobs-subscribe@yahoogroups.com". peoplesoft-fans : PeopleSoft Fans Moderated list covering technical and functional aspects of PeopleSoft. To join, follow the link above, or send any message to "peoplesoft-fans-subscribe@yahoogroups.com". psusers : PeopleSoft Users For questions related to any aspect of PeopleSoft (including PeopleSoft-specific SQR issues). This list has merged with the Peoplesoft Fans mailing list and is no longer active, but the message achive can still be found at the link above. HyperionSQR : Hyperion- SQR List for discussion of SQR, SQR Developer (formerly called Brio.Report and Report Builder), and SQR iServer. To join, follow the link above, or send any message to "HyperionSQR- subscribe@yahoogroups.com". rm-users : Report- Mart Users List for discussion of Brio Portal (previously called ReportMart). To join, follow the link above, or send a message containing the word "subscribe" in the body to "rm-users- request@sqrug.org". brioportalusersgroup : Brio Portal Users Group list List for discussion of Brio Portal. To join, follow the link above, or send any message to "brioportalusersgroup- subscribe@yahoogroups.com". brio-l : OpenITx Brio List List for technical and functional discussion of all Brio products (but most messages are currently about Brio Intelligence). To join, follow the link above. briousers : Brio.Enter- prise Users List for discussion of the Brio.Enterprise (now called Intelligence) product. To join, follow the link above, or send any message to "briousers-subscribe@yahoogroups.com". briolist : Brio List List for discussion of Brio Intelligence. To join, follow the link above, or send any message to "briolist- subscribe@yahoogroups.com". 3. Interacting with the list server The sqr-users mailing list is hosted using the Mailman list server package. All of the Mailman functions described below are accessed from the sqr-users List Info page, "http://www.sqrug.org/mailman/listinfo/sqr-users". 3.1. Subscribing to the list To subscribe to the mailing list, enter your e-mail address in the box at the top of the "Subscribing to sqr-users" section on the sqr-users List Info page, then choose a password to assign to your subscription and enter it in both "Password" boxes. This password is used to allow you to securely make changes to your subscription over the web. This password will be e-mailed back to you at varous times, so you should not use the same password as you are using elsewhere. Once you have filled in the password, click the "Subscribe" button. You should soon receive an e-mail message from the list server requesting confirmation of your subscription request. Once you have replied to this message and your subscription has been processed, you will receive a "welcome" message giving you more information on the list server, and as well as a reminder of the subscription password you chose. Many sites are now implementing spam filtering and/or sender verification systems, which can prevent your confirmation message from getting delivered to you. You may need check for a message from "sqr- users-request[-AT-]sqrug.org" caught in the filter, or add that address to your list of authorized senders, in order to complete the confirmation process. 3.2. Unsubscribing from the list To unsubscribe from the list, go to the sqr-users List Info page, enter your e-mail address in the "sqr-users Subscribers" section near the bottom of the page, and click the "Unsubscribe or edit options" button. You will then see the "member options" page; fill in your password at the top of the page and click "Log in". (If you have forgotton your password, see the ``Obtaining your Password'' section, below). This will take you to the "membership configuration" page. In the middle of that page, there will be an "Unsubscribing from sqr- users" section; simply turn on the "Yes, I really want to unsubscribe" checkbox and click the "Unsubscribe" button. You should get a page back saying that the removal was successful (as well as a confirmation email message). The removal will take effect immediately; there is no need to send in a confirmation e-mail message. If you don't know your password, you can choose to unsubscribe using e-mail confirmation. Instead of entering the password on the "member options" page, just click the "Unsubscribe" button found just below the "Log In" button. You will then see a page noting that a confirmation e-mail has been sent; once you follow the confirmation instructions in that e-mail your removal will be complete. 3.3. When your email address changes If your e-mail address changes -- for example, if your company changes names, or if your mail administrator changes the way your name is spelled out or abbreviated -- you will need to update your subscription to match your new address before you can post to the list (see the ``Posting'' section, below). To do this, simply log in to your "membership configuration" page (see the directions for logging in to this page in the ``Unsubscribing'' section, above). At the top of that page you'll see a "Changing your membership information" section. Fill out the text boxes and click the "Change My Address and Name" button. You will be sent a confirmation e-mail, and once you have responded to that e-mail your subscription will be updated and you can begin posting from your new address. 3.4. Digests You can request to get your messages in digest form (one large message containing all of the posts made each day). To do this, log in to your "membership configuration" page (see the directions on doing this in the ``Unsubscribing'' section, above). At the bottom of the page, you will see a section titled "Your sqr-users Subscription Options". Change the "Set Digest Mode" option (the second option in the list) to "On" and click the "Submit My Changes" button at the bottom of the page. You actually have a choice of two different digest formats, "MIME" or "Plain Text". The MIME format sends each individual list message as a separate MIME attachment to the digest; the plain text format consists of one large text message, with all of the individual messages run together. Which format you will want to use depends on your mail- reading software (and personal preference). If you are not sure which format will work best, you can just leave the default setting of "MIME" and see if the next morning's digest is easy to read in your mail reader -- you can change to the other format at any time using that same web page. If you use digests, you should not just "reply" to the digest mailing. Instead, be sure your message's subject header matches the subject in the original posting to which you are replying, and that you don't include a quoted copy of the entire digest in your post. To restore normal distribution, simply follow the above instructions choosing the "Off" setting for the Digest option. 3.5. Obtaining your password You will not be able to change your subscription options without your password. If you have forgotten your password, simply click the "Email My Password to Me" button on the "member options" page and your password will be emailed to you. You will also be e-mailed a copy of your password at the beginning of each month, as part of a "mailing list memberships reminder" message from the Mailman software. 3.6. Problems If the above instructions do not work, please contact the list manager at "sqr-users-manager@sqrug.org". (Do not send a message to the list itself -- no one there can help you with your problem!) Please include a description of what you were trying to do and what exactly happened when you made the attempt. 4. Posting to the sqr-users List In order to post to the mailing list, you must be subscribed to it (see directions above). More specifically, in order for Mailman to recognize that this message was sent by a subscriber, the return address on your message much exactly match the addresss you used to subscribe -- if you have more than one address you will need to be sure that you are sending from the correct one. (See the ``When you email address changes'' section, above, if your e-mail address has changed since you subscribed.) 4.1. General Guidelines For any message you send to the list, please: o make sure your mail software is not requesting a "Return Receipt". (If a "Return Receipt Requested" message is sent to the list, several dozen receipt messages will be sent out to the mailing list as other subscribers' mail systems repond....) o do not send messages in HTML or other special formats. (These are not usable by many subscribers, especially those who receive their messages in digest format.) The list server will delete these special attachments from your message and send you a warning notice. Also, if you are trying to send (for example) SQR source code files, make sure your mail-reader software is assigning proper MIME types to your attachments or they may not be distributed. o keep in mind that over 500 people will receive your message, and that it will appear in the list archives. Try to keep your messages on-topic and relatively short. Consider sending your message directly to particular people if it won't interest many of the list's subscribers. o ignore abusive and inappropriate messages that get sent to the list, rather than getting drawn into a debate. The very nature of these messages will cause most subscribers to automatically discredit them -- no "response" is necessary. To the contrary, any response will only "add fuel to the fire," prolonging the controversy and further interupting the normal conversation on the list. 4.2. Posting a Message Once you are subscribed, you can post to the list by sending a message to "sqr-users@sqrug.org". Be sure your subject heading describes your specific problem or question (i.e. don't just use "SQR Question"). In the body of your message, please include the following information: o SQR product name and version number (see notes below) o Operating system name and version number o Database name and version number o Application name (i.e. PeopleSoft) and a version number, if any Also, include a short code sample whenever possible. It's much easier for other people to understand what you are trying to do when they can see the actual code. (At the same time, be careful not to post confidential or proprietary code, since the posting will be placed in a public web archive.) Note that your question should relate to SQR or other Brio Report product in some way. Don't ask questions about PeopleSoft, for example, unless you are having SQR-related issues. (For PeopleSoft- specific questions, see other lists mentioned in the ``Related Mailing Lists'' section.) In 2001, PeopleSoft purchased from Brio the rights to the source code for SQR and began releasing its own line of SQR. PeopleSoft's SQR version numbering is different from Brio/Hyperion's, so it's very important to mention whether you are using Hyperion's "SQR" or "SQR for PeopleSoft". (This info is included automatically if you include the full SQR version-id string as described below.) To get the version-id string for your copy of SQR, you can run the following program: begin-program show $sqr-ver end-program This will produce a line that looks something like this: SQR/3.0.15/Intel/SCO Unix R3.2 V5.0/Oracle 7.2.2.3/Sep 25 1996 Include the full line of output in your message. Note that the oper- ating system and database version numbers listed here are the ones under which this copy of SQR was compiled, so you'll still need to include this information for your own environment. In a command-line environment (Unix, etc.), you can also get this version-id string by saying sqr -id 4.3. Replying to a Message Messages sent out on the list have a Reply-To header pointing to the list. This means that you should be able to simply use your mail reader's "reply" function to send a reply to the list. Generally, all answers to questions sent out on the list should be public replies, so that other subscribers can benefit. In those cases where a private reply is appropriate, be sure to over-ride the default Reply-To address. If your message is not actually a reply to the earlier message, please do not use the "reply" function. Instead, address a new e-mail message to the list as described in the previous section. (This is because the list archives will incorrectly show the new message in the original thread if you use "reply".) You should quote enough lines from the original message that later readers can understand your answer even if they missed the original question. At the same time, you should remove any unnecessary lines from the quote in order to make your message shorter and easier to understand. (Remember that some people read the mailing list in digest form, and the digests become much larger if unnecessary lines are quoted.) 5. Job Announcements Please do not post job announcements on the sqr-users list, but use the sqr-jobs list instead. (See ``Related Mailing Lists'' for more information on this list.) A large number of sqr-users subscribers do not want to receive job announcements (for various reasons) and such posts tend to cause a lot of disruption of the discussion on the list. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Aug 04 09:53:00 2009 Date: Tue, 4 Aug 2009 09:49:54 -0400 From: "Pactwa, Marissa" Subject: [sqr-users] SQR Failing in Hyperion Workspace Hi All, =20 We have been running SQR through Hyperion Workspace 9.3.1 for sometime now and lately some of our sqr jobs have been failing intermittently. Unfortunately, Workspace doesn't really give a very descriptive error message on why it failed. When I look at the log, this is the only information I get which is not much. Usually when we try to re-run the next day, it would be fine for weeks then all of a sudden it would fail again. Looks like it's some sort of network issues but we couldn't tell exactly.=20 =20 Has anyone have similar experience with this? Does anyone know what that status mean? I tried to look online but didn't really see anything. Thanks in advance. Marissa =20 =20 =20 =20 Marissa Pactwa Hyperion, Sr. Programmer/Analyst Suburban Propane (973) 503-9040 =20 =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Aug 04 10:34:53 2009 From: "franck.masson" Subject: Re:[sqr-users] SQR Failing in Hyperion Workspace Date: Tue, 4 Aug 2009 16:31:59 +0200 (CEST) Is your Installation on only One physical server ?=20 Put your JF1 in debug mode and wait until you get the error, with this opti= on you will get more detail info in the log and you will get the script use= d to execute your sqr Jobs . are you on Unix or Windows ? and what version of Hyperion & SQR ?=20 > Message du 04/08/09 15:53 > De : "Pactwa, Marissa"=20 > A : "This list is for discussion about the SQR database reportinglanguage= from Hyperion Solutions."=20 > Copie =C3=A0 :=20 > Objet : [sqr-users] SQR Failing in Hyperion Workspace > >=20 > Hi All, >=20 >=20 >=20 > We have been running SQR through Hyperion Workspace 9.3.1 for sometime > now and lately some of our sqr jobs have been failing intermittently. > Unfortunately, Workspace doesn't really give a very descriptive error > message on why it failed. When I look at the log, this is the only > information I get which is not much. Usually when we try to re-run the > next day, it would be fine for weeks then all of a sudden it would fail > again. Looks like it's some sort of network issues but we couldn't tell > exactly.=20 >=20 >=20 >=20 > Has anyone have similar experience with this? Does anyone know what that > status mean? I tried to look online but didn't really see anything. >=20 > Thanks in advance. >=20 > Marissa >=20 >=20 >=20 > > level=3D"DEBUG" thread=3D"JF1_whip2kcore.local.intrasp.com-0async-3" > sequence_no=3D"1928"> >=20 > 04 Aug 2009 09:26:53,479 >=20 > > originator_name=3D"JF1_whip2kcore.local.intrasp.com" host=3D"whip2kcore= "/> >=20 > > status is -1073741819]]> >=20 >=20 >=20 >=20 >=20 > > timestamp=3D"1249392413479" level=3D"ERROR" > thread=3D"JF1_whip2kcore.local.intrasp.com-0async-3" sequence_no=3D"1929"> >=20 > 04 Aug 2009 09:26:53,479 >=20 > > originator_name=3D"JF1_whip2kcore.local.intrasp.com" host=3D"whip2kcore= "/> >=20 >=20 >=20 > >=20 > A problem occured running the SQR Production Reporting job. >=20 > com.sqribe.transformer.SQRException: A problem occured running the SQR > Production Reporting job. >=20 > at com.sqribe.sqr.RunSQRProgram.execCommand(Unknown Source) >=20 > at com.sqribe.transformer.RunSQRProgramCommand.exec(Unknown > Source) >=20 > at > com.sqribe.transformer.RunSQRProgramCommand.execute(Unknown Source) >=20 > at com.sqribe.transformer.AsyncThread.run(Unknown Source) >=20 > ]]> >=20 >=20 >=20 >=20 >=20 >=20 >=20 > Marissa Pactwa >=20 > Hyperion, Sr. Programmer/Analyst >=20 > Suburban Propane >=20 > (973) 503-9040 >=20 >=20 >=20 >=20 >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Aug 04 10:43:04 2009 Subject: RE: [sqr-users] SQR Failing in Hyperion Workspace Date: Tue, 4 Aug 2009 10:40:12 -0400 From: "Pactwa, Marissa" Thanks, Frank for the quick reply. It is already in debug mode and this is the only message I'm getting. I'm o= nly looking at the job services log, unless there is another log that you t= hink I need to look at. Our Hyperion BI+ (9.3.1.0) is in one physical server. Both Hyperion and Ora= cle are both on Windows platform. I already submitted a service request to Oracle but I still have to hear ba= ck from them. Thanks. Marissa -----Original Message----- From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:sqr= -users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of franck= .masson Sent: Tuesday, August 04, 2009 10:32 AM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: Re:[sqr-users] SQR Failing in Hyperion Workspace Is your Installation on only One physical server ?=20 Put your JF1 in debug mode and wait until you get the error, with this opti= on you will get more detail info in the log and you will get the script use= d to execute your sqr Jobs . are you on Unix or Windows ? and what version of Hyperion & SQR ?=20 > Message du 04/08/09 15:53 > De : "Pactwa, Marissa"=20 > A : "This list is for discussion about the SQR database reportinglanguage= from Hyperion Solutions."=20 > Copie =E0 :=20 > Objet : [sqr-users] SQR Failing in Hyperion Workspace > >=20 > Hi All, >=20 >=20 >=20 > We have been running SQR through Hyperion Workspace 9.3.1 for sometime > now and lately some of our sqr jobs have been failing intermittently. > Unfortunately, Workspace doesn't really give a very descriptive error > message on why it failed. When I look at the log, this is the only > information I get which is not much. Usually when we try to re-run the > next day, it would be fine for weeks then all of a sudden it would fail > again. Looks like it's some sort of network issues but we couldn't tell > exactly.=20 >=20 >=20 >=20 > Has anyone have similar experience with this? Does anyone know what that > status mean? I tried to look online but didn't really see anything. >=20 > Thanks in advance. >=20 > Marissa >=20 >=20 >=20 > > level=3D"DEBUG" thread=3D"JF1_whip2kcore.local.intrasp.com-0async-3" > sequence_no=3D"1928"> >=20 > 04 Aug 2009 09:26:53,479 >=20 > > originator_name=3D"JF1_whip2kcore.local.intrasp.com" host=3D"whip2kcore= "/> >=20 > > status is -1073741819]]> >=20 >=20 >=20 >=20 >=20 > > timestamp=3D"1249392413479" level=3D"ERROR" > thread=3D"JF1_whip2kcore.local.intrasp.com-0async-3" sequence_no=3D"1929"> >=20 > 04 Aug 2009 09:26:53,479 >=20 > > originator_name=3D"JF1_whip2kcore.local.intrasp.com" host=3D"whip2kcore= "/> >=20 >=20 >=20 > >=20 > A problem occured running the SQR Production Reporting job. >=20 > com.sqribe.transformer.SQRException: A problem occured running the SQR > Production Reporting job. >=20 > at com.sqribe.sqr.RunSQRProgram.execCommand(Unknown Source) >=20 > at com.sqribe.transformer.RunSQRProgramCommand.exec(Unknown > Source) >=20 > at > com.sqribe.transformer.RunSQRProgramCommand.execute(Unknown Source) >=20 > at com.sqribe.transformer.AsyncThread.run(Unknown Source) >=20 > ]]> >=20 >=20 >=20 >=20 >=20 >=20 >=20 > Marissa Pactwa >=20 > Hyperion, Sr. Programmer/Analyst >=20 > Suburban Propane >=20 > (973) 503-9040 >=20 >=20 >=20 >=20 >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Aug 04 11:44:39 2009 From: "franck.masson" Subject: RE: [sqr-users] SQR Failing in Hyperion Workspace Date: Tue, 4 Aug 2009 17:41:45 +0200 (CEST) do you have any log file/err file wth the Ouput of the Job ? look to the folder and subfolder C:\xxxxxxx\BIplus\data\JF1_xxxxx_xxxxx you should find all the script used by your sqr Jobs the most important is the log files within the outputCollection, this will = provide us the information if it is a SQR execution issue or a JF issue. The complete log file of the JF and the ES should provide us also additionn= al info Franck, > Message du 04/08/09 16:43 > De : "Pactwa, Marissa"=20 > A : "This list is for discussion about the SQR database reportinglanguage= from Hyperion Solutions."=20 > Copie =C3=A0 :=20 > Objet : RE: [sqr-users] SQR Failing in Hyperion Workspace > >=20 > Thanks, Frank for the quick reply. >=20 > It is already in debug mode and this is the only message I'm getting. I'm= only looking at the job services log, unless there is another log that you= think I need to look at. >=20 > Our Hyperion BI+ (9.3.1.0) is in one physical server. Both Hyperion and O= racle are both on Windows platform. >=20 > I already submitted a service request to Oracle but I still have to hear = back from them. >=20 > Thanks. > Marissa >=20 > -----Original Message----- > From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:s= qr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of fran= ck.masson > Sent: Tuesday, August 04, 2009 10:32 AM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: Re:[sqr-users] SQR Failing in Hyperion Workspace >=20 > Is your Installation on only One physical server ?=20 > Put your JF1 in debug mode and wait until you get the error, with this op= tion you will get more detail info in the log and you will get the script u= sed to execute your sqr Jobs . > are you on Unix or Windows ? and what version of Hyperion & SQR ?=20 >=20 >=20 > > Message du 04/08/09 15:53 > > De : "Pactwa, Marissa"=20 > > A : "This list is for discussion about the SQR database reportinglangua= ge from Hyperion Solutions."=20 > > Copie =C3=A0 :=20 > > Objet : [sqr-users] SQR Failing in Hyperion Workspace > > > >=20 > > Hi All, > >=20 > >=20 > >=20 > > We have been running SQR through Hyperion Workspace 9.3.1 for sometime > > now and lately some of our sqr jobs have been failing intermittently. > > Unfortunately, Workspace doesn't really give a very descriptive error > > message on why it failed. When I look at the log, this is the only > > information I get which is not much. Usually when we try to re-run the > > next day, it would be fine for weeks then all of a sudden it would fail > > again. Looks like it's some sort of network issues but we couldn't tell > > exactly.=20 > >=20 > >=20 > >=20 > > Has anyone have similar experience with this? Does anyone know what that > > status mean? I tried to look online but didn't really see anything. > >=20 > > Thanks in advance. > >=20 > > Marissa > >=20 > >=20 > >=20 > > > level=3D"DEBUG" thread=3D"JF1_whip2kcore.local.intrasp.com-0async-3" > > sequence_no=3D"1928"> > >=20 > > 04 Aug 2009 09:26:53,479 > >=20 > > > originator_name=3D"JF1_whip2kcore.local.intrasp.com" host=3D"whip2kco= re"/> > >=20 > > > status is -1073741819]]> > >=20 > >=20 > >=20 > >=20 > >=20 > > > timestamp=3D"1249392413479" level=3D"ERROR" > > thread=3D"JF1_whip2kcore.local.intrasp.com-0async-3" sequence_no=3D"192= 9"> > >=20 > > 04 Aug 2009 09:26:53,479 > >=20 > > > originator_name=3D"JF1_whip2kcore.local.intrasp.com" host=3D"whip2kco= re"/> > >=20 > >=20 > >=20 > > >=20 > > A problem occured running the SQR Production Reporting job. > >=20 > > com.sqribe.transformer.SQRException: A problem occured running the SQR > > Production Reporting job. > >=20 > > at com.sqribe.sqr.RunSQRProgram.execCommand(Unknown Source) > >=20 > > at com.sqribe.transformer.RunSQRProgramCommand.exec(Unknown > > Source) > >=20 > > at > > com.sqribe.transformer.RunSQRProgramCommand.execute(Unknown Source) > >=20 > > at com.sqribe.transformer.AsyncThread.run(Unknown Source) > >=20 > > ]]> > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > > Marissa Pactwa > >=20 > > Hyperion, Sr. Programmer/Analyst > >=20 > > Suburban Propane > >=20 > > (973) 503-9040 > >=20 > >=20 > >=20 > >=20 > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > >=20 >=20 > Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 > 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Aug 10 07:05:11 2009 Date: Mon, 10 Aug 2009 16:31:35 +0530 From: Rajan Chugh Subject: [sqr-users] Dynamic number of columns fetched from Begin-Select Hi All, I am facing a peculiar situation where I have to run a sql query (Select) via sqr, the problem is i don't know the number of columns in the sqr and i Have to print the result of the query. The Idea is to have a run control page where we provide a sql and print the result in a CSV. E.g. Select column1,column2, column3 from test_table where conditions The next time the query might be : select columns1, column2 from test_table where conditions Please pour in some suggestion, how to go about this. -- Regards Rajan _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Aug 10 11:51:52 2009 Date: Mon, 10 Aug 2009 11:49:03 -0400 Subject: Re: [sqr-users] Dynamic number of columns fetched from Begin-Select From: Don Mellen Use dynamic sql and set up enough columns to handle whatever a reasonable maximum would be. You could set up a single dynamic column and concatenate all the values together, but that would require a reliable method of separating out the values during processing, which would depend on how much you can guarantee about the potential values you'll be pulling out. On Mon, Aug 10, 2009 at 7:01 AM, Rajan Chugh wrote: > Hi All, > > I am facing a peculiar situation where I have to run a sql query (Select) > via sqr, the problem is i don't know the number of columns in the sqr and i > Have to print the result of the query. > > The Idea is to have a run control page where we provide a sql and print the > result in a CSV. > E.g. Select column1,column2, column3 from test_table where conditions > The next time the query might be : select columns1, column2 from > test_table > where conditions > > > > Please pour in some suggestion, how to go about this. > > -- > Regards > Rajan > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > -- ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ donm@ontko.com | "In the beginning, there was nothing, which exploded" (Terry Pratchett) _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Aug 12 01:45:39 2009 Date: Wed, 12 Aug 2009 11:12:42 +0530 Subject: Re: [sqr-users] Dynamic number of columns fetched from Begin-Select From: Rajan Chugh Hi Mellen can you please share the syntax for adding dynamic number of columns and how to concatenate the column names. On Mon, Aug 10, 2009 at 9:19 PM, Don Mellen wrote: > Use dynamic sql and set up enough columns to handle whatever a reasonable > maximum would be. > You could set up a single dynamic column and concatenate all the values > together, but that would require a reliable method of separating out the > values during processing, which would depend on how much you can guarantee > about the potential values you'll be pulling out. > > On Mon, Aug 10, 2009 at 7:01 AM, Rajan Chugh > wrote: > > > Hi All, > > > > I am facing a peculiar situation where I have to run a sql query (Select) > > via sqr, the problem is i don't know the number of columns in the sqr and > i > > Have to print the result of the query. > > > > The Idea is to have a run control page where we provide a sql and print > the > > result in a CSV. > > E.g. Select column1,column2, column3 from test_table where conditions > > The next time the query might be : select columns1, column2 from > > test_table > > where conditions > > > > > > > > Please pour in some suggestion, how to go about this. > > > > -- > > Regards > > Rajan > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > -- > ----------------------------------------------------------------------- > Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ > donm@ontko.com | "In the beginning, there was nothing, which exploded" > (Terry Pratchett) > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > -- Regards Rajan _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Aug 12 12:51:17 2009 Date: Wed, 12 Aug 2009 12:48:26 -0400 Subject: Re: [sqr-users] Dynamic number of columns fetched from Begin-Select From: Don Mellen Basically (assuming oracle for the "to_char") it's like.... let $col_01 = $input_first_col !first column was character let $col_02 = 'to_char(''' || $input_second_col || ''',''YYYY/MM/DD'')' !second column was date begin-select [$col_01] &col_01=char [$col_02] &col_02=char [$col_03] &col_03=char <...> [$col_45] &col_45=char from [$from_clause] where [$where_clause] end-select The logic of determining the type of each column, and how many inputs were set is left to the reader. If you really wanted to concatenate the columns instead, it's very similar, except (assuming you choose a tilde as the separator) it would be more like.... let $all_col = $input_first_col let $all_col = $all_col || ' || ''~'' || to_char(''' || $input_second_col || ''',''YYYY/MM/DD'')' begin-select [$all_col] &all_col=char from [$from_clause] where [$where_clause] end-select On Wed, Aug 12, 2009 at 1:42 AM, Rajan Chugh wrote: > Hi Mellen > > can you please share the syntax for adding dynamic number of columns and > how > to concatenate the column names. > > > > On Mon, Aug 10, 2009 at 9:19 PM, Don Mellen wrote: > > > Use dynamic sql and set up enough columns to handle whatever a reasonable > > maximum would be. > > You could set up a single dynamic column and concatenate all the values > > together, but that would require a reliable method of separating out the > > values during processing, which would depend on how much you can > guarantee > > about the potential values you'll be pulling out. > > > > On Mon, Aug 10, 2009 at 7:01 AM, Rajan Chugh > > wrote: > > > > > Hi All, > > > > > > I am facing a peculiar situation where I have to run a sql query > (Select) > > > via sqr, the problem is i don't know the number of columns in the sqr > and > > i > > > Have to print the result of the query. > > > > > > The Idea is to have a run control page where we provide a sql and print > > the > > > result in a CSV. > > > E.g. Select column1,column2, column3 from test_table where conditions > > > The next time the query might be : select columns1, column2 from > > > test_table > > > where conditions > > > > > > > > > > > > Please pour in some suggestion, how to go about this. > > > > > > -- > > > Regards > > > Rajan > > > > > > _______________________________________________ > > > sqr-users mailing list > > > sqr-users@sqrug.org > > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > > > -- > > ----------------------------------------------------------------------- > > Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ > > donm@ontko.com | "In the beginning, there was nothing, which exploded" > > (Terry Pratchett) > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > -- > Regards > Rajan > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > -- ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ donm@ontko.com | "In the beginning, there was nothing, which exploded" (Terry Pratchett) _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Aug 14 11:34:32 2009 Date: Fri, 14 Aug 2009 11:31:31 -0400 From: "Pactwa, Marissa" Subject: [sqr-users] Print Center of Column Hi All, I apologize in advance for a stupid question. But how do you make a numeric variable print in the center of a column? For example: 1234 12 1 233 I tried all kinds of edits but it's either left or right justified.=20 Thanks. Marissa _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Aug 14 12:19:58 2009 Subject: RE: [sqr-users] Print Center of Column Date: Fri, 14 Aug 2009 11:17:23 -0500 From: "Knapp, Richard" I think you will have to write your own routine to determine the length of the variable and pad it accordingly. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #300 or 712 Lewis Hall Columbia, MO 65201 573-882-8856 (LSB) 573-882-4126 (Lewis) knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Pactwa, Marissa Sent: Friday, August 14, 2009 10:32 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: [sqr-users] Print Center of Column Hi All, I apologize in advance for a stupid question. But how do you make a numeric variable print in the center of a column? For example: 1234 12 1 233 I tried all kinds of edits but it's either left or right justified.=20 Thanks. Marissa _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Aug 17 06:46:15 2009 From: "franck.masson" Subject: RE: [sqr-users] Print Center of Column Date: Mon, 17 Aug 2009 12:42:35 +0200 (CEST) What is your SQR version ?=20 > Message du 14/08/09 18:20 > De : "Knapp, Richard"=20 > A : "This list is for discussion about the SQR database reportinglanguage= from Hyperion Solutions."=20 > Copie =C3=A0 :=20 > Objet : RE: [sqr-users] Print Center of Column > >=20 > I think you will have to write your own routine to determine the length > of the variable and pad it accordingly. >=20 > Richard Knapp > EAS - Data Warehouse Group > University of Missouri > 615 Locust Street #300 or > 712 Lewis Hall > Columbia, MO 65201 > 573-882-8856 (LSB) > 573-882-4126 (Lewis) > knappr@umsystem.edu >=20 >=20 > -----Original Message----- > From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org > [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of > Pactwa, Marissa > Sent: Friday, August 14, 2009 10:32 AM > To: This list is for discussion about the SQR database reportinglanguage > fromHyperion Solutions. > Subject: [sqr-users] Print Center of Column >=20 > Hi All, >=20 > I apologize in advance for a stupid question. But how do you make a > numeric variable print in the center of a column? >=20 > For example: > 1234 > 12 > 1 > 233 >=20 > I tried all kinds of edits but it's either left or right justified.=20 >=20 > Thanks. > Marissa >=20 >=20 >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Aug 17 08:26:33 2009 Subject: RE: [sqr-users] Print Center of Column Date: Mon, 17 Aug 2009 08:22:53 -0400 From: "Pactwa, Marissa" We use production reporting ver 9.3.1. Thanks. Marissa -----Original Message----- From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:sqr= -users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of franck= .masson Sent: Monday, August 17, 2009 6:43 AM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: RE: [sqr-users] Print Center of Column What is your SQR version ?=20 > Message du 14/08/09 18:20 > De : "Knapp, Richard"=20 > A : "This list is for discussion about the SQR database reportinglanguage= from Hyperion Solutions."=20 > Copie =E0 :=20 > Objet : RE: [sqr-users] Print Center of Column > >=20 > I think you will have to write your own routine to determine the length > of the variable and pad it accordingly. >=20 > Richard Knapp > EAS - Data Warehouse Group > University of Missouri > 615 Locust Street #300 or > 712 Lewis Hall > Columbia, MO 65201 > 573-882-8856 (LSB) > 573-882-4126 (Lewis) > knappr@umsystem.edu >=20 >=20 > -----Original Message----- > From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org > [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of > Pactwa, Marissa > Sent: Friday, August 14, 2009 10:32 AM > To: This list is for discussion about the SQR database reportinglanguage > fromHyperion Solutions. > Subject: [sqr-users] Print Center of Column >=20 > Hi All, >=20 > I apologize in advance for a stupid question. But how do you make a > numeric variable print in the center of a column? >=20 > For example: > 1234 > 12 > 1 > 233 >=20 > I tried all kinds of edits but it's either left or right justified.=20 >=20 > Thanks. > Marissa >=20 >=20 >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Aug 17 08:56:03 2009 Subject: RE: [sqr-users] Print Center of Column Date: Mon, 17 Aug 2009 08:51:58 -0400 From: "Simon, Jason (MBS)" Hey Marissa, Have you tried this? Print &RptName (2,,) Center=20=20=20 -----Original Message----- From: sqr-users-bounces+jason.simon=3Dmortgagefamily.com@sqrug.org [mailto:= sqr-users-bounces+jason.simon=3Dmortgagefamily.com@sqrug.org] On Behalf Of = Pactwa, Marissa Sent: Monday, August 17, 2009 8:23 AM To: This list is for discussion about the SQR database reportinglanguage fr= omHyperion Solutions. Subject: RE: [sqr-users] Print Center of Column We use production reporting ver 9.3.1. Thanks. Marissa -----Original Message----- From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:sqr= -users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of franck= .masson Sent: Monday, August 17, 2009 6:43 AM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: RE: [sqr-users] Print Center of Column What is your SQR version ?=20 > Message du 14/08/09 18:20 > De : "Knapp, Richard"=20 > A : "This list is for discussion about the SQR database reportinglanguage= from Hyperion Solutions."=20 > Copie =E0 :=20 > Objet : RE: [sqr-users] Print Center of Column > >=20 > I think you will have to write your own routine to determine the length > of the variable and pad it accordingly. >=20 > Richard Knapp > EAS - Data Warehouse Group > University of Missouri > 615 Locust Street #300 or > 712 Lewis Hall > Columbia, MO 65201 > 573-882-8856 (LSB) > 573-882-4126 (Lewis) > knappr@umsystem.edu >=20 >=20 > -----Original Message----- > From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org > [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of > Pactwa, Marissa > Sent: Friday, August 14, 2009 10:32 AM > To: This list is for discussion about the SQR database reportinglanguage > fromHyperion Solutions. > Subject: [sqr-users] Print Center of Column >=20 > Hi All, >=20 > I apologize in advance for a stupid question. But how do you make a > numeric variable print in the center of a column? >=20 > For example: > 1234 > 12 > 1 > 233 >=20 > I tried all kinds of edits but it's either left or right justified.=20 >=20 > Thanks. > Marissa >=20 >=20 >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Aug 17 09:08:47 2009 Subject: RE: [sqr-users] Print Center of Column Date: Mon, 17 Aug 2009 09:05:02 -0400 From: "Pactwa, Marissa" Hi Jason, I need to print the column aligned at the center. I think this command prin= ts the text in the center of the entire row. I tried to use "column-within"= instead. It printed in the center but it was still left justified. For example: 1234 12 1 233 Thanks. Marissa -----Original Message----- From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:sqr= -users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of Simon,= Jason (MBS) Sent: Monday, August 17, 2009 8:52 AM To: This list is for discussion about the SQR database reportinglanguage fr= omHyperion Solutions. Subject: RE: [sqr-users] Print Center of Column Hey Marissa, Have you tried this? Print &RptName (2,,) Center=20=20=20 -----Original Message----- From: sqr-users-bounces+jason.simon=3Dmortgagefamily.com@sqrug.org [mailto:= sqr-users-bounces+jason.simon=3Dmortgagefamily.com@sqrug.org] On Behalf Of = Pactwa, Marissa Sent: Monday, August 17, 2009 8:23 AM To: This list is for discussion about the SQR database reportinglanguage fr= omHyperion Solutions. Subject: RE: [sqr-users] Print Center of Column We use production reporting ver 9.3.1. Thanks. Marissa -----Original Message----- From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:sqr= -users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of franck= .masson Sent: Monday, August 17, 2009 6:43 AM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: RE: [sqr-users] Print Center of Column What is your SQR version ?=20 > Message du 14/08/09 18:20 > De : "Knapp, Richard"=20 > A : "This list is for discussion about the SQR database reportinglanguage= from Hyperion Solutions."=20 > Copie =E0 :=20 > Objet : RE: [sqr-users] Print Center of Column > >=20 > I think you will have to write your own routine to determine the length > of the variable and pad it accordingly. >=20 > Richard Knapp > EAS - Data Warehouse Group > University of Missouri > 615 Locust Street #300 or > 712 Lewis Hall > Columbia, MO 65201 > 573-882-8856 (LSB) > 573-882-4126 (Lewis) > knappr@umsystem.edu >=20 >=20 > -----Original Message----- > From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org > [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of > Pactwa, Marissa > Sent: Friday, August 14, 2009 10:32 AM > To: This list is for discussion about the SQR database reportinglanguage > fromHyperion Solutions. > Subject: [sqr-users] Print Center of Column >=20 > Hi All, >=20 > I apologize in advance for a stupid question. But how do you make a > numeric variable print in the center of a column? >=20 > For example: > 1234 > 12 > 1 > 233 >=20 > I tried all kinds of edits but it's either left or right justified.=20 >=20 > Thanks. > Marissa >=20 >=20 >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Aug 17 09:19:35 2009 From: "franck.masson" Subject: RE: [sqr-users] Print Center of Column Date: Mon, 17 Aug 2009 15:16:46 +0200 (CEST) have you tried CENTER-WITHIN Centers the field within the specified number of characters. The centered t= ext is relative to the column value in the position qualifier. For example: print 'Hello World' (+5,10) center-within=3D40 if an upgrade to 9.5/11 is still an option for you then you can use declare= -table=20 Franck, > Message du 17/08/09 14:26 > De : "Pactwa, Marissa"=20 > A : "This list is for discussion about the SQR database reportinglanguage= from Hyperion Solutions."=20 > Copie =C3=A0 :=20 > Objet : RE: [sqr-users] Print Center of Column > >=20 >=20 > We use production reporting ver 9.3.1. >=20 > Thanks. > Marissa >=20 > -----Original Message----- > From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:s= qr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of fran= ck.masson > Sent: Monday, August 17, 2009 6:43 AM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: RE: [sqr-users] Print Center of Column >=20 > What is your SQR version ?=20 >=20 >=20 >=20 > > Message du 14/08/09 18:20 > > De : "Knapp, Richard"=20 > > A : "This list is for discussion about the SQR database reportinglangua= ge from Hyperion Solutions."=20 > > Copie =C3=A0 :=20 > > Objet : RE: [sqr-users] Print Center of Column > > > >=20 > > I think you will have to write your own routine to determine the length > > of the variable and pad it accordingly. > >=20 > > Richard Knapp > > EAS - Data Warehouse Group > > University of Missouri > > 615 Locust Street #300 or > > 712 Lewis Hall > > Columbia, MO 65201 > > 573-882-8856 (LSB) > > 573-882-4126 (Lewis) > > knappr@umsystem.edu > >=20 > >=20 > > -----Original Message----- > > From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org > > [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of > > Pactwa, Marissa > > Sent: Friday, August 14, 2009 10:32 AM > > To: This list is for discussion about the SQR database reportinglanguage > > fromHyperion Solutions. > > Subject: [sqr-users] Print Center of Column > >=20 > > Hi All, > >=20 > > I apologize in advance for a stupid question. But how do you make a > > numeric variable print in the center of a column? > >=20 > > For example: > > 1234 > > 12 > > 1 > > 233 > >=20 > > I tried all kinds of edits but it's either left or right justified.=20 > >=20 > > Thanks. > > Marissa > >=20 > >=20 > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > >=20 >=20 > Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 > 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Aug 17 09:23:14 2009 From: "franck.masson" Subject: RE: [sqr-users] Print Center of Column Date: Mon, 17 Aug 2009 15:20:00 +0200 (CEST) =20 try to convert your number in text before to print it=20 > Message du 17/08/09 15:08 > De : "Pactwa, Marissa"=20 > A : "This list is for discussion about the SQR database reportinglanguage= from Hyperion Solutions."=20 > Copie =C3=A0 :=20 > Objet : RE: [sqr-users] Print Center of Column > >=20 > Hi Jason, >=20 > I need to print the column aligned at the center. I think this command pr= ints the text in the center of the entire row. I tried to use "column-withi= n" instead. It printed in the center but it was still left justified. >=20 > For example: > 1234 > 12 > 1 > 233 >=20 > Thanks. > Marissa >=20 > -----Original Message----- > From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:s= qr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of Simo= n, Jason (MBS) > Sent: Monday, August 17, 2009 8:52 AM > To: This list is for discussion about the SQR database reportinglanguage = fromHyperion Solutions. > Subject: RE: [sqr-users] Print Center of Column >=20 > Hey Marissa, > Have you tried this? >=20 > Print &RptName (2,,) Center=20 >=20 > -----Original Message----- > From: sqr-users-bounces+jason.simon=3Dmortgagefamily.com@sqrug.org [mailt= o:sqr-users-bounces+jason.simon=3Dmortgagefamily.com@sqrug.org] On Behalf O= f Pactwa, Marissa > Sent: Monday, August 17, 2009 8:23 AM > To: This list is for discussion about the SQR database reportinglanguage = fromHyperion Solutions. > Subject: RE: [sqr-users] Print Center of Column >=20 >=20 > We use production reporting ver 9.3.1. >=20 > Thanks. > Marissa >=20 > -----Original Message----- > From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:s= qr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of fran= ck.masson > Sent: Monday, August 17, 2009 6:43 AM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: RE: [sqr-users] Print Center of Column >=20 > What is your SQR version ?=20 >=20 >=20 >=20 > > Message du 14/08/09 18:20 > > De : "Knapp, Richard"=20 > > A : "This list is for discussion about the SQR database reportinglangua= ge from Hyperion Solutions."=20 > > Copie =C3=A0 :=20 > > Objet : RE: [sqr-users] Print Center of Column > > > >=20 > > I think you will have to write your own routine to determine the length > > of the variable and pad it accordingly. > >=20 > > Richard Knapp > > EAS - Data Warehouse Group > > University of Missouri > > 615 Locust Street #300 or > > 712 Lewis Hall > > Columbia, MO 65201 > > 573-882-8856 (LSB) > > 573-882-4126 (Lewis) > > knappr@umsystem.edu > >=20 > >=20 > > -----Original Message----- > > From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org > > [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of > > Pactwa, Marissa > > Sent: Friday, August 14, 2009 10:32 AM > > To: This list is for discussion about the SQR database reportinglanguage > > fromHyperion Solutions. > > Subject: [sqr-users] Print Center of Column > >=20 > > Hi All, > >=20 > > I apologize in advance for a stupid question. But how do you make a > > numeric variable print in the center of a column? > >=20 > > For example: > > 1234 > > 12 > > 1 > > 233 > >=20 > > I tried all kinds of edits but it's either left or right justified.=20 > >=20 > > Thanks. > > Marissa > >=20 > >=20 > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > >=20 >=20 > Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 > 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Aug 17 09:31:25 2009 Subject: RE: [sqr-users] Print Center of Column Date: Mon, 17 Aug 2009 09:28:12 -0400 From: "Pactwa, Marissa" I tried to convert to text and even rtrim any trailing blanks and put a deb= ug on the length of the variable to make sure I'm printing the exact size b= ut it still wasn't printing center-aligned.=20 Thanks. Marissa=20 -----Original Message----- From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:sqr= -users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of franck= .masson Sent: Monday, August 17, 2009 9:20 AM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: RE: [sqr-users] Print Center of Column =20 try to convert your number in text before to print it=20 > Message du 17/08/09 15:08 > De : "Pactwa, Marissa"=20 > A : "This list is for discussion about the SQR database reportinglanguage= from Hyperion Solutions."=20 > Copie =E0 :=20 > Objet : RE: [sqr-users] Print Center of Column > >=20 > Hi Jason, >=20 > I need to print the column aligned at the center. I think this command pr= ints the text in the center of the entire row. I tried to use "column-withi= n" instead. It printed in the center but it was still left justified. >=20 > For example: > 1234 > 12 > 1 > 233 >=20 > Thanks. > Marissa >=20 > -----Original Message----- > From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:s= qr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of Simo= n, Jason (MBS) > Sent: Monday, August 17, 2009 8:52 AM > To: This list is for discussion about the SQR database reportinglanguage = fromHyperion Solutions. > Subject: RE: [sqr-users] Print Center of Column >=20 > Hey Marissa, > Have you tried this? >=20 > Print &RptName (2,,) Center=20 >=20 > -----Original Message----- > From: sqr-users-bounces+jason.simon=3Dmortgagefamily.com@sqrug.org [mailt= o:sqr-users-bounces+jason.simon=3Dmortgagefamily.com@sqrug.org] On Behalf O= f Pactwa, Marissa > Sent: Monday, August 17, 2009 8:23 AM > To: This list is for discussion about the SQR database reportinglanguage = fromHyperion Solutions. > Subject: RE: [sqr-users] Print Center of Column >=20 >=20 > We use production reporting ver 9.3.1. >=20 > Thanks. > Marissa >=20 > -----Original Message----- > From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:s= qr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of fran= ck.masson > Sent: Monday, August 17, 2009 6:43 AM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: RE: [sqr-users] Print Center of Column >=20 > What is your SQR version ?=20 >=20 >=20 >=20 > > Message du 14/08/09 18:20 > > De : "Knapp, Richard"=20 > > A : "This list is for discussion about the SQR database reportinglangua= ge from Hyperion Solutions."=20 > > Copie =E0 :=20 > > Objet : RE: [sqr-users] Print Center of Column > > > >=20 > > I think you will have to write your own routine to determine the length > > of the variable and pad it accordingly. > >=20 > > Richard Knapp > > EAS - Data Warehouse Group > > University of Missouri > > 615 Locust Street #300 or > > 712 Lewis Hall > > Columbia, MO 65201 > > 573-882-8856 (LSB) > > 573-882-4126 (Lewis) > > knappr@umsystem.edu > >=20 > >=20 > > -----Original Message----- > > From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org > > [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of > > Pactwa, Marissa > > Sent: Friday, August 14, 2009 10:32 AM > > To: This list is for discussion about the SQR database reportinglanguage > > fromHyperion Solutions. > > Subject: [sqr-users] Print Center of Column > >=20 > > Hi All, > >=20 > > I apologize in advance for a stupid question. But how do you make a > > numeric variable print in the center of a column? > >=20 > > For example: > > 1234 > > 12 > > 1 > > 233 > >=20 > > I tried all kinds of edits but it's either left or right justified.=20 > >=20 > > Thanks. > > Marissa > >=20 > >=20 > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > >=20 >=20 > Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net=20 > 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Aug 17 09:35:09 2009 Subject: RE: [sqr-users] Print Center of Column Date: Mon, 17 Aug 2009 09:31:57 -0400 From: "Simon, Jason (MBS)" My apologies. You are correct.=20=20 -----Original Message----- From: sqr-users-bounces+jason.simon=3Dmortgagefamily.com@sqrug.org [mailto:= sqr-users-bounces+jason.simon=3Dmortgagefamily.com@sqrug.org] On Behalf Of = Pactwa, Marissa Sent: Monday, August 17, 2009 9:05 AM To: This list is for discussion about the SQR database reportinglanguage fr= omHyperion Solutions. Subject: RE: [sqr-users] Print Center of Column Hi Jason, I need to print the column aligned at the center. I think this command prin= ts the text in the center of the entire row. I tried to use "column-within"= instead. It printed in the center but it was still left justified. For example: 1234 12 1 233 Thanks. Marissa -----Original Message----- From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:sqr= -users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of Simon,= Jason (MBS) Sent: Monday, August 17, 2009 8:52 AM To: This list is for discussion about the SQR database reportinglanguage fr= omHyperion Solutions. Subject: RE: [sqr-users] Print Center of Column Hey Marissa, Have you tried this? Print &RptName (2,,) Center=20=20=20 -----Original Message----- From: sqr-users-bounces+jason.simon=3Dmortgagefamily.com@sqrug.org [mailto:= sqr-users-bounces+jason.simon=3Dmortgagefamily.com@sqrug.org] On Behalf Of = Pactwa, Marissa Sent: Monday, August 17, 2009 8:23 AM To: This list is for discussion about the SQR database reportinglanguage fr= omHyperion Solutions. Subject: RE: [sqr-users] Print Center of Column We use production reporting ver 9.3.1. Thanks. Marissa -----Original Message----- From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:sqr= -users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of franck= .masson Sent: Monday, August 17, 2009 6:43 AM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: RE: [sqr-users] Print Center of Column What is your SQR version ?=20 > Message du 14/08/09 18:20 > De : "Knapp, Richard"=20 > A : "This list is for discussion about the SQR database reportinglanguage= from Hyperion Solutions."=20 > Copie =E0 :=20 > Objet : RE: [sqr-users] Print Center of Column > >=20 > I think you will have to write your own routine to determine the length > of the variable and pad it accordingly. >=20 > Richard Knapp > EAS - Data Warehouse Group > University of Missouri > 615 Locust Street #300 or > 712 Lewis Hall > Columbia, MO 65201 > 573-882-8856 (LSB) > 573-882-4126 (Lewis) > knappr@umsystem.edu >=20 >=20 > -----Original Message----- > From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org > [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of > Pactwa, Marissa > Sent: Friday, August 14, 2009 10:32 AM > To: This list is for discussion about the SQR database reportinglanguage > fromHyperion Solutions. > Subject: [sqr-users] Print Center of Column >=20 > Hi All, >=20 > I apologize in advance for a stupid question. But how do you make a > numeric variable print in the center of a column? >=20 > For example: > 1234 > 12 > 1 > 233 >=20 > I tried all kinds of edits but it's either left or right justified.=20 >=20 > Thanks. > Marissa >=20 >=20 >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Aug 17 09:40:29 2009 From: "franck.masson" Subject: RE: [sqr-users] Print Center of Column Date: Mon, 17 Aug 2009 15:37:42 +0200 (CEST) =20 until version 9.5, the only option you have is to use NonProportional font = and to pad with blank on the left=20 > Message du 17/08/09 15:31 > De : "Pactwa, Marissa"=20 > A : "This list is for discussion about the SQR database reportinglanguage= from Hyperion Solutions."=20 > Copie =C3=A0 :=20 > Objet : RE: [sqr-users] Print Center of Column > >=20 >=20 > I tried to convert to text and even rtrim any trailing blanks and put a d= ebug on the length of the variable to make sure I'm printing the exact size= but it still wasn't printing center-aligned.=20 >=20 > Thanks. > Marissa=20 >=20 > -----Original Message----- > From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:s= qr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of fran= ck.masson > Sent: Monday, August 17, 2009 9:20 AM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: RE: [sqr-users] Print Center of Column >=20 >=20 > try to convert your number in text before to print it=20 >=20 >=20 >=20 > > Message du 17/08/09 15:08 > > De : "Pactwa, Marissa"=20 > > A : "This list is for discussion about the SQR database reportinglangua= ge from Hyperion Solutions."=20 > > Copie =C3=A0 :=20 > > Objet : RE: [sqr-users] Print Center of Column > > > >=20 > > Hi Jason, > >=20 > > I need to print the column aligned at the center. I think this command = prints the text in the center of the entire row. I tried to use "column-wit= hin" instead. It printed in the center but it was still left justified. > >=20 > > For example: > > 1234 > > 12 > > 1 > > 233 > >=20 > > Thanks. > > Marissa > >=20 > > -----Original Message----- > > From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto= :sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of Si= mon, Jason (MBS) > > Sent: Monday, August 17, 2009 8:52 AM > > To: This list is for discussion about the SQR database reportinglanguag= e fromHyperion Solutions. > > Subject: RE: [sqr-users] Print Center of Column > >=20 > > Hey Marissa, > > Have you tried this? > >=20 > > Print &RptName (2,,) Center=20 > >=20 > > -----Original Message----- > > From: sqr-users-bounces+jason.simon=3Dmortgagefamily.com@sqrug.org [mai= lto:sqr-users-bounces+jason.simon=3Dmortgagefamily.com@sqrug.org] On Behalf= Of Pactwa, Marissa > > Sent: Monday, August 17, 2009 8:23 AM > > To: This list is for discussion about the SQR database reportinglanguag= e fromHyperion Solutions. > > Subject: RE: [sqr-users] Print Center of Column > >=20 > >=20 > > We use production reporting ver 9.3.1. > >=20 > > Thanks. > > Marissa > >=20 > > -----Original Message----- > > From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto= :sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of fr= anck.masson > > Sent: Monday, August 17, 2009 6:43 AM > > To: This list is for discussion about the SQR database reporting langua= gefrom Hyperion Solutions. > > Subject: RE: [sqr-users] Print Center of Column > >=20 > > What is your SQR version ?=20 > >=20 > >=20 > >=20 > > > Message du 14/08/09 18:20 > > > De : "Knapp, Richard"=20 > > > A : "This list is for discussion about the SQR database reportinglang= uage from Hyperion Solutions."=20 > > > Copie =C3=A0 :=20 > > > Objet : RE: [sqr-users] Print Center of Column > > > > > >=20 > > > I think you will have to write your own routine to determine the leng= th > > > of the variable and pad it accordingly. > > >=20 > > > Richard Knapp > > > EAS - Data Warehouse Group > > > University of Missouri > > > 615 Locust Street #300 or > > > 712 Lewis Hall > > > Columbia, MO 65201 > > > 573-882-8856 (LSB) > > > 573-882-4126 (Lewis) > > > knappr@umsystem.edu > > >=20 > > >=20 > > > -----Original Message----- > > > From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org > > > [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf = Of > > > Pactwa, Marissa > > > Sent: Friday, August 14, 2009 10:32 AM > > > To: This list is for discussion about the SQR database reportinglangu= age > > > fromHyperion Solutions. > > > Subject: [sqr-users] Print Center of Column > > >=20 > > > Hi All, > > >=20 > > > I apologize in advance for a stupid question. But how do you make a > > > numeric variable print in the center of a column? > > >=20 > > > For example: > > > 1234 > > > 12 > > > 1 > > > 233 > > >=20 > > > I tried all kinds of edits but it's either left or right justified.= =20 > > >=20 > > > Thanks. > > > Marissa > > >=20 > > >=20 > > >=20 > > > _______________________________________________ > > > sqr-users mailing list > > > sqr-users@sqrug.org > > > http://www.sqrug.org/mailman/listinfo/sqr-users > > >=20 > > > _______________________________________________ > > > sqr-users mailing list > > > sqr-users@sqrug.org > > > http://www.sqrug.org/mailman/listinfo/sqr-users > > >=20 > > >=20 > >=20 > > Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 > > 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > >=20 > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > >=20 >=20 > Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 > 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Aug 17 10:39:36 2009 Subject: RE: [sqr-users] Print Center of Column Date: Mon, 17 Aug 2009 09:37:11 -0500 From: "Knapp, Richard" Once you have the length, you have to subtract that from the width of the f= ield, divide by 2 and pad the string that amount with spaces. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #300 or 712 Lewis Hall Columbia, MO 65201 573-882-8856 (LSB) 573-882-4126 (Lewis) knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-b= ounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Pactwa, Marissa Sent: Monday, August 17, 2009 8:28 AM To: This list is for discussion about the SQR database reportinglanguage fr= omHyperion Solutions. Subject: RE: [sqr-users] Print Center of Column I tried to convert to text and even rtrim any trailing blanks and put a deb= ug on the length of the variable to make sure I'm printing the exact size b= ut it still wasn't printing center-aligned.=20 Thanks. Marissa=20 -----Original Message----- From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:sqr= -users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of franck= .masson Sent: Monday, August 17, 2009 9:20 AM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: RE: [sqr-users] Print Center of Column =20 try to convert your number in text before to print it=20 > Message du 17/08/09 15:08 > De : "Pactwa, Marissa"=20 > A : "This list is for discussion about the SQR database reportinglanguage= from Hyperion Solutions."=20 > Copie =E0 :=20 > Objet : RE: [sqr-users] Print Center of Column > >=20 > Hi Jason, >=20 > I need to print the column aligned at the center. I think this command pr= ints the text in the center of the entire row. I tried to use "column-withi= n" instead. It printed in the center but it was still left justified. >=20 > For example: > 1234 > 12 > 1 > 233 >=20 > Thanks. > Marissa >=20 > -----Original Message----- > From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:s= qr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of Simo= n, Jason (MBS) > Sent: Monday, August 17, 2009 8:52 AM > To: This list is for discussion about the SQR database reportinglanguage = fromHyperion Solutions. > Subject: RE: [sqr-users] Print Center of Column >=20 > Hey Marissa, > Have you tried this? >=20 > Print &RptName (2,,) Center=20 >=20 > -----Original Message----- > From: sqr-users-bounces+jason.simon=3Dmortgagefamily.com@sqrug.org [mailt= o:sqr-users-bounces+jason.simon=3Dmortgagefamily.com@sqrug.org] On Behalf O= f Pactwa, Marissa > Sent: Monday, August 17, 2009 8:23 AM > To: This list is for discussion about the SQR database reportinglanguage = fromHyperion Solutions. > Subject: RE: [sqr-users] Print Center of Column >=20 >=20 > We use production reporting ver 9.3.1. >=20 > Thanks. > Marissa >=20 > -----Original Message----- > From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:s= qr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of fran= ck.masson > Sent: Monday, August 17, 2009 6:43 AM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: RE: [sqr-users] Print Center of Column >=20 > What is your SQR version ?=20 >=20 >=20 >=20 > > Message du 14/08/09 18:20 > > De : "Knapp, Richard"=20 > > A : "This list is for discussion about the SQR database reportinglangua= ge from Hyperion Solutions."=20 > > Copie =E0 :=20 > > Objet : RE: [sqr-users] Print Center of Column > > > >=20 > > I think you will have to write your own routine to determine the length > > of the variable and pad it accordingly. > >=20 > > Richard Knapp > > EAS - Data Warehouse Group > > University of Missouri > > 615 Locust Street #300 or > > 712 Lewis Hall > > Columbia, MO 65201 > > 573-882-8856 (LSB) > > 573-882-4126 (Lewis) > > knappr@umsystem.edu > >=20 > >=20 > > -----Original Message----- > > From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org > > [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of > > Pactwa, Marissa > > Sent: Friday, August 14, 2009 10:32 AM > > To: This list is for discussion about the SQR database reportinglanguage > > fromHyperion Solutions. > > Subject: [sqr-users] Print Center of Column > >=20 > > Hi All, > >=20 > > I apologize in advance for a stupid question. But how do you make a > > numeric variable print in the center of a column? > >=20 > > For example: > > 1234 > > 12 > > 1 > > 233 > >=20 > > I tried all kinds of edits but it's either left or right justified.=20 > >=20 > > Thanks. > > Marissa > >=20 > >=20 > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > >=20 >=20 > Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net=20 > 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Aug 17 10:49:06 2009 Subject: RE: [sqr-users] Print Center of Column Date: Mon, 17 Aug 2009 10:45:22 -0400 From: "Pactwa, Marissa" Since this is a reporting software, I was hoping there is already a command= for a basic printing format such as this. Thanks for all your replies. I really appreciate it. Marissa -----Original Message----- From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:sqr= -users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of Knapp,= Richard Sent: Monday, August 17, 2009 10:37 AM To: This list is for discussion about the SQR database reportinglanguage fr= omHyperion Solutions. Subject: RE: [sqr-users] Print Center of Column Once you have the length, you have to subtract that from the width of the f= ield, divide by 2 and pad the string that amount with spaces. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #300 or 712 Lewis Hall Columbia, MO 65201 573-882-8856 (LSB) 573-882-4126 (Lewis) knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-b= ounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Pactwa, Marissa Sent: Monday, August 17, 2009 8:28 AM To: This list is for discussion about the SQR database reportinglanguage fr= omHyperion Solutions. Subject: RE: [sqr-users] Print Center of Column I tried to convert to text and even rtrim any trailing blanks and put a deb= ug on the length of the variable to make sure I'm printing the exact size b= ut it still wasn't printing center-aligned.=20 Thanks. Marissa=20 -----Original Message----- From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:sqr= -users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of franck= .masson Sent: Monday, August 17, 2009 9:20 AM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: RE: [sqr-users] Print Center of Column =20 try to convert your number in text before to print it=20 > Message du 17/08/09 15:08 > De : "Pactwa, Marissa"=20 > A : "This list is for discussion about the SQR database reportinglanguage= from Hyperion Solutions."=20 > Copie =E0 :=20 > Objet : RE: [sqr-users] Print Center of Column > >=20 > Hi Jason, >=20 > I need to print the column aligned at the center. I think this command pr= ints the text in the center of the entire row. I tried to use "column-withi= n" instead. It printed in the center but it was still left justified. >=20 > For example: > 1234 > 12 > 1 > 233 >=20 > Thanks. > Marissa >=20 > -----Original Message----- > From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:s= qr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of Simo= n, Jason (MBS) > Sent: Monday, August 17, 2009 8:52 AM > To: This list is for discussion about the SQR database reportinglanguage = fromHyperion Solutions. > Subject: RE: [sqr-users] Print Center of Column >=20 > Hey Marissa, > Have you tried this? >=20 > Print &RptName (2,,) Center=20 >=20 > -----Original Message----- > From: sqr-users-bounces+jason.simon=3Dmortgagefamily.com@sqrug.org [mailt= o:sqr-users-bounces+jason.simon=3Dmortgagefamily.com@sqrug.org] On Behalf O= f Pactwa, Marissa > Sent: Monday, August 17, 2009 8:23 AM > To: This list is for discussion about the SQR database reportinglanguage = fromHyperion Solutions. > Subject: RE: [sqr-users] Print Center of Column >=20 >=20 > We use production reporting ver 9.3.1. >=20 > Thanks. > Marissa >=20 > -----Original Message----- > From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:s= qr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of fran= ck.masson > Sent: Monday, August 17, 2009 6:43 AM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: RE: [sqr-users] Print Center of Column >=20 > What is your SQR version ?=20 >=20 >=20 >=20 > > Message du 14/08/09 18:20 > > De : "Knapp, Richard"=20 > > A : "This list is for discussion about the SQR database reportinglangua= ge from Hyperion Solutions."=20 > > Copie =E0 :=20 > > Objet : RE: [sqr-users] Print Center of Column > > > >=20 > > I think you will have to write your own routine to determine the length > > of the variable and pad it accordingly. > >=20 > > Richard Knapp > > EAS - Data Warehouse Group > > University of Missouri > > 615 Locust Street #300 or > > 712 Lewis Hall > > Columbia, MO 65201 > > 573-882-8856 (LSB) > > 573-882-4126 (Lewis) > > knappr@umsystem.edu > >=20 > >=20 > > -----Original Message----- > > From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org > > [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of > > Pactwa, Marissa > > Sent: Friday, August 14, 2009 10:32 AM > > To: This list is for discussion about the SQR database reportinglanguage > > fromHyperion Solutions. > > Subject: [sqr-users] Print Center of Column > >=20 > > Hi All, > >=20 > > I apologize in advance for a stupid question. But how do you make a > > numeric variable print in the center of a column? > >=20 > > For example: > > 1234 > > 12 > > 1 > > 233 > >=20 > > I tried all kinds of edits but it's either left or right justified.=20 > >=20 > > Thanks. > > Marissa > >=20 > >=20 > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20 > >=20 >=20 > Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net=20 > 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=E9ez votre adresse =E9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Aug 18 10:12:41 2009 From: Gopal Date: Tue, 18 Aug 2009 19:42:20 +0530 Subject: [sqr-users] =?iso-8859-1?q?FW=3A_=27=AB=27_and_=27=BB=27_are_con?= =?iso-8859-1?q?sidered_as_spaces_in_SQR?= Hello All, While generating a report in French, the French equivalent double quotes (« and ») are considered as while spaces and characters that followed immediately after ‘«’ or ‘»’ are printed in the next line, if the double quote characters (‘«’ or ‘»’) are positioned at end of the line. For example the following text has to be printed in a single line, no matter wherever it’s positioned. sample text sample text (« FAQ »). Consider the text “(« FAQ »)” has to be printed at the end of a printing line, But the text is being wrapped as sample text sample text (« FAQ » ). Though there was no space between ‘»’ and ‘)’ , the ‘)’ is wrapped to next line. Appreciate your help in advance. Best Regards, Gopal.R _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Aug 18 10:28:59 2009 From: "franck.masson" Subject: =?UTF-8?Q?Re:[sqr-users]_FW:_'=C2=AB'_and_'=C2=BB'_?= =?UTF-8?Q?are_considered_as_spaces_in_SQR?= Date: Tue, 18 Aug 2009 16:26:11 +0200 (CEST) what is your output Format ? HP, PDF, HTML , PS ?=20 > Message du 18/08/09 16:12 > De : "Gopal"=20 > A : sqr-users@sqrug.org, "'Ravi Balasubramanian'"=20 > Copie =C3=A0 :=20 > Objet : [sqr-users] FW: '=C2=AB' and '=C2=BB' are considered as spaces in= SQR > >=20 > Hello All, >=20 > While generating a report in French, the French equivalent double quotes > (=C2=AB and =C2=BB) are considered as while spaces and characters that fo= llowed > immediately after =C2=91=C2=AB=C2=92 or =C2=91=C2=BB=C2=92 are printed in= the next line, if the double > quote characters (=C2=91=C2=AB=C2=92 or =C2=91=C2=BB=C2=92) are positione= d at end of the line. >=20 > For example the following text has to be printed in a single line, no mat= ter > wherever it=C2=92s positioned. >=20 > sample text sample text (=C2=AB FAQ =C2=BB). >=20 > Consider the text =C2=93(=C2=AB FAQ =C2=BB)=C2=94 has to be printed at th= e end of a printing > line, But the text is being wrapped as >=20 > sample text sample text (=C2=AB FAQ =C2=BB > ). >=20 > Though there was no space between =C2=91=C2=BB=C2=92 and =C2=91)=C2=92 , = the =C2=91)=C2=92 is wrapped to next > line. >=20 > Appreciate your help in advance. >=20 > Best Regards, >=20 > Gopal.R >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Aug 18 11:31:42 2009 From: Gopalakrishnan Rengasamy Date: Tue, 18 Aug 2009 20:57:53 +0530 Subject: =?iso-8859-1?Q?RE:_[sqr-users]_FW:_'=AB'_and_'=BB'_are_considered_as_spac?= =?iso-8859-1?Q?es_in_SQR?= Hi, Out format files are PDF and HTML. Best Regards, Gopal.R -----Original Message----- From: sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.org [m= ailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.org]On= Behalf Of franck.masson Sent: August 18, 2009 7:56 PM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: Re:[sqr-users] FW: '"' and '"' are considered as spaces in SQR what is your output Format ? HP, PDF, HTML , PS ? > Message du 18/08/09 16:12 > De : "Gopal" > A : sqr-users@sqrug.org, "'Ravi Balasubramanian'" > Copie : > Objet : [sqr-users] FW: '' and '' are considered as spaces in SQR > > > Hello All, > > While generating a report in French, the French equivalent double quotes > ( and ) are considered as while spaces and characters that followed > immediately after ?? or ?? are printed in the next line, if the double > quote characters (?? or ??) are positioned at end of the line. > > For example the following text has to be printed in a single line, no mat= ter > wherever it?s positioned. > > sample text sample text ( FAQ ). > > Consider the text ?( FAQ )? has to be printed at the end of a printing > line, But the text is being wrapped as > > sample text sample text ( FAQ > ). > > Though there was no space between ?? and ?)? , the ?)? is wrapped to next > line. > > Appreciate your help in advance. > > Best Regards, > > Gopal.R > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > Crez votre adresse lectronique prenom.nom@laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Aug 18 11:41:02 2009 From: "franck.masson" Subject: =?UTF-8?Q?RE:_[sqr-users]_FW:_'=C2=AB'_and_'=C2=BB'?= =?UTF-8?Q?_are_considered_as_spaces_in_SQR?= Date: Tue, 18 Aug 2009 17:38:18 +0200 (CEST) can you share your line of code ?=20 what is your sqr version ?=20 and i suppose that you have set your sqr program file as unicode file , is = this correct ? > Message du 18/08/09 17:31 > De : "Gopalakrishnan Rengasamy"=20 > A : "'This list is for discussion about the SQR database reportinglanguag= e from Hyperion Solutions.'"=20 > Copie =C3=A0 :=20 > Objet : RE: [sqr-users] FW: '=C2=AB' and '=C2=BB' are considered as space= s in SQR > >=20 >=20 > Hi, > Out format files are PDF and HTML. >=20 >=20 > Best Regards, >=20 > Gopal.R >=20 > -----Original Message----- > From: sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.org = [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.org]= On Behalf Of franck.masson > Sent: August 18, 2009 7:56 PM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: Re:[sqr-users] FW: '"' and '"' are considered as spaces in SQR >=20 > what is your output Format ? HP, PDF, HTML , PS ? >=20 >=20 >=20 > > Message du 18/08/09 16:12 > > De : "Gopal" > > A : sqr-users@sqrug.org, "'Ravi Balasubramanian'" > > Copie : > > Objet : [sqr-users] FW: '' and '' are considered as spaces in SQR > > > > > > Hello All, > > > > While generating a report in French, the French equivalent double quotes > > ( and ) are considered as while spaces and characters that followed > > immediately after ?? or ?? are printed in the next line, if the double > > quote characters (?? or ??) are positioned at end of the line. > > > > For example the following text has to be printed in a single line, no m= atter > > wherever it?s positioned. > > > > sample text sample text ( FAQ ). > > > > Consider the text ?( FAQ )? has to be printed at the end of a printing > > line, But the text is being wrapped as > > > > sample text sample text ( FAQ > > ). > > > > Though there was no space between ?? and ?)? , the ?)? is wrapped to ne= xt > > line. > > > > Appreciate your help in advance. > > > > Best Regards, > > > > Gopal.R > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > >=20 > Crez votre adresse lectronique prenom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Aug 18 11:57:28 2009 From: Gopalakrishnan Rengasamy Date: Tue, 18 Aug 2009 21:27:37 +0530 Subject: =?iso-8859-1?Q?RE:_[sqr-users]_FW:_'=AB'_and_'=BB'_are_considered_as_spac?= =?iso-8859-1?Q?es_in_SQR?= My SQR version is Hyperion SQR 8.3 As you are suspected, in my sqr.ini file I have set UseUniCodeInternal =3D = TRUE setting My line of code is print $Master_Query_TEXT2 (35,120,72) Wrap 72 51 strip =3D'' on=3D<10> = line-height=3D10 Keep-Top Best Regards, Gopal.R -----Original Message----- From: sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.org [m= ailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.org]On= Behalf Of franck.masson Sent: August 18, 2009 9:08 PM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: RE: [sqr-users] FW: '"' and '"' are considered as spaces in SQR can you share your line of code ? what is your sqr version ? and i suppose that you have set your sqr program file as unicode file , is = this correct ? > Message du 18/08/09 17:31 > De : "Gopalakrishnan Rengasamy" > A : "'This list is for discussion about the SQR database reportinglanguag= e from Hyperion Solutions.'" > Copie : > Objet : RE: [sqr-users] FW: '' and '' are considered as spaces in SQR > > > > Hi, > Out format files are PDF and HTML. > > > Best Regards, > > Gopal.R > > -----Original Message----- > From: sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.org = [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.org]= On Behalf Of franck.masson > Sent: August 18, 2009 7:56 PM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: Re:[sqr-users] FW: '"' and '"' are considered as spaces in SQR > > what is your output Format ? HP, PDF, HTML , PS ? > > > > > Message du 18/08/09 16:12 > > De : "Gopal" > > A : sqr-users@sqrug.org, "'Ravi Balasubramanian'" > > Copie : > > Objet : [sqr-users] FW: '' and '' are considered as spaces in SQR > > > > > > Hello All, > > > > While generating a report in French, the French equivalent double quotes > > ( and ) are considered as while spaces and characters that followed > > immediately after ?? or ?? are printed in the next line, if the double > > quote characters (?? or ??) are positioned at end of the line. > > > > For example the following text has to be printed in a single line, no m= atter > > wherever it?s positioned. > > > > sample text sample text ( FAQ ). > > > > Consider the text ?( FAQ )? has to be printed at the end of a printing > > line, But the text is being wrapped as > > > > sample text sample text ( FAQ > > ). > > > > Though there was no space between ?? and ?)? , the ?)? is wrapped to ne= xt > > line. > > > > Appreciate your help in advance. > > > > Best Regards, > > > > Gopal.R > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > Crez votre adresse lectronique prenom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > Crez votre adresse lectronique prenom.nom@laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Aug 18 13:51:42 2009 From: "franck.masson" Subject: =?UTF-8?Q?RE:_[sqr-users]_FW:_'=C2=AB'_and_'=C2=BB'?= =?UTF-8?Q?_are_considered_as_spaces_in_SQR?= Date: Tue, 18 Aug 2009 19:48:52 +0200 (CEST) It is the Wrap option that cut your line. SQR do not manage Proportional Font, it just count the number character and= do not care of it size I think that your charater in the variable $Master_Query_TEXT2 should be in= position 72 . So your issue do not seem to be related to the character << or >>. To validate this you can replace it in your string by "A" and see if you ha= ve the same issue. > Message du 18/08/09 17:57 > De : "Gopalakrishnan Rengasamy"=20 > A : "'This list is for discussion about the SQR database reportinglanguag= e from Hyperion Solutions.'"=20 > Copie =C3=A0 :=20 > Objet : RE: [sqr-users] FW: '=C2=AB' and '=C2=BB' are considered as space= s in SQR > >=20 > My SQR version is Hyperion SQR 8.3 >=20 > As you are suspected, in my sqr.ini file I have set UseUniCodeInternal = =3D TRUE setting >=20 > My line of code is > print $Master_Query_TEXT2 (35,120,72) Wrap 72 51 strip =3D'' on=3D<10> li= ne-height=3D10 Keep-Top >=20 > Best Regards, >=20 > Gopal.R >=20 > -----Original Message----- > From: sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.org = [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.org]= On Behalf Of franck.masson > Sent: August 18, 2009 9:08 PM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: RE: [sqr-users] FW: '"' and '"' are considered as spaces in SQR >=20 > can you share your line of code ? > what is your sqr version ? > and i suppose that you have set your sqr program file as unicode file , i= s this correct ? >=20 >=20 >=20 >=20 > > Message du 18/08/09 17:31 > > De : "Gopalakrishnan Rengasamy" > > A : "'This list is for discussion about the SQR database reportinglangu= age from Hyperion Solutions.'" > > Copie : > > Objet : RE: [sqr-users] FW: '' and '' are considered as spaces in SQR > > > > > > > > Hi, > > Out format files are PDF and HTML. > > > > > > Best Regards, > > > > Gopal.R > > > > -----Original Message----- > > From: sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.or= g [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.or= g]On Behalf Of franck.masson > > Sent: August 18, 2009 7:56 PM > > To: This list is for discussion about the SQR database reporting langua= gefrom Hyperion Solutions. > > Subject: Re:[sqr-users] FW: '"' and '"' are considered as spaces in SQR > > > > what is your output Format ? HP, PDF, HTML , PS ? > > > > > > > > > Message du 18/08/09 16:12 > > > De : "Gopal" > > > A : sqr-users@sqrug.org, "'Ravi Balasubramanian'" > > > Copie : > > > Objet : [sqr-users] FW: '' and '' are considered as spaces in SQR > > > > > > > > > Hello All, > > > > > > While generating a report in French, the French equivalent double quo= tes > > > ( and ) are considered as while spaces and characters that followed > > > immediately after ?? or ?? are printed in the next line, if the double > > > quote characters (?? or ??) are positioned at end of the line. > > > > > > For example the following text has to be printed in a single line, no= matter > > > wherever it?s positioned. > > > > > > sample text sample text ( FAQ ). > > > > > > Consider the text ?( FAQ )? has to be printed at the end of a printing > > > line, But the text is being wrapped as > > > > > > sample text sample text ( FAQ > > > ). > > > > > > Though there was no space between ?? and ?)? , the ?)? is wrapped to = next > > > line. > > > > > > Appreciate your help in advance. > > > > > > Best Regards, > > > > > > Gopal.R > > > > > > _______________________________________________ > > > sqr-users mailing list > > > sqr-users@sqrug.org > > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > > Crez votre adresse lectronique prenom.nom@laposte.net > > 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > >=20 > Crez votre adresse lectronique prenom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Aug 19 02:04:44 2009 From: Gopalakrishnan Rengasamy Date: Wed, 19 Aug 2009 11:34:19 +0530 Subject: =?iso-8859-1?Q?RE:_[sqr-users]_FW:_'=AB'_and_'=BB'_are_considered_as_spac?= =?iso-8859-1?Q?es_in_SQR?= Dear Friends, A Big thanks for your replies. Due to wrap command ')' (bracket) wraps to next line, if '"' character is = at the 72nd character. But my question is, in the text (" FAQ ") there is = no space between '"' and ')'. If wrap applied, both characters ( '"' and '= )' ) should wrap to next line instead of the ')' (bracket) alone. But, other characters are getting wrapped properly. For example Say, My wrap command is like wrap 80 40. (80 characters per line and 40 lin= es). Here is the text I print. This is sample text. This is sample text. This text going to wrap to the ne= xt Line. Even though there is a room to print part of the text "li" in the text "lin= e", the whole text (line) gets wrapped to next line, since there is no spac= e in the word "line". Likewise, (" FAQ ") has to work in the same way. But= it is not, Is there any specific reason (" FAQ ") is not working in the same way apart= from the issue you mentioned (SQR do not manage Proportional Font). Once again thanks. Best Regards, Gopal.R -----Original Message----- From: sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.org [m= ailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.org]On= Behalf Of franck.masson Sent: August 18, 2009 11:19 PM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: RE: [sqr-users] FW: '"' and '"' are considered as spaces in SQR It is the Wrap option that cut your line. SQR do not manage Proportional Font, it just count the number character and= do not care of it size I think that your charater in the variable $Master_Query_TEXT2 should be in= position 72 . So your issue do not seem to be related to the character << or >>. To validate this you can replace it in your string by "A" and see if you ha= ve the same issue. > Message du 18/08/09 17:57 > De : "Gopalakrishnan Rengasamy" > A : "'This list is for discussion about the SQR database reportinglanguag= e from Hyperion Solutions.'" > Copie : > Objet : RE: [sqr-users] FW: '' and '' are considered as spaces in SQR > > > My SQR version is Hyperion SQR 8.3 > > As you are suspected, in my sqr.ini file I have set UseUniCodeInternal = =3D TRUE setting > > My line of code is > print $Master_Query_TEXT2 (35,120,72) Wrap 72 51 strip =3D'' on=3D<10> li= ne-height=3D10 Keep-Top > > Best Regards, > > Gopal.R > > -----Original Message----- > From: sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.org = [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.org]= On Behalf Of franck.masson > Sent: August 18, 2009 9:08 PM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: RE: [sqr-users] FW: '"' and '"' are considered as spaces in SQR > > can you share your line of code ? > what is your sqr version ? > and i suppose that you have set your sqr program file as unicode file , i= s this correct ? > > > > > > Message du 18/08/09 17:31 > > De : "Gopalakrishnan Rengasamy" > > A : "'This list is for discussion about the SQR database reportinglangu= age from Hyperion Solutions.'" > > Copie : > > Objet : RE: [sqr-users] FW: '' and '' are considered as spaces in SQR > > > > > > > > Hi, > > Out format files are PDF and HTML. > > > > > > Best Regards, > > > > Gopal.R > > > > -----Original Message----- > > From: sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.or= g [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.or= g]On Behalf Of franck.masson > > Sent: August 18, 2009 7:56 PM > > To: This list is for discussion about the SQR database reporting langua= gefrom Hyperion Solutions. > > Subject: Re:[sqr-users] FW: '"' and '"' are considered as spaces in SQR > > > > what is your output Format ? HP, PDF, HTML , PS ? > > > > > > > > > Message du 18/08/09 16:12 > > > De : "Gopal" > > > A : sqr-users@sqrug.org, "'Ravi Balasubramanian'" > > > Copie : > > > Objet : [sqr-users] FW: '' and '' are considered as spaces in SQR > > > > > > > > > Hello All, > > > > > > While generating a report in French, the French equivalent double quo= tes > > > ( and ) are considered as while spaces and characters that followed > > > immediately after ?? or ?? are printed in the next line, if the double > > > quote characters (?? or ??) are positioned at end of the line. > > > > > > For example the following text has to be printed in a single line, no= matter > > > wherever it?s positioned. > > > > > > sample text sample text ( FAQ ). > > > > > > Consider the text ?( FAQ )? has to be printed at the end of a printing > > > line, But the text is being wrapped as > > > > > > sample text sample text ( FAQ > > > ). > > > > > > Though there was no space between ?? and ?)? , the ?)? is wrapped to = next > > > line. > > > > > > Appreciate your help in advance. > > > > > > Best Regards, > > > > > > Gopal.R > > > > > > _______________________________________________ > > > sqr-users mailing list > > > sqr-users@sqrug.org > > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > > Crez votre adresse lectronique prenom.nom@laposte.net > > 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > Crez votre adresse lectronique prenom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > Crez votre adresse lectronique prenom.nom@laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Aug 19 05:20:20 2009 From: "Steve Cavill" Subject: =?us-ascii?Q?RE:_=5Bsqr-users=5D_FW:_'=3C'_and_'=3E'_are_considered_as_sp?= =?us-ascii?Q?aces_in_SQR?= Date: Wed, 19 Aug 2009 19:16:11 +1000 WRAP does not wraps on spaces, it wraps on word boundaries. I guess it depends on the definition of a word boundary. Based on your observation I would surmise that anything other than a letter is a "word boundary" So hello-steve, could easily wrap on the -. And Hyperion(SQR) could easily wrap on ( Steve. -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of Gopalakrishnan Rengasamy Sent: Wednesday, 19 August 2009 4:04 PM To: 'This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions.' Subject: RE: [sqr-users] FW: '<' and '>' are considered as spaces in SQR Dear Friends, A Big thanks for your replies. Due to wrap command ')' (bracket) wraps to next line, if '"' character is at the 72nd character. But my question is, in the text (" FAQ ") there is no space between '"' and ')'. If wrap applied, both characters ( '"' and ')' ) should wrap to next line instead of the ')' (bracket) alone. But, other characters are getting wrapped properly. For example Say, My wrap command is like wrap 80 40. (80 characters per line and 40 lines). Here is the text I print. This is sample text. This is sample text. This text going to wrap to the next Line. Even though there is a room to print part of the text "li" in the text "line", the whole text (line) gets wrapped to next line, since there is no space in the word "line". Likewise, (" FAQ ") has to work in the same way. But it is not, Is there any specific reason (" FAQ ") is not working in the same way apart from the issue you mentioned (SQR do not manage Proportional Font). Once again thanks. Best Regards, Gopal.R -----Original Message----- From: sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org]On Behalf Of franck.masson Sent: August 18, 2009 11:19 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] FW: '"' and '"' are considered as spaces in SQR It is the Wrap option that cut your line. SQR do not manage Proportional Font, it just count the number character and do not care of it size I think that your charater in the variable $Master_Query_TEXT2 should be in position 72 . So your issue do not seem to be related to the character << or >>. To validate this you can replace it in your string by "A" and see if you have the same issue. > Message du 18/08/09 17:57 > De : "Gopalakrishnan Rengasamy" > A : "'This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions.'" > Copie : > Objet : RE: [sqr-users] FW: '' and '' are considered as spaces in SQR > > > My SQR version is Hyperion SQR 8.3 > > As you are suspected, in my sqr.ini file I have set UseUniCodeInternal > = TRUE setting > > My line of code is > print $Master_Query_TEXT2 (35,120,72) Wrap 72 51 strip ='' on=<10> > line-height=10 Keep-Top > > Best Regards, > > Gopal.R > > -----Original Message----- > From: sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org > [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.o > rg]On Behalf Of franck.masson > Sent: August 18, 2009 9:08 PM > To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. > Subject: RE: [sqr-users] FW: '"' and '"' are considered as spaces in > SQR > > can you share your line of code ? > what is your sqr version ? > and i suppose that you have set your sqr program file as unicode file , is this correct ? > > > > > > Message du 18/08/09 17:31 > > De : "Gopalakrishnan Rengasamy" > > A : "'This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions.'" > > Copie : > > Objet : RE: [sqr-users] FW: '' and '' are considered as spaces in > > SQR > > > > > > > > Hi, > > Out format files are PDF and HTML. > > > > > > Best Regards, > > > > Gopal.R > > > > -----Original Message----- > > From: > > sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org > > [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug > > .org]On Behalf Of franck.masson > > Sent: August 18, 2009 7:56 PM > > To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. > > Subject: Re:[sqr-users] FW: '"' and '"' are considered as spaces in > > SQR > > > > what is your output Format ? HP, PDF, HTML , PS ? > > > > > > > > > Message du 18/08/09 16:12 > > > De : "Gopal" > > > A : sqr-users@sqrug.org, "'Ravi Balasubramanian'" > > > Copie : > > > Objet : [sqr-users] FW: '' and '' are considered as spaces in SQR > > > > > > > > > Hello All, > > > > > > While generating a report in French, the French equivalent double > > > quotes ( and ) are considered as while spaces and characters that > > > followed immediately after ?? or ?? are printed in the next line, > > > if the double quote characters (?? or ??) are positioned at end of the line. > > > > > > For example the following text has to be printed in a single line, > > > no matter wherever it?s positioned. > > > > > > sample text sample text ( FAQ ). > > > > > > Consider the text ?( FAQ )? has to be printed at the end of a > > > printing line, But the text is being wrapped as > > > > > > sample text sample text ( FAQ > > > ). > > > > > > Though there was no space between ?? and ?)? , the ?)? is wrapped > > > to next line. > > > > > > Appreciate your help in advance. > > > > > > Best Regards, > > > > > > Gopal.R > > > > > > _______________________________________________ > > > sqr-users mailing list > > > sqr-users@sqrug.org > > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > > Crez votre adresse lectronique prenom.nom@laposte.net > > 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > Crez votre adresse lectronique prenom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > Crez votre adresse lectronique prenom.nom@laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Aug 19 07:00:47 2009 From: Ravi Subject: RE: [sqr-users] FW: '<' and '>' are considered as spaces in SQR Date: Wed, 19 Aug 2009 16:29:47 +0530 Hi Steve, "Word Boundary" means, you are specifying wrap position (No. of chars per line). Am I right? Based on your comments, the report should appear as right aligned. But in my report it prints the data unevenly. When I count the no. of chars in a line, it differs. Instead of 80 characters, it counts as 70-80 characters. As per my observation, it also considers space that appears in between the text. For Example (wrap 80 40) I have printed 75 characters and I have to print some text like steve_cavill. It prints the "steve_cavill" at the next line. And also "hello-steve," is not wrapping at "-". Hyperion(SQR) is also not wrapping at "(". Below is the code I used. It gets wrapped as mentioned above (not at the word boundaries). Kindly correct me if I had done any mistake. Begin-Setup Declare-Layout Default Orientation = Landscape Paper-Size = (Legal) Top-Margin = 0.500 Bottom-Margin = 0.500 Left-Margin = 0.650 Right-Margin = 0.350 Line-Height = 1 Char-Width = 1 End-Declare End-setup Begin-program print 'This is the sample text and this is wrapping at the end. kindly verify this steve_call' (60,20) wrap 80 10 line-height=10 Keep-Top next-listing print 'This is the sample text and this is wrapping at the end. kindly verify this Hyperion(sqr)' (20,20) wrap 80 10 line-height=10 Keep-Top End-program Thanks for your helps. Thanks & Regards Ravi. B Kumaran Systems Extn 3234 -----Original Message----- From: sqr-users-bounces+ravi.balasubramanian=kumaran.com@sqrug.org [mailto:sqr-users-bounces+ravi.balasubramanian=kumaran.com@sqrug.org] On Behalf Of Steve Cavill Sent: August 19, 2009 2:46 PM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] FW: '<' and '>' are considered as spaces in SQR WRAP does not wraps on spaces, it wraps on word boundaries. I guess it depends on the definition of a word boundary. Based on your observation I would surmise that anything other than a letter is a "word boundary" So hello-steve, could easily wrap on the -. And Hyperion(SQR) could easily wrap on ( Steve. -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of Gopalakrishnan Rengasamy Sent: Wednesday, 19 August 2009 4:04 PM To: 'This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions.' Subject: RE: [sqr-users] FW: '<' and '>' are considered as spaces in SQR Dear Friends, A Big thanks for your replies. Due to wrap command ')' (bracket) wraps to next line, if '"' character is at the 72nd character. But my question is, in the text (" FAQ ") there is no space between '"' and ')'. If wrap applied, both characters ( '"' and ')' ) should wrap to next line instead of the ')' (bracket) alone. But, other characters are getting wrapped properly. For example Say, My wrap command is like wrap 80 40. (80 characters per line and 40 lines). Here is the text I print. This is sample text. This is sample text. This text going to wrap to the next Line. Even though there is a room to print part of the text "li" in the text "line", the whole text (line) gets wrapped to next line, since there is no space in the word "line". Likewise, (" FAQ ") has to work in the same way. But it is not, Is there any specific reason (" FAQ ") is not working in the same way apart from the issue you mentioned (SQR do not manage Proportional Font). Once again thanks. Best Regards, Gopal.R -----Original Message----- From: sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org]On Behalf Of franck.masson Sent: August 18, 2009 11:19 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] FW: '"' and '"' are considered as spaces in SQR It is the Wrap option that cut your line. SQR do not manage Proportional Font, it just count the number character and do not care of it size I think that your charater in the variable $Master_Query_TEXT2 should be in position 72 . So your issue do not seem to be related to the character << or >>. To validate this you can replace it in your string by "A" and see if you have the same issue. > Message du 18/08/09 17:57 > De : "Gopalakrishnan Rengasamy" > A : "'This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions.'" > Copie : > Objet : RE: [sqr-users] FW: '' and '' are considered as spaces in SQR > > > My SQR version is Hyperion SQR 8.3 > > As you are suspected, in my sqr.ini file I have set UseUniCodeInternal > = TRUE setting > > My line of code is > print $Master_Query_TEXT2 (35,120,72) Wrap 72 51 strip ='' on=<10> > line-height=10 Keep-Top > > Best Regards, > > Gopal.R > > -----Original Message----- > From: sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org > [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.o > rg]On Behalf Of franck.masson > Sent: August 18, 2009 9:08 PM > To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. > Subject: RE: [sqr-users] FW: '"' and '"' are considered as spaces in > SQR > > can you share your line of code ? > what is your sqr version ? > and i suppose that you have set your sqr program file as unicode file , is this correct ? > > > > > > Message du 18/08/09 17:31 > > De : "Gopalakrishnan Rengasamy" > > A : "'This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions.'" > > Copie : > > Objet : RE: [sqr-users] FW: '' and '' are considered as spaces in > > SQR > > > > > > > > Hi, > > Out format files are PDF and HTML. > > > > > > Best Regards, > > > > Gopal.R > > > > -----Original Message----- > > From: > > sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org > > [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug > > .org]On Behalf Of franck.masson > > Sent: August 18, 2009 7:56 PM > > To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. > > Subject: Re:[sqr-users] FW: '"' and '"' are considered as spaces in > > SQR > > > > what is your output Format ? HP, PDF, HTML , PS ? > > > > > > > > > Message du 18/08/09 16:12 > > > De : "Gopal" > > > A : sqr-users@sqrug.org, "'Ravi Balasubramanian'" > > > Copie : > > > Objet : [sqr-users] FW: '' and '' are considered as spaces in SQR > > > > > > > > > Hello All, > > > > > > While generating a report in French, the French equivalent double > > > quotes ( and ) are considered as while spaces and characters that > > > followed immediately after ?? or ?? are printed in the next line, > > > if the double quote characters (?? or ??) are positioned at end of the line. > > > > > > For example the following text has to be printed in a single line, > > > no matter wherever it?s positioned. > > > > > > sample text sample text ( FAQ ). > > > > > > Consider the text ?( FAQ )? has to be printed at the end of a > > > printing line, But the text is being wrapped as > > > > > > sample text sample text ( FAQ > > > ). > > > > > > Though there was no space between ?? and ?)? , the ?)? is wrapped > > > to next line. > > > > > > Appreciate your help in advance. > > > > > > Best Regards, > > > > > > Gopal.R > > > > > > _______________________________________________ > > > sqr-users mailing list > > > sqr-users@sqrug.org > > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > > Crez votre adresse lectronique prenom.nom@laposte.net > > 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > Crez votre adresse lectronique prenom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > Crez votre adresse lectronique prenom.nom@laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Aug 19 07:29:36 2009 From: "Steve Cavill" Subject: RE: [sqr-users] FW: '<' and '>' are considered as spaces in SQR Date: Wed, 19 Aug 2009 21:24:08 +1000 Wrap means print a maximum length of a line as you specify (in your case) without breaking a word. The doc doesn't actually explain what a word boundary is so I guessed. So yes you will get uneven line lengths, otherwise you would be breaking words in half. E.g. if you wrap this text to 10 chars it will look like this. (you need to make sure this is displayed in a non-proportional font so it looks right) Hello this Text is Wrapped at 10 Characters Per line. Further, if you use prooprtional font you will have very ragged looking text, E.g in Arial the first line will be much longer than the second line, even though they both have 10 chars. Wwwwwwwwww Llllllllll Is you basic problem that you want it to treat ("FAQ"), as a single word and it is not? What happens if you don't have the double quotes? Steve -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of Ravi Sent: Wednesday, 19 August 2009 9:00 PM To: 'This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions.' Subject: RE: [sqr-users] FW: '<' and '>' are considered as spaces in SQR Hi Steve, "Word Boundary" means, you are specifying wrap position (No. of chars per line). Am I right? Based on your comments, the report should appear as right aligned. But in my report it prints the data unevenly. When I count the no. of chars in a line, it differs. Instead of 80 characters, it counts as 70-80 characters. As per my observation, it also considers space that appears in between the text. For Example (wrap 80 40) I have printed 75 characters and I have to print some text like steve_cavill. It prints the "steve_cavill" at the next line. And also "hello-steve," is not wrapping at "-". Hyperion(SQR) is also not wrapping at "(". Below is the code I used. It gets wrapped as mentioned above (not at the word boundaries). Kindly correct me if I had done any mistake. Begin-Setup Declare-Layout Default Orientation = Landscape Paper-Size = (Legal) Top-Margin = 0.500 Bottom-Margin = 0.500 Left-Margin = 0.650 Right-Margin = 0.350 Line-Height = 1 Char-Width = 1 End-Declare End-setup Begin-program print 'This is the sample text and this is wrapping at the end. kindly verify this steve_call' (60,20) wrap 80 10 line-height=10 Keep-Top next-listing print 'This is the sample text and this is wrapping at the end. kindly verify this Hyperion(sqr)' (20,20) wrap 80 10 line-height=10 Keep-Top End-program Thanks for your helps. Thanks & Regards Ravi. B Kumaran Systems Extn 3234 -----Original Message----- From: sqr-users-bounces+ravi.balasubramanian=kumaran.com@sqrug.org [mailto:sqr-users-bounces+ravi.balasubramanian=kumaran.com@sqrug.org] On Behalf Of Steve Cavill Sent: August 19, 2009 2:46 PM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] FW: '<' and '>' are considered as spaces in SQR WRAP does not wraps on spaces, it wraps on word boundaries. I guess it depends on the definition of a word boundary. Based on your observation I would surmise that anything other than a letter is a "word boundary" So hello-steve, could easily wrap on the -. And Hyperion(SQR) could easily wrap on ( Steve. -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of Gopalakrishnan Rengasamy Sent: Wednesday, 19 August 2009 4:04 PM To: 'This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions.' Subject: RE: [sqr-users] FW: '<' and '>' are considered as spaces in SQR Dear Friends, A Big thanks for your replies. Due to wrap command ')' (bracket) wraps to next line, if '"' character is at the 72nd character. But my question is, in the text (" FAQ ") there is no space between '"' and ')'. If wrap applied, both characters ( '"' and ')' ) should wrap to next line instead of the ')' (bracket) alone. But, other characters are getting wrapped properly. For example Say, My wrap command is like wrap 80 40. (80 characters per line and 40 lines). Here is the text I print. This is sample text. This is sample text. This text going to wrap to the next Line. Even though there is a room to print part of the text "li" in the text "line", the whole text (line) gets wrapped to next line, since there is no space in the word "line". Likewise, (" FAQ ") has to work in the same way. But it is not, Is there any specific reason (" FAQ ") is not working in the same way apart from the issue you mentioned (SQR do not manage Proportional Font). Once again thanks. Best Regards, Gopal.R -----Original Message----- From: sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org]On Behalf Of franck.masson Sent: August 18, 2009 11:19 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] FW: '"' and '"' are considered as spaces in SQR It is the Wrap option that cut your line. SQR do not manage Proportional Font, it just count the number character and do not care of it size I think that your charater in the variable $Master_Query_TEXT2 should be in position 72 . So your issue do not seem to be related to the character << or >>. To validate this you can replace it in your string by "A" and see if you have the same issue. > Message du 18/08/09 17:57 > De : "Gopalakrishnan Rengasamy" > A : "'This list is for discussion about the SQR database > reportinglanguage from Hyperion Solutions.'" > Copie : > Objet : RE: [sqr-users] FW: '' and '' are considered as spaces in SQR > > > My SQR version is Hyperion SQR 8.3 > > As you are suspected, in my sqr.ini file I have set UseUniCodeInternal > = TRUE setting > > My line of code is > print $Master_Query_TEXT2 (35,120,72) Wrap 72 51 strip ='' on=<10> > line-height=10 Keep-Top > > Best Regards, > > Gopal.R > > -----Original Message----- > From: sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org > [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.o > rg]On Behalf Of franck.masson > Sent: August 18, 2009 9:08 PM > To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. > Subject: RE: [sqr-users] FW: '"' and '"' are considered as spaces in > SQR > > can you share your line of code ? > what is your sqr version ? > and i suppose that you have set your sqr program file as unicode file > , is this correct ? > > > > > > Message du 18/08/09 17:31 > > De : "Gopalakrishnan Rengasamy" > > A : "'This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions.'" > > Copie : > > Objet : RE: [sqr-users] FW: '' and '' are considered as spaces in > > SQR > > > > > > > > Hi, > > Out format files are PDF and HTML. > > > > > > Best Regards, > > > > Gopal.R > > > > -----Original Message----- > > From: > > sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org > > [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug > > .org]On Behalf Of franck.masson > > Sent: August 18, 2009 7:56 PM > > To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. > > Subject: Re:[sqr-users] FW: '"' and '"' are considered as spaces in > > SQR > > > > what is your output Format ? HP, PDF, HTML , PS ? > > > > > > > > > Message du 18/08/09 16:12 > > > De : "Gopal" > > > A : sqr-users@sqrug.org, "'Ravi Balasubramanian'" > > > Copie : > > > Objet : [sqr-users] FW: '' and '' are considered as spaces in SQR > > > > > > > > > Hello All, > > > > > > While generating a report in French, the French equivalent double > > > quotes ( and ) are considered as while spaces and characters that > > > followed immediately after ?? or ?? are printed in the next line, > > > if the double quote characters (?? or ??) are positioned at end of > > > the line. > > > > > > For example the following text has to be printed in a single line, > > > no matter wherever it?s positioned. > > > > > > sample text sample text ( FAQ ). > > > > > > Consider the text ?( FAQ )? has to be printed at the end of a > > > printing line, But the text is being wrapped as > > > > > > sample text sample text ( FAQ > > > ). > > > > > > Though there was no space between ?? and ?)? , the ?)? is wrapped > > > to next line. > > > > > > Appreciate your help in advance. > > > > > > Best Regards, > > > > > > Gopal.R > > > > > > _______________________________________________ > > > sqr-users mailing list > > > sqr-users@sqrug.org > > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > > Crez votre adresse lectronique prenom.nom@laposte.net > > 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > Crez votre adresse lectronique prenom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > Crez votre adresse lectronique prenom.nom@laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Aug 19 07:56:24 2009 From: Ravi Subject: RE: [sqr-users] FW: '<' and '>' are considered as spaces in SQR Date: Wed, 19 Aug 2009 17:23:13 +0530 Hi Steve, When I execute below text it wraps unevenly. print 'This is the sample text and this is wrapping at the end. kindly verify this. ()' (20,20) wrap 80 10 line-height=10 Keep-Top Output: This is the sample text and this is wrapping at the end. kindly verify this. (< FAQ>). The characters "<" and ">" are not considered by the SQR. Appreciating your help in advance. Thanks & Regards Ravi. B Kumaran Systems Extn 3234 -----Original Message----- From: sqr-users-bounces+ravi.balasubramanian=kumaran.com@sqrug.org [mailto:sqr-users-bounces+ravi.balasubramanian=kumaran.com@sqrug.org] On Behalf Of Steve Cavill Sent: August 19, 2009 4:54 PM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] FW: '<' and '>' are considered as spaces in SQR Wrap means print a maximum length of a line as you specify (in your case) without breaking a word. The doc doesn't actually explain what a word boundary is so I guessed. So yes you will get uneven line lengths, otherwise you would be breaking words in half. E.g. if you wrap this text to 10 chars it will look like this. (you need to make sure this is displayed in a non-proportional font so it looks right) Hello this Text is Wrapped at 10 Characters Per line. Further, if you use prooprtional font you will have very ragged looking text, E.g in Arial the first line will be much longer than the second line, even though they both have 10 chars. Wwwwwwwwww Llllllllll Is you basic problem that you want it to treat ("FAQ"), as a single word and it is not? What happens if you don't have the double quotes? Steve -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of Ravi Sent: Wednesday, 19 August 2009 9:00 PM To: 'This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions.' Subject: RE: [sqr-users] FW: '<' and '>' are considered as spaces in SQR Hi Steve, "Word Boundary" means, you are specifying wrap position (No. of chars per line). Am I right? Based on your comments, the report should appear as right aligned. But in my report it prints the data unevenly. When I count the no. of chars in a line, it differs. Instead of 80 characters, it counts as 70-80 characters. As per my observation, it also considers space that appears in between the text. For Example (wrap 80 40) I have printed 75 characters and I have to print some text like steve_cavill. It prints the "steve_cavill" at the next line. And also "hello-steve," is not wrapping at "-". Hyperion(SQR) is also not wrapping at "(". Below is the code I used. It gets wrapped as mentioned above (not at the word boundaries). Kindly correct me if I had done any mistake. Begin-Setup Declare-Layout Default Orientation = Landscape Paper-Size = (Legal) Top-Margin = 0.500 Bottom-Margin = 0.500 Left-Margin = 0.650 Right-Margin = 0.350 Line-Height = 1 Char-Width = 1 End-Declare End-setup Begin-program print 'This is the sample text and this is wrapping at the end. kindly verify this steve_call' (60,20) wrap 80 10 line-height=10 Keep-Top next-listing print 'This is the sample text and this is wrapping at the end. kindly verify this Hyperion(sqr)' (20,20) wrap 80 10 line-height=10 Keep-Top End-program Thanks for your helps. Thanks & Regards Ravi. B Kumaran Systems Extn 3234 -----Original Message----- From: sqr-users-bounces+ravi.balasubramanian=kumaran.com@sqrug.org [mailto:sqr-users-bounces+ravi.balasubramanian=kumaran.com@sqrug.org] On Behalf Of Steve Cavill Sent: August 19, 2009 2:46 PM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] FW: '<' and '>' are considered as spaces in SQR WRAP does not wraps on spaces, it wraps on word boundaries. I guess it depends on the definition of a word boundary. Based on your observation I would surmise that anything other than a letter is a "word boundary" So hello-steve, could easily wrap on the -. And Hyperion(SQR) could easily wrap on ( Steve. -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of Gopalakrishnan Rengasamy Sent: Wednesday, 19 August 2009 4:04 PM To: 'This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions.' Subject: RE: [sqr-users] FW: '<' and '>' are considered as spaces in SQR Dear Friends, A Big thanks for your replies. Due to wrap command ')' (bracket) wraps to next line, if '"' character is at the 72nd character. But my question is, in the text (" FAQ ") there is no space between '"' and ')'. If wrap applied, both characters ( '"' and ')' ) should wrap to next line instead of the ')' (bracket) alone. But, other characters are getting wrapped properly. For example Say, My wrap command is like wrap 80 40. (80 characters per line and 40 lines). Here is the text I print. This is sample text. This is sample text. This text going to wrap to the next Line. Even though there is a room to print part of the text "li" in the text "line", the whole text (line) gets wrapped to next line, since there is no space in the word "line". Likewise, (" FAQ ") has to work in the same way. But it is not, Is there any specific reason (" FAQ ") is not working in the same way apart from the issue you mentioned (SQR do not manage Proportional Font). Once again thanks. Best Regards, Gopal.R -----Original Message----- From: sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org]On Behalf Of franck.masson Sent: August 18, 2009 11:19 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] FW: '"' and '"' are considered as spaces in SQR It is the Wrap option that cut your line. SQR do not manage Proportional Font, it just count the number character and do not care of it size I think that your charater in the variable $Master_Query_TEXT2 should be in position 72 . So your issue do not seem to be related to the character << or >>. To validate this you can replace it in your string by "A" and see if you have the same issue. > Message du 18/08/09 17:57 > De : "Gopalakrishnan Rengasamy" > A : "'This list is for discussion about the SQR database > reportinglanguage from Hyperion Solutions.'" > Copie : > Objet : RE: [sqr-users] FW: '' and '' are considered as spaces in SQR > > > My SQR version is Hyperion SQR 8.3 > > As you are suspected, in my sqr.ini file I have set UseUniCodeInternal > = TRUE setting > > My line of code is > print $Master_Query_TEXT2 (35,120,72) Wrap 72 51 strip ='' on=<10> > line-height=10 Keep-Top > > Best Regards, > > Gopal.R > > -----Original Message----- > From: sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org > [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.o > rg]On Behalf Of franck.masson > Sent: August 18, 2009 9:08 PM > To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. > Subject: RE: [sqr-users] FW: '"' and '"' are considered as spaces in > SQR > > can you share your line of code ? > what is your sqr version ? > and i suppose that you have set your sqr program file as unicode file > , is this correct ? > > > > > > Message du 18/08/09 17:31 > > De : "Gopalakrishnan Rengasamy" > > A : "'This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions.'" > > Copie : > > Objet : RE: [sqr-users] FW: '' and '' are considered as spaces in > > SQR > > > > > > > > Hi, > > Out format files are PDF and HTML. > > > > > > Best Regards, > > > > Gopal.R > > > > -----Original Message----- > > From: > > sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug.org > > [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=kumaran.com@sqrug > > .org]On Behalf Of franck.masson > > Sent: August 18, 2009 7:56 PM > > To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. > > Subject: Re:[sqr-users] FW: '"' and '"' are considered as spaces in > > SQR > > > > what is your output Format ? HP, PDF, HTML , PS ? > > > > > > > > > Message du 18/08/09 16:12 > > > De : "Gopal" > > > A : sqr-users@sqrug.org, "'Ravi Balasubramanian'" > > > Copie : > > > Objet : [sqr-users] FW: '' and '' are considered as spaces in SQR > > > > > > > > > Hello All, > > > > > > While generating a report in French, the French equivalent double > > > quotes ( and ) are considered as while spaces and characters that > > > followed immediately after ?? or ?? are printed in the next line, > > > if the double quote characters (?? or ??) are positioned at end of > > > the line. > > > > > > For example the following text has to be printed in a single line, > > > no matter wherever it?s positioned. > > > > > > sample text sample text ( FAQ ). > > > > > > Consider the text ?( FAQ )? has to be printed at the end of a > > > printing line, But the text is being wrapped as > > > > > > sample text sample text ( FAQ > > > ). > > > > > > Though there was no space between ?? and ?)? , the ?)? is wrapped > > > to next line. > > > > > > Appreciate your help in advance. > > > > > > Best Regards, > > > > > > Gopal.R > > > > > > _______________________________________________ > > > sqr-users mailing list > > > sqr-users@sqrug.org > > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > > Crez votre adresse lectronique prenom.nom@laposte.net > > 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > Crez votre adresse lectronique prenom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > Crez votre adresse lectronique prenom.nom@laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Aug 19 09:42:07 2009 From: "franck.masson" Subject: =?UTF-8?Q?RE:_[sqr-users]_FW:_'=C2=AB'_and_'=C2=BB'?= =?UTF-8?Q?_are_considered_as_spaces_in_SQR?= Date: Wed, 19 Aug 2009 15:38:02 +0200 (CEST) Hi, I have done some test and it seems to be a defect that you have to report t= o Oracle. here is my code Begin-program let $g_open=3Dchr(171) let $g_close=3Dchr(187) let $A=3D'0123456789 01234567 0123456789 01234<67>9' let $B=3Dreplace($A,'<',$g_open) let $B=3Dreplace($B,'>',$g_close) print $B (2,10) wrap 10 5=20 print $A (10,10) wrap 10 5=20 let $A=3Dchr(171)||'=C3=A9=C3=A8=C3=A0=C3=BB=C3=AA=C3=A7=E2=82=AC'||chr(187) print $A (20,10) let #I=3D1 while #i< 256 let $i=3D#i let $line =3D $i || ' ' || chr(#i) print $line (+1,10) let #I=3D1+#I end-while=20 end-program if in SQR.ini file section [Default-Settings] you set=20 UseUnicodeInternal =3DTrue then we have the issue=20 if you set=20 UseUnicodeInternal =3DFalse then it works properly=20 to manage french you do not have to be unicode, so you can apply this worka= round waiting for a Patch. Franck,=20 > Message du 19/08/09 08:04 > De : "Gopalakrishnan Rengasamy"=20 > A : "'This list is for discussion about the SQR database reportinglanguag= e from Hyperion Solutions.'"=20 > Copie =C3=A0 :=20 > Objet : RE: [sqr-users] FW: '=C2=AB' and '=C2=BB' are considered as space= s in SQR > >=20 > Dear Friends, >=20 > A Big thanks for your replies. >=20 > Due to wrap command ')' (bracket) wraps to next line, if '"' character is= at the 72nd character. But my question is, in the text (" FAQ ") there is = no space between '"' and ')'. If wrap applied, both characters ( '"' and ')= ' ) should wrap to next line instead of the ')' (bracket) alone. >=20 > But, other characters are getting wrapped properly. >=20 > For example > Say, My wrap command is like wrap 80 40. (80 characters per line and 40 l= ines). >=20 > Here is the text I print. >=20 > This is sample text. This is sample text. This text going to wrap to the = next > Line. >=20 > Even though there is a room to print part of the text "li" in the text "l= ine", the whole text (line) gets wrapped to next line, since there is no sp= ace in the word "line". Likewise, (" FAQ ") has to work in the same way. Bu= t it is not, > Is there any specific reason (" FAQ ") is not working in the same way apa= rt from the issue you mentioned (SQR do not manage Proportional Font). >=20 > Once again thanks. >=20 >=20 > Best Regards, >=20 > Gopal.R >=20 > -----Original Message----- > From: sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.org = [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.org]= On Behalf Of franck.masson > Sent: August 18, 2009 11:19 PM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: RE: [sqr-users] FW: '"' and '"' are considered as spaces in SQR >=20 > It is the Wrap option that cut your line. > SQR do not manage Proportional Font, it just count the number character a= nd do not care of it size > I think that your charater in the variable $Master_Query_TEXT2 should be = in position 72 . > So your issue do not seem to be related to the character << or >>. > To validate this you can replace it in your string by "A" and see if you = have the same issue. >=20 >=20 >=20 > > Message du 18/08/09 17:57 > > De : "Gopalakrishnan Rengasamy" > > A : "'This list is for discussion about the SQR database reportinglangu= age from Hyperion Solutions.'" > > Copie : > > Objet : RE: [sqr-users] FW: '' and '' are considered as spaces in SQR > > > > > > My SQR version is Hyperion SQR 8.3 > > > > As you are suspected, in my sqr.ini file I have set UseUniCodeInternal = =3D TRUE setting > > > > My line of code is > > print $Master_Query_TEXT2 (35,120,72) Wrap 72 51 strip =3D'' on=3D<10> = line-height=3D10 Keep-Top > > > > Best Regards, > > > > Gopal.R > > > > -----Original Message----- > > From: sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.or= g [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.or= g]On Behalf Of franck.masson > > Sent: August 18, 2009 9:08 PM > > To: This list is for discussion about the SQR database reporting langua= gefrom Hyperion Solutions. > > Subject: RE: [sqr-users] FW: '"' and '"' are considered as spaces in SQR > > > > can you share your line of code ? > > what is your sqr version ? > > and i suppose that you have set your sqr program file as unicode file ,= is this correct ? > > > > > > > > > > > Message du 18/08/09 17:31 > > > De : "Gopalakrishnan Rengasamy" > > > A : "'This list is for discussion about the SQR database reportinglan= guage from Hyperion Solutions.'" > > > Copie : > > > Objet : RE: [sqr-users] FW: '' and '' are considered as spaces in SQR > > > > > > > > > > > > Hi, > > > Out format files are PDF and HTML. > > > > > > > > > Best Regards, > > > > > > Gopal.R > > > > > > -----Original Message----- > > > From: sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.= org [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.= org]On Behalf Of franck.masson > > > Sent: August 18, 2009 7:56 PM > > > To: This list is for discussion about the SQR database reporting lang= uagefrom Hyperion Solutions. > > > Subject: Re:[sqr-users] FW: '"' and '"' are considered as spaces in S= QR > > > > > > what is your output Format ? HP, PDF, HTML , PS ? > > > > > > > > > > > > > Message du 18/08/09 16:12 > > > > De : "Gopal" > > > > A : sqr-users@sqrug.org, "'Ravi Balasubramanian'" > > > > Copie : > > > > Objet : [sqr-users] FW: '' and '' are considered as spaces in SQR > > > > > > > > > > > > Hello All, > > > > > > > > While generating a report in French, the French equivalent double q= uotes > > > > ( and ) are considered as while spaces and characters that followed > > > > immediately after ?? or ?? are printed in the next line, if the dou= ble > > > > quote characters (?? or ??) are positioned at end of the line. > > > > > > > > For example the following text has to be printed in a single line, = no matter > > > > wherever it?s positioned. > > > > > > > > sample text sample text ( FAQ ). > > > > > > > > Consider the text ?( FAQ )? has to be printed at the end of a print= ing > > > > line, But the text is being wrapped as > > > > > > > > sample text sample text ( FAQ > > > > ). > > > > > > > > Though there was no space between ?? and ?)? , the ?)? is wrapped t= o next > > > > line. > > > > > > > > Appreciate your help in advance. > > > > > > > > Best Regards, > > > > > > > > Gopal.R > > > > > > > > _______________________________________________ > > > > sqr-users mailing list > > > > sqr-users@sqrug.org > > > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > > > > > > Crez votre adresse lectronique prenom.nom@laposte.net > > > 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. > > > > > > _______________________________________________ > > > sqr-users mailing list > > > sqr-users@sqrug.org > > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > _______________________________________________ > > > sqr-users mailing list > > > sqr-users@sqrug.org > > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > > Crez votre adresse lectronique prenom.nom@laposte.net > > 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > >=20 > Crez votre adresse lectronique prenom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Aug 19 10:53:43 2009 From: Ravi Subject: =?utf-8?Q?RE:_=5Bsqr-users=5D_FW:_'=C2=AB'_and_'=C2=BB'_?= =?utf-8?Q?are_considered_as_spaces_in_SQR?= Date: Wed, 19 Aug 2009 20:23:21 +0530 Hi Friends, Thanks many for your R & D. As you suspected, it wraps properly if I set UseUniCodeInternal =3D False. But in my project I am using Unicode() function. It is not possible to set= =20 UseUniCodeInternal =3D False. Is there any other way can I wrap the text. Or can I change the Character-s= et which supports both Unicode and also this French Character. Thanks & Regards Ravi. B Kumaran Systems Extn 3234 =20 -----Original Message----- From: sqr-users-bounces+ravi.balasubramanian=3Dkumaran.com@sqrug.org [mailt= o:sqr-users-bounces+ravi.balasubramanian=3Dkumaran.com@sqrug.org] On Behalf= Of franck.masson Sent: August 19, 2009 7:08 PM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: RE: [sqr-users] FW: '=C2=AB' and '=C2=BB' are considered as spaces= in SQR Hi, I have done some test and it seems to be a defect that you have to report t= o Oracle. here is my code Begin-program let $g_open=3Dchr(171) let $g_close=3Dchr(187) let $A=3D'0123456789 01234567 0123456789 01234<67>9' let $B=3Dreplace($A,'<',$g_open) let $B=3Dreplace($B,'>',$g_close) print $B (2,10) wrap 10 5=20 print $A (10,10) wrap 10 5=20 let $A=3Dchr(171)||'=C3=A9=C3=A8=C3=A0=C3=BB=C3=AA=C3=A7=E2=82=AC'||chr(187) print $A (20,10) let #I=3D1 while #i< 256 let $i=3D#i let $line =3D $i || ' ' || chr(#i) print $line (+1,10) let #I=3D1+#I end-while=20 end-program if in SQR.ini file section [Default-Settings] you set=20 UseUnicodeInternal =3DTrue then we have the issue=20 if you set=20 UseUnicodeInternal =3DFalse then it works properly=20 to manage french you do not have to be unicode, so you can apply this worka= round waiting for a Patch. Franck,=20 > Message du 19/08/09 08:04 > De : "Gopalakrishnan Rengasamy"=20 > A : "'This list is for discussion about the SQR database reportinglanguag= e from Hyperion Solutions.'"=20 > Copie =C3=A0 :=20 > Objet : RE: [sqr-users] FW: '=C2=AB' and '=C2=BB' are considered as space= s in SQR > >=20 > Dear Friends, >=20 > A Big thanks for your replies. >=20 > Due to wrap command ')' (bracket) wraps to next line, if '"' character is= at the 72nd character. But my question is, in the text (" FAQ ") there is = no space between '"' and ')'. If wrap applied, both characters ( '"' and ')= ' ) should wrap to next line instead of the ')' (bracket) alone. >=20 > But, other characters are getting wrapped properly. >=20 > For example > Say, My wrap command is like wrap 80 40. (80 characters per line and 40 l= ines). >=20 > Here is the text I print. >=20 > This is sample text. This is sample text. This text going to wrap to the = next > Line. >=20 > Even though there is a room to print part of the text "li" in the text "l= ine", the whole text (line) gets wrapped to next line, since there is no sp= ace in the word "line". Likewise, (" FAQ ") has to work in the same way. Bu= t it is not, > Is there any specific reason (" FAQ ") is not working in the same way apa= rt from the issue you mentioned (SQR do not manage Proportional Font). >=20 > Once again thanks. >=20 >=20 > Best Regards, >=20 > Gopal.R >=20 > -----Original Message----- > From: sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.org = [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.org]= On Behalf Of franck.masson > Sent: August 18, 2009 11:19 PM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: RE: [sqr-users] FW: '"' and '"' are considered as spaces in SQR >=20 > It is the Wrap option that cut your line. > SQR do not manage Proportional Font, it just count the number character a= nd do not care of it size > I think that your charater in the variable $Master_Query_TEXT2 should be = in position 72 . > So your issue do not seem to be related to the character << or >>. > To validate this you can replace it in your string by "A" and see if you = have the same issue. >=20 >=20 >=20 > > Message du 18/08/09 17:57 > > De : "Gopalakrishnan Rengasamy" > > A : "'This list is for discussion about the SQR database reportinglangu= age from Hyperion Solutions.'" > > Copie : > > Objet : RE: [sqr-users] FW: '' and '' are considered as spaces in SQR > > > > > > My SQR version is Hyperion SQR 8.3 > > > > As you are suspected, in my sqr.ini file I have set UseUniCodeInternal = =3D TRUE setting > > > > My line of code is > > print $Master_Query_TEXT2 (35,120,72) Wrap 72 51 strip =3D'' on=3D<10> = line-height=3D10 Keep-Top > > > > Best Regards, > > > > Gopal.R > > > > -----Original Message----- > > From: sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.or= g [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.or= g]On Behalf Of franck.masson > > Sent: August 18, 2009 9:08 PM > > To: This list is for discussion about the SQR database reporting langua= gefrom Hyperion Solutions. > > Subject: RE: [sqr-users] FW: '"' and '"' are considered as spaces in SQR > > > > can you share your line of code ? > > what is your sqr version ? > > and i suppose that you have set your sqr program file as unicode file ,= is this correct ? > > > > > > > > > > > Message du 18/08/09 17:31 > > > De : "Gopalakrishnan Rengasamy" > > > A : "'This list is for discussion about the SQR database reportinglan= guage from Hyperion Solutions.'" > > > Copie : > > > Objet : RE: [sqr-users] FW: '' and '' are considered as spaces in SQR > > > > > > > > > > > > Hi, > > > Out format files are PDF and HTML. > > > > > > > > > Best Regards, > > > > > > Gopal.R > > > > > > -----Original Message----- > > > From: sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.= org [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.= org]On Behalf Of franck.masson > > > Sent: August 18, 2009 7:56 PM > > > To: This list is for discussion about the SQR database reporting lang= uagefrom Hyperion Solutions. > > > Subject: Re:[sqr-users] FW: '"' and '"' are considered as spaces in S= QR > > > > > > what is your output Format ? HP, PDF, HTML , PS ? > > > > > > > > > > > > > Message du 18/08/09 16:12 > > > > De : "Gopal" > > > > A : sqr-users@sqrug.org, "'Ravi Balasubramanian'" > > > > Copie : > > > > Objet : [sqr-users] FW: '' and '' are considered as spaces in SQR > > > > > > > > > > > > Hello All, > > > > > > > > While generating a report in French, the French equivalent double q= uotes > > > > ( and ) are considered as while spaces and characters that followed > > > > immediately after ?? or ?? are printed in the next line, if the dou= ble > > > > quote characters (?? or ??) are positioned at end of the line. > > > > > > > > For example the following text has to be printed in a single line, = no matter > > > > wherever it?s positioned. > > > > > > > > sample text sample text ( FAQ ). > > > > > > > > Consider the text ?( FAQ )? has to be printed at the end of a print= ing > > > > line, But the text is being wrapped as > > > > > > > > sample text sample text ( FAQ > > > > ). > > > > > > > > Though there was no space between ?? and ?)? , the ?)? is wrapped t= o next > > > > line. > > > > > > > > Appreciate your help in advance. > > > > > > > > Best Regards, > > > > > > > > Gopal.R > > > > > > > > _______________________________________________ > > > > sqr-users mailing list > > > > sqr-users@sqrug.org > > > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > > > > > > Crez votre adresse lectronique prenom.nom@laposte.net > > > 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. > > > > > > _______________________________________________ > > > sqr-users mailing list > > > sqr-users@sqrug.org > > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > _______________________________________________ > > > sqr-users mailing list > > > sqr-users@sqrug.org > > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > > Crez votre adresse lectronique prenom.nom@laposte.net > > 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > >=20 > Crez votre adresse lectronique prenom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus intgrs. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Aug 19 12:36:38 2009 From: Ravi Date: Wed, 19 Aug 2009 22:06:49 +0530 Subject: [sqr-users] Reg: Performance issue in SQR Hi All, In my project, using a SQR which just select rows from single table and display the record in PDF, CSV and html files. Normally what we do is through PL/SQL, will insert the required data in a Table. From that table using SQR we will generate the reports. What my issue is, performance. I don't use complex query or joins etc. I use just a select statement. There are 55,000 records are there in that table. This SQR generates around 680 PDF's, 680 html's and 680 CSV's. So it takes 12 hours to generate all the PDF's, html's and CSV's files. If I minimize the no of records in the table execution time is getting minimized. Is this the problem with SQR or can I do any other enhancements. Thanks for your reply. Thanks & Regards Ravi. B Kumaran Systems Extn 3234 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Aug 19 13:10:43 2009 From: "franck.masson" Subject: Re:[sqr-users] Reg: Performance issue in SQR Date: Wed, 19 Aug 2009 19:07:56 +0200 (CEST) =20 1) if it is a sample Select then you can explore the -B option of sqr to incre= ase the Buffer Size to fetch the data. 2) SQR engine is not Multithreaded. you have to investigate if you can generate the 550 with 4 or 8 concurrent = execution of SQR 3) If you generate CSV file, you should use the method to write your own file = instead to let the SQR to generate for you use open , write, close statement. 4) HTML generation is the most expensive output as it use Java JVM to produce = it. This have been enhanced since version 8. What is your version of SQR and your Database ? Franck, > Message du 19/08/09 18:36 > De : "Ravi"=20 > A : "'This list is for discussion about the SQR database reportinglanguag= e from Hyperion Solutions.'"=20 > Copie =C3=A0 :=20 > Objet : [sqr-users] Reg: Performance issue in SQR > >=20 > Hi All, >=20 > In my project, using a SQR which just select rows from single table and > display the record in PDF, CSV and html files. >=20 > Normally what we do is through PL/SQL, will insert the required data in a > Table. From that table using SQR we will generate the reports. >=20 > What my issue is, performance. I don't use complex query or joins etc. I = use > just a select statement. >=20 > There are 55,000 records are there in that table. This SQR generates arou= nd > 680 PDF's, 680 html's and 680 CSV's. So it takes 12 hours to generate all > the PDF's, html's and CSV's files. >=20 > If I minimize the no of records in the table execution time is getting > minimized. >=20 > Is this the problem with SQR or can I do any other enhancements. >=20 > Thanks for your reply. >=20 > Thanks & Regards > Ravi. B > Kumaran Systems > Extn 3234 >=20 >=20 >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique prenom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s.