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. _______________________________________________ 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:27:47 2009 From: Ravi Subject: RE: [sqr-users] Reg: Performance issue in SQR Date: Wed, 19 Aug 2009 22:57:57 +0530 Hi, SQR version: Hyperion SQR 8.3 Database: Oracle 10g. Is there any sample sqr file to explore with option -B. I am not clear regarding the second point. Is there any specific method available to generate csv files of our own. Thanks for your reply. Thanks & Regards Ravi. B Kumaran Systems Extn 3234 =20 -----Original Message----- From: sqr-users-bounces+ravi.balasubramanian=3Dkumaran.com@sqrug.org [mailto:sqr-users-bounces+ravi.balasubramanian=3Dkumaran.com@sqrug.org] On Behalf Of franck.masson Sent: August 19, 2009 10:38 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re:[sqr-users] Reg: Performance issue in SQR =20 1) if it is a sample Select then you can explore the -B option of sqr to increase 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 reportinglanguage from Hyperion Solutions.'"=20 > Copie =E0 :=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 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. >=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=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 Aug 19 13:42:43 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 19:39:45 +0200 (CEST) To answer your questions, we will need detail information of your environne= ment and project . What Unicode function are you using within SQR ?=20 and why you need Unicode ?=20 >> Is there any other way can I wrap the text ?=20 You can write your own SQR procedure to deliver this feature >> Or can I change the Character-set which supports both Unicode and also t= his French Character. What are the language that you have to handle in your project ?=20 is your database Oracle ? are you running on Unix ?=20 Franck, > Message du 19/08/09 16:53 > De : "Ravi"=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 > Hi Friends, >=20 > Thanks many for your R & D. >=20 > As you suspected, it wraps properly if I set UseUniCodeInternal =3D False. >=20 > But in my project I am using Unicode() function. It is not possible to se= t=20 > UseUniCodeInternal =3D False. >=20 > Is there any other way can I wrap the text. Or can I change the Character= -set which supports both Unicode and also this French Character. >=20 > Thanks & Regards > Ravi. B > Kumaran Systems > Extn 3234 >=20 >=20 > -----Original Message----- > From: sqr-users-bounces+ravi.balasubramanian=3Dkumaran.com@sqrug.org [mai= lto:sqr-users-bounces+ravi.balasubramanian=3Dkumaran.com@sqrug.org] On Beha= lf Of franck.masson > Sent: August 19, 2009 7:08 PM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: RE: [sqr-users] FW: '=C2=AB' and '=C2=BB' are considered as spac= es in SQR >=20 > Hi, >=20 > I have done some test and it seems to be a defect that you have to report= to 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(1= 87) > print $A (20,10) >=20 > 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 >=20 > if in SQR.ini file section [Default-Settings] > you set=20 > UseUnicodeInternal =3DTrue >=20 > then we have the issue=20 >=20 > if you set=20 >=20 > UseUnicodeInternal =3DFalse > then it works properly=20 >=20 > to manage french you do not have to be unicode, so you can apply this wor= karound waiting for a Patch. >=20 > Franck,=20 >=20 >=20 >=20 >=20 > > Message du 19/08/09 08:04 > > De : "Gopalakrishnan Rengasamy"=20 > > A : "'This list is for discussion about the SQR database reportinglangu= age from Hyperion Solutions.'"=20 > > Copie =C3=A0 :=20 > > Objet : RE: [sqr-users] FW: '=C2=AB' and '=C2=BB' are considered as spa= ces 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 i= s 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= lines). > >=20 > > Here is the text I print. > >=20 > > This is sample text. This is sample text. This text going to wrap to th= e next > > Line. > >=20 > > 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 a= part 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.or= g [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.or= g]On Behalf Of franck.masson > > Sent: August 18, 2009 11:19 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 > >=20 > > 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 b= e 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 yo= u 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 reportinglan= guage 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 UseUniCodeInterna= l =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 [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 lang= uagefrom 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 reportingl= anguage from Hyperion Solutions.'" > > > > Copie : > > > > Objet : RE: [sqr-users] FW: '' and '' are considered as spaces in S= QR > > > > > > > > > > > > > > > > Hi, > > > > Out format files are PDF and HTML. > > > > > > > > > > > > Best Regards, > > > > > > > > Gopal.R > > > > > > > > -----Original Message----- > > > > From: sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqru= g.org [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqru= g.org]On Behalf Of franck.masson > > > > Sent: August 18, 2009 7:56 PM > > > > To: This list is for discussion about the SQR database reporting la= nguagefrom 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 follow= ed > > > > > immediately after ?? or ?? are printed in the next line, if the d= ouble > > > > > 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 pri= nting > > > > > 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 > > > > > > > >=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 >=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 >=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 Wed Aug 19 13:55:49 2009 From: "franck.masson" Subject: RE: [sqr-users] Reg: Performance issue in SQR Date: Wed, 19 Aug 2009 19:52:54 +0200 (CEST) Hi, 1) -B look to the documentation hsqr_lang_reference.pdf Section :=20 SQR Command-line Flags -Bnn Indicates the number of rows to buffer each time SQR retrieves data=20 from the database. The default is 10 rows. Regardless of the setting, all rows are retrieved. When used on the command line, -B controls the setting for all BEGIN-SELECT commands. Within a program, each BEGIN-SELECT command can also have its own -B flag for further optimization. it is an option that you can specify on your command line sqr myreport.sqr -print:pd -keep -B1000 2) Java=20 check if you do not have an entry in your sqr.ini SQR_USEJVM=3Dfalse if yes then set it to true 3) CSV look to this file : ex27b.sqr in thesample directory of SQR and read the hsqr_getting_started.pdf documentation (chapter 27) Franck, > Message du 19/08/09 19:27 > De : "Ravi"=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] Reg: Performance issue in SQR > >=20 > Hi, >=20 > SQR version: Hyperion SQR 8.3 >=20 > Database: Oracle 10g. >=20 > Is there any sample sqr file to explore with option -B. >=20 > I am not clear regarding the second point. >=20 > Is there any specific method available to generate csv files of our own. >=20 > Thanks for your reply. >=20 > Thanks & Regards > Ravi. B > Kumaran Systems > Extn 3234 >=20 >=20 > -----Original Message----- > From: sqr-users-bounces+ravi.balasubramanian=3Dkumaran.com@sqrug.org > [mailto:sqr-users-bounces+ravi.balasubramanian=3Dkumaran.com@sqrug.org] On > Behalf Of franck.masson > Sent: August 19, 2009 10:38 PM > To: This list is for discussion about the SQR database reporting > languagefrom Hyperion Solutions. > Subject: Re:[sqr-users] Reg: Performance issue in SQR >=20 >=20 > 1) > if it is a sample Select then you can explore the -B option of sqr to > increase 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 >=20 > 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. >=20 > 4) > HTML generation is the most expensive output as it use Java JVM to produce > it. > This have been enhanced since version 8. >=20 > What is your version of SQR and your Database ? >=20 > Franck, >=20 >=20 > > Message du 19/08/09 18:36 > > De : "Ravi"=20 > > A : "'This list is for discussion about the SQR database reportinglangu= age > 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 > around > > 680 PDF's, 680 html's and 680 CSV's. So it takes 12 hours to generate a= ll > > 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 >=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 >=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 Wed Aug 19 13:59:24 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 23:27:43 +0530 SQR Version: Hyperion SQR 8.3 DB: Oracle 10g. Yes we are using Linux version. To print Bullets, Currency symbols like Euro, Pound and Yen characters we a= re using Unicode function. We are generating the reports using English and French languages. 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 11:10 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 To answer your questions, we will need detail information of your environne= ment and project . What Unicode function are you using within SQR ? and why you need Unicode ? >> Is there any other way can I wrap the text ? You can write your own SQR procedure to deliver this feature >> Or can I change the Character-set which supports both Unicode and also t= his French Character. What are the language that you have to handle in your project ? is your database Oracle ? are you running on Unix ? Franck, > Message du 19/08/09 16:53 > De : "Ravi" > A : "'This list is for discussion about the SQR database reportinglanguag= e from Hyperion Solutions.'" > Copie =C3=A0 : > Objet : RE: [sqr-users] FW: '=C2=AB' and '=C2=BB' are considered as space= s in SQR > > > 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 > UseUniCodeInternal =3D False. > > Is there any other way can I wrap the text. Or can I change the Character= -set which supports both Unicode and also this French Character. > > Thanks & Regards > Ravi. B > Kumaran Systems > Extn 3234 > > > -----Original Message----- > From: sqr-users-bounces+ravi.balasubramanian=3Dkumaran.com@sqrug.org [mai= lto:sqr-users-bounces+ravi.balasubramanian=3Dkumaran.com@sqrug.org] On Beha= lf Of franck.masson > Sent: August 19, 2009 7:08 PM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: RE: [sqr-users] FW: '=C2=AB' and '=C2=BB' are considered as spac= es in SQR > > Hi, > > I have done some test and it seems to be a defect that you have to report= to 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 > print $A (10,10) wrap 10 5 > let $A=3Dchr(171)||'=C3=A9=C3=A8=C3=A0=C3=BB=C3=AA=C3=A7=E2=82=AC'||chr(1= 87) > 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 > end-program > > if in SQR.ini file section [Default-Settings] > you set > UseUnicodeInternal =3DTrue > > then we have the issue > > if you set > > UseUnicodeInternal =3DFalse > then it works properly > > to manage french you do not have to be unicode, so you can apply this wor= karound waiting for a Patch. > > Franck, > > > > > > Message du 19/08/09 08:04 > > De : "Gopalakrishnan Rengasamy" > > A : "'This list is for discussion about the SQR database reportinglangu= age from Hyperion Solutions.'" > > Copie =C3=A0 : > > Objet : RE: [sqr-users] FW: '=C2=AB' and '=C2=BB' are considered as spa= ces 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 i= s 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 th= e 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 a= part 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.or= g [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqrug.or= g]On Behalf Of franck.masson > > Sent: August 18, 2009 11:19 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 > > > > 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 b= e 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 yo= u have the same issue. > > > > > > > > > Message du 18/08/09 17:57 > > > 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 > > > > > > > > > My SQR version is Hyperion SQR 8.3 > > > > > > As you are suspected, in my sqr.ini file I have set UseUniCodeInterna= l =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 [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 lang= uagefrom 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 reportingl= anguage from Hyperion Solutions.'" > > > > Copie : > > > > Objet : RE: [sqr-users] FW: '' and '' are considered as spaces in S= QR > > > > > > > > > > > > > > > > Hi, > > > > Out format files are PDF and HTML. > > > > > > > > > > > > Best Regards, > > > > > > > > Gopal.R > > > > > > > > -----Original Message----- > > > > From: sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqru= g.org [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqru= g.org]On Behalf Of franck.masson > > > > Sent: August 18, 2009 7:56 PM > > > > To: This list is for discussion about the SQR database reporting la= nguagefrom 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 follow= ed > > > > > immediately after ?? or ?? are printed in the next line, if the d= ouble > > > > > 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 pri= nting > > > > > 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 > > > > > > 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. > > _______________________________________________ > 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=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. _______________________________________________ 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 14:58:52 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 20:55:50 +0200 (CEST) Hi, if you run this code=20 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 you will see that Euro,Dollar,Yen are in the Iso-latin-1 character set regarding the Bullet it a mater of Font that is available in postscript/PDF= =20 i think you project do not required necessary Unicode, Isolatin-1 should be= OK Franck, > Message du 19/08/09 19:59 > De : "Ravi"=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 > SQR Version: Hyperion SQR 8.3 > DB: Oracle 10g. >=20 > Yes we are using Linux version. >=20 > To print Bullets, Currency symbols like Euro, Pound and Yen characters we= are using Unicode function. >=20 > We are generating the reports using English and French languages. >=20 >=20 > Thanks & Regards > Ravi. B > Kumaran Systems > Extn 3234 >=20 >=20 > -----Original Message----- > From: sqr-users-bounces+ravi.balasubramanian=3Dkumaran.com@sqrug.org [mai= lto:sqr-users-bounces+ravi.balasubramanian=3Dkumaran.com@sqrug.org] On Beha= lf Of franck.masson > Sent: August 19, 2009 11:10 PM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: RE: [sqr-users] FW: '=C2=AB' and '=C2=BB' are considered as spac= es in SQR >=20 > To answer your questions, we will need detail information of your environ= nement and project . >=20 > What Unicode function are you using within SQR ? > and why you need Unicode ? >=20 > >> Is there any other way can I wrap the text ? > You can write your own SQR procedure to deliver this feature > >> Or can I change the Character-set which supports both Unicode and also= this French Character. > What are the language that you have to handle in your project ? > is your database Oracle ? > are you running on Unix ? >=20 > Franck, >=20 >=20 >=20 >=20 > > Message du 19/08/09 16:53 > > De : "Ravi" > > A : "'This list is for discussion about the SQR database reportinglangu= age from Hyperion Solutions.'" > > Copie =C3=A0 : > > Objet : RE: [sqr-users] FW: '=C2=AB' and '=C2=BB' are considered as spa= ces in SQR > > > > > > Hi Friends, > > > > Thanks many for your R & D. > > > > As you suspected, it wraps properly if I set UseUniCodeInternal =3D Fal= se. > > > > But in my project I am using Unicode() function. It is not possible to = set > > UseUniCodeInternal =3D False. > > > > Is there any other way can I wrap the text. Or can I change the Charact= er-set which supports both Unicode and also this French Character. > > > > Thanks & Regards > > Ravi. B > > Kumaran Systems > > Extn 3234 > > > > > > -----Original Message----- > > From: sqr-users-bounces+ravi.balasubramanian=3Dkumaran.com@sqrug.org [m= ailto:sqr-users-bounces+ravi.balasubramanian=3Dkumaran.com@sqrug.org] On Be= half Of franck.masson > > Sent: August 19, 2009 7:08 PM > > To: This list is for discussion about the SQR database reporting langua= gefrom Hyperion Solutions. > > Subject: RE: [sqr-users] FW: '=C2=AB' and '=C2=BB' are considered as sp= aces in SQR > > > > Hi, > > > > I have done some test and it seems to be a defect that you have to repo= rt to 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 > > print $A (10,10) wrap 10 5 > > 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 > > end-program > > > > if in SQR.ini file section [Default-Settings] > > you set > > UseUnicodeInternal =3DTrue > > > > then we have the issue > > > > if you set > > > > UseUnicodeInternal =3DFalse > > then it works properly > > > > to manage french you do not have to be unicode, so you can apply this w= orkaround waiting for a Patch. > > > > Franck, > > > > > > > > > > > Message du 19/08/09 08:04 > > > De : "Gopalakrishnan Rengasamy" > > > A : "'This list is for discussion about the SQR database reportinglan= guage from Hyperion Solutions.'" > > > Copie =C3=A0 : > > > Objet : RE: [sqr-users] FW: '=C2=AB' and '=C2=BB' are considered as s= paces in SQR > > > > > > > > > Dear Friends, > > > > > > A Big thanks for your replies. > > > > > > Due to wrap command ')' (bracket) wraps to next line, if '"' characte= r is at the 72nd character. But my question is, in the text (" FAQ ") there= is no space between '"' and ')'. If wrap applied, both characters ( '"' an= d ')' ) 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 tex= t "line", the whole text (line) gets wrapped to next line, since there is n= o 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=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 lang= uagefrom 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 charact= er 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 reportingl= anguage from Hyperion Solutions.'" > > > > Copie : > > > > Objet : RE: [sqr-users] FW: '' and '' are considered as spaces in S= QR > > > > > > > > > > > > My SQR version is Hyperion SQR 8.3 > > > > > > > > As you are suspected, in my sqr.ini file I have set UseUniCodeInter= nal =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@sqru= g.org [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqru= g.org]On Behalf Of franck.masson > > > > Sent: August 18, 2009 9:08 PM > > > > To: This list is for discussion about the SQR database reporting la= nguagefrom Hyperion Solutions. > > > > Subject: RE: [sqr-users] FW: '"' and '"' are considered as spaces i= n 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 fi= le , is this correct ? > > > > > > > > > > > > > > > > > > > > > Message du 18/08/09 17:31 > > > > > De : "Gopalakrishnan Rengasamy" > > > > > A : "'This list is for discussion about the SQR database reportin= glanguage 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@sq= rug.org [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sq= rug.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 S= QR > > > > > > > > > > > > > > > > > > Hello All, > > > > > > > > > > > > While generating a report in French, the French equivalent doub= le quotes > > > > > > ( and ) are considered as while spaces and characters that foll= owed > > > > > > 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 li= ne, no matter > > > > > > wherever it?s positioned. > > > > > > > > > > > > sample text sample text ( FAQ ). > > > > > > > > > > > > Consider the text ?( FAQ )? has to be printed at the end of a p= rinting > > > > > > line, But the text is being wrapped as > > > > > > > > > > > > sample text sample text ( FAQ > > > > > > ). > > > > > > > > > > > > Though there was no space between ?? and ?)? , the ?)? is wrapp= ed 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 > > > > > > > > > > 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. > > > > _______________________________________________ > > 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 > 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 >=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 Wed Aug 19 17:17:38 2009 From: "Malejko, Amy" Date: Wed, 19 Aug 2009 16:14:51 -0500 Subject: [sqr-users] Converting SQR's from Informix to Oracle We are beginning a PeopleSoft HRMS conversion from Informix to Oracle and I= 'm curious if anyone has any documentation as to the differences. Also, cu= rious about writing an sqr that can scan existing sqr's for changes. Regards, Amy Malejko _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Aug 20 02:30:45 2009 From: Ravi Subject: RE: [sqr-users] Reg: Performance issue in SQR Date: Thu, 20 Aug 2009 11:59:32 +0530 Hi Franck, =20 Thank you for your valuable Replies. =20 I verified with -B Flag. It is working fine when I use in command prompt.= =20 =20 Example: sqrw mysqr.sqr user_name/o@DB -printer:pd -keep -B1000 =20 Issues with this 1. I think it is not possible to implement this at the onsite.=20 =20 2. And also this -printer:pd is not generating html files. I need PDF, CSV and HTML output files. Is there any printer: command available which prints all the three output files. =20 Instead I tried to use this with specific begin-select statements. But it is not working efficiently. Kindly go through the line of code which I have applied with Begin-select statement. =20 Begin-select -B1000 Col1 &col1() on-break()On-Break Set=3D1 Level=3D1 save=3D$var print =3D nev= er Col2 &col2 =2E =2E =2E Col &col10 =20 Some formatting code here =20 =46rom table_name Where col1=3D $some_value Order by col1 End-select =20 This code is not working efficiently when compared to command line run. When I use this =96B flag at begin-select statement, same time it is taking (1 h= our 45 mins) to generate single report. But if I run in command prompt by setting -keep =96B1000 the execution is getting completed within 13 mins. =20 Am I doing any mistake while using =96B flag at begin-select statement? =20 Kindly Guide me. =20 =20 Thanks & Regards Ravi. B Kumaran Systems Extn 3234 =20 =20 -----Original Message----- From: sqr-users-bounces+ravi.balasubramanian=3Dkumaran.com@sqrug.org [mailto:sqr-users-bounces+ravi.balasubramanian=3Dkumaran.com@sqrug.org] On Behalf Of franck.masson Sent: August 19, 2009 11:23 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] Reg: Performance issue in SQR =20 Hi, =20 1) -B look to the documentation hsqr_lang_reference.pdf Section :=20 SQR Command-line Flags =20 -Bnn Indicates the number of rows to buffer each time SQR retrieves data=20 from the database. The default is 10 rows. Regardless of the setting, all rows are retrieved. When used on the command line, -B controls the setting for all BEGIN-SELECT commands. Within a program, each BEGIN-SELECT command can also have its own -B flag for further optimization. =20 it is an option that you can specify on your command line sqr myreport.sqr -print:pd -keep -B1000 =20 2) Java=20 check if you do not have an entry in your sqr.ini SQR_USEJVM=3Dfalse if yes then set it to true =20 3) CSV look to this file : ex27b.sqr in thesample directory of SQR and read the hsqr_getting_started.pdf documentation (chapter 27) =20 Franck, > Message du 19/08/09 19:27 > De : "Ravi"=20 > A : "'This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions.'"=20 > Copie =E0 :=20 > Objet : RE: [sqr-users] Reg: Performance issue in SQR >=20 >=20 > Hi, >=20 > SQR version: Hyperion SQR 8.3 >=20 > Database: Oracle 10g. >=20 > Is there any sample sqr file to explore with option -B. >=20 > I am not clear regarding the second point. >=20 > Is there any specific method available to generate csv files of our own. >=20 > Thanks for your reply. >=20 > Thanks & Regards > Ravi. B > Kumaran Systems > Extn 3234 >=20 >=20 > -----Original Message----- > From: sqr-users-bounces+ravi.balasubramanian=3Dkumaran.com@sqrug.org > [mailto:sqr-users-bounces+ravi.balasubramanian=3Dkumaran.com@sqrug.org] On > Behalf Of franck.masson > Sent: August 19, 2009 10:38 PM > To: This list is for discussion about the SQR database reporting > languagefrom Hyperion Solutions. > Subject: Re:[sqr-users] Reg: Performance issue in SQR >=20 >=20 > 1) > if it is a sample Select then you can explore the -B option of sqr to > increase 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 >=20 > 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. >=20 > 4) > HTML generation is the most expensive output as it use Java JVM to produce > it. > This have been enhanced since version 8. >=20 > What is your version of SQR and your Database ? >=20 > Franck, >=20 >=20 > > Message du 19/08/09 18:36 > > De : "Ravi"=20 > > A : "'This list is for discussion about the SQR database reportinglanguage > from Hyperion Solutions.'"=20 > > Copie =E0 :=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 > 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. > >=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 >=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 >=20 >=20 >=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 From sqr-users-bounces@sqrug.org Thu Aug 20 06:27:19 2009 From: Ravi Subject: RE: [sqr-users] Reg: Performance issue in SQR Date: Thu, 20 Aug 2009 15:56:49 +0530 Hi Franck, I tried some more to solve this performance issue. In sqr.ini file we set the command SQRFLAGS = -B1000. Now it is working fine. Now the performance is increased. Tons and Tons of thanks for your valuable answers. Great job you are doing for the needier. I found most of the answers are coming from Franck and Steve. Great job friends. Once again thanks. 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 Ravi Sent: August 20, 2009 12:00 PM To: 'This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions.' Subject: RE: [sqr-users] Reg: Performance issue in SQR Hi Franck, Thank you for your valuable Replies. I verified with -B Flag. It is working fine when I use in command prompt. Example: sqrw mysqr.sqr user_name/o@DB -printer:pd -keep -B1000 Issues with this 1. I think it is not possible to implement this at the onsite. 2. And also this -printer:pd is not generating html files. I need PDF, CSV and HTML output files. Is there any printer: command available which prints all the three output files. Instead I tried to use this with specific begin-select statements. But it is not working efficiently. Kindly go through the line of code which I have applied with Begin-select statement. Begin-select -B1000 Col1 &col1() on-break()On-Break Set=1 Level=1 save=$var print = never Col2 &col2 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Aug 20 09:01:05 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: Thu, 20 Aug 2009 18:29:23 +0530 Hi Franc, =20 As suggested by you, the Euro, Dollar and Yen currency symbols get printed = when we use your code.=20 =20 The problem is with chr () function. At onsite if we use chr () function th= e value is not visible. It will look like blank space or displayed like a b= ox. That=E2=80=99s the reason we had used Unicode() function in our project. =20 Thank you =20 =20 Thanks & Regards Ravi. B Kumaran Systems Extn 3234 =20 =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 20, 2009 12:26 AM 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 =20 Hi, =20 if you run this code 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 you will see that Euro,Dollar,Yen are in the Iso-latin-1 character set regarding the Bullet it a mater of Font that is available in postscript/PDF =20 i think you project do not required necessary Unicode, Isolatin-1 should be= OK =20 Franck, =20 =20 =20 > Message du 19/08/09 19:59 > De : "Ravi" > A : "'This list is for discussion about the SQR database reportinglanguag= e from Hyperion Solutions.'" > Copie =C3=A0 : > Objet : RE: [sqr-users] FW: '=C2=AB' and '=C2=BB' are considered as space= s in SQR >=20 >=20 > SQR Version: Hyperion SQR 8.3 > DB: Oracle 10g. >=20 > Yes we are using Linux version. >=20 > To print Bullets, Currency symbols like Euro, Pound and Yen characters we= are using Unicode function. >=20 > We are generating the reports using English and French languages. >=20 >=20 > Thanks & Regards > Ravi. B > Kumaran Systems > Extn 3234 >=20 >=20 > -----Original Message----- > From: sqr-users-bounces+ravi.balasubramanian=3Dkumaran.com@sqrug.org [mai= lto:sqr-users-bounces+ravi.balasubramanian=3Dkumaran.com@sqrug.org] On Beha= lf Of franck.masson > Sent: August 19, 2009 11:10 PM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: RE: [sqr-users] FW: '=C2=AB' and '=C2=BB' are considered as spac= es in SQR >=20 > To answer your questions, we will need detail information of your environ= nement and project . >=20 > What Unicode function are you using within SQR ? > and why you need Unicode ? >=20 > >> Is there any other way can I wrap the text ? > You can write your own SQR procedure to deliver this feature > >> Or can I change the Character-set which supports both Unicode and also= this French Character. > What are the language that you have to handle in your project ? > is your database Oracle ? > are you running on Unix ? >=20 > Franck, >=20 >=20 >=20 >=20 > > Message du 19/08/09 16:53 > > De : "Ravi" > > A : "'This list is for discussion about the SQR database reportinglangu= age from Hyperion Solutions.'" > > Copie =C3=A0 : > > Objet : RE: [sqr-users] FW: '=C2=AB' and '=C2=BB' are considered as spa= ces in SQR > > > > > > Hi Friends, > > > > Thanks many for your R & D. > > > > As you suspected, it wraps properly if I set UseUniCodeInternal =3D Fal= se. > > > > But in my project I am using Unicode() function. It is not possible to = set > > UseUniCodeInternal =3D False. > > > > Is there any other way can I wrap the text. Or can I change the Charact= er-set which supports both Unicode and also this French Character. > > > > Thanks & Regards > > Ravi. B > > Kumaran Systems > > Extn 3234 > > > > > > -----Original Message----- > > From: sqr-users-bounces+ravi.balasubramanian=3Dkumaran.com@sqrug.org [m= ailto:sqr-users-bounces+ravi.balasubramanian=3Dkumaran.com@sqrug.org] On Be= half Of franck.masson > > Sent: August 19, 2009 7:08 PM > > To: This list is for discussion about the SQR database reporting langua= gefrom Hyperion Solutions. > > Subject: RE: [sqr-users] FW: '=C2=AB' and '=C2=BB' are considered as sp= aces in SQR > > > > Hi, > > > > I have done some test and it seems to be a defect that you have to repo= rt to 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 > > print $A (10,10) wrap 10 5 > > 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 > > end-program > > > > if in SQR.ini file section [Default-Settings] > > you set > > UseUnicodeInternal =3DTrue > > > > then we have the issue > > > > if you set > > > > UseUnicodeInternal =3DFalse > > then it works properly > > > > to manage french you do not have to be unicode, so you can apply this w= orkaround waiting for a Patch. > > > > Franck, > > > > > > > > > > > Message du 19/08/09 08:04 > > > De : "Gopalakrishnan Rengasamy" > > > A : "'This list is for discussion about the SQR database reportinglan= guage from Hyperion Solutions.'" > > > Copie =C3=A0 : > > > Objet : RE: [sqr-users] FW: '=C2=AB' and '=C2=BB' are considered as s= paces in SQR > > > > > > > > > Dear Friends, > > > > > > A Big thanks for your replies. > > > > > > Due to wrap command ')' (bracket) wraps to next line, if '"' characte= r is at the 72nd character. But my question is, in the text (" FAQ ") there= is no space between '"' and ')'. If wrap applied, both characters ( '"' an= d ')' ) 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 tex= t "line", the whole text (line) gets wrapped to next line, since there is n= o 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=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 lang= uagefrom 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 charact= er 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 reportingl= anguage from Hyperion Solutions.'" > > > > Copie : > > > > Objet : RE: [sqr-users] FW: '' and '' are considered as spaces in S= QR > > > > > > > > > > > > My SQR version is Hyperion SQR 8.3 > > > > > > > > As you are suspected, in my sqr.ini file I have set UseUniCodeInter= nal =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@sqru= g.org [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sqru= g.org]On Behalf Of franck.masson > > > > Sent: August 18, 2009 9:08 PM > > > > To: This list is for discussion about the SQR database reporting la= nguagefrom Hyperion Solutions. > > > > Subject: RE: [sqr-users] FW: '"' and '"' are considered as spaces i= n 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 fi= le , is this correct ? > > > > > > > > > > > > > > > > > > > > > Message du 18/08/09 17:31 > > > > > De : "Gopalakrishnan Rengasamy" > > > > > A : "'This list is for discussion about the SQR database reportin= glanguage 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@sq= rug.org [mailto:sqr-users-bounces+gopalakrishnan.rengasamy=3Dkumaran.com@sq= rug.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 S= QR > > > > > > > > > > > > > > > > > > Hello All, > > > > > > > > > > > > While generating a report in French, the French equivalent doub= le quotes > > > > > > ( and ) are considered as while spaces and characters that foll= owed > > > > > > 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 li= ne, no matter > > > > > > wherever it?s positioned. > > > > > > > > > > > > sample text sample text ( FAQ ). > > > > > > > > > > > > Consider the text ?( FAQ )? has to be printed at the end of a p= rinting > > > > > > line, But the text is being wrapped as > > > > > > > > > > > > sample text sample text ( FAQ > > > > > > ). > > > > > > > > > > > > Though there was no space between ?? and ?)? , the ?)? is wrapp= ed 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 > > > > > > > > > > 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. > > > > _______________________________________________ > > 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 > 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 >=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 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 From sqr-users-bounces@sqrug.org Tue Sep 01 00:02:41 2009 Date: Tue, 1 Sep 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 Tue Sep 08 13:39:54 2009 From: "Eldridge, Amy C. Mrs." Date: Tue, 8 Sep 2009 13:36:39 -0400 Subject: [sqr-users] odd behavior re SQR and PDFs and "use-report" option I just noticed some odd behavior regarding SQR and PDFs. The issue was not= there August 1 but was there September 1. We're running SQR version 8.X v= ia Unix. I was wondering if anyone else experienced it and hopefully, solv= ed it. If the SQR azpcmpm uses the "use-report" option (creates multiple output fi= les), as in: declare-report report1 printer-type=3Dpd end-declare declare-report report2 printer-type=3Dpd end-declare ... use-report report1 use-report report2 The PDF output WAS coming out as: azpcmpm_01.pdf azpcmpm_02.pdf But now, the PDF output is coming out like this: azpcmpm.p01 azpcmpm.p02 Any idea what is causing this and what we can do to fix it? It's really no= t big of a deal except we have some shells written that expect azpcmpm_01.p= df, azpcmpm_02.pdf, etc. and we'll have to touch each shell if we can't fix= it. A. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Sep 08 13:49:55 2009 Subject: RE: [sqr-users] odd behavior re SQR and PDFs and "use-report" option Date: Tue, 8 Sep 2009 13:45:11 -0400 From: "Putney II, Zynon E" Replace 'report1' and 'report2' with variables that populate the=0D expected file output name. Alternatively, you can call system after the=0D reports are named to move the files to the correct names.=0D =0D i.e.: =0D Let $filename =3D 'azpcmpm_01.pdf'=0D Use-report $filename=0D =0D Let $filename =3D 'azpcmpm_02.pdf'=0D Use-report $filename=0D =0D =0D Or something like=0D =0D Let $filename =3D 'azpcmpm_01.pdf'=0D Let $command =3D 'mv ' || $sqr-report || ' ' || $filename=0D Call system using $command =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 Eldridge, Amy C. Mrs.=0D Sent: Tuesday, September 08, 2009 1:37 PM=0D To: sqr-users@sqrug.org=0D Subject: [sqr-users] odd behavior re SQR and PDFs and "use-report"=0D option=0D =0D I just noticed some odd behavior regarding SQR and PDFs. The issue was=0D not there August 1 but was there September 1. We're running SQR version=0D 8.X via Unix. I was wondering if anyone else experienced it and=0D hopefully, solved it.=0D =0D If the SQR azpcmpm uses the "use-report" option (creates multiple output=0D files), as in:=0D =0D declare-report report1=0D printer-type=3Dpd=0D end-declare=0D =0D declare-report report2=0D printer-type=3Dpd=0D end-declare=0D =0D ...=0D =0D use-report report1=0D =0D use-report report2=0D =0D The PDF output WAS coming out as:=0D =0D azpcmpm_01.pdf=0D azpcmpm_02.pdf=0D =0D But now, the PDF output is coming out like this:=0D =0D azpcmpm.p01=0D azpcmpm.p02=0D =0D Any idea what is causing this and what we can do to fix it? It's really=0D not big of a deal except we have some shells written that expect=0D azpcmpm_01.pdf, azpcmpm_02.pdf, etc. and we'll have to touch each shell=0D if we can't fix it.=0D =0D A.=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 Tue Sep 08 13:57:57 2009 From: "Eldridge, Amy C. Mrs." Date: Tue, 8 Sep 2009 13:54:51 -0400 Subject: [sqr-users] RE: odd behavior re SQR and PDFs and "use-report" option To clarify, I prefer not to touch the shells nor the SQR. We recently put = a new SQR Ini file into production and this problem popped up. So my hope = is to fix this problem at the SQR ini level. A. From: Eldridge, Amy C. Mrs. Sent: Tuesday, September 08, 2009 1:37 PM To: 'sqr-users@sqrug.org' Subject: odd behavior re SQR and PDFs and "use-report" option I just noticed some odd behavior regarding SQR and PDFs. The issue was not= there August 1 but was there September 1. We're running SQR version 8.X v= ia Unix. I was wondering if anyone else experienced it and hopefully, solv= ed it. If the SQR azpcmpm uses the "use-report" option (creates multiple output fi= les), as in: declare-report report1 printer-type=3Dpd end-declare declare-report report2 printer-type=3Dpd end-declare ... use-report report1 use-report report2 The PDF output WAS coming out as: azpcmpm_01.pdf azpcmpm_02.pdf But now, the PDF output is coming out like this: azpcmpm.p01 azpcmpm.p02 Any idea what is causing this and what we can do to fix it? It's really no= t big of a deal except we have some shells written that expect azpcmpm_01.p= df, azpcmpm_02.pdf, etc. and we'll have to touch each shell if we can't fix= it. A. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Sep 08 14:01:23 2009 Date: Tue, 8 Sep 2009 10:55:11 -0700 (PDT) From: Peter Burton Subject: RE: [sqr-users] odd behavior re SQR and PDFs and "use-report" option Amy, Did somebody change your SQR.INI file settings?\ Specifically, did the value of "output-file-mode" in the "[Default-Settings= ]" change? It looks like somebody either removed it or changes the value f= rom "long" to "short". Peter -----Original Message----- From: Eldridge, Amy C. Mrs. [mailto:emgeac@muohio.edu]=20 Sent: Tuesday, September 08, 2009 1:37 PM To: sqr-users@sqrug.org Subject: [sqr-users] odd behavior re SQR and PDFs and "use-report" option I just noticed some odd behavior regarding SQR and PDFs. The issue was not= there August 1 but was there September 1. We're running SQR version 8.X v= ia Unix. I was wondering if anyone else experienced it and hopefully, solv= ed it. If the SQR azpcmpm uses the "use-report" option (creates multiple output fi= les), as in: declare-report report1 printer-type=3Dpd end-declare declare-report report2 printer-type=3Dpd end-declare ... use-report report1 use-report report2 The PDF output WAS coming out as: azpcmpm_01.pdf azpcmpm_02.pdf But now, the PDF output is coming out like this: azpcmpm.p01 azpcmpm.p02 Any idea what is causing this and what we can do to fix it? It's really no= t big of a deal except we have some shells written that expect azpcmpm_01.p= df, azpcmpm_02.pdf, etc. and we'll have to touch each shell if we can't fix= it. A. _______________________________________________ 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 Sep 08 14:05:06 2009 Subject: RE: [sqr-users] RE: odd behavior re SQR and PDFs and "use-report" option Date: Tue, 8 Sep 2009 13:59:18 -0400 From: "Putney II, Zynon E" So what was changed in the sqr.ini? Wouldn't that be the cause of this=0D change of behavior?=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 Eldridge, Amy C. Mrs.=0D Sent: Tuesday, September 08, 2009 1:55 PM=0D To: sqr-users@sqrug.org=0D Subject: [sqr-users] RE: odd behavior re SQR and PDFs and "use-report"=0D option=0D =0D To clarify, I prefer not to touch the shells nor the SQR. We recently=0D put a new SQR Ini file into production and this problem popped up. So=0D my hope is to fix this problem at the SQR ini level.=0D =0D A.=0D =0D From: Eldridge, Amy C. Mrs.=0D Sent: Tuesday, September 08, 2009 1:37 PM=0D To: 'sqr-users@sqrug.org'=0D Subject: odd behavior re SQR and PDFs and "use-report" option=0D =0D I just noticed some odd behavior regarding SQR and PDFs. The issue was=0D not there August 1 but was there September 1. We're running SQR version=0D 8.X via Unix. I was wondering if anyone else experienced it and=0D hopefully, solved it.=0D =0D If the SQR azpcmpm uses the "use-report" option (creates multiple output=0D files), as in:=0D =0D declare-report report1=0D printer-type=3Dpd=0D end-declare=0D =0D declare-report report2=0D printer-type=3Dpd=0D end-declare=0D =0D ...=0D =0D use-report report1=0D =0D use-report report2=0D =0D The PDF output WAS coming out as:=0D =0D azpcmpm_01.pdf=0D azpcmpm_02.pdf=0D =0D But now, the PDF output is coming out like this:=0D =0D azpcmpm.p01=0D azpcmpm.p02=0D =0D Any idea what is causing this and what we can do to fix it? It's really=0D not big of a deal except we have some shells written that expect=0D azpcmpm_01.pdf, azpcmpm_02.pdf, etc. and we'll have to touch each shell=0D if we can't fix it.=0D =0D A.=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 Tue Sep 08 15:16:20 2009 From: "franck.masson" Subject: RE: [sqr-users] RE: odd behavior re SQR and PDFs and "use-report" option Date: Tue, 8 Sep 2009 21:13:28 +0200 (CEST) check / define this parameter in your sqr.ini=20 Output-File-Mode =3D LONG=20 > Message du 08/09/09 20:05 > De : "Putney II, Zynon E"=20 > A : "This list is for discussion about the SQR database reportinglanguage= from Hyperion Solutions."=20 > Copie =C3=A0 :=20 > Objet : RE: [sqr-users] RE: odd behavior re SQR and PDFs and "use-report"= option > >=20 > So what was changed in the sqr.ini? Wouldn't that be the cause of this=20 > change of behavior?=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 > Eldridge, Amy C. Mrs.=20 > Sent: Tuesday, September 08, 2009 1:55 PM=20 > To: sqr-users@sqrug.org=20 > Subject: [sqr-users] RE: odd behavior re SQR and PDFs and "use-report"=20 > option=20 >=20 > To clarify, I prefer not to touch the shells nor the SQR. We recently=20 > put a new SQR Ini file into production and this problem popped up. So=20 > my hope is to fix this problem at the SQR ini level.=20 >=20 > A.=20 >=20 > From: Eldridge, Amy C. Mrs.=20 > Sent: Tuesday, September 08, 2009 1:37 PM=20 > To: 'sqr-users@sqrug.org'=20 > Subject: odd behavior re SQR and PDFs and "use-report" option=20 >=20 > I just noticed some odd behavior regarding SQR and PDFs. The issue was=20 > not there August 1 but was there September 1. We're running SQR version= =20 > 8.X via Unix. I was wondering if anyone else experienced it and=20 > hopefully, solved it.=20 >=20 > If the SQR azpcmpm uses the "use-report" option (creates multiple output= =20 > files), as in:=20 >=20 > declare-report report1=20 > printer-type=3Dpd=20 > end-declare=20 >=20 > declare-report report2=20 > printer-type=3Dpd=20 > end-declare=20 >=20 > ...=20 >=20 > use-report report1=20 >=20 > use-report report2=20 >=20 > The PDF output WAS coming out as:=20 >=20 > azpcmpm_01.pdf=20 > azpcmpm_02.pdf=20 >=20 > But now, the PDF output is coming out like this:=20 >=20 > azpcmpm.p01=20 > azpcmpm.p02=20 >=20 > Any idea what is causing this and what we can do to fix it? It's really= =20 > not big of a deal except we have some shells written that expect=20 > azpcmpm_01.pdf, azpcmpm_02.pdf, etc. and we'll have to touch each shell= =20 > if we can't fix it.=20 >=20 > A.=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 > 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 > Thank you. Paychex, Inc. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 ---------------------------------------------------------------------------= -=20 Laposte.net f=C3=AAte ses 10 ans !=20 Gratuite, garantie =C3=A0 vie et d=C3=A9j=C3=A0 utilis=C3=A9e par des milli= ons d'internautes...=20 vous aussi, pour votre adresse e-mail, choisissez laposte.net.=20 Laposte.net, bien + qu'une messagerie=20 ---------------------------------------------------------------------------- _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Sep 08 15:22:48 2009 From: "Eldridge, Amy C. Mrs." Date: Tue, 8 Sep 2009 15:20:00 -0400 Subject: RE: [sqr-users] odd behavior re SQR and PDFs and "use-report" option That was the problem - thanks, Peter! A. -----Original Message----- From: sqr-users-bounces+emgeac=3Dmuohio.edu@sqrug.org [mailto:sqr-users-bou= nces+emgeac=3Dmuohio.edu@sqrug.org] On Behalf Of Peter Burton Sent: Tuesday, September 08, 2009 1:55 PM To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Subject: RE: [sqr-users] odd behavior re SQR and PDFs and "use-report" opti= on Amy, Did somebody change your SQR.INI file settings?\ Specifically, did the value of "output-file-mode" in the "[Default-Settings= ]" change? It looks like somebody either removed it or changes the value f= rom "long" to "short". Peter -----Original Message----- From: Eldridge, Amy C. Mrs. [mailto:emgeac@muohio.edu]=20 Sent: Tuesday, September 08, 2009 1:37 PM To: sqr-users@sqrug.org Subject: [sqr-users] odd behavior re SQR and PDFs and "use-report" option I just noticed some odd behavior regarding SQR and PDFs. The issue was not= there August 1 but was there September 1. We're running SQR version 8.X v= ia Unix. I was wondering if anyone else experienced it and hopefully, solv= ed it. If the SQR azpcmpm uses the "use-report" option (creates multiple output fi= les), as in: declare-report report1 printer-type=3Dpd end-declare declare-report report2 printer-type=3Dpd end-declare ... use-report report1 use-report report2 The PDF output WAS coming out as: azpcmpm_01.pdf azpcmpm_02.pdf But now, the PDF output is coming out like this: azpcmpm.p01 azpcmpm.p02 Any idea what is causing this and what we can do to fix it? It's really no= t big of a deal except we have some shells written that expect azpcmpm_01.p= df, azpcmpm_02.pdf, etc. and we'll have to touch each shell if we can't fix= it. A. _______________________________________________ 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 Sep 08 16:27:05 2009 Date: Tue, 8 Sep 2009 16:23:56 -0400 From: "Barilleaux, Rebecca" Subject: [sqr-users] aimssupp and aimsmock environments updated to Sybase 15.0.3 OCS The aimssupp and aimsmock environments on vaathmr068 have been updated to use Sybase 15.0.3 OCS. (Until this afternoon they were utilizing Sybase 12.5 OCS). Please note that this change does NOT apply to anyone using sqrext - I believe that is still utilizing Sybase 12.5 OCS. This change should be transparent, but in case you encounter any issues please let me know. =20 Thanks, Rebecca Barilleaux Developer Advisor - Facets Reports & Letters Development Work phone: 513-336-5636 Cell phone: 513-477-2167 =20 Work Schedule: Monday thru Thursday 8:30am - 3:00pm =20 CONFIDENTIALITY NOTICE: This e-mail message, including any attachments,=20 is for the sole use of the intended recipient(s) and may contain confidenti= al and privileged information or otherwise protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Sep 08 16:30:32 2009 Date: Tue, 8 Sep 2009 16:26:35 -0400 From: "Barilleaux, Rebecca" Subject: [sqr-users] Recall: aimssupp and aimsmock environments updated to Sybase 15.0.3 OCS Barilleaux, Rebecca would like to recall the message, "aimssupp and aimsmock environments updated to Sybase 15.0.3 OCS". CONFIDENTIALITY NOTICE: This e-mail message, including any attachments,=20 is for the sole use of the intended recipient(s) and may contain confidenti= al and privileged information or otherwise protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Sep 10 18:08:23 2009 From: "Knapp, Richard" Date: Thu, 10 Sep 2009 17:05:52 -0500 Subject: [sqr-users] external file record length Has anyone found a way to determine the actual record length for records in= a fixed width windows file? I have to process with sqlloader a bunch of f= ixed files with many different record lengths but with the data in the file= s having a length less than that of the record itself. Sqlloader requires = a precise actual record length for each file it processes (if you want some= thing but garbage in your tables.) Any bright ideas? 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 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Sep 10 19:22:18 2009 Subject: RE: [sqr-users] external file record length Date: Thu, 10 Sep 2009 16:19:25 -0700 From: "Alexander, Steven" Let me make sure I understand your situation. Are you saying you have N files and different files have different record lengths (x1, x2, x3, x4, ... xn). The individual lines in a file can vary in length up to the given maximum length. Each line ends in CR or CR/LF. Example: File #1 has a record length of 100 bytes. The first line might be 80 bytes, the second line might be 90 bytes, the third line might be 50 bytes, and the fourth byte is 100 bytes. Correct? -----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 Knapp, Richard Sent: Thursday, September 10, 2009 3:06 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: [sqr-users] external file record length Has anyone found a way to determine the actual record length for records in a fixed width windows file? I have to process with sqlloader a bunch of fixed files with many different record lengths but with the data in the files having a length less than that of the record itself. Sqlloader requires a precise actual record length for each file it processes (if you want something but garbage in your tables.) Any bright ideas? 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 _______________________________________________ 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 Sep 11 11:16:16 2009 From: "Knapp, Richard" Date: Fri, 11 Sep 2009 10:13:38 -0500 Subject: RE: [sqr-users] external file record length Hi Steven, Lori, Sorry I didn't make the situation clear. There are bunches of files contai= ning data for several years. It appears that the record length of these fi= les was changed each year. (Don't you just love it?) The data in the file= s, however, is always of the same width/length but that length is always le= ss, by varying amounts, than the actual record length. In other words, the= records are padded by different amounts each year but the usable data is a= lways of the same length. Sql loader, to process a fixed length file with no field separators (i.e. b= y position), needs to know what the actual record length, including record = terminators, is. SQR can read the entire record into a variable by specify= ing a huge record length _BUT_ it trims the trailing blanks so the length f= unction will not give the actual record length but only the length of the u= seable data. I'm thinking I have two choices at this point: 1. Find and call some DOS fu= nction that reads the file header and write that to a file which the SQR th= en reads and uses in a ctl file it writes or 2. Read and re-write all the r= ecords in each file gathering the record length and using that in the sql l= oader ctl file that the SQR writes for each file to be processed. Thanks for your interest in this arcane problem. 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 Alexander, Steven Sent: Thursday, September 10, 2009 6:19 PM To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Subject: RE: [sqr-users] external file record length Let me make sure I understand your situation. Are you saying you have N files and different files have different record lengths (x1, x2, x3, x4, ... xn). The individual lines in a file can vary in length up to the given maximum length. Each line ends in CR or CR/LF. Example: File #1 has a record length of 100 bytes. The first line might be 80 bytes, the second line might be 90 bytes, the third line might be 50 bytes, and the fourth byte is 100 bytes. Correct? -----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 Knapp, Richard Sent: Thursday, September 10, 2009 3:06 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: [sqr-users] external file record length Has anyone found a way to determine the actual record length for records in a fixed width windows file? I have to process with sqlloader a bunch of fixed files with many different record lengths but with the data in the files having a length less than that of the record itself. Sqlloader requires a precise actual record length for each file it processes (if you want something but garbage in your tables.) Any bright ideas? 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 _______________________________________________ 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 Sep 11 12:20:38 2009 From: Elvis Pressly Subject: RE: [sqr-users] external file record length Date: Fri, 11 Sep 2009 16:17:45 +0000 Can you make more clearer?=20 1. Is there several fixed record length files? or 2. If there a file with records of different length? In case of #2, I usually sent the file to a javascript that makes the records into same length. > From: KnappR@umsystem.edu > To: sqr-users@sqrug.org > Date: Fri, 11 Sep 2009 10:13:38 -0500 > Subject: RE: [sqr-users] external file record length >=20 > Hi Steven, Lori, >=20 > Sorry I didn't make the situation clear. There are bunches of files cont= aining data for several years. It appears that the record length of these = files was changed each year. (Don't you just love it?) The data in the fi= les, however, is always of the same width/length but that length is always = less, by varying amounts, than the actual record length. In other words, t= he records are padded by different amounts each year but the usable data is= always of the same length. >=20 > Sql loader, to process a fixed length file with no field separators (i.e.= by position), needs to know what the actual record length, including recor= d terminators, is. SQR can read the entire record into a variable by speci= fying a huge record length _BUT_ it trims the trailing blanks so the length= function will not give the actual record length but only the length of the= useable data. >=20 > I'm thinking I have two choices at this point: 1. Find and call some DOS = function that reads the file header and write that to a file which the SQR = then reads and uses in a ctl file it writes or 2. Read and re-write all the= records in each file gathering the record length and using that in the sql= loader ctl file that the SQR writes for each file to be processed. >=20 > Thanks for your interest in this arcane problem. >=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 Alexander, Steven > Sent: Thursday, September 10, 2009 6:19 PM > To: This list is for discussion about the SQR database reportinglanguage = from Hyperion Solutions. > Subject: RE: [sqr-users] external file record length >=20 > Let me make sure I understand your situation. Are you saying you have N > files and different files have different record lengths (x1, x2, x3, x4, > ... xn). The individual lines in a file can vary in length up to the > given maximum length. Each line ends in CR or CR/LF. >=20 > Example: >=20 > File #1 has a record length of 100 bytes. The first line might be 80 > bytes, the second line might be 90 bytes, the third line might be 50 > bytes, and the fourth byte is 100 bytes. >=20 > Correct? >=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 Knapp, Richard > Sent: Thursday, September 10, 2009 3:06 PM > To: This list is for discussion about the SQR database reporting > languagefrom Hyperion Solutions. > Subject: [sqr-users] external file record length >=20 > Has anyone found a way to determine the actual record length for records > in a fixed width windows file? I have to process with sqlloader a bunch > of fixed files with many different record lengths but with the data in > the files having a length less than that of the record itself. > Sqlloader requires a precise actual record length for each file it > processes (if you want something but garbage in your tables.) >=20 > Any bright ideas? >=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 > _______________________________________________ > 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 _________________________________________________________________ Windows Live: Make it easier for your friends to see what you=92re up to on= Facebook. http://windowslive.com/Campaign/SocialNetworking?ocid=3DPID23285::T:WLMTAGL= :ON:WL:en-US:SI_SB_facebook:082009 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Sep 11 13:57:42 2009 Subject: RE: [sqr-users] external file record length Date: Fri, 11 Sep 2009 10:54:41 -0700 From: "Alexander, Steven" I think Richard is saying something like this: All the files from 2005 had 80 bytes of data and 10 bytes of spaces, followed by CR/LF. All the files from 2006 had 80 bytes of data and 20 bytes of spaces, followed by CR/LF. All the files from 2007 had 80 bytes of data and 15 bytes of spaces, followed by CR/LF. Etc. The goal is to have SQR Loader read all the files. The second choice is to write an SQR program to read all the files. I have never used SQR Loader, so I can't advise you on it. If you have to use SQR, here are my thoughts. You haven't said whether there are line terminators (CR or CR/LF). If there are, I don't see why you care about the amount of padding or about losing the padding. Just open the file with record=3D1000:vary and enjoy the automatic trimming. If the amount of padding is important or if there are no line terminators, open each file as record=3D1000:fixed_nolf. Read one 1000 byte record and inspect each character of padding with substr($line, #x, 1) to find the first non-padding character. That will tell you the length of the padding. Close the file and reopen it with the proper length. This is "easy" if your version of SQR allows a variable in the record length parameter. If not, use the "call system" command to run another copy of SQR, pass the record length as a parameter, and use the "ask" command to put that value in a {substitution} variable. -----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 Elvis Pressly Sent: Friday, September 11, 2009 9:18 AM To: sqr-users@sqrug.org Subject: RE: [sqr-users] external file record length Can you make more clearer?=20 1. Is there several fixed record length files? or 2. If there a file with records of different length? In case of #2, I usually sent the file to a javascript that makes the records into same length. > From: KnappR@umsystem.edu > To: sqr-users@sqrug.org > Date: Fri, 11 Sep 2009 10:13:38 -0500 > Subject: RE: [sqr-users] external file record length >=20 > Hi Steven, Lori, >=20 > Sorry I didn't make the situation clear. There are bunches of files containing data for several years. It appears that the record length of these files was changed each year. (Don't you just love it?) The data in the files, however, is always of the same width/length but that length is always less, by varying amounts, than the actual record length. In other words, the records are padded by different amounts each year but the usable data is always of the same length. >=20 > Sql loader, to process a fixed length file with no field separators (i.e. by position), needs to know what the actual record length, including record terminators, is. SQR can read the entire record into a variable by specifying a huge record length _BUT_ it trims the trailing blanks so the length function will not give the actual record length but only the length of the useable data. >=20 > I'm thinking I have two choices at this point: 1. Find and call some DOS function that reads the file header and write that to a file which the SQR then reads and uses in a ctl file it writes or 2. Read and re-write all the records in each file gathering the record length and using that in the sql loader ctl file that the SQR writes for each file to be processed. >=20 > Thanks for your interest in this arcane problem. >=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 Alexander, Steven > Sent: Thursday, September 10, 2009 6:19 PM > To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. > Subject: RE: [sqr-users] external file record length >=20 > Let me make sure I understand your situation. Are you saying you have N > files and different files have different record lengths (x1, x2, x3, x4, > ... xn). The individual lines in a file can vary in length up to the > given maximum length. Each line ends in CR or CR/LF. >=20 > Example: >=20 > File #1 has a record length of 100 bytes. The first line might be 80 > bytes, the second line might be 90 bytes, the third line might be 50 > bytes, and the fourth byte is 100 bytes. >=20 > Correct? >=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 Knapp, Richard > Sent: Thursday, September 10, 2009 3:06 PM > To: This list is for discussion about the SQR database reporting > languagefrom Hyperion Solutions. > Subject: [sqr-users] external file record length >=20 > Has anyone found a way to determine the actual record length for records > in a fixed width windows file? I have to process with sqlloader a bunch > of fixed files with many different record lengths but with the data in > the files having a length less than that of the record itself. > Sqlloader requires a precise actual record length for each file it > processes (if you want something but garbage in your tables.) >=20 > Any bright ideas? >=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 > _______________________________________________ > 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 _________________________________________________________________ Windows Live: Make it easier for your friends to see what you're up to on Facebook. http://windowslive.com/Campaign/SocialNetworking?ocid=3DPID23285::T:WLMTAG L:ON:WL:en-US:SI_SB_facebook:082009 _______________________________________________ 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 Sep 11 15:32:42 2009 From: "Knapp, Richard" Date: Fri, 11 Sep 2009 14:30:18 -0500 Subject: RE: [sqr-users] external file record length No. All the records have the same length and the usable data are all of th= e same length. The record lengths differ from file to file. I've decided to do this all in SQR - a lot of input and output description = but I don't see the sql loader option working. Too bad. I had already wri= tten the ctls. C'est la vie. Thanks everyone for your interest and kind attention!!! 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 Alexander, Steven Sent: Thursday, September 10, 2009 6:19 PM To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Subject: RE: [sqr-users] external file record length Let me make sure I understand your situation. Are you saying you have N files and different files have different record lengths (x1, x2, x3, x4, ... xn). The individual lines in a file can vary in length up to the given maximum length. Each line ends in CR or CR/LF. Example: File #1 has a record length of 100 bytes. The first line might be 80 bytes, the second line might be 90 bytes, the third line might be 50 bytes, and the fourth byte is 100 bytes. Correct? -----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 Knapp, Richard Sent: Thursday, September 10, 2009 3:06 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: [sqr-users] external file record length Has anyone found a way to determine the actual record length for records in a fixed width windows file? I have to process with sqlloader a bunch of fixed files with many different record lengths but with the data in the files having a length less than that of the record itself. Sqlloader requires a precise actual record length for each file it processes (if you want something but garbage in your tables.) Any bright ideas? 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 _______________________________________________ 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 Sep 11 15:48:04 2009 Subject: RE: [sqr-users] external file record length Date: Fri, 11 Sep 2009 12:44:37 -0700 From: "Lynds,Rick" Richard, Any chance of using SQR (or language of choice) to "standardize" the record lengths, then SQLLoader to load the results? Rick _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Sep 11 15:53:13 2009 From: "Knapp, Richard" Date: Fri, 11 Sep 2009 14:50:53 -0500 Subject: RE: [sqr-users] external file record length I've thought of that. I may yet it that way. The test of "doing it all in= SQR" is running very slowly. Thanks. 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 Lynds,Rick Sent: Friday, September 11, 2009 2:45 PM To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Subject: RE: [sqr-users] external file record length Richard, Any chance of using SQR (or language of choice) to "standardize" the record lengths, then SQLLoader to load the results? Rick _______________________________________________ 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 Sep 11 16:00:29 2009 Subject: RE: [sqr-users] external file record length Date: Fri, 11 Sep 2009 15:57:22 -0400 From: "Simon, Jason (MBS)" 1 If I had to do this I would copy all of the files into one new directory, assuming they dont have the same name.=20=20 2 Now create a list of file names, dos will do this for you, put them into a csv file.=20 3 Read the list of log names you put into a CSV file into an array.=20 4 Cycle through the array one at a time grabbing a single file name. 5 Pass this file name to the next procedure that standardizes the length and reads each row into a new array. 6 Now cycle through the array and write it out to a file using the name variable in step 4 to a new empty file folder.=20 I may very well be missing some thing here but this is how I would approach it if I had tons of files to read and convert.=20 Hope this helps Jason=20=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 Lynds,Rick Sent: Friday, September 11, 2009 3:45 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] external file record length Richard, Any chance of using SQR (or language of choice) to "standardize" the record lengths, then SQLLoader to load the results? Rick _______________________________________________ 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 Sep 11 16:07:59 2009 From: "Knapp, Richard" Date: Fri, 11 Sep 2009 15:05:35 -0500 Subject: RE: [sqr-users] external file record length Yep. You missed something but, hey, thanks for the attention. R. 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 Simon, Jason (MBS) Sent: Friday, September 11, 2009 2:57 PM To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Subject: RE: [sqr-users] external file record length 1 If I had to do this I would copy all of the files into one new directory, assuming they dont have the same name.=20=20 2 Now create a list of file names, dos will do this for you, put them into a csv file.=20 3 Read the list of log names you put into a CSV file into an array.=20 4 Cycle through the array one at a time grabbing a single file name. 5 Pass this file name to the next procedure that standardizes the length and reads each row into a new array. 6 Now cycle through the array and write it out to a file using the name variable in step 4 to a new empty file folder.=20 I may very well be missing some thing here but this is how I would approach it if I had tons of files to read and convert.=20 Hope this helps Jason=20=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 Lynds,Rick Sent: Friday, September 11, 2009 3:45 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] external file record length Richard, Any chance of using SQR (or language of choice) to "standardize" the record lengths, then SQLLoader to load the results? Rick _______________________________________________ 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 Sep 14 09:52:35 2009 Date: Mon, 14 Sep 2009 09:49:12 -0400 From: "George Jansen" Subject: RE: [sqr-users] external file record length 1. SQL*Loader allows different specs for different files, all within the sa= me control file. 2. SQR is fine for what it does, but I'd be inclined to use a scripting lan= guage--Perl on an **x box, Python on Windows--to generate the ctl files. We= quite regularly process stuff, generally tab-separated, with a script that= reads the header, writes the control-file, and then does a "system('sqlloa= der foo/bar@baz gen.ctl');". On Windows I'd probably settle for generating= a batch file to run the SQL*Loader. 3. Have you considered using "external tables", available from Oracle 9i on= ? You place the files in a database-readable directory, create your definit= ion (SQL*Loader-like) and can read the files directly in the database. With= that option, you'd probably want one file rather than umpteen, and use you= r script to reformat everything to the maximum width. >>> "Knapp, Richard" 9/11/2009 4:05 PM >>> Yep. You missed something but, hey, thanks for the attention. R. 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 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-b= ounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Simon, Jason (MBS) Sent: Friday, September 11, 2009 2:57 PM To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Subject: RE: [sqr-users] external file record length 1 If I had to do this I would copy all of the files into one new directory, assuming they dont have the same name.=20=20 2 Now create a list of file names, dos will do this for you, put them into a csv file.=20 3 Read the list of log names you put into a CSV file into an array.=20 4 Cycle through the array one at a time grabbing a single file name. 5 Pass this file name to the next procedure that standardizes the length and reads each row into a new array. 6 Now cycle through the array and write it out to a file using the name variable in step 4 to a new empty file folder.=20 I may very well be missing some thing here but this is how I would approach it if I had tons of files to read and convert.=20 Hope this helps Jason=20=20 =20=20 -----Original Message----- From: sqr-users-bounces+jason.simon=3Dmortgagefamily.com@sqrug.org=20 [mailto:sqr-users-bounces+jason.simon=3Dmortgagefamily.com@sqrug.org] On Behalf Of Lynds,Rick Sent: Friday, September 11, 2009 3:45 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] external file record length Richard, Any chance of using SQR (or language of choice) to "standardize" the record lengths, then SQLLoader to load the results? Rick _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 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 Sep 14 09:56:50 2009 Date: Mon, 14 Sep 2009 09:53:54 -0400 From: "George Jansen" Subject: RE: [sqr-users] external file record length Are there line terminators after each record? If so, SQL*Loader doesn't car= e about anything past the last defined field. >>> "Knapp, Richard" 9/11/2009 11:13 AM >>> Hi Steven, Lori, Sorry I didn't make the situation clear. There are bunches of files contai= ning data for several years. It appears that the record length of these fi= les was changed each year. (Don't you just love it?) The data in the file= s, however, is always of the same width/length but that length is always le= ss, by varying amounts, than the actual record length. In other words, the= records are padded by different amounts each year but the usable data is a= lways of the same length. Sql loader, to process a fixed length file with no field separators (i.e. b= y position), needs to know what the actual record length, including record = terminators, is. SQR can read the entire record into a variable by specify= ing a huge record length _BUT_ it trims the trailing blanks so the length f= unction will not give the actual record length but only the length of the u= seable data. I'm thinking I have two choices at this point: 1. Find and call some DOS fu= nction that reads the file header and write that to a file which the SQR th= en reads and uses in a ctl file it writes or 2. Read and re-write all the r= ecords in each file gathering the record length and using that in the sql l= oader ctl file that the SQR writes for each file to be processed. Thanks for your interest in this arcane problem. 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 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-b= ounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Alexander, Steven Sent: Thursday, September 10, 2009 6:19 PM To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Subject: RE: [sqr-users] external file record length Let me make sure I understand your situation. Are you saying you have N files and different files have different record lengths (x1, x2, x3, x4, ... xn). The individual lines in a file can vary in length up to the given maximum length. Each line ends in CR or CR/LF. Example: File #1 has a record length of 100 bytes. The first line might be 80 bytes, the second line might be 90 bytes, the third line might be 50 bytes, and the fourth byte is 100 bytes. Correct? -----Original Message----- From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org=20 [mailto:sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf Of Knapp, Richard Sent: Thursday, September 10, 2009 3:06 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: [sqr-users] external file record length Has anyone found a way to determine the actual record length for records in a fixed width windows file? I have to process with sqlloader a bunch of fixed files with many different record lengths but with the data in the files having a length less than that of the record itself. Sqlloader requires a precise actual record length for each file it processes (if you want something but garbage in your tables.) Any bright ideas? 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 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 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 Sep 14 11:26:53 2009 From: "Knapp, Richard" Date: Mon, 14 Sep 2009 10:24:01 -0500 Subject: RE: [sqr-users] external file record length Thanks, George, but sql loader very much cares about the record length when= it is reading fixed width/position oriented data. The thing about sql loader is: it is fast as lightening. Fast. I'm going to try widening the sqr generated copies by 1 or two characters. = If that doesn't help, I will read the first record one character at a time= , counting the characters, to get the actual record lengths. 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 George Jansen Sent: Monday, September 14, 2009 8:54 AM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: RE: [sqr-users] external file record length Are there line terminators after each record? If so, SQL*Loader doesn't car= e about anything past the last defined field. >>> "Knapp, Richard" 9/11/2009 11:13 AM >>> Hi Steven, Lori, Sorry I didn't make the situation clear. There are bunches of files contai= ning data for several years. It appears that the record length of these fi= les was changed each year. (Don't you just love it?) The data in the file= s, however, is always of the same width/length but that length is always le= ss, by varying amounts, than the actual record length. In other words, the= records are padded by different amounts each year but the usable data is a= lways of the same length. Sql loader, to process a fixed length file with no field separators (i.e. b= y position), needs to know what the actual record length, including record = terminators, is. SQR can read the entire record into a variable by specify= ing a huge record length _BUT_ it trims the trailing blanks so the length f= unction will not give the actual record length but only the length of the u= seable data. I'm thinking I have two choices at this point: 1. Find and call some DOS fu= nction that reads the file header and write that to a file which the SQR th= en reads and uses in a ctl file it writes or 2. Read and re-write all the r= ecords in each file gathering the record length and using that in the sql l= oader ctl file that the SQR writes for each file to be processed. Thanks for your interest in this arcane problem. 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 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-b= ounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Alexander, Steven Sent: Thursday, September 10, 2009 6:19 PM To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Subject: RE: [sqr-users] external file record length Let me make sure I understand your situation. Are you saying you have N files and different files have different record lengths (x1, x2, x3, x4, ... xn). The individual lines in a file can vary in length up to the given maximum length. Each line ends in CR or CR/LF. Example: File #1 has a record length of 100 bytes. The first line might be 80 bytes, the second line might be 90 bytes, the third line might be 50 bytes, and the fourth byte is 100 bytes. Correct? -----Original Message----- From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org=20 [mailto:sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf Of Knapp, Richard Sent: Thursday, September 10, 2009 3:06 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: [sqr-users] external file record length Has anyone found a way to determine the actual record length for records in a fixed width windows file? I have to process with sqlloader a bunch of fixed files with many different record lengths but with the data in the files having a length less than that of the record itself. Sqlloader requires a precise actual record length for each file it processes (if you want something but garbage in your tables.) Any bright ideas? 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 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 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 Sep 14 15:25:54 2009 From: "Knapp, Richard" Date: Mon, 14 Sep 2009 14:23:31 -0500 Subject: RE: [sqr-users] external file record length Here is what finally solved the problem: The Oracle online documentation f= or sqlloader truly sucks. As just one example: there is no detailed discus= sion of file processing options, only a "read your operating system specifi= c documentation" suggestion. An obscure online FAQ contained the vital clu= e: the default option is stream _and_ the default behavior for stream is to= read to the end of the record. All I needed to know. Thanks for all y'all's help. 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 Alexander, Steven Sent: Thursday, September 10, 2009 6:19 PM To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Subject: RE: [sqr-users] external file record length Let me make sure I understand your situation. Are you saying you have N files and different files have different record lengths (x1, x2, x3, x4, ... xn). The individual lines in a file can vary in length up to the given maximum length. Each line ends in CR or CR/LF. Example: File #1 has a record length of 100 bytes. The first line might be 80 bytes, the second line might be 90 bytes, the third line might be 50 bytes, and the fourth byte is 100 bytes. Correct? -----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 Knapp, Richard Sent: Thursday, September 10, 2009 3:06 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: [sqr-users] external file record length Has anyone found a way to determine the actual record length for records in a fixed width windows file? I have to process with sqlloader a bunch of fixed files with many different record lengths but with the data in the files having a length less than that of the record itself. Sqlloader requires a precise actual record length for each file it processes (if you want something but garbage in your tables.) Any bright ideas? 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 _______________________________________________ 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 Sep 15 11:44:57 2009 Date: Tue, 15 Sep 2009 11:42:09 -0400 From: Paul Stefanchuk Subject: [sqr-users] Value not being passed globally from procedure Hello: Problem: begin-procedure print-20(:$valuearray) put $_prem_20_rtn into Retired(0) amount(0) get $valuearray from Retired(0) amount(0) In Main Procedure I do a do print-20($valuearr) SHOW 'PRINT NUM ' $valuearr I get no value for the $valuearr. I know the value exists because I can print the value from the procedure. Any help would be greatly appreciated. Lucy PS...I can't pass the array as parameter either. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Sep 15 11:49:29 2009 From: "Knapp, Richard" Date: Tue, 15 Sep 2009 10:47:07 -0500 Subject: RE: [sqr-users] Value not being passed globally from procedure Typo? 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 Paul Stefanchuk Sent: Tuesday, September 15, 2009 10:42 AM To: sqr-users@sqrug.org Subject: [sqr-users] Value not being passed globally from procedure Hello: Problem: begin-procedure print-20(:$valuearray) put $_prem_20_rtn into Retired(0) amount(0) get $valuearray from Retired(0) amount(0) In Main Procedure I do a do print-20($valuearr) SHOW 'PRINT NUM ' $valuearr I get no value for the $valuearr. I know the value exists because I can print the value from the procedure. Any help would be greatly appreciated. Lucy PS...I can't pass the array as parameter either. _______________________________________________ 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 Sep 15 12:03:19 2009 Subject: RE: [sqr-users] Value not being passed globally from procedure Date: Tue, 15 Sep 2009 11:51:20 -0400 From: "Simon, Jason (MBS)" Hey Lucy, Are you trying to use the variable to hold a list of items? Thanks Jason =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 Paul Stefanchuk Sent: Tuesday, September 15, 2009 11:42 AM To: sqr-users@sqrug.org Subject: [sqr-users] Value not being passed globally from procedure Hello: Problem: begin-procedure print-20(:$valuearray) put $_prem_20_rtn into Retired(0) amount(0) get $valuearray from Retired(0) amount(0) In Main Procedure I do a do print-20($valuearr) SHOW 'PRINT NUM ' $valuearr I get no value for the $valuearr. I know the value exists because I can print the value from the procedure. Any help would be greatly appreciated. Lucy PS...I can't pass the array as parameter either. _______________________________________________ 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 Sep 15 14:24:59 2009 Subject: RE: [sqr-users] Value not being passed globally from procedure Date: Tue, 15 Sep 2009 14:22:12 -0400 From: "Simon, Jason (MBS)" The reason I was asking is because in your code. I didn't see the array name and row number just the fields you were using. I would have expected to see something like the two lines below.=20 Put $field1 $field2 into myarray(#rowcnt) Get $field1 $field2 from myarray(#rowcnt) In the get function you posted it doesn't appear to be coded correctly. Can you try putting it in the format listed above where $field1 and $field2 are your variables myarray is your array name and #rowcount is the row number you want it to go into in the array. This will apply for the get function also. Let me know if I am on the right track or way out in left field. If I am far off track can you post your SQR in the reply and I will take a look at it. Also what version of SQR are you using.=20 HTH Jason -----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 Knapp, Richard Sent: Tuesday, September 15, 2009 11:47 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] Value not being passed globally from procedure Typo? 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 Paul Stefanchuk Sent: Tuesday, September 15, 2009 10:42 AM To: sqr-users@sqrug.org Subject: [sqr-users] Value not being passed globally from procedure Hello: Problem: begin-procedure print-20(:$valuearray) put $_prem_20_rtn into Retired(0) amount(0) get $valuearray from Retired(0) amount(0) In Main Procedure I do a do print-20($valuearr) SHOW 'PRINT NUM ' $valuearr I get no value for the $valuearr. I know the value exists because I can print the value from the procedure. Any help would be greatly appreciated. Lucy PS...I can't pass the array as parameter either. _______________________________________________ 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 Sep 15 14:45:52 2009 Date: Tue, 15 Sep 2009 20:43:19 +0200 From: karthikeya bhaghavatula Subject: [sqr-users] sqrerr file reload Hi, I've cloned my AIX system to another AIX , everything else is working fine except SQR software, when i launch sqr reports below error i'm getting (SQR 6) Corrupt message file: Invalid count (Got 18567890877, Should be 1055) When i googled this error i found information about this error, this is due to file sqrerr.dat which can not be copied from another system and need to be reloaded in case if we clone from one system to another. My problem is no where i can find information how to reload this file, could any one of you please tell me how to reload this file ? Regards Karthikeya B. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Sep 15 14:55:35 2009 Date: Tue, 15 Sep 2009 13:52:57 -0500 From: "Ojha, Dipin" Subject: [sqr-users] Custom Param forms Hi All, =20 I am using calendar popup buttons with images in my parameter forms. They u= se Javascript code. We recently upgraded to IE7 from IE6 and the popups cea= sed working. Any settings that I need to check?=20 =20 Thanks. _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by 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 Wed Sep 16 09:42:12 2009 From: "Steve Cavill" Subject: RE: [sqr-users] sqrerr file reload Date: Wed, 16 Sep 2009 23:39:10 +1000 Simply reinstalling SQR would be the simplest solution. 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 karthikeya bhaghavatula Sent: Wednesday, 16 September 2009 4:43 AM To: sqr-users@sqrug.org Subject: [sqr-users] sqrerr file reload Hi, I've cloned my AIX system to another AIX , everything else is working fine except SQR software, when i launch sqr reports below error i'm getting (SQR 6) Corrupt message file: Invalid count (Got 18567890877, Should be 1055) When i googled this error i found information about this error, this is due to file sqrerr.dat which can not be copied from another system and need to be reloaded in case if we clone from one system to another. My problem is no where i can find information how to reload this file, could any one of you please tell me how to reload this file ? Regards Karthikeya B. _______________________________________________ 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 Sep 16 09:49:38 2009 Date: Wed, 16 Sep 2009 15:46:54 +0200 Subject: Re: [sqr-users] sqrerr file reload From: karthikeya bhaghavatula Thanks Steve, but my problem is i couldn't find SQR 6.2 software now and all programs would work with version 6.2 only. Please upload software if you have. Regards Karthikeya. On Wed, Sep 16, 2009 at 3:39 PM, Steve Cavill < steve.cavill@infoclarity.com.au> wrote: > Simply reinstalling SQR would be the simplest solution. > 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 karthikeya bhaghavatula > Sent: Wednesday, 16 September 2009 4:43 AM > To: sqr-users@sqrug.org > Subject: [sqr-users] sqrerr file reload > > Hi, > I've cloned my AIX system to another AIX , everything else is working fine > except SQR software, when i launch sqr reports below > error i'm getting > > (SQR 6) Corrupt message file: Invalid count (Got 18567890877, Should be > 1055) > > When i googled this error i found information about this error, this is due > to file sqrerr.dat which can not be copied from another > system and need to be reloaded in case if we clone from one system to > another. My problem is no where i can find information how to > reload this file, could any one of you please tell me how to reload this > file ? > > Regards > > Karthikeya B. > > _______________________________________________ > 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 Sep 16 10:03:09 2009 From: "franck.masson" Subject: Re: [sqr-users] sqrerr file reload Date: Wed, 16 Sep 2009 16:00:16 +0200 (CEST) In your bin directory you should have these file=20 sqrerr.dat sqrerr_en.dat try to copy sqrerr_en.dat to sqrerr.dat have you try to copy in binary mode the sqrerr.dat from your old system to = the new one. (use binary mode if you ftp) Franck, > Message du 16/09/09 15:49 > De : "karthikeya bhaghavatula"=20 > A : "This list is for discussion about the SQR database reporting languag= e from Hyperion Solutions."=20 > Copie =C3=A0 :=20 > Objet : Re: [sqr-users] sqrerr file reload > >=20 > Thanks Steve, but my problem is i couldn't find SQR 6.2 software now and = all > programs would work with version 6.2 only. Please upload software if you > have. >=20 > Regards > Karthikeya. >=20 > On Wed, Sep 16, 2009 at 3:39 PM, Steve Cavill < > steve.cavill@infoclarity.com.au> wrote: >=20 > > Simply reinstalling SQR would be the simplest solution. > > Steve. > > > > -----Original Message----- > > From: sqr-users-bounces+steve.cavill=3Dinfoclarity.com.au@sqrug.org > > [mailto:sqr-users-bounces+steve.cavill =3D > > infoclarity.com.au@sqrug.org] On Behalf Of karthikeya bhaghavatula > > Sent: Wednesday, 16 September 2009 4:43 AM > > To: sqr-users@sqrug.org > > Subject: [sqr-users] sqrerr file reload > > > > Hi, > > I've cloned my AIX system to another AIX , everything else is working f= ine > > except SQR software, when i launch sqr reports below > > error i'm getting > > > > (SQR 6) Corrupt message file: Invalid count (Got 18567890877, Should be > > 1055) > > > > When i googled this error i found information about this error, this is= due > > to file sqrerr.dat which can not be copied from another > > system and need to be reloaded in case if we clone from one system to > > another. My problem is no where i can find information how to > > reload this file, could any one of you please tell me how to reload this > > file ? > > > > Regards > > > > Karthikeya B. > > > > _______________________________________________ > > 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 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 ---------------------------------------------------------------------------= -=20 Laposte.net f=C3=AAte ses 10 ans !=20 Gratuite, garantie =C3=A0 vie et d=C3=A9j=C3=A0 utilis=C3=A9e par des milli= ons d'internautes...=20 vous aussi, pour votre adresse e-mail, choisissez laposte.net.=20 Laposte.net, bien + qu'une messagerie=20 ---------------------------------------------------------------------------- _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Sep 16 10:16:30 2009 From: "Jirka Vylet" Subject: RE: [sqr-users] sqrerr file reload Date: Wed, 16 Sep 2009 07:12:59 -0700 Karthikeya,=20 I'd say there's 99% chance you have another sqrerr.dat file from another SQ= R version in your environment. Do a search on the new system for it and if= present make sure only the one from the SQR version you're trying to use i= s in your environment (PATH, ...).=20 jirka -----Original Message----- From: karthikeya bhaghavatula [mailto:sweettom@gmail.com]=20 Sent: Tuesday, September 15, 2009 11:43 AM To: sqr-users@sqrug.org Subject: [sqr-users] sqrerr file reload Hi, I've cloned my AIX system to another AIX , everything else is working fine = except SQR software, when i launch sqr reports below error i'm getting (SQR 6) Corrupt message file: Invalid count (Got 18567890877, Should be 1055) When i googled this error i found information about this error, this is due= to file sqrerr.dat which can not be copied from another system and need to= be reloaded in case if we clone from one system to another. My problem is = no where i can find information how to reload this file, could any one of y= ou please tell me how to reload this file ? Regards Karthikeya B. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Sep 16 13:31:09 2009 Date: Wed, 16 Sep 2009 19:28:22 +0200 Subject: Re: [sqr-users] sqrerr file reload From: karthikeya bhaghavatula Jirka, Thanks for your input, i actually made a tar of SQR6.2 which is working fine in another AIX and copied to my server ( which is also an AIX and same version of that , only ML is different). so i do not have multiple versions of SQR in the new system neither on old. Let me know if you want me check other things, also please share SQR6.2 software if you have ( i can also purchase if it is going to be work for sure). Regards Karthikeya. On Wed, Sep 16, 2009 at 4:12 PM, Jirka Vylet wrote: > > Karthikeya, > > I'd say there's 99% chance you have another sqrerr.dat file from another > SQR version in your environment. Do a search on the new system for it and > if present make sure only the one from the SQR version you're trying to use > is in your environment (PATH, ...). > > jirka > > -----Original Message----- > From: karthikeya bhaghavatula [mailto:sweettom@gmail.com] > Sent: Tuesday, September 15, 2009 11:43 AM > To: sqr-users@sqrug.org > Subject: [sqr-users] sqrerr file reload > > Hi, > I've cloned my AIX system to another AIX , everything else is working fine > except SQR software, when i launch sqr reports below error i'm getting > > (SQR 6) Corrupt message file: Invalid count (Got 18567890877, Should be > 1055) > > When i googled this error i found information about this error, this is due > to file sqrerr.dat which can not be copied from another system and need to > be reloaded in case if we clone from one system to another. My problem is no > where i can find information how to reload this file, could any one of you > please tell me how to reload this file ? > > Regards > > Karthikeya B. > > > > > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Sep 30 04:04:33 2009 From: Nagaraju_Ramineni Date: Wed, 30 Sep 2009 13:28:44 +0530 Subject: [sqr-users] please can anyone send code to print the MICR font for part check printing in PAY003 sqr Dear Friends, I wanted to edit the PAY003 delivered sqr to print the check with real chec= k format with MICR font. if anybody has already addressed this issue Please help me in getting solution for check printing with MICR font(MICR l= ine with MICR symbols(On-Us Symbol & Transit Number Symbol) at th ebottom = of check) thru sqr. and also please help how to get the micr symbols into s= qr output(how to access the symbols). this is format has to be done in pdf. Thanks in advance Nagaraj Ramineni ________________________________ DISCLAIMER: This email (including any attachments) is intended for the sole use of the = intended recipient/s and may contain material that is CONFIDENTIAL AND PRIV= ATE COMPANY INFORMATION. Any review or reliance by others or copying or dis= tribution or forwarding of any or all of the contents in this message is ST= RICTLY PROHIBITED. If you are not the intended recipient, please contact th= e sender by email and delete all copies; your cooperation in this regard is= appreciated. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Sep 30 09:10:17 2009 Date: Wed, 30 Sep 2009 09:06:51 -0400 From: Rajesh Subramaniam Subject: [sqr-users] SQR query error - help needed I am getting the following errors for the below code. As I am new to SQR, I am not able to understand where the problem lies can someone help me in this one. Sales.emp is the table name and emp_id... etc are columns in it. Code- begin-select emp_id &empId emp_firstname &empFN emp_middle_init &empMI emp_lastname &empLN emp_employee_nbr &empNo emp_addr1 &empAddr1 emp_addr2 &empAddr2 emp_term_reason &empTermReason move &empId to $empId move &empFN to $empFN move &empMI to $empMI move &empLN to $empLN move &empNo to $empNo move &empAddr1 to $empAddr1 move &empAddr2 to $empAddr2 move &empTermReason to $empTermReason do write_output from sales.emp where emp_term_reason = '' and emp_state = $st_abb end-select Error Error on line 40: (SQR 3721) Bad param found on 'BEGIN-SELECT' line; Format is: BEGIN-SELECT [DISTINCT] [-Cnn] [-Bnn] [LOOPS=nn] [ON-ERROR=procedure[(arg1[,argi]...)]] emp_id &empId Error on line 47: (SQR 3704) Missing procedure name. emp_term_reason &empTermReason (SQR 4407) Referenced variables not defined: &empid &empfn &empmi &empln &empno &empaddr1 &empaddr2 &emptermreason Errors were found in the program file. Thanks, Rajesh. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Sep 30 09:18:13 2009 Date: Wed, 30 Sep 2009 09:14:13 -0400 From: "Everett Carr" Subject: Re: [sqr-users] please can anyone send code to print the MICR font forpart check printing in PAY003 sqr it is unlikely you will be successful with pdf output =20 Bank regulations REQURE VERY PRECISE placement of the micr line. Most banks= invoke fee penalties PER CHECK if they cannot read the micr line due to im= proper placement. PDF form very unlikely you can control that placement to = be reliable enough; And then with variation is alignment from printer to pr= inter, you pretty much are toasted for that format. =20 Crystal is even worse and dumber as an application choice (like that delive= red in finance). It is easily sniffied and the signature is totally insecur= e. =20 =20 For consistent and reliable success, install the micr font on the printer, = install the signature on the printer. Do not embed graphics, especially sig= natures for check printing. Also ensure the print file is actually deleted;= Peoplesoft FAILS to do that. Printing with delete specified on process sch= eduler ONLY REMOVES THE ENTRY FROM process scheduler...IT DOES NOT DELETE t= he file on the file system. That is very poor technique in terms of signatu= re and check control. Therefore use SQR to send the print file to the syste= m print queue with delete qualifiers; System print queues (unix) do in fact= print and physically delete the file. =20 >>> Nagaraju_Ramineni 9/30/2009 3:58= AM >>> Dear Friends, I wanted to edit the PAY003 delivered sqr to print the check with real chec= k format with MICR font. if anybody has already addressed this issue Please help me in getting solution for check printing with MICR font(MICR l= ine with MICR symbols(On-Us Symbol & Transit Number Symbol) at th ebottom = of check) thru sqr. and also please help how to get the micr symbols into s= qr output(how to access the symbols). this is format has to be done in pdf. Thanks in advance Nagaraj Ramineni ________________________________ DISCLAIMER: This email (including any attachments) is intended for the sole use of the = intended recipient/s and may contain material that is CONFIDENTIAL AND PRIV= ATE COMPANY INFORMATION. Any review or reliance by others or copying or dis= tribution or forwarding of any or all of the contents in this message is ST= RICTLY PROHIBITED. If you are not the intended recipient, please contact th= e sender by email and delete all copies; your cooperation in this regard is= appreciated. _______________________________________________ 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 Sep 30 09:22:40 2009 Date: Wed, 30 Sep 2009 09:16:11 -0400 From: "Everett Carr" Subject: Re: [sqr-users] SQR query error - help needed you likely have an error somewhere physically earlier in your code such tha= t begin-procedure end-procedure matching enclosures are missing =20 >>> Rajesh Subramaniam 9/30/2009 9:06 AM >>> I am getting the following errors for the below code. As I am new to SQR, I am not able to understand where the problem lies can someone help me in this one. Sales.emp is the table name and emp_id... etc are columns in it. Code- begin-select emp_id &empId emp_firstname &empFN emp_middle_init &empMI emp_lastname &empLN emp_employee_nbr &empNo emp_addr1 &empAddr1 emp_addr2 &empAddr2 emp_term_reason &empTermReason move &empId to $empId move &empFN to $empFN move &empMI to $empMI move &empLN to $empLN move &empNo to $empNo move &empAddr1 to $empAddr1 move &empAddr2 to $empAddr2 move &empTermReason to $empTermReason do write_output from sales.emp where emp_term_reason =3D '' and emp_state =3D $st_abb end-select Error Error on line 40: (SQR 3721) Bad param found on 'BEGIN-SELECT' line; Format is: BEGIN-SELECT [DISTINCT] [-Cnn] [-Bnn] [LOOPS=3Dnn] [ON-ERROR=3Dprocedure[(arg1[,argi]...)]] emp_id &empId Error on line 47: (SQR 3704) Missing procedure name. emp_term_reason &empTermReason (SQR 4407) Referenced variables not defined: &empid &empfn &empmi &empln &empno &empaddr1 &empaddr2 &emptermreason Errors were found in the program file. Thanks, Rajesh. _______________________________________________ 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 Sep 30 09:27:15 2009 Subject: RE: [sqr-users] SQR query error - help needed Date: Wed, 30 Sep 2009 09:19:04 -0400 From: "Putney II, Zynon E" Your begin-select and all columns need to have no spaces in front of=0D them. They must be on the left margin. That is causing your error I=0D believe. =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 Rajesh Subramaniam=0D Sent: Wednesday, September 30, 2009 9:07 AM=0D To: sqr-users@sqrug.org=0D Subject: [sqr-users] SQR query error - help needed=0D =0D I am getting the following errors for the below code. As I am new to=0D SQR, I am not able to understand where the problem lies can someone help=0D me in this one.=0D =0D Sales.emp is the table name and emp_id... etc are columns in it.=0D =0D Code-=0D =0D begin-select=0D emp_id &empId=0D emp_firstname &empFN=0D emp_middle_init &empMI=0D emp_lastname &empLN=0D emp_employee_nbr &empNo=0D emp_addr1 &empAddr1=0D emp_addr2 &empAddr2=0D emp_term_reason &empTermReason=0D =0D move &empId to $empId=0D move &empFN to $empFN=0D move &empMI to $empMI=0D move &empLN to $empLN=0D move &empNo to $empNo=0D move &empAddr1 to $empAddr1=0D move &empAddr2 to $empAddr2=0D move &empTermReason to $empTermReason=0D =0D do write_output=0D =0D from sales.emp=0D =0D where emp_term_reason =3D '' and emp_state =3D $st_abb=0D end-select=0D =0D Error=0D =0D Error on line 40:=0D (SQR 3721) Bad param found on 'BEGIN-SELECT' line; Format is:=0D BEGIN-SELECT [DISTINCT] [-Cnn] [-Bnn] [LOOPS=3Dnn]=0D [ON-ERROR=3Dprocedure[(arg1[,argi]...)]]=0D emp_id &empId=0D Error on line 47:=0D (SQR 3704) Missing procedure name.=0D emp_term_reason &empTermReason=0D (SQR 4407) Referenced variables not defined:=0D &empid=0D &empfn=0D &empmi=0D &empln=0D &empno=0D &empaddr1=0D &empaddr2=0D &emptermreason=0D Errors were found in the program file.=0D =0D Thanks,=0D Rajesh.=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 Sep 30 09:56:23 2009 Date: Wed, 30 Sep 2009 09:52:56 -0400 Subject: Re: [sqr-users] SQR query error - help needed From: Rajesh Subramaniam Hi, Thanks for the reply, but this code snippet was under a begin-procedure and end-procedure. To be more precise I will paste the whole code block. begin-procedure create_SQLquery open $input_file as 2 for-reading record=100 read 2 into $st_abb:2 if length($st_abb)!=2 display 'the state abbreviation entered is not valid, please check file' end-if begin-select SALES.EMP_ID &empId SALES.EMP_FIRSTNAME &empFN SALES.EMP_MIDDLE_INIT &empMI SALES.EMP_LASTNAME &empLN SALES.EMP_EMPLOYEE_NBR &empNo SALES.EMP_ADDR1 &empAddr1 SALES.EMP_ADDR2 &empAddr2 SALES.EMP_TERM_REASON &empTermReason move &empId to $empId move &empFN to $empFN move &empMI to $empMI move &empLN to $empLN move &empNo to $empNo move &empAddr1 to $empAddr1 move &empAddr2 to $empAddr2 move &empTermReason to $empTermReason do write_output from SALES.EMP where EMP_TERM_REASON = 'NULL' and EMP_STATE = $st_abb end-select close 2 end-procedure On Wed, Sep 30, 2009 at 9:16 AM, Everett Carr wrote: > you likely have an error somewhere physically earlier in your code such > that begin-procedure end-procedure matching enclosures are missing > > > > >>> Rajesh Subramaniam 9/30/2009 9:06 AM >>> > I am getting the following errors for the below code. As I am new to SQR, > I > am not able to understand where the problem lies can someone help me in > this > one. > > Sales.emp is the table name and emp_id... etc are columns in it. > > Code- > > begin-select > emp_id &empId > emp_firstname &empFN > emp_middle_init &empMI > emp_lastname &empLN > emp_employee_nbr &empNo > emp_addr1 &empAddr1 > emp_addr2 &empAddr2 > emp_term_reason &empTermReason > > move &empId to $empId > move &empFN to $empFN > move &empMI to $empMI > move &empLN to $empLN > move &empNo to $empNo > move &empAddr1 to $empAddr1 > move &empAddr2 to $empAddr2 > move &empTermReason to $empTermReason > > do write_output > > from sales.emp > > where emp_term_reason = '' and emp_state = $st_abb > end-select > > Error > > Error on line 40: > (SQR 3721) Bad param found on 'BEGIN-SELECT' line; Format is: > BEGIN-SELECT [DISTINCT] [-Cnn] [-Bnn] [LOOPS=nn] > [ON-ERROR=procedure[(arg1[,argi]...)]] > emp_id &empId > Error on line 47: > (SQR 3704) Missing procedure name. > emp_term_reason &empTermReason > (SQR 4407) Referenced variables not defined: > &empid > &empfn > &empmi > &empln > &empno > &empaddr1 > &empaddr2 > &emptermreason > Errors were found in the program file. > > Thanks, > Rajesh. > > _______________________________________________ > 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 Sep 30 10:01:01 2009 From: the dragon Subject: RE: [sqr-users] SQR query error - help needed Date: Wed, 30 Sep 2009 08:54:02 -0500 <5855DA5C2C1F664FA8379A2C2A72A6DA0AB4ECAE@exbpn004.paychex.com> Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 SQR 101... in the manual... =20 In a begin select=2C anything that is not the actual sql must begin in a co= lumn other than 1. =20 ie begin-select =20 column =20 do something move something let something =20 from table where etc =20 end-select =20 Also=2C anyone know of any SQR gigs? short term/long term. wherever and wh= enever??? =20 peace=2C clark 'the dragon' willis =20 PSA: Salary <> Slavery. If you earn a salary=2C your employer is renting yo= ur services for 40 hours a week=2C not purchasing your soul. Your time is the only real finite asset that you have=2C and once used it can never be recovered=2C so don't waste it by giving it away. I work to live=3B I don't live to work. "Time is the coin of your life. It is the only coin you have=2C 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. McAdo= o Religion is regarded by the common people as true=2C by the wise as false= =2C 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 NOTICE: The information contained in this message is protected under United States and international copyright laws and is intended for the personal an= d confidential use of the addressee. If you are not the addressee or an agent of the addressee=2C you are hereby notified that you have received this message in error and that any review=2C dissemination=2C distribution=2C ta= king of any action in reliance upon or copying of this message without the express written permission of the sender or his agent is strictly prohibited and in violation of referenced statutes. If you have received this message in error=2C please notify me (the sender) immediately and you are instructed t= o delete this message from any computer it resides on=2C including mail serve= rs. SIGNATURE : Do not meddle in the affairs of dragons=2C for you are crunchy and taste go= od with ketchup. You've got to be a Spirit=3B don't need no Ghosts. Do or Do Not=3B There is NO Try. Any clod can have facts=2C but having an opinion is an art ! A conclusion is simply the place where someone got tired of thinking. When a continuing state of defiance and disorder can not be checked by the rules=2C then new and sometimes drastic rules must be forged to maintain order=3B the alternative is anarchy. M. Clark Willis III - Sr Systems Analyst=2C Sr Consultant ceprn@hotmail.com aolim:ceprn ICQ 6633136 Help stamp out SPAM!! http://www.cauce.org The senders of unsolicited commercial e-mail to me at any site are liable for a $500 per message cost under USC 47=2C which may be found at http://www.law.cornell.edu/uscode/47 Contents of this message=2C in it's entirety=2C (c) 2000 - 2009 M. Clark Willis III / Dragon Enterprises inc. All rights reserved. ---------------------------------------- > > Your begin-select and all columns need to have no spaces in front of > them. They must be on the left margin. That is causing your error I > believe. > > -----Original Message----- > > > > I am getting the following errors for the below code. As I am new to > SQR=2C I am not able to understand where the problem lies can someone hel= p > me in this one. > =0A= _________________________________________________________________=0A= Lauren found her dream laptop. Find the PC that=92s right for you.=0A= 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 Wed Sep 30 10:06:05 2009 Date: Wed, 30 Sep 2009 06:58:29 -0700 (PDT) From: Peter Burton Subject: RE: [sqr-users] SQR query error - help needed Rajesh, Within a BEGIN-SELECT/END-SELECT block the column names MUST start at colum= n 1 and everything else must start at column 2 or more. begin-select SALES.EMP_ID &empId SALES.EMP_FIRSTNAME &empFN SALES.EMP_MIDDLE_INIT &empMI SALES.EMP_LASTNAME &empLN SALES.EMP_EMPLOYEE_NBR &empNo SALES.EMP_ADDR1 &empAddr1 SALES.EMP_ADDR2 &empAddr2 SALES.EMP_TERM_REASON &empTermReason move &empId to $empId move &empFN to $empFN move &empMI to $empMI move &empLN to $empLN move &empNo to $empNo move &empAddr1 to $empAddr1 move &empAddr2 to $empAddr2 move &empTermReason to $empTermReason do write_output from SALES.EMP where EMP_TERM_REASON =3D 'NULL' and EMP_STATE =3D $st_abb end-select Peter -----Original Message----- From: Rajesh Subramaniam [mailto:epsilon11@gmail.com]=20 Sent: Wednesday, September 30, 2009 9:53 AM To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Subject: Re: [sqr-users] SQR query error - help needed Hi, Thanks for the reply, but this code snippet was under a begin-procedure and end-procedure. To be more precise I will paste the whole code block. begin-procedure create_SQLquery open $input_file as 2 for-reading record=3D100 read 2 into $st_abb:2 if length($st_abb)!=3D2 display 'the state abbreviation entered is not valid, please check file' end-if begin-select SALES.EMP_ID &empId SALES.EMP_FIRSTNAME &empFN SALES.EMP_MIDDLE_INIT &empMI SALES.EMP_LASTNAME &empLN SALES.EMP_EMPLOYEE_NBR &empNo SALES.EMP_ADDR1 &empAddr1 SALES.EMP_ADDR2 &empAddr2 SALES.EMP_TERM_REASON &empTermReason move &empId to $empId move &empFN to $empFN move &empMI to $empMI move &empLN to $empLN move &empNo to $empNo move &empAddr1 to $empAddr1 move &empAddr2 to $empAddr2 move &empTermReason to $empTermReason do write_output from SALES.EMP where EMP_TERM_REASON =3D 'NULL' and EMP_STATE =3D $st_abb end-select close 2 end-procedure On Wed, Sep 30, 2009 at 9:16 AM, Everett Carr wrote: > you likely have an error somewhere physically earlier in your code such > that begin-procedure end-procedure matching enclosures are missing > > > > >>> Rajesh Subramaniam 9/30/2009 9:06 AM >>> > I am getting the following errors for the below code. As I am new to SQR, > I > am not able to understand where the problem lies can someone help me in > this > one. > > Sales.emp is the table name and emp_id... etc are columns in it. > > Code- > > begin-select > emp_id &empId > emp_firstname &empFN > emp_middle_init &empMI > emp_lastname &empLN > emp_employee_nbr &empNo > emp_addr1 &empAddr1 > emp_addr2 &empAddr2 > emp_term_reason &empTermReason > > move &empId to $empId > move &empFN to $empFN > move &empMI to $empMI > move &empLN to $empLN > move &empNo to $empNo > move &empAddr1 to $empAddr1 > move &empAddr2 to $empAddr2 > move &empTermReason to $empTermReason > > do write_output > > from sales.emp > > where emp_term_reason =3D '' and emp_state =3D $st_abb > end-select > > Error > > Error on line 40: > (SQR 3721) Bad param found on 'BEGIN-SELECT' line; Format is: > BEGIN-SELECT [DISTINCT] [-Cnn] [-Bnn] [LOOPS=3Dnn] > [ON-ERROR=3Dprocedure[(arg1[,argi]...)]] > emp_id &empId > Error on line 47: > (SQR 3704) Missing procedure name. > emp_term_reason &empTermReason > (SQR 4407) Referenced variables not defined: > &empid > &empfn > &empmi > &empln > &empno > &empaddr1 > &empaddr2 > &emptermreason > Errors were found in the program file. > > Thanks, > Rajesh. > > _______________________________________________ > 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 Sep 30 10:11:32 2009 Subject: RE: [sqr-users] SQR query error - help needed Date: Wed, 30 Sep 2009 09:02:19 -0500 From: "Ojha, Dipin" Hi, =20 Is "sales" the name of the schema? If yes you may try removing it from the = column names in the select part.=20 -----Original Message----- From: sqr-users-bounces+dipin.ojha=3Dfnis.com@sqrug.org [mailto:sqr-users-b= ounces+dipin.ojha=3Dfnis.com@sqrug.org] On Behalf Of Rajesh Subramaniam Sent: Wednesday, September 30, 2009 9:53 AM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: Re: [sqr-users] SQR query error - help needed Hi, Thanks for the reply, but this code snippet was under a begin-procedure and end-procedure. To be more precise I will paste the whole code block. begin-procedure create_SQLquery open $input_file as 2 for-reading record=3D100 read 2 into $st_abb:2 if length($st_abb)!=3D2 display 'the state abbreviation entered is not valid, please check file' end-if begin-select SALES.EMP_ID &empId SALES.EMP_FIRSTNAME &empFN SALES.EMP_MIDDLE_INIT &empMI SALES.EMP_LASTNAME &empLN SALES.EMP_EMPLOYEE_NBR &empNo SALES.EMP_ADDR1 &empAddr1 SALES.EMP_ADDR2 &empAddr2 SALES.EMP_TERM_REASON &empTermReason move &empId to $empId move &empFN to $empFN move &empMI to $empMI move &empLN to $empLN move &empNo to $empNo move &empAddr1 to $empAddr1 move &empAddr2 to $empAddr2 move &empTermReason to $empTermReason do write_output from SALES.EMP where EMP_TERM_REASON =3D 'NULL' and EMP_STATE =3D $st_abb end-select close 2 end-procedure On Wed, Sep 30, 2009 at 9:16 AM, Everett Carr wrote: > you likely have an error somewhere physically earlier in your code such > that begin-procedure end-procedure matching enclosures are missing > > > > >>> Rajesh Subramaniam 9/30/2009 9:06 AM >>> > I am getting the following errors for the below code. As I am new to SQR, > I > am not able to understand where the problem lies can someone help me in > this > one. > > Sales.emp is the table name and emp_id... etc are columns in it. > > Code- > > begin-select > emp_id &empId > emp_firstname &empFN > emp_middle_init &empMI > emp_lastname &empLN > emp_employee_nbr &empNo > emp_addr1 &empAddr1 > emp_addr2 &empAddr2 > emp_term_reason &empTermReason > > move &empId to $empId > move &empFN to $empFN > move &empMI to $empMI > move &empLN to $empLN > move &empNo to $empNo > move &empAddr1 to $empAddr1 > move &empAddr2 to $empAddr2 > move &empTermReason to $empTermReason > > do write_output > > from sales.emp > > where emp_term_reason =3D '' and emp_state =3D $st_abb > end-select > > Error > > Error on line 40: > (SQR 3721) Bad param found on 'BEGIN-SELECT' line; Format is: > BEGIN-SELECT [DISTINCT] [-Cnn] [-Bnn] [LOOPS=3Dnn] > [ON-ERROR=3Dprocedure[(arg1[,argi]...)]] > emp_id &empId > Error on line 47: > (SQR 3704) Missing procedure name. > emp_term_reason &empTermReason > (SQR 4407) Referenced variables not defined: > &empid > &empfn > &empmi > &empln > &empno > &empaddr1 > &empaddr2 > &emptermreason > Errors were found in the program file. > > Thanks, > Rajesh. > > _______________________________________________ > 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 _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by 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 Wed Sep 30 10:16:55 2009 Subject: RE: [sqr-users] SQR query error - help needed Date: Wed, 30 Sep 2009 09:10:53 -0500 From: "Ojha, Dipin" Please take a close look at the code below. Is "sales" the name of the sche= ma? SELECT SALES.EMP_ID &empId SALES.EMP_FIRSTNAME &empFN SALES.EMP_MIDDLE_INIT &empMI SALES.EMP_LASTNAME &empLN SALES.EMP_EMPLOYEE_NBR &empNo SALES.EMP_ADDR1 &empAddr1 SALES.EMP_ADDR2 &empAddr2 SALES.EMP_TERM_REASON &empTermReason from SALES.EMP -----Original Message----- From: sqr-users-bounces+dipin.ojha=3Dfnis.com@sqrug.org [mailto:sqr-users-b= ounces+dipin.ojha=3Dfnis.com@sqrug.org] On Behalf Of Rajesh Subramaniam Sent: Wednesday, September 30, 2009 9:53 AM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: Re: [sqr-users] SQR query error - help needed Hi, Thanks for the reply, but this code snippet was under a begin-procedure and end-procedure. To be more precise I will paste the whole code block. begin-procedure create_SQLquery open $input_file as 2 for-reading record=3D100 read 2 into $st_abb:2 if length($st_abb)!=3D2 display 'the state abbreviation entered is not valid, please check file' end-if begin-select SALES.EMP_ID &empId SALES.EMP_FIRSTNAME &empFN SALES.EMP_MIDDLE_INIT &empMI SALES.EMP_LASTNAME &empLN SALES.EMP_EMPLOYEE_NBR &empNo SALES.EMP_ADDR1 &empAddr1 SALES.EMP_ADDR2 &empAddr2 SALES.EMP_TERM_REASON &empTermReason move &empId to $empId move &empFN to $empFN move &empMI to $empMI move &empLN to $empLN move &empNo to $empNo move &empAddr1 to $empAddr1 move &empAddr2 to $empAddr2 move &empTermReason to $empTermReason do write_output from SALES.EMP where EMP_TERM_REASON =3D 'NULL' and EMP_STATE =3D $st_abb end-select close 2 end-procedure On Wed, Sep 30, 2009 at 9:16 AM, Everett Carr wrote: > you likely have an error somewhere physically earlier in your code such > that begin-procedure end-procedure matching enclosures are missing > > > > >>> Rajesh Subramaniam 9/30/2009 9:06 AM >>> > I am getting the following errors for the below code. As I am new to SQR, > I > am not able to understand where the problem lies can someone help me in > this > one. > > Sales.emp is the table name and emp_id... etc are columns in it. > > Code- > > begin-select > emp_id &empId > emp_firstname &empFN > emp_middle_init &empMI > emp_lastname &empLN > emp_employee_nbr &empNo > emp_addr1 &empAddr1 > emp_addr2 &empAddr2 > emp_term_reason &empTermReason > > move &empId to $empId > move &empFN to $empFN > move &empMI to $empMI > move &empLN to $empLN > move &empNo to $empNo > move &empAddr1 to $empAddr1 > move &empAddr2 to $empAddr2 > move &empTermReason to $empTermReason > > do write_output > > from sales.emp > > where emp_term_reason =3D '' and emp_state =3D $st_abb > end-select > > Error > > Error on line 40: > (SQR 3721) Bad param found on 'BEGIN-SELECT' line; Format is: > BEGIN-SELECT [DISTINCT] [-Cnn] [-Bnn] [LOOPS=3Dnn] > [ON-ERROR=3Dprocedure[(arg1[,argi]...)]] > emp_id &empId > Error on line 47: > (SQR 3704) Missing procedure name. > emp_term_reason &empTermReason > (SQR 4407) Referenced variables not defined: > &empid > &empfn > &empmi > &empln > &empno > &empaddr1 > &empaddr2 > &emptermreason > Errors were found in the program file. > > Thanks, > Rajesh. > > _______________________________________________ > 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 _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by 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 Wed Sep 30 10:25:57 2009 Date: Wed, 30 Sep 2009 10:22:50 -0400 Subject: Re: [sqr-users] SQR query error - help needed From: Rajesh Subramaniam yup sales is the name of the schema. I tried removing it and compiling but still getting and SQL syntax error On Wed, Sep 30, 2009 at 10:02 AM, Ojha, Dipin wrote: > Hi, > > Is "sales" the name of the schema? If yes you may try removing it from the > column names in the select part. > -----Original Message----- > From: sqr-users-bounces+dipin.ojha=fnis.com@sqrug.org [mailto: > sqr-users-bounces+dipin.ojha =fnis.com@ > sqrug.org] On Behalf Of Rajesh Subramaniam > Sent: Wednesday, September 30, 2009 9:53 AM > To: This list is for discussion about the SQR database reporting > languagefrom Hyperion Solutions. > Subject: Re: [sqr-users] SQR query error - help needed > > Hi, > > Thanks for the reply, but this code snippet was under a begin-procedure and > end-procedure. To be more precise I will paste the whole code block. > > begin-procedure create_SQLquery > open $input_file as 2 for-reading record=100 > read 2 into $st_abb:2 > if length($st_abb)!=2 > display 'the state abbreviation entered is not valid, please check > file' > end-if > > begin-select > SALES.EMP_ID &empId > SALES.EMP_FIRSTNAME &empFN > SALES.EMP_MIDDLE_INIT &empMI > SALES.EMP_LASTNAME &empLN > SALES.EMP_EMPLOYEE_NBR &empNo > SALES.EMP_ADDR1 &empAddr1 > SALES.EMP_ADDR2 &empAddr2 > SALES.EMP_TERM_REASON &empTermReason > > move &empId to $empId > move &empFN to $empFN > move &empMI to $empMI > move &empLN to $empLN > move &empNo to $empNo > move &empAddr1 to $empAddr1 > move &empAddr2 to $empAddr2 > move &empTermReason to $empTermReason > do write_output > from SALES.EMP > where EMP_TERM_REASON = 'NULL' and EMP_STATE = $st_abb > end-select > close 2 > end-procedure > > On Wed, Sep 30, 2009 at 9:16 AM, Everett Carr wrote: > > > you likely have an error somewhere physically earlier in your code such > > that begin-procedure end-procedure matching enclosures are missing > > > > > > > > >>> Rajesh Subramaniam 9/30/2009 9:06 AM >>> > > I am getting the following errors for the below code. As I am new to > SQR, > > I > > am not able to understand where the problem lies can someone help me in > > this > > one. > > > > Sales.emp is the table name and emp_id... etc are columns in it. > > > > Code- > > > > begin-select > > emp_id &empId > > emp_firstname &empFN > > emp_middle_init &empMI > > emp_lastname &empLN > > emp_employee_nbr &empNo > > emp_addr1 &empAddr1 > > emp_addr2 &empAddr2 > > emp_term_reason &empTermReason > > > > move &empId to $empId > > move &empFN to $empFN > > move &empMI to $empMI > > move &empLN to $empLN > > move &empNo to $empNo > > move &empAddr1 to $empAddr1 > > move &empAddr2 to $empAddr2 > > move &empTermReason to $empTermReason > > > > do write_output > > > > from sales.emp > > > > where emp_term_reason = '' and emp_state = $st_abb > > end-select > > > > Error > > > > Error on line 40: > > (SQR 3721) Bad param found on 'BEGIN-SELECT' line; Format is: > > BEGIN-SELECT [DISTINCT] [-Cnn] [-Bnn] [LOOPS=nn] > > [ON-ERROR=procedure[(arg1[,argi]...)]] > > emp_id &empId > > Error on line 47: > > (SQR 3704) Missing procedure name. > > emp_term_reason &empTermReason > > (SQR 4407) Referenced variables not defined: > > &empid > > &empfn > > &empmi > > &empln > > &empno > > &empaddr1 > > &empaddr2 > > &emptermreason > > Errors were found in the program file. > > > > Thanks, > > Rajesh. > > > > _______________________________________________ > > 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 > > _____________ > > The information contained in this message is proprietary and/or > confidential. If you are not the intended recipient, please: (i) delete the > message and all copies; (ii) do not disclose, distribute or use the message > in any manner; and (iii) notify the sender immediately. In addition, please > be aware that any message addressed to our domain is subject to archiving > and review by persons other than the intended recipient. Thank you. > _____________ > > _______________________________________________ > 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 Sep 30 10:51:33 2009 Subject: RE: [sqr-users] SQR query error - help needed Date: Wed, 30 Sep 2009 09:48:40 -0500 From: "Ojha, Dipin" Try the code below. Note the indentation after the "from" part. > begin-procedure create_SQLquery > open $input_file as 2 for-reading record=3D100 > read 2 into $st_abb:2 > if length($st_abb)!=3D2 > display 'the state abbreviation entered is not valid, please check > file' > end-if > > begin-select > e.EMP_ID &empId > e.EMP_FIRSTNAME &empFN > e.EMP_MIDDLE_INIT &empMI > e.EMP_LASTNAME &empLN > e.EMP_EMPLOYEE_NBR &empNo > e.EMP_ADDR1 &empAddr1 > e.EMP_ADDR2 &empAddr2 > e.EMP_TERM_REASON &empTermReason > > move &empId to $empId > move &empFN to $empFN > move &empMI to $empMI > move &empLN to $empLN > move &empNo to $empNo > move &empAddr1 to $empAddr1 > move &empAddr2 to $empAddr2 > move &empTermReason to $empTermReason > do write_output > from SALES.EMP e > where e.EMP_TERM_REASON =3D 'NULL' and e.EMP_STATE =3D $st_abb > end-select > close 2 > end-procedure -----Original Message----- From: sqr-users-bounces+dipin.ojha=3Dfnis.com@sqrug.org [mailto:sqr-users-b= ounces+dipin.ojha=3Dfnis.com@sqrug.org] On Behalf Of Rajesh Subramaniam Sent: Wednesday, September 30, 2009 10:23 AM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: Re: [sqr-users] SQR query error - help needed yup sales is the name of the schema. I tried removing it and compiling but still getting and SQL syntax error On Wed, Sep 30, 2009 at 10:02 AM, Ojha, Dipin wrote: > Hi, > > Is "sales" the name of the schema? If yes you may try removing it from the > column names in the select part. > -----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 Rajesh Subramaniam > Sent: Wednesday, September 30, 2009 9:53 AM > To: This list is for discussion about the SQR database reporting > languagefrom Hyperion Solutions. > Subject: Re: [sqr-users] SQR query error - help needed > > Hi, > > Thanks for the reply, but this code snippet was under a begin-procedure a= nd > end-procedure. To be more precise I will paste the whole code block. > > begin-procedure create_SQLquery > open $input_file as 2 for-reading record=3D100 > read 2 into $st_abb:2 > if length($st_abb)!=3D2 > display 'the state abbreviation entered is not valid, please check > file' > end-if > > begin-select > SALES.EMP_ID &empId > SALES.EMP_FIRSTNAME &empFN > SALES.EMP_MIDDLE_INIT &empMI > SALES.EMP_LASTNAME &empLN > SALES.EMP_EMPLOYEE_NBR &empNo > SALES.EMP_ADDR1 &empAddr1 > SALES.EMP_ADDR2 &empAddr2 > SALES.EMP_TERM_REASON &empTermReason > > move &empId to $empId > move &empFN to $empFN > move &empMI to $empMI > move &empLN to $empLN > move &empNo to $empNo > move &empAddr1 to $empAddr1 > move &empAddr2 to $empAddr2 > move &empTermReason to $empTermReason > do write_output > from SALES.EMP > where EMP_TERM_REASON =3D 'NULL' and EMP_STATE =3D $st_abb > end-select > close 2 > end-procedure > > On Wed, Sep 30, 2009 at 9:16 AM, Everett Carr wrote: > > > you likely have an error somewhere physically earlier in your code such > > that begin-procedure end-procedure matching enclosures are missing > > > > > > > > >>> Rajesh Subramaniam 9/30/2009 9:06 AM >>> > > I am getting the following errors for the below code. As I am new to > SQR, > > I > > am not able to understand where the problem lies can someone help me in > > this > > one. > > > > Sales.emp is the table name and emp_id... etc are columns in it. > > > > Code- > > > > begin-select > > emp_id &empId > > emp_firstname &empFN > > emp_middle_init &empMI > > emp_lastname &empLN > > emp_employee_nbr &empNo > > emp_addr1 &empAddr1 > > emp_addr2 &empAddr2 > > emp_term_reason &empTermReason > > > > move &empId to $empId > > move &empFN to $empFN > > move &empMI to $empMI > > move &empLN to $empLN > > move &empNo to $empNo > > move &empAddr1 to $empAddr1 > > move &empAddr2 to $empAddr2 > > move &empTermReason to $empTermReason > > > > do write_output > > > > from sales.emp > > > > where emp_term_reason =3D '' and emp_state =3D $st_abb > > end-select > > > > Error > > > > Error on line 40: > > (SQR 3721) Bad param found on 'BEGIN-SELECT' line; Format is: > > BEGIN-SELECT [DISTINCT] [-Cnn] [-Bnn] [LOOPS=3Dnn] > > [ON-ERROR=3Dprocedure[(arg1[,argi]...)]] > > emp_id &empId > > Error on line 47: > > (SQR 3704) Missing procedure name. > > emp_term_reason &empTermReason > > (SQR 4407) Referenced variables not defined: > > &empid > > &empfn > > &empmi > > &empln > > &empno > > &empaddr1 > > &empaddr2 > > &emptermreason > > Errors were found in the program file. > > > > Thanks, > > Rajesh. > > > > _______________________________________________ > > 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 > > _____________ > > The information contained in this message is proprietary and/or > confidential. If you are not the intended recipient, please: (i) delete t= he > message and all copies; (ii) do not disclose, distribute or use the messa= ge > in any manner; and (iii) notify the sender immediately. In addition, plea= se > be aware that any message addressed to our domain is subject to archiving > and review by persons other than the intended recipient. Thank you. > _____________ > > _______________________________________________ > 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 _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by 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 Wed Sep 30 11:35:02 2009 From: "Thompson, Betty P" Date: Wed, 30 Sep 2009 10:31:28 -0500 Subject: RE: [sqr-users] please can anyone send code to print the MICR font forpart check printing in PAY003 sqr This is a multi-part message in MIME format... --_004_C1D434AD61FFBB42B4D797E8FB0760FB195948CDD9exchmb1uwwedu_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable We just went through this. We purchased the micr and sig font add-ons for = our HP Laserjet 4200 printers from Troy Group, Inc. We cloned and modified= pay003.sqr specific to our pre-printed check forms and had to slightly mod= ify the delivered code specifically for these add-ons. Troy provided the P= CL strings (printer control language) which are specific to the type of pri= nter. We got it to work after a lot of trial and error -- but it only works when = we: 1. run the sqr from PeopleSoft specifying TYPE=3DWeb and FORMAT=3DHP -- th= is produces a .lis file 2. the user ftp's the file from the unix to their desktop 3. the user drags and drops the file (on their desktop) onto a desktop ico= n for 'PrintFile' ...then the user deletes the .lis file after it has printed. We'd like to omit using PrintFile but it's "doing something" for us that we= don't know how to get PeopleSoft to do. Does anyone know how this could be done? PrintFile is freeware. -----Original Message----- From: sqr-users-bounces+thompsob=3Duww.edu@sqrug.org [mailto:sqr-users-boun= ces+thompsob=3Duww.edu@sqrug.org] On Behalf Of Everett Carr Sent: Wednesday, September 30, 2009 8:14 AM To: sqr-users@sqrug.org Subject: Re: [sqr-users] please can anyone send code to print the MICR font= forpart check printing in PAY003 sqr it is unlikely you will be successful with pdf output Bank regulations REQURE VERY PRECISE placement of the micr line. Most banks= invoke fee penalties PER CHECK if they cannot read the micr line due to im= proper placement. PDF form very unlikely you can control that placement to = be reliable enough; And then with variation is alignment from printer to pr= inter, you pretty much are toasted for that format. Crystal is even worse and dumber as an application choice (like that delive= red in finance). It is easily sniffied and the signature is totally insecur= e. For consistent and reliable success, install the micr font on the printer, = install the signature on the printer. Do not embed graphics, especially sig= natures for check printing. Also ensure the print file is actually deleted;= Peoplesoft FAILS to do that. Printing with delete specified on process sch= eduler ONLY REMOVES THE ENTRY FROM process scheduler...IT DOES NOT DELETE t= he file on the file system. That is very poor technique in terms of signatu= re and check control. Therefore use SQR to send the print file to the syste= m print queue with delete qualifiers; System print queues (unix) do in fact= print and physically delete the file. >>> Nagaraju_Ramineni 9/30/2009 3:58= AM >>> Dear Friends, I wanted to edit the PAY003 delivered sqr to print the check with real chec= k format with MICR font. if anybody has already addressed this issue Please help me in getting solution for check printing with MICR font(MICR l= ine with MICR symbols(On-Us Symbol & Transit Number Symbol) at th ebottom = of check) thru sqr. and also please help how to get the micr symbols into s= qr output(how to access the symbols). this is format has to be done in pdf. Thanks in advance Nagaraj Ramineni ________________________________ DISCLAIMER: This email (including any attachments) is intended for the sole use of the = intended recipient/s and may contain material that is CONFIDENTIAL AND PRIV= ATE COMPANY INFORMATION. Any review or reliance by others or copying or dis= tribution or forwarding of any or all of the contents in this message is ST= RICTLY PROHIBITED. If you are not the intended recipient, please contact th= e sender by email and delete all copies; your cooperation in this regard is= appreciated. _______________________________________________ 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 --_004_C1D434AD61FFBB42B4D797E8FB0760FB195948CDD9exchmb1uwwedu_ Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: AUTOMATIC WARNING Here was a non admissible message part of 'image/jpeg' MIME type. It has been automatically discarded before sending the message to the list. --_004_C1D434AD61FFBB42B4D797E8FB0760FB195948CDD9exchmb1uwwedu_ 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 --_004_C1D434AD61FFBB42B4D797E8FB0760FB195948CDD9exchmb1uwwedu_-- From sqr-users-bounces@sqrug.org Wed Sep 30 12:00:16 2009 From: Elvis Pressly Subject: RE: [sqr-users] please can anyone send code to print the MICR font forpart check printing in PAY003 sqr Date: Wed, 30 Sep 2009 15:57:30 +0000 This is really an old topic and you can query the forum about micr printing= . It's been 5 years ago since I've worked on DDP003 and PAY003 but to my re= collection here's what I have done to print pay checks and stubs. If you ar= e wanting to print it in pdf (I still recommend the lis) you can buy a prod= uct called SwiftView which can print your lis image and also convert it to = pdf and print. I use this product to print old W2s or reprints without reru= nning either DDP003 or PAY003. 1. You need a printer with micr fonts capabilities. Psoft provide an sqc th= at will encode micr codes into the printer. 2. Since we use several signatures for different companies or check amounts= , we ordered from TROY a printer memory chip which contains several signatu= res and several company logos (graphics). All of the objects in the chips a= re embedded in grids and it is very important that TROY will provide you th= e encoding sequences for each signatures and logos. Troy can also provide y= ou with a micr template (part# 54-17373-001) which you can use to align you= r micr printing.=20 3. We printed checks/stub on a blank check stock so there is a whole lot of= encoding to do in the programs. 4. We purchased a machine (plus one backup) that will seal the stock. Nowadays, pay stubs are delivered either thru email or online via employee = self service. Changing DDP003 or PAY003 entails a lot of trials and errors so GOOD LUCK. > Date: Wed, 30 Sep 2009 09:14:13 -0400 > From: ECARR@holycross.edu > To: sqr-users@sqrug.org > Subject: Re: [sqr-users] please can anyone send code to print the MICR fo= nt forpart check printing in PAY003 sqr >=20 > it is unlikely you will be successful with pdf output >=20=20 > Bank regulations REQURE VERY PRECISE placement of the micr line. Most ban= ks invoke fee penalties PER CHECK if they cannot read the micr line due to = improper placement. PDF form very unlikely you can control that placement t= o be reliable enough; And then with variation is alignment from printer to = printer, you pretty much are toasted for that format. >=20=20 > Crystal is even worse and dumber as an application choice (like that deli= vered in finance). It is easily sniffied and the signature is totally insec= ure. >=20=20 >=20=20 > For consistent and reliable success, install the micr font on the printer= , install the signature on the printer. Do not embed graphics, especially s= ignatures for check printing. Also ensure the print file is actually delete= d; Peoplesoft FAILS to do that. Printing with delete specified on process s= cheduler ONLY REMOVES THE ENTRY FROM process scheduler...IT DOES NOT DELETE= the file on the file system. That is very poor technique in terms of signa= ture and check control. Therefore use SQR to send the print file to the sys= tem print queue with delete qualifiers; System print queues (unix) do in fa= ct print and physically delete the file. >=20=20 >=20 >=20 > >>> Nagaraju_Ramineni 9/30/2009 3:= 58 AM >>> > Dear Friends, >=20 > I wanted to edit the PAY003 delivered sqr to print the check with real ch= eck format with MICR font. if anybody has already addressed this issue >=20 > Please help me in getting solution for check printing with MICR font(MICR= line with MICR symbols(On-Us Symbol & Transit Number Symbol) at th ebotto= m of check) thru sqr. and also please help how to get the micr symbols into= sqr output(how to access the symbols). this is format has to be done in pd= f. >=20 > Thanks in advance > Nagaraj Ramineni >=20 > ________________________________ > DISCLAIMER: > This email (including any attachments) is intended for the sole use of th= e intended recipient/s and may contain material that is CONFIDENTIAL AND PR= IVATE COMPANY INFORMATION. Any review or reliance by others or copying or d= istribution or forwarding of any or all of the contents in this message is = STRICTLY PROHIBITED. If you are not the intended recipient, please contact = the sender by email and delete all copies; your cooperation in this regard = is appreciated. >=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=09=09=20=09=20=20=20=09=09=20=20 _________________________________________________________________ Hotmail=AE has ever-growing storage! Don=92t worry about storage limits. 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 Sep 30 12:50:09 2009 Subject: RE: [sqr-users] SQR query error - help needed Date: Wed, 30 Sep 2009 09:47:01 -0700 From: "Alexander, Steven" Once you get the code working, there is another thing you can do to make your programming life easier. Your code (and Dipin's modification) creates three sets of variables with the same values. For example, the employee ID is contained in &e.EMP_ID, &empId, and $empId. You could write a much simpler block of code: begin-select e.emp_id e.emp_firstname e.emp_middle_init e.emp_lastname e.emp_employee_nbr e.emp_addr1 e.emp_addr2 e.emp_term_reason do write_output from emp e where e.emp_term_reason =3D 'NULL' and e.emp_state =3D $st_abb end-select The write command in the write_output procedure can use the &e.emp_id variable just as well as it can use $empid. -----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 Ojha, Dipin Sent: Wednesday, September 30, 2009 7:49 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] SQR query error - help needed Try the code below. Note the indentation after the "from" part. > begin-procedure create_SQLquery > open $input_file as 2 for-reading record=3D100 > read 2 into $st_abb:2 > if length($st_abb)!=3D2 > display 'the state abbreviation entered is not valid, please check > file' > end-if > > begin-select > e.EMP_ID &empId > e.EMP_FIRSTNAME &empFN > e.EMP_MIDDLE_INIT &empMI > e.EMP_LASTNAME &empLN > e.EMP_EMPLOYEE_NBR &empNo > e.EMP_ADDR1 &empAddr1 > e.EMP_ADDR2 &empAddr2 > e.EMP_TERM_REASON &empTermReason > > move &empId to $empId > move &empFN to $empFN > move &empMI to $empMI > move &empLN to $empLN > move &empNo to $empNo > move &empAddr1 to $empAddr1 > move &empAddr2 to $empAddr2 > move &empTermReason to $empTermReason > do write_output > from SALES.EMP e > where e.EMP_TERM_REASON =3D 'NULL' and e.EMP_STATE =3D $st_abb > end-select > close 2 > end-procedure -----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 Rajesh Subramaniam Sent: Wednesday, September 30, 2009 10:23 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] SQR query error - help needed yup sales is the name of the schema. I tried removing it and compiling but still getting and SQL syntax error On Wed, Sep 30, 2009 at 10:02 AM, Ojha, Dipin wrote: > Hi, > > Is "sales" the name of the schema? If yes you may try removing it from the > column names in the select part. > -----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 Rajesh Subramaniam > Sent: Wednesday, September 30, 2009 9:53 AM > To: This list is for discussion about the SQR database reporting > languagefrom Hyperion Solutions. > Subject: Re: [sqr-users] SQR query error - help needed > > Hi, > > Thanks for the reply, but this code snippet was under a begin-procedure and > end-procedure. To be more precise I will paste the whole code block. > > begin-procedure create_SQLquery > open $input_file as 2 for-reading record=3D100 > read 2 into $st_abb:2 > if length($st_abb)!=3D2 > display 'the state abbreviation entered is not valid, please check > file' > end-if > > begin-select > SALES.EMP_ID &empId > SALES.EMP_FIRSTNAME &empFN > SALES.EMP_MIDDLE_INIT &empMI > SALES.EMP_LASTNAME &empLN > SALES.EMP_EMPLOYEE_NBR &empNo > SALES.EMP_ADDR1 &empAddr1 > SALES.EMP_ADDR2 &empAddr2 > SALES.EMP_TERM_REASON &empTermReason > > move &empId to $empId > move &empFN to $empFN > move &empMI to $empMI > move &empLN to $empLN > move &empNo to $empNo > move &empAddr1 to $empAddr1 > move &empAddr2 to $empAddr2 > move &empTermReason to $empTermReason > do write_output > from SALES.EMP > where EMP_TERM_REASON =3D 'NULL' and EMP_STATE =3D $st_abb > end-select > close 2 > end-procedure > > On Wed, Sep 30, 2009 at 9:16 AM, Everett Carr wrote: > > > you likely have an error somewhere physically earlier in your code such > > that begin-procedure end-procedure matching enclosures are missing > > > > > > > > >>> Rajesh Subramaniam 9/30/2009 9:06 AM >>> > > I am getting the following errors for the below code. As I am new to > SQR, > > I > > am not able to understand where the problem lies can someone help me in > > this > > one. > > > > Sales.emp is the table name and emp_id... etc are columns in it. > > > > Code- > > > > begin-select > > emp_id &empId > > emp_firstname &empFN > > emp_middle_init &empMI > > emp_lastname &empLN > > emp_employee_nbr &empNo > > emp_addr1 &empAddr1 > > emp_addr2 &empAddr2 > > emp_term_reason &empTermReason > > > > move &empId to $empId > > move &empFN to $empFN > > move &empMI to $empMI > > move &empLN to $empLN > > move &empNo to $empNo > > move &empAddr1 to $empAddr1 > > move &empAddr2 to $empAddr2 > > move &empTermReason to $empTermReason > > > > do write_output > > > > from sales.emp > > > > where emp_term_reason =3D '' and emp_state =3D $st_abb > > end-select > > > > Error > > > > Error on line 40: > > (SQR 3721) Bad param found on 'BEGIN-SELECT' line; Format is: > > BEGIN-SELECT [DISTINCT] [-Cnn] [-Bnn] [LOOPS=3Dnn] > > [ON-ERROR=3Dprocedure[(arg1[,argi]...)]] > > emp_id &empId > > Error on line 47: > > (SQR 3704) Missing procedure name. > > emp_term_reason &empTermReason > > (SQR 4407) Referenced variables not defined: > > &empid > > &empfn > > &empmi > > &empln > > &empno > > &empaddr1 > > &empaddr2 > > &emptermreason > > Errors were found in the program file. > > > > Thanks, > > Rajesh. > > > > _______________________________________________ > > 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 > > _____________ > > The information contained in this message is proprietary and/or > confidential. If you are not the intended recipient, please: (i) delete the > message and all copies; (ii) do not disclose, distribute or use the message > in any manner; and (iii) notify the sender immediately. In addition, please > be aware that any message addressed to our domain is subject to archiving > and review by persons other than the intended recipient. Thank you. > _____________ > > _______________________________________________ > 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 _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. _____________ _______________________________________________ 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 Sep 30 12:53:45 2009 Subject: RE: [sqr-users] please can anyone send code to print the MICR fontforpart check printing in PAY003 sqr Date: Wed, 30 Sep 2009 09:48:46 -0700 From: "Alexander, Steven" My colleague, Mayumi DeHaan, worked on this extensively. Her comment: We use TROY card. I had hard time to fit the routing number in the right box of the MICR template, so I had to use (X, Y) positioning. Adjust 239 and 3066 below according to your positioning. encode '<27>(0Q<27>(s1p12.0v0s0b0T<27>*p239x3066Y' into $fontcall=20=20 =20=20=20=20=20=20=20=20 let $MicrLine =3D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 $fontcall ||=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 'C' || $CheckNum || 'C' || ' ' || 'A' || $TransitNum || 'A' || ' ' || $AccountNum || 'C'=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 alter-printer point-size=3D8.4 symbol-set=3D0Q font=3D620 font-type=3Dfixed pitch=3D16.6=20=20=20=20=20=20=20 let #row =3D 101 + #TopMAdj print $MicrLine (#row,9) -----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 Elvis Pressly Sent: Wednesday, September 30, 2009 8:58 AM To: sqr-users@sqrug.org Subject: RE: [sqr-users] please can anyone send code to print the MICR fontforpart check printing in PAY003 sqr This is really an old topic and you can query the forum about micr printing. It's been 5 years ago since I've worked on DDP003 and PAY003 but to my recollection here's what I have done to print pay checks and stubs. If you are wanting to print it in pdf (I still recommend the lis) you can buy a product called SwiftView which can print your lis image and also convert it to pdf and print. I use this product to print old W2s or reprints without rerunning either DDP003 or PAY003. 1. You need a printer with micr fonts capabilities. Psoft provide an sqc that will encode micr codes into the printer. 2. Since we use several signatures for different companies or check amounts, we ordered from TROY a printer memory chip which contains several signatures and several company logos (graphics). All of the objects in the chips are embedded in grids and it is very important that TROY will provide you the encoding sequences for each signatures and logos. Troy can also provide you with a micr template (part# 54-17373-001) which you can use to align your micr printing.=20 3. We printed checks/stub on a blank check stock so there is a whole lot of encoding to do in the programs. 4. We purchased a machine (plus one backup) that will seal the stock. Nowadays, pay stubs are delivered either thru email or online via employee self service. Changing DDP003 or PAY003 entails a lot of trials and errors so GOOD LUCK. > Date: Wed, 30 Sep 2009 09:14:13 -0400 > From: ECARR@holycross.edu > To: sqr-users@sqrug.org > Subject: Re: [sqr-users] please can anyone send code to print the MICR font forpart check printing in PAY003 sqr >=20 > it is unlikely you will be successful with pdf output >=20=20 > Bank regulations REQURE VERY PRECISE placement of the micr line. Most banks invoke fee penalties PER CHECK if they cannot read the micr line due to improper placement. PDF form very unlikely you can control that placement to be reliable enough; And then with variation is alignment from printer to printer, you pretty much are toasted for that format. >=20=20 > Crystal is even worse and dumber as an application choice (like that delivered in finance). It is easily sniffied and the signature is totally insecure. >=20=20 >=20=20 > For consistent and reliable success, install the micr font on the printer, install the signature on the printer. Do not embed graphics, especially signatures for check printing. Also ensure the print file is actually deleted; Peoplesoft FAILS to do that. Printing with delete specified on process scheduler ONLY REMOVES THE ENTRY FROM process scheduler...IT DOES NOT DELETE the file on the file system. That is very poor technique in terms of signature and check control. Therefore use SQR to send the print file to the system print queue with delete qualifiers; System print queues (unix) do in fact print and physically delete the file. >=20=20 >=20 >=20 > >>> Nagaraju_Ramineni 9/30/2009 3:58 AM >>> > Dear Friends, >=20 > I wanted to edit the PAY003 delivered sqr to print the check with real check format with MICR font. if anybody has already addressed this issue >=20 > Please help me in getting solution for check printing with MICR font(MICR line with MICR symbols(On-Us Symbol & Transit Number Symbol) at th ebottom of check) thru sqr. and also please help how to get the micr symbols into sqr output(how to access the symbols). this is format has to be done in pdf. >=20 > Thanks in advance > Nagaraj Ramineni >=20 > ________________________________ > DISCLAIMER: > This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. >=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=09=09=20=09=20=20=20=09=09=20=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 _______________________________________________ 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 Sep 30 16:30:23 2009 Date: Wed, 30 Sep 2009 16:27:44 -0400 From: Rajesh Subramaniam Subject: [sqr-users] How to pass values from Shell script to SQR file Hi, Can anyone help me out in this issue. I have a shell script file and a SQR file. I need to get a value from the shell script file and pass it to a SQR file. I tried writing a function in the shell script which returns a value and gave the path of this shell script in the SQR file. But, this does not solve the issue. Still the value from the shell script is not passed to SQR. My scenario is to pass a State code which is of two letters like NY for newyork to a SQR file which takes this as input. My code snippet are as follows- Shell script-- function prospectCall { echo "enter the state abbreviation" read a return } prospectCall SQR code begin-procedure main let $input_file = 'the directory path/Shell Script file name' end-procedure ~ ~ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Sep 30 16:34:55 2009 Subject: RE: [sqr-users] How to pass values from Shell script to SQR file Date: Wed, 30 Sep 2009 16:31:36 -0400 From: "Putney II, Zynon E" Maybe you should run the SQR from the shell script and pass the value as=0D a parameter to the SQR? =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 Rajesh Subramaniam=0D Sent: Wednesday, September 30, 2009 4:28 PM=0D To: sqr-users@sqrug.org=0D Subject: [sqr-users] How to pass values from Shell script to SQR file=0D =0D Hi,=0D =0D Can anyone help me out in this issue.=0D =0D I have a shell script file and a SQR file. I need to get a value from=0D the shell script file and pass it to a SQR file.=0D =0D I tried writing a function in the shell script which returns a value and=0D gave the path of this shell script in the SQR file. But, this does not=0D solve the issue. Still the value from the shell script is not passed to=0D SQR.=0D =0D My scenario is to pass a State code which is of two letters like NY for=0D newyork to a SQR file which takes this as input.=0D =0D My code snippet are as follows-=0D =0D Shell script--=0D function prospectCall=0D {=0D echo "enter the state abbreviation"=0D read a=0D return=0D }=0D prospectCall=0D SQR code=0D =0D begin-procedure main=0D =0D let $input_file =3D 'the directory path/Shell Script file name'=0D =0D end-procedure=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 Sep 30 16:44:33 2009 From: Larry Roux Date: Wed, 30 Sep 2009 16:34:51 -0400 Subject: RE: [sqr-users] How to pass values from Shell script to SQR file Are you trying to execute the shell script? Call the shell script using the "CALL SYSTEM USING" function -----Original Message----- From: sqr-users-bounces+lroux=3Dsyr.edu@sqrug.org [mailto:sqr-users-bounces= +lroux=3Dsyr.edu@sqrug.org] On Behalf Of Rajesh Subramaniam Sent: Wednesday, September 30, 2009 4:28 PM To: sqr-users@sqrug.org Subject: [sqr-users] How to pass values from Shell script to SQR file Hi, Can anyone help me out in this issue. I have a shell script file and a SQR file. I need to get a value from the shell script file and pass it to a SQR file. I tried writing a function in the shell script which returns a value and gave the path of this shell script in the SQR file. But, this does not solve the issue. Still the value from the shell script is not passed to SQR. My scenario is to pass a State code which is of two letters like NY for newyork to a SQR file which takes this as input. My code snippet are as follows- Shell script-- function prospectCall { echo "enter the state abbreviation" read a return } prospectCall SQR code begin-procedure main let $input_file =3D 'the directory path/Shell Script file name' end-procedure ~ ~ _______________________________________________ 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 Sep 30 16:47:46 2009 Date: Wed, 30 Sep 2009 17:38:17 -0300 Subject: Re: [sqr-users] How to pass values from Shell script to SQR file From: Alvaro Soares I've never got to pass parameters to an SQR program. But I've built a kind of parameter table in my database, and set the .SQR to use this table as datasource. Of course that I've built all engine in the report linking this parameter table with the views from the sections. On 9/30/09, Putney II, Zynon E wrote: > Maybe you should run the SQR from the shell script and pass the value as > a parameter to the SQR? > > > > > -----Original Message----- > From: sqr-users-bounces+zputney=paychex.com@sqrug.org > [mailto:sqr-users-bounces+zputney=paychex.com@sqrug.org] On Behalf Of > Rajesh Subramaniam > Sent: Wednesday, September 30, 2009 4:28 PM > To: sqr-users@sqrug.org > Subject: [sqr-users] How to pass values from Shell script to SQR file > > Hi, > > Can anyone help me out in this issue. > > I have a shell script file and a SQR file. I need to get a value from > the shell script file and pass it to a SQR file. > > I tried writing a function in the shell script which returns a value and > gave the path of this shell script in the SQR file. But, this does not > solve the issue. Still the value from the shell script is not passed to > SQR. > > My scenario is to pass a State code which is of two letters like NY for > newyork to a SQR file which takes this as input. > > My code snippet are as follows- > > Shell script-- > function prospectCall > { > echo "enter the state abbreviation" > read a > return > } > prospectCall > SQR code > > begin-procedure main > > let $input_file = 'the directory path/Shell Script file name' > > end-procedure > ~ > ~ > > _______________________________________________ > 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. > > 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 Wed Sep 30 19:13:17 2009 From: "Merritt, Bruce" Date: Wed, 30 Sep 2009 17:03:33 -0600 Subject: RE: [sqr-users] How to pass values from Shell script to SQR file Use the input command then call the SQR program in your shell script with t= he positional argument. SQR Code input $input_file Shell Code sqr_program arg1 -----Original Message----- From: sqr-users-bounces+bruce.merritt=3Dcolostate-pueblo.edu@sqrug.org [mai= lto:sqr-users-bounces+bruce.merritt=3Dcolostate-pueblo.edu@sqrug.org] On Be= half Of Rajesh Subramaniam Sent: Wednesday, September 30, 2009 2:28 PM To: sqr-users@sqrug.org Subject: [sqr-users] How to pass values from Shell script to SQR file Hi, Can anyone help me out in this issue. I have a shell script file and a SQR file. I need to get a value from the shell script file and pass it to a SQR file. I tried writing a function in the shell script which returns a value and gave the path of this shell script in the SQR file. But, this does not solve the issue. Still the value from the shell script is not passed to SQR. My scenario is to pass a State code which is of two letters like NY for newyork to a SQR file which takes this as input. My code snippet are as follows- Shell script-- function prospectCall { echo "enter the state abbreviation" read a return } prospectCall SQR code begin-procedure main let $input_file =3D 'the directory path/Shell Script file name' end-procedure ~ ~ _______________________________________________ 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