From sqr-users-bounces@sqrug.org Sun Apr 01 00:02:21 2007 Date: Sun, 1 Apr 2007 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 Apr 04 13:14:04 2007 Date: Wed, 4 Apr 2007 13:11:02 -0400 From: "Vaidyanathan, Ramakrishnan \(GE, Corporate, consultant\)" Subject: [sqr-users] passing parameters to sqr.. Hi, =20 Is it possible to pass parameters to the sqr while calling that sqr thr= u Unix shell script?Please help me with some code snippets how to go about = it. Thanks Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Apr 04 13:32:53 2007 From: "Alexander, Steven" Subject: RE: [sqr-users] passing parameters to sqr.. Date: Wed, 4 Apr 2007 10:29:59 -0700 You can put as many parameters as you like at the end of the command line. Then use the "ask" command (to read them into #define parameters during compilation) or the "input" command (to read them into variables during execution). -----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 Vaidyanathan, Ramakrishnan (GE, Corporate,consultant) Sent: Wednesday, April 04, 2007 10:11 AM To: sqr-users@sqrug.org Subject: [sqr-users] passing parameters to sqr.. Hi, Is it possible to pass parameters to the sqr while calling that sqr thru Unix shell script?Please help me with some code snippets how to go about it. Thanks Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 04 13:43:00 2007 Subject: RE: [sqr-users] passing parameters to sqr.. Date: Wed, 4 Apr 2007 13:40:05 -0400 From: "Vaidyanathan, Ramakrishnan \(GE, Corporate, consultant\)" Hi, Actually there is a procedure in sqr that will take date as the input. = Can I pass the date as a parameter to this sqr thru unix shell script? -----Original Message----- From: sqr-users-bounces+ramakrishnan.vaidyanathan=3Dge.com@sqrug.org [mailto:sqr-users-bounces+ramakrishnan.vaidyanathan=3Dge.com@sqrug.org]On Behalf Of Alexander, Steven Sent: Wednesday, April 04, 2007 1:30 PM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] passing parameters to sqr.. You can put as many parameters as you like at the end of the command line. Then use the "ask" command (to read them into #define parameters during compilation) or the "input" command (to read them into variables during execution). -----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 Vaidyanathan, Ramakrishnan (GE, Corporate,consultant) Sent: Wednesday, April 04, 2007 10:11 AM To: sqr-users@sqrug.org Subject: [sqr-users] passing parameters to sqr.. Hi, =20 Is it possible to pass parameters to the sqr while calling that sqr thru Unix shell script?Please help me with some code snippets how to go about it. Thanks Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 04 17:11:57 2007 Subject: RE: [sqr-users] passing parameters to sqr.. Date: Wed, 4 Apr 2007 16:09:44 -0500 From: "Knapp, Richard" But not as a date. Only as the string representation of the date, yes? Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 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 Vaidyanathan, Ramakrishnan (GE, Corporate,consultant) Sent: Wednesday, April 04, 2007 12:40 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] passing parameters to sqr.. Hi, Actually there is a procedure in sqr that will take date as the input. Can I pass the date as a parameter to this sqr thru unix shell script? -----Original Message----- From: sqr-users-bounces+ramakrishnan.vaidyanathan=3Dge.com@sqrug.org [mailto:sqr-users-bounces+ramakrishnan.vaidyanathan=3Dge.com@sqrug.org]On Behalf Of Alexander, Steven Sent: Wednesday, April 04, 2007 1:30 PM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] passing parameters to sqr.. You can put as many parameters as you like at the end of the command line. Then use the "ask" command (to read them into #define parameters during compilation) or the "input" command (to read them into variables during execution). -----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 Vaidyanathan, Ramakrishnan (GE, Corporate,consultant) Sent: Wednesday, April 04, 2007 10:11 AM To: sqr-users@sqrug.org Subject: [sqr-users] passing parameters to sqr.. Hi, =20 Is it possible to pass parameters to the sqr while calling that sqr thru Unix shell script?Please help me with some code snippets how to go about it. Thanks Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 04 14:47:31 2007 From: "Alexander, Steven" Subject: RE: [sqr-users] passing parameters to sqr.. Date: Wed, 4 Apr 2007 11:44:43 -0700 Yes. Any input statement will take from the command line first. When all the command line parameters are read, then the remaining input statements get data from the DOS window and the keyboard. -----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 Vaidyanathan, Ramakrishnan (GE, Corporate,consultant) Sent: Wednesday, April 04, 2007 10:40 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] passing parameters to sqr.. Hi, Actually there is a procedure in sqr that will take date as the input. Can I pass the date as a parameter to this sqr thru unix shell script? -----Original Message----- From: sqr-users-bounces+ramakrishnan.vaidyanathan=ge.com@sqrug.org [mailto:sqr-users-bounces+ramakrishnan.vaidyanathan=ge.com@sqrug.org]On Behalf Of Alexander, Steven Sent: Wednesday, April 04, 2007 1:30 PM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] passing parameters to sqr.. You can put as many parameters as you like at the end of the command line. Then use the "ask" command (to read them into #define parameters during compilation) or the "input" command (to read them into variables during execution). -----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 Vaidyanathan, Ramakrishnan (GE, Corporate,consultant) Sent: Wednesday, April 04, 2007 10:11 AM To: sqr-users@sqrug.org Subject: [sqr-users] passing parameters to sqr.. Hi, Is it possible to pass parameters to the sqr while calling that sqr thru Unix shell script?Please help me with some code snippets how to go about it. Thanks Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 04 18:09:14 2007 From: "Alexander, Steven" Subject: RE: [sqr-users] passing parameters to sqr.. Date: Wed, 4 Apr 2007 15:06:15 -0700 Yes. Good point. -----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 Knapp, Richard Sent: Wednesday, April 04, 2007 2:10 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] passing parameters to sqr.. But not as a date. Only as the string representation of the date, yes? Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of Vaidyanathan, Ramakrishnan (GE, Corporate,consultant) Sent: Wednesday, April 04, 2007 12:40 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] passing parameters to sqr.. Hi, Actually there is a procedure in sqr that will take date as the input. Can I pass the date as a parameter to this sqr thru unix shell script? -----Original Message----- From: sqr-users-bounces+ramakrishnan.vaidyanathan=ge.com@sqrug.org [mailto:sqr-users-bounces+ramakrishnan.vaidyanathan=ge.com@sqrug.org]On Behalf Of Alexander, Steven Sent: Wednesday, April 04, 2007 1:30 PM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] passing parameters to sqr.. You can put as many parameters as you like at the end of the command line. Then use the "ask" command (to read them into #define parameters during compilation) or the "input" command (to read them into variables during execution). -----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 Vaidyanathan, Ramakrishnan (GE, Corporate,consultant) Sent: Wednesday, April 04, 2007 10:11 AM To: sqr-users@sqrug.org Subject: [sqr-users] passing parameters to sqr.. Hi, Is it possible to pass parameters to the sqr while calling that sqr thru Unix shell script?Please help me with some code snippets how to go about it. Thanks Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 05 17:01:37 2007 Date: Thu, 05 Apr 2007 16:58:55 -0400 From: Wendy Biggs Subject: [sqr-users] actual execution time for select to process I need to determine the actual execution time of several different select statements. Has anyone else on this list done this? Is there an sqr variable that will get to that information? I can grab system time before & after the select statement and find the difference ... but that is not the same as the actual time the statement took to execute. Any and all help will be appreciated. --wb _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 05 17:20:34 2007 Subject: RE: [sqr-users] actual execution time for select to process Date: Thu, 5 Apr 2007 16:17:49 -0500 From: "Bob Stone" SHOW statements are great for this. Do a 'get-time' procedure of some sort (make your own, select sysdate from dual) and show the date a lot of places in your program. If you're really ambitious, select the sysdate in a format that would allow you to do some math on the timings. Maybe a #hour, #min, #sec variable - carry the 60, that sort of thing. SELECT to_char(sysdate, 'HH24') &hour, to_char(sysdate, 'MI') &min, to_char(sysdate, 'SS') &sec FROM DUAL something like if #new_hour < #old_hour #display_hours =3D (#new_hour + 24) - (#old_hour) else #display_hours =3D #new_hour - #old_hour end-if if #new_mins < #old_mins #display_mins =3D (#new_mins + 60) - (#old_mins) else #display_mins =3D #new_mins - #old_mins end-if show 'timings - ' #display_hours ':' #display_mins -----Original Message----- From: sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org [mailto:sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org] On Behalf Of Wendy Biggs Sent: Thursday, April 05, 2007 3:59 PM To: sqr-users@sqrug.org Subject: [sqr-users] actual execution time for select to process I need to determine the actual execution time of several different=20 select statements. Has anyone else on this list done this? Is there an sqr variable that will get to that information? I can grab system time before & after the select statement and find=20 the difference ... but that is not the same as the actual time the=20 statement took to execute. Any and all help will be appreciated. --wb _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 05 20:56:53 2007 From: "Steve Cavill" Subject: RE: [sqr-users] actual execution time for select to process Date: Fri, 6 Apr 2007 10:51:47 +1000 Datenow() sqr function will retur the time. Why do you say "I can grab system time before & after the select statement and find the difference" That's the elapsed time of the select. If you want the query execution CPU time you would need to look at the database logs. 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 Wendy Biggs Sent: Friday, 6 April 2007 6:59 AM To: sqr-users@sqrug.org Subject: [sqr-users] actual execution time for select to process I need to determine the actual execution time of several different select statements. Has anyone else on this list done this? Is there an sqr variable that will get to that information? I can grab system time before & after the select statement and find the difference ... but that is not the same as the actual time the statement took to execute. Any and all help will be appreciated. --wb _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 06 13:53:49 2007 Date: Fri, 06 Apr 2007 13:51:02 -0400 From: Wendy Biggs Subject: RE: [sqr-users] actual execution time for select to process right .... if I: let $start_table = datetostr(datenow(), 'DD-MON-YYYY HH24:MI:SS') begin-select ... end-select let $end_table = datetostr(datenow(), 'DD-MON-YYYY HH24:MI:SS') let #elapsed_table = round(datediff(strtodate($end_table, 'DD-MON-YYYY HH24:MI:SS'), strtodate($start_table, 'DD-MON-YYYY HH24:MI:SS'), 'second'), 0) then #elapsed_table contains the elapsed system time .... that is not what I want I want the query execution CPU time .... I do not have access to the database logs .... is there no way I can get that information though my program? Is there a way to set "something" on so that I can get a trace of the database log in my logsqr file? I ultimately want to print that CPU time as part of my output report. --wb At 08:51 PM 4/5/2007, you wrote: >Datenow() sqr function will retur the time. >Why do you say "I can grab system time before & after the select >statement and find the difference" >That's the elapsed time of the select. If you want the query >execution CPU time you would need to look at the database logs. >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 Wendy Biggs >Sent: Friday, 6 April 2007 6:59 AM >To: sqr-users@sqrug.org >Subject: [sqr-users] actual execution time for select to process > >I need to determine the actual execution time of several different >select statements. >Has anyone else on this list done this? >Is there an sqr variable that will get to that information? > >I can grab system time before & after the select statement and find >the difference ... but that is not the same as the actual time >the statement took to execute. > >Any and all help will be appreciated. > > >--wb > > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >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 Apr 06 16:20:27 2007 From: "the dragon" Subject: RE: [sqr-users] actual execution time for select to process Date: Fri, 06 Apr 2007 15:17:43 -0500 That's as close as you're going to get without having actual database access through a tool such as sql*plus, toad, oem or whatever, and maybe running an explain on your code. Even then, the actual execution time will vary upon a lot of factors, including whether the query is in cache, or if there has been a lot of dml run on the tables affected by the query. Additionally, how long ago statistics was run will be important, as well as any new or removed indexes. I guess I am missing *why* *you* need such accurate measurements of sql execution timing; that's why you keep DBAs around. 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 ----Original Message Follows---- right .... if I: let $start_table = datetostr(datenow(), 'DD-MON-YYYY HH24:MI:SS') begin-select ... end-select let $end_table = datetostr(datenow(), 'DD-MON-YYYY HH24:MI:SS') let #elapsed_table = round(datediff(strtodate($end_table, 'DD-MON-YYYY HH24:MI:SS'), strtodate($start_table, 'DD-MON-YYYY HH24:MI:SS'), 'second'), 0) then #elapsed_table contains the elapsed system time .... that is not what I want I want the query execution CPU time .... I do not have access to the database logs .... is there no way I can get that information though my program? Is there a way to set "something" on so that I can get a trace of the database log in my logsqr file? I ultimately want to print that CPU time as part of my output report. --wb _________________________________________________________________ MSN is giving away a trip to Vegas to see Elton John.  Enter to win today. http://msnconcertcontest.com?icid-nceltontagline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Apr 06 16:54:17 2007 Date: Fri, 06 Apr 2007 16:51:38 -0400 From: Wendy Biggs Subject: RE: [sqr-users] actual execution time for select to process - why *I* want accurate measurements Ahh.... there you have it ... we are running Oracle 10g and the DBA's decided to change how they were collecting stats .... ever since then we've been having problems with observations missing from data view (they are there in the underlying table but not in the view) .... so far we, (the DBA's and my team) have not found a pattern to when the obs are dropping out of sight. The current solution is to delete the stats on several tables that are involved in the view and flush the shared pool every time the problem crops up and we report it (which is daily at this point). I don't mean to make them sound incompetent ... we just haven't found the bug yet and I'm having to watch the situation 'by hand' to ensure that our end users are not producing reports with missing data that they are not aware of. and in the middle of the pudding, one of the DBA's asked if we could please try running the query several different ways with different hints to see if they helped. So ... I've got this little program chroned out there to run on an hourly basis with several variations on the base query to watch for when the problem crops up and whether it is affected by including any of the suggested hints. and I want to watch the average time the various permutations of the query are taking because I'm not inclined to add hint A just because it means the obs are not being dropped if hint A consistently averages 2 minutes CPU time... I'm more inclined to want the bug found and fixed. besides, I'm a basically curious person, I like watching for patterns & the CPU times are giving me an idea of whether or not our 'end users' are running against the tables in between my runs. ... more than you really wanted to know, right? --wb At 04:17 PM 4/6/2007, you wrote: >That's as close as you're going to get without having actual >database access through a tool such as sql*plus, toad, oem or >whatever, and maybe running an explain on your code. Even then, the >actual execution time will vary upon a lot of factors, including >whether the query is in cache, or if there has been a lot of dml run >on the tables affected by the query. Additionally, how long ago >statistics was run will be important, as well as any new or removed indexes. > >I guess I am missing *why* *you* need such accurate measurements of >sql execution timing; that's why you keep DBAs around. > >peace, >clark 'the dragon' willis _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 05 08:29:08 2007 From: "Heather Philp" Subject: RE: [sqr-users] passing parameters to sqr.. Date: Thu, 5 Apr 2007 09:26:05 -0300 Yes, we run all our sqr programs at the unix level and pass parameters to them. Sample of the sqr code... INPUT $jobname INPUT $one_up INPUT $v_output_dir INPUT $v_database Sample of the Unix shell script sqr ${prog}.sqr -RT ${uid}/${pswd}@$ORACLE_SID ${PROG} ${one_up} ${output_dir} ${dbase} Data is accepted as character, so if you have dates/number you need to convert Note, we run using precompiled sqt's. Using this method, the ask command will not work, only the input. Heather -----Original Message----- From: Vaidyanathan, Ramakrishnan (GE, Corporate,consultant) [mailto:ramakrishnan.vaidyanathan@ge.com] Sent: April 4, 2007 2:11 PM To: sqr-users@sqrug.org Subject: [sqr-users] passing parameters to sqr.. Hi, Is it possible to pass parameters to the sqr while calling that sqr thru Unix shell script?Please help me with some code snippets how to go about it. Thanks Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Apr 13 11:30:59 2007 Subject: RE: [sqr-users] passing parameters to sqr.. Date: Fri, 13 Apr 2007 11:28:12 -0400 From: "Vaidyanathan, Ramakrishnan \(GE, Corporate, consultant\)" Hi Iam getting error when i use the following shell script sqr /t111/app01/psoft/usdx/usr/sqr/parallel.sqr -RT uid/pwd@ORACLE_SID -i/= t111/app01/psoft/usdx/sqr/ -ZIF/t111/app01/psoft/usdx/sqr/pssqr.unx 1 Iam calling sqr called parallel.sqr thru shell program. last parameter in t= he above syntax is "1" that i want to pass to the sqr. pls help Thanks Ram -----Original Message----- From: sqr-users-bounces+ramakrishnan.vaidyanathan=3Dge.com@sqrug.org [mailto:sqr-users-bounces+ramakrishnan.vaidyanathan=3Dge.com@sqrug.org]On Behalf Of Heather Philp Sent: Thursday, April 05, 2007 8:26 AM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] passing parameters to sqr.. Yes, we run all our sqr programs at the unix level and pass parameters to them. =20 Sample of the sqr code... INPUT $jobname INPUT $one_up INPUT $v_output_dir INPUT $v_database Sample of the Unix shell script=20 sqr ${prog}.sqr -RT ${uid}/${pswd}@$ORACLE_SID ${PROG} ${one_up} ${output_dir} ${dbase}=20 Data is accepted as character, so if you have dates/number you need to convert Note, we run using precompiled sqt's. Using this method, the ask command will not work, only the input. Heather=20 =20 -----Original Message----- From: Vaidyanathan, Ramakrishnan (GE, Corporate,consultant) [mailto:ramakrishnan.vaidyanathan@ge.com]=20 Sent: April 4, 2007 2:11 PM To: sqr-users@sqrug.org Subject: [sqr-users] passing parameters to sqr.. Hi, =20 Is it possible to pass parameters to the sqr while calling that sqr thru Unix shell script?Please help me with some code snippets how to go about it. Thanks Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 13 21:13:16 2007 From: "Steve Cavill" Subject: RE: [sqr-users] passing parameters to sqr.. Date: Sat, 14 Apr 2007 11:06:30 +1000 And the error message would be? -----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 Vaidyanathan, Ramakrishnan (GE, Corporate,consultant) Sent: Saturday, 14 April 2007 1:28 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] passing parameters to sqr.. Hi Iam getting error when i use the following shell script sqr /t111/app01/psoft/usdx/usr/sqr/parallel.sqr -RT uid/pwd@ORACLE_SID -i/t111/app01/psoft/usdx/sqr/ -ZIF/t111/app01/psoft/usdx/sqr/pssqr.unx 1 Iam calling sqr called parallel.sqr thru shell program. last parameter in the above syntax is "1" that i want to pass to the sqr. pls help Thanks Ram -----Original Message----- From: sqr-users-bounces+ramakrishnan.vaidyanathan=ge.com@sqrug.org [mailto:sqr-users-bounces+ramakrishnan.vaidyanathan=ge.com@sqrug.org]On Behalf Of Heather Philp Sent: Thursday, April 05, 2007 8:26 AM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] passing parameters to sqr.. Yes, we run all our sqr programs at the unix level and pass parameters to them. Sample of the sqr code... INPUT $jobname INPUT $one_up INPUT $v_output_dir INPUT $v_database Sample of the Unix shell script sqr ${prog}.sqr -RT ${uid}/${pswd}@$ORACLE_SID ${PROG} ${one_up} ${output_dir} ${dbase} Data is accepted as character, so if you have dates/number you need to convert Note, we run using precompiled sqt's. Using this method, the ask command will not work, only the input. Heather -----Original Message----- From: Vaidyanathan, Ramakrishnan (GE, Corporate,consultant) [mailto:ramakrishnan.vaidyanathan@ge.com] Sent: April 4, 2007 2:11 PM To: sqr-users@sqrug.org Subject: [sqr-users] passing parameters to sqr.. Hi, Is it possible to pass parameters to the sqr while calling that sqr thru Unix shell script?Please help me with some code snippets how to go about it. Thanks Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 13 21:42:15 2007 From: "the dragon" Subject: RE: [sqr-users] passing parameters to sqr.. Date: Fri, 13 Apr 2007 20:39:37 -0500 You're going to have to think harder to receive the telepathic images he is sending... Don't you know us gurus can solve the problems of the planet with just a couple of lines of information? 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 ----Original Message Follows---- And the error message would be? -----Original Message----- Hi Iam getting error when i use the following shell script sqr /t111/app01/psoft/usdx/usr/sqr/parallel.sqr -RT uid/pwd@ORACLE_SID -i/t111/app01/psoft/usdx/sqr/ -ZIF/t111/app01/psoft/usdx/sqr/pssqr.unx 1 Iam calling sqr called parallel.sqr thru shell program. last parameter in the above syntax is "1" that i want to pass to the sqr. pls help Thanks Ram _________________________________________________________________ Mortgage refinance is Hot. *Terms. Get a 5.375%* fix rate. Check savings https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2bbb&disc=y&vers=925&s=4056&p=5117 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Apr 16 11:37:40 2007 From: "Dwight Schrute" Subject: RE: [sqr-users] passing parameters to sqr.. Date: Mon, 16 Apr 2007 10:34:59 -0500 You are passing the parameters in the wrong sequence. You have a flag (-RT) then your database connection and then more flags. Pass all the flags and then the connection. Like this: sqr /t111/app01/psoft/usdx/usr/sqr/parallel.sqr -RT -I/t111/app01/psoft/usdx/sqr/ -ZIF/t111/app01/psoft/usdx/sqr/pssqr.unx uid/pwd@ORACLE_SID 1 >From: "Vaidyanathan, Ramakrishnan (GE, Corporate,consultant)" > >Reply-To: "This list is for discussion about the SQR database >reportinglanguage from Hyperion Solutions." >To: "This list is for discussion about the SQR database reportinglanguage >fromHyperion Solutions." >Subject: RE: [sqr-users] passing parameters to sqr.. >Date: Fri, 13 Apr 2007 11:28:12 -0400 > >Hi > > Iam getting error when i use the following shell script > >sqr /t111/app01/psoft/usdx/usr/sqr/parallel.sqr -RT uid/pwd@ORACLE_SID >-i/t111/app01/psoft/usdx/sqr/ -ZIF/t111/app01/psoft/usdx/sqr/pssqr.unx 1 > >Iam calling sqr called parallel.sqr thru shell program. last parameter in >the above syntax is "1" that i want to pass to the sqr. >pls help > >Thanks >Ram > >-----Original Message----- >From: sqr-users-bounces+ramakrishnan.vaidyanathan=ge.com@sqrug.org >[mailto:sqr-users-bounces+ramakrishnan.vaidyanathan=ge.com@sqrug.org]On >Behalf Of Heather Philp >Sent: Thursday, April 05, 2007 8:26 AM >To: 'This list is for discussion about the SQR database >reportinglanguagefrom Hyperion Solutions.' >Subject: RE: [sqr-users] passing parameters to sqr.. > > >Yes, we run all our sqr programs at the unix level and pass parameters to >them. > >Sample of the sqr code... > INPUT $jobname > INPUT $one_up > INPUT $v_output_dir > INPUT $v_database > > >Sample of the Unix shell script >sqr ${prog}.sqr -RT ${uid}/${pswd}@$ORACLE_SID ${PROG} ${one_up} >${output_dir} ${dbase} > >Data is accepted as character, so if you have dates/number you need to >convert > >Note, we run using precompiled sqt's. Using this method, the ask command >will not work, only the input. > >Heather > >-----Original Message----- >From: Vaidyanathan, Ramakrishnan (GE, Corporate,consultant) >[mailto:ramakrishnan.vaidyanathan@ge.com] >Sent: April 4, 2007 2:11 PM >To: sqr-users@sqrug.org >Subject: [sqr-users] passing parameters to sqr.. > >Hi, > > Is it possible to pass parameters to the sqr while calling that sqr >thru >Unix shell script?Please help me with some code snippets how to go about >it. > >Thanks >Ram > > > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Exercise your brain! Try Flexicon. http://games.msn.com/en/flexicon/default.htm?icid=flexicon_hmemailtaglineapril07 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Apr 16 13:23:49 2007 Date: Mon, 16 Apr 2007 13:21:03 -0400 From: Donald Mellen Subject: Re: [sqr-users] passing parameters to sqr.. Actually, it should be connection, then flags. Like this: sqr /t111/app01/psoft/usdx/usr/sqr/parallel.sqr uid/pwd@ORACLE_SID -RT -I/t111/app01/psoft/usdx/sqr/ -ZIF/t111/app01/psoft/usdx/sqr/pssqr.unx 1 The above assumes you have a ".sqt" file created and in place. Since you are specifying -RT to use the sqt file, it would be more efficient to use sqrt and the sqt file name, like: sqrt /t111/app01/psoft/usdx/usr/sqr/parallel.sqt uid/pwd@ORACLE_SID -I/t111/app01/psoft/usdx/sqr/ -ZIF/t111/app01/psoft/usdx/sqr/pssqr.unx 1 HTH, Don Dwight Schrute wrote: > You are passing the parameters in the wrong sequence. You have a flag > (-RT) then your database connection and then more flags. Pass all the > flags and then the connection. Like this: > > sqr /t111/app01/psoft/usdx/usr/sqr/parallel.sqr -RT > -I/t111/app01/psoft/usdx/sqr/ -ZIF/t111/app01/psoft/usdx/sqr/pssqr.unx > uid/pwd@ORACLE_SID 1 > > >> From: "Vaidyanathan, Ramakrishnan (GE, Corporate,consultant)" >> >> Reply-To: "This list is for discussion about the SQR database >> reportinglanguage from Hyperion Solutions." >> To: "This list is for discussion about the SQR database >> reportinglanguage fromHyperion Solutions." >> Subject: RE: [sqr-users] passing parameters to sqr.. >> Date: Fri, 13 Apr 2007 11:28:12 -0400 >> >> Hi >> >> Iam getting error when i use the following shell script >> >> sqr /t111/app01/psoft/usdx/usr/sqr/parallel.sqr -RT >> uid/pwd@ORACLE_SID -i/t111/app01/psoft/usdx/sqr/ >> -ZIF/t111/app01/psoft/usdx/sqr/pssqr.unx 1 >> >> Iam calling sqr called parallel.sqr thru shell program. last >> parameter in the above syntax is "1" that i want to pass to the sqr. >> pls help >> >> Thanks >> Ram >> >> -----Original Message----- >> From: sqr-users-bounces+ramakrishnan.vaidyanathan=ge.com@sqrug.org >> [mailto:sqr-users-bounces+ramakrishnan.vaidyanathan=ge.com@sqrug.org]On >> Behalf Of Heather Philp >> Sent: Thursday, April 05, 2007 8:26 AM >> To: 'This list is for discussion about the SQR database >> reportinglanguagefrom Hyperion Solutions.' >> Subject: RE: [sqr-users] passing parameters to sqr.. >> >> >> Yes, we run all our sqr programs at the unix level and pass >> parameters to >> them. >> >> Sample of the sqr code... >> INPUT $jobname >> INPUT $one_up >> INPUT $v_output_dir >> INPUT $v_database >> >> >> Sample of the Unix shell script >> sqr ${prog}.sqr -RT ${uid}/${pswd}@$ORACLE_SID ${PROG} ${one_up} >> ${output_dir} ${dbase} >> >> Data is accepted as character, so if you have dates/number you need to >> convert >> >> Note, we run using precompiled sqt's. Using this method, the ask >> command >> will not work, only the input. >> >> Heather >> >> -----Original Message----- >> From: Vaidyanathan, Ramakrishnan (GE, Corporate,consultant) >> [mailto:ramakrishnan.vaidyanathan@ge.com] >> Sent: April 4, 2007 2:11 PM >> To: sqr-users@sqrug.org >> Subject: [sqr-users] passing parameters to sqr.. >> >> Hi, >> >> Is it possible to pass parameters to the sqr while calling that >> sqr thru >> Unix shell script?Please help me with some code snippets how to go >> about it. >> >> Thanks >> Ram >> >> >> >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users > > _________________________________________________________________ > Exercise your brain! Try Flexicon. > http://games.msn.com/en/flexicon/default.htm?icid=flexicon_hmemailtaglineapril07 > > > > _______________________________________________ > 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" _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 05 12:38:45 2007 Date: Thu, 5 Apr 2007 09:35:57 -0700 (PDT) From: rose kunwar Subject: [sqr-users] the required environment variable SQRDIR has not been defined Hi everyone, My SQRW.exe file does not work at all. Whenever I try to open this. exe file it says "(SQR 14) the required environment variable SQRDIR has not been defined". I tried to set paths from configuration manager and also copied another profile, but did not help me at all. Any suggestions? Thanks in advance Rose ____________________________________________________________________________________ Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=list&sid=396546091 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 05 12:47:28 2007 Subject: RE: [sqr-users] the required environment variable SQRDIR has not beendefined Date: Thu, 5 Apr 2007 12:44:16 -0400 From: "Prasanna Menta" You will have to have your paths defined. Right click on the ICON ---> Click on properties and you should have target info, else you will get the error. Hope this helps to fix your problem. Prasanna=20 UMUC -----Original Message----- From: sqr-users-bounces+pmenta=3Dumuc.edu@sqrug.org [mailto:sqr-users-bounces+pmenta=3Dumuc.edu@sqrug.org] On Behalf Of rose kunwar Sent: Thursday, April 05, 2007 12:36 PM To: sqr-users@sqrug.org Subject: [sqr-users] the required environment variable SQRDIR has not beendefined Hi everyone, My SQRW.exe file does not work at all. Whenever I try to open this. exe file it says "(SQR 14) the required environment variable SQRDIR has not been defined". I tried to set paths from configuration manager and also copied another profile, but did not help me at all. Any suggestions? Thanks in advance Rose =20 ________________________________________________________________________ ____________ Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=3Dlist&sid=3D396546091 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 06 10:15:56 2007 Subject: RE: [sqr-users] the required environment variable SQRDIR has not beendefined Date: Fri, 6 Apr 2007 10:13:42 -0400 From: "Batchu, Venkata \(HR, IT\)" If you have sqr along with peoplesoft, an .ini file is provided to set the = environment variables. Include this ini file while running sqrw. To include use -ZIF\pssqr.ini in the argument.=20 If you are not using peoplesoft just create an .ini file and give some pat= h for SQRDIR, SQRDIR=3D c:\sqr (for eg:) and include the ini when running sqrw as above. - Venkat -----Original Message----- From: rose kunwar [mailto:rosekunwar@yahoo.com] Sent: Thursday, April 05, 2007 12:36 PM To: sqr-users@sqrug.org Subject: [sqr-users] the required environment variable SQRDIR has not beendefined Hi everyone, My SQRW.exe file does not work at all. Whenever I try to open this. exe fil= e it says "(SQR 14) the required environment variable SQRDIR has not been = defined". I tried to set paths from configuration manager and also copied a= nother profile, but did not help me at all. Any suggestions? Thanks in advance Rose =20 ___________________________________________________________________________= _________ Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=3Dlist&sid=3D396546091 ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Apr 06 10:27:53 2007 Date: Fri, 6 Apr 2007 07:25:13 -0700 (PDT) From: rose kunwar Subject: Re: [sqr-users] the required environment variable SQRDIR has not beendefined Yes, I have SQR with peoplesoft. I did specify the path along with command line flag -ZIF in the shortcut of SQRW.EXE. Now shortcut is working, however, the original .exe file ( under BINW) is not working. Thankx Rose ----- Original Message ---- From: "Batchu, Venkata (HR, IT)" To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Sent: Friday, April 6, 2007 10:13:42 AM Subject: RE: [sqr-users] the required environment variable SQRDIR has not beendefined If you have sqr along with peoplesoft, an .ini file is provided to set the environment variables. Include this ini file while running sqrw. To include use -ZIF\pssqr.ini in the argument. If you are not using peoplesoft just create an .ini file and give some path for SQRDIR, SQRDIR= c:\sqr (for eg:) and include the ini when running sqrw as above. - Venkat -----Original Message----- From: rose kunwar [mailto:rosekunwar@yahoo.com] Sent: Thursday, April 05, 2007 12:36 PM To: sqr-users@sqrug.org Subject: [sqr-users] the required environment variable SQRDIR has not beendefined Hi everyone, My SQRW.exe file does not work at all. Whenever I try to open this. exe file it says "(SQR 14) the required environment variable SQRDIR has not been defined". I tried to set paths from configuration manager and also copied another profile, but did not help me at all. Any suggestions? Thanks in advance Rose ____________________________________________________________________________________ Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=list&sid=396546091 ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ____________________________________________________________________________________ Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Apr 06 09:24:34 2007 Date: Fri, 6 Apr 2007 09:22:22 -0400 From: victorloghin@vgl.ca Subject: [sqr-users] actual execution time for select to process Wendy, I have timed the SQL in SQR programs. I have had to do it so much I actually developed a tool to do it. It will produce a report on the performance of all the SQR cursors in the program. The tool is available for free from my website www.vgl.ca and is under the Tools section and it is called SQL Timor. It works by having procedure calls before and after every SQL statement. It is such a tedious task to insert the calls into the code I developed another tool called the Formator to insert the procedure calls into the code. HTH, Victor Loghin VGL Consulting Inc. VictorLoghin@vgl.ca > Message: 4 > Date: Thu, 05 Apr 2007 16:58:55 -0400 > From: Wendy Biggs > Subject: [sqr-users] actual execution time for select to process > To: sqr-users@sqrug.org > > I need to determine the actual execution time of several different > select statements. > Has anyone else on this list done this? > Is there an sqr variable that will get to that information? > > I can grab system time before & after the select statement and find > the difference ... but that is not the same as the actual time the > statement took to execute. > > Any and all help will be appreciated. > > > --wb _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Apr 06 14:13:55 2007 Date: Fri, 6 Apr 2007 20:11:22 +0200 Subject: RE: [sqr-users] actual execution time for select to process From: "franck\.masson2002" if you need only the cpu time and not cpu time + data transfert let $start_table =3D datetostr(datenow(), 'DD-MON-YYYY HH24:MI:SS') let #first=3D1 begin-select if #first =3D 1 let #first=3D0 let $end_table =3D datetostr(datenow(), 'DD-MON-YYYY HH24:MI:SS') let #elapsed_table =3D round(datediff(strtodate($end_table,'DD-MON= -YYYY HH24:MI:SS'), strtodate($start_table, 'DD-MON-YYYY HH24:MI:SS'), 'sec= ond'), 0) end-if ... end-select If you are running on oracle or ODBC look to the option -B on the command l= ine or with the Begin Select franck, > right .... if I: > > let $start_table =3D datetostr(datenow(), 'DD-MON-YYYY HH24:MI:SS') > begin-select > ... > end-select > let $end_table =3D datetostr(datenow(), 'DD-MON-YYYY HH24:MI:SS') > let #elapsed_table =3D round(datediff(strtodate($end_table, > 'DD-MON-YYYY HH24:MI:SS'), > strtodate($start_table, 'DD-MON-YYYY > HH24:MI:SS'), 'second'), 0) > > > then #elapsed_table contains the elapsed system time .... that is > not what I want > > I want the query execution CPU time .... I do not have access to the > database logs .... is there no way I can get that information though > my program? > > Is there a way to set "something" on so that I can get a trace of the > database log in my logsqr file? > > I ultimately want to print that CPU time as part of my output report. > > --wb > > > At 08:51 PM 4/5/2007, you wrote: > >Datenow() sqr function will retur the time. > >Why do you say "I can grab system time before & after the select > >statement and find the difference" > >That's the elapsed time of the select. If you want the query > >execution CPU time you would need to look at the database logs. > >Steve. > > > >-----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 Behalf Of Wendy Biggs > >Sent: Friday, 6 April 2007 6:59 AM > >To: sqr-users@sqrug.org > >Subject: [sqr-users] actual execution time for select to process > > > >I need to determine the actual execution time of several different > >select statements. > >Has anyone else on this list done this? > >Is there an sqr variable that will get to that information? > > > >I can grab system time before & after the select statement and find > >the difference ... but that is not the same as the actual time > >the statement took to execute. > > > >Any and all help will be appreciated. > > > > > >--wb > > > > > > > >_______________________________________________ > >sqr-users mailing list > >sqr-users@sqrug.org > >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 >=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 From sqr-users-bounces@sqrug.org Fri Apr 06 17:01:34 2007 Date: Fri, 06 Apr 2007 16:58:56 -0400 From: Wendy Biggs Subject: Re: [sqr-users] actual execution time for select to process - thank you franck and victor Thank you Franck and Victor ... Both of the toys you shared have been very helpful and instructive!! --wb At 09:22 AM 4/6/2007, victorloghin@vgl.ca wrote: >Wendy, > >I have timed the SQL in SQR programs. I have had to do it so much I actually >developed a tool to do it. It will produce a report on the performance of all >the SQR cursors in the program. The tool is available for free from my website >www.vgl.ca and is under the Tools section and it is called SQL Timor. It works >by having procedure calls before and after every SQL statement. It is such a >tedious task to insert the calls into the code I developed another tool called >the Formator to insert the procedure calls into the code. > >HTH, >Victor Loghin >VGL Consulting Inc. >VictorLoghin@vgl.ca > > > > Message: 4 > > Date: Thu, 05 Apr 2007 16:58:55 -0400 > > From: Wendy Biggs > > Subject: [sqr-users] actual execution time for select to process > > To: sqr-users@sqrug.org > > > > I need to determine the actual execution time of several different > > select statements. > > Has anyone else on this list done this? > > Is there an sqr variable that will get to that information? > > > > I can grab system time before & after the select statement and find > > the difference ... but that is not the same as the actual time the > > statement took to execute. > > > > Any and all help will be appreciated. > > > > > > --wb > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >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 Apr 07 10:09:57 2007 From: "Benzenhafer, Dave" Subject: RE: [sqr-users] actual execution time for select to process Date: Sat, 7 Apr 2007 09:12:44 -0500 Wendy To get the overall run time of a report and print it on the report, I use the following. In the Setup section I put: DECLARE-VARIABLE Date $time_start END-DECLARE In the Begin-Program section I put: Begin-Program Let $time_start = datenow() Do Main Let #time_diff1 = datediff(datenow(), $time_start, 'second') Let #time_diff = round(#time_diff1,2) End-Program I report the time in seconds in the footer on the last page of the report. Begin-Footing 2 Page-Number (1,135) 'Page ' Last-Page () 'of ' If #time_diff > 0 Print #time_diff (2,117) Edit 999999 End-if End-Footing I hope this is helpful. Dave Benzenhafer -----Original Message----- From: Wendy Biggs [mailto:wendy.biggs@vt.edu] Sent: Friday, April 06, 2007 12:51 PM To: This list is for discussion about the SQR database reporting language from Hyperion Solutions. Cc: Steve Cavill Subject: RE: [sqr-users] actual execution time for select to process right .... if I: let $start_table = datetostr(datenow(), 'DD-MON-YYYY HH24:MI:SS') begin-select ... end-select let $end_table = datetostr(datenow(), 'DD-MON-YYYY HH24:MI:SS') let #elapsed_table = round(datediff(strtodate($end_table, 'DD-MON-YYYY HH24:MI:SS'), strtodate($start_table, 'DD-MON-YYYY HH24:MI:SS'), 'second'), 0) then #elapsed_table contains the elapsed system time .... that is not what I want I want the query execution CPU time .... I do not have access to the database logs .... is there no way I can get that information though my program? Is there a way to set "something" on so that I can get a trace of the database log in my logsqr file? I ultimately want to print that CPU time as part of my output report. --wb At 08:51 PM 4/5/2007, you wrote: >Datenow() sqr function will retur the time. >Why do you say "I can grab system time before & after the select >statement and find the difference" >That's the elapsed time of the select. If you want the query >execution CPU time you would need to look at the database logs. >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 Wendy Biggs >Sent: Friday, 6 April 2007 6:59 AM >To: sqr-users@sqrug.org >Subject: [sqr-users] actual execution time for select to process > >I need to determine the actual execution time of several different >select statements. >Has anyone else on this list done this? >Is there an sqr variable that will get to that information? > >I can grab system time before & after the select statement and find >the difference ... but that is not the same as the actual time >the statement took to execute. > >Any and all help will be appreciated. > > >--wb > > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >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 Apr 06 17:39:48 2007 From: "Alexander, Steven" Subject: RE: [sqr-users] actual execution time for select to process -why *I* want accurate measurements Date: Fri, 6 Apr 2007 14:30:05 -0700 I'm not familiar with your terminology. Does "observations missing from data view" mean that the view does not deliver all the rows in the underlying table? Have you checked the script for the view? Is it correct? Is it joining the main table to another table that could eliminate some rows? Does it have any "where" clauses that could eliminate some rows? Is it performing any aggregation functions that could combine some rows? Is it using the "distinct" keyword that could eliminate some rows? (Don't underestimate the havoc that bad data can cause.) You might try rebuilding the indices. If they're corrupt, they might not have some of the underlying rows. Also, when you speak of the DBAs collecting stats, do you mean generating statistics for the optimizer by analyzing the tables? Changing that would change the execution plan that the optimizer produces. In a clean database, that affects performance but not results. But in a database with questionable indices, that might not have been used previously, it could change the results. -----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 Wendy Biggs Sent: Friday, April 06, 2007 1:52 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] actual execution time for select to process -why *I* want accurate measurements Ahh.... there you have it ... we are running Oracle 10g and the DBA's decided to change how they were collecting stats .... ever since then we've been having problems with observations missing from data view (they are there in the underlying table but not in the view) .... so far we, (the DBA's and my team) have not found a pattern to when the obs are dropping out of sight. The current solution is to delete the stats on several tables that are involved in the view and flush the shared pool every time the problem crops up and we report it (which is daily at this point). I don't mean to make them sound incompetent ... we just haven't found the bug yet and I'm having to watch the situation 'by hand' to ensure that our end users are not producing reports with missing data that they are not aware of. and in the middle of the pudding, one of the DBA's asked if we could please try running the query several different ways with different hints to see if they helped. So ... I've got this little program chroned out there to run on an hourly basis with several variations on the base query to watch for when the problem crops up and whether it is affected by including any of the suggested hints. and I want to watch the average time the various permutations of the query are taking because I'm not inclined to add hint A just because it means the obs are not being dropped if hint A consistently averages 2 minutes CPU time... I'm more inclined to want the bug found and fixed. besides, I'm a basically curious person, I like watching for patterns & the CPU times are giving me an idea of whether or not our 'end users' are running against the tables in between my runs. ... more than you really wanted to know, right? --wb At 04:17 PM 4/6/2007, you wrote: >That's as close as you're going to get without having actual >database access through a tool such as sql*plus, toad, oem or >whatever, and maybe running an explain on your code. Even then, the >actual execution time will vary upon a lot of factors, including >whether the query is in cache, or if there has been a lot of dml run >on the tables affected by the query. Additionally, how long ago >statistics was run will be important, as well as any new or removed indexes. > >I guess I am missing *why* *you* need such accurate measurements of >sql execution timing; that's why you keep DBAs around. > >peace, >clark 'the dragon' willis _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 06 18:02:22 2007 Subject: RE: [sqr-users] actual execution time for select to process -why *I* want accurate measurements Date: Fri, 6 Apr 2007 17:58:36 -0400 From: "Larry Roux" I saw something similar with 10g. If you have descending indexes you end u= p with lots of issues due to the indexes becoming functions. Once we set O= racle to ignore descending in indexes we got all the correct results every = time. ________________________________ From: sqr-users-bounces+lroux=3Dsyr.edu@sqrug.org on behalf of Alexander, S= teven Sent: Fri 4/6/2007 5:30 PM To: 'This list is for discussion about the SQR database reportinglanguagefr= om Hyperion Solutions.' Subject: RE: [sqr-users] actual execution time for select to process -why *= I* want accurate measurements I'm not familiar with your terminology. Does "observations missing from data view" mean that the view does not deliver all the rows in the underlying table? Have you checked the script for the view? Is it correct? Is it joining the main table to another table that could eliminate some rows? Does it have any "where" clauses that could eliminate some rows? Is it performing any aggregation functions that could combine some rows? Is it using the "distinct" keyword that could eliminate some rows? (Don't underestimate the havoc that bad data can cause.) You might try rebuilding the indices. If they're corrupt, they might not have some of the underlying rows. Also, when you speak of the DBAs collecting stats, do you mean generating statistics for the optimizer by analyzing the tables? Changing that would change the execution plan that the optimizer produces. In a clean database, that affects performance but not results. But in a database with questionable indices, that might not have been used previously, it could change the results. -----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 Wendy Biggs Sent: Friday, April 06, 2007 1:52 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] actual execution time for select to process -why *I* want accurate measurements Ahh.... there you have it ... we are running Oracle 10g and the DBA's decided to change how they were collecting stats .... ever since then we've been having problems with observations missing from data view (they are there in the underlying table but not in the view) .... so far we, (the DBA's and my team) have not found a pattern to when the obs are dropping out of sight. The current solution is to delete the stats on several tables that are involved in the view and flush the shared pool every time the problem crops up and we report it (which is daily at this point). I don't mean to make them sound incompetent ... we just haven't found the bug yet and I'm having to watch the situation 'by hand' to ensure that our end users are not producing reports with missing data that they are not aware of. and in the middle of the pudding, one of the DBA's asked if we could please try running the query several different ways with different hints to see if they helped. So ... I've got this little program chroned out there to run on an hourly basis with several variations on the base query to watch for when the problem crops up and whether it is affected by including any of the suggested hints. and I want to watch the average time the various permutations of the query are taking because I'm not inclined to add hint A just because it means the obs are not being dropped if hint A consistently averages 2 minutes CPU time... I'm more inclined to want the bug found and fixed. besides, I'm a basically curious person, I like watching for patterns & the CPU times are giving me an idea of whether or not our 'end users' are running against the tables in between my runs. ... more than you really wanted to know, right? --wb At 04:17 PM 4/6/2007, you wrote: >That's as close as you're going to get without having actual >database access through a tool such as sql*plus, toad, oem or >whatever, and maybe running an explain on your code. Even then, the >actual execution time will vary upon a lot of factors, including >whether the query is in cache, or if there has been a lot of dml run >on the tables affected by the query. Additionally, how long ago >statistics was run will be important, as well as any new or removed indexes. > >I guess I am missing *why* *you* need such accurate measurements of >sql execution timing; that's why you keep DBAs around. > >peace, >clark 'the dragon' willis _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 11 18:50:29 2007 Date: Wed, 11 Apr 2007 15:48:12 -0700 From: "Marc Kane" Subject: [sqr-users] Page Breaks I am finishing up report where I am conducitng a CASE translsation to "group" the records in the report into 4 categories. I would like to have Page Breaks after each change of the value in the Group Variable. I have included the main procedure and the correlating print procedures: Begin-Procedure Get_MAIN_PROCEDURE !(Comment for Main Procedure) !**************************************** LET $ACCT_ID = ' ' LET $SA_ID = ' ' LET $BSEG_ID = ' ' LET $CRE_DTTM = ' ' LET $STAT_CHG_DTTM = ' ' LET $START_DATE = ' ' LET $END_DATE = ' ' LET $ORIG_DAYS = ' ' LET $REBILL_DAYS = ' ' LET $OVERRIDE = ' ' LET $ORIG_SQ = ' ' LET $BILLED_SQ = ' ' LET $ORIG_AMT = ' ' LET $FINAL_BILL_AMT = ' ' LET $ORIG_OPRID = ' ' LET $REBILLED_BY = ' ' LET $CANCEL_REASON = ' ' LET $TOTAL_DOLLAR_DIFF = ' ' LET $ORIG_PER_DAY = ' ' LET $FINAL_PER_DAY = ' ' LET $FINAL-ORIG = ' ' LET $DIVISION = ' ' LET $ROLENAME = ' ' LET $BREAK_LEVEL_A = ' ' SHOW 'IN Get_MAIN_PROCEDURE' Begin-SELECT F.ACCT_ID &ACCT_ID A.SA_ID &SA_ID A.BSEG_ID &BSEG_ID TO_DATE(A.CRE_DTTM) AS CREATE_DT &CRE_DTTM TO_DATE(A.STAT_CHG_DTTM) AS CHANGE_DT &STAT_CHG_DTTM TO_CHAR(A.START_DT,'YYYY-MM-DD') AS START_DT &START_DT TO_CHAR(A.END_DT,'YYYY-MM-DD') AS END_DT &END_DT (A.END_DT - A.START_DT) + 1 AS ORIG_DAYS &ORIG_DAYS (B.END_DT - B.START_DT) + 1 AS REBILL_DAYS &REBILL_DAYS B.SQ_OVERRIDE_SW AS SQ_OVERRIDE &OVERRIDE C.BILL_SQ AS ORIG_SQ &ORIG_SQ H.BILL_SQ AS BILLED_SQ &BILLED_SQ D.CUR_AMT AS ORIG_AMT &ORIG_AMT E.CUR_AMT AS NEW_BILL_AMT &FINAL_BILL_AMT D.FREEZE_OPRID AS ORIG_OPRID &ORIG_OPRID E.FREEZE_OPRID AS REBILLED_BY &REBILLED_BY G.DESCRSHORT AS CANCEL_REASON &CANCEL_REASON ROUND((E.CUR_AMT - D.CUR_AMT),2) AS TOTAL_$_DIFF &TOTAL_DOLLAR_DIFF ROUND((C.BILL_SQ / ((A.END_DT - A.START_DT) + 1)), 2) AS ORIG_PER_DAY &ORIG_PER_DAY ROUND((E.CUR_AMT / ((B.END_DT - B.START_DT) + 1)), 2) AS FINAL_PER_DAY &FINAL_PER_DAY (CASE WHEN P.ROLENAME LIKE 'BILL%' THEN 'BILLING' WHEN P.ROLENAME LIKE 'Bill%' THEN 'BILLING' WHEN P.ROLENAME LIKE 'CS%' THEN 'CS' WHEN P.ROLENAME LIKE '%BILL%' AND P.ROLENAME LIKE '%CS%'THEN 'PILOT' WHEN P.ROLENAME LIKE '%Bill%' AND P.ROLENAME LIKE '%CS%'THEN 'PILOT' ELSE 'OTHER' END) AS DIVISION &DIVISION P.ROLENAME &ROLENAME (CASE WHEN ROUND((E.CUR_AMT - D.CUR_AMT),2) <= 100 THEN '$100 Or Less' WHEN ROUND((E.CUR_AMT - D.CUR_AMT),2) > 100 AND ROUND((E.CUR_AMT - D.CUR_AMT),2) <=1000 THEN 'More Than $100' WHEN ROUND((E.CUR_AMT - D.CUR_AMT),2) > 1000 AND ROUND((E.CUR_AMT - D.CUR_AMT),2) <=5000 THEN 'More Than $1000' WHEN ROUND((E.CUR_AMT - D.CUR_AMT),2) > 5000 THEN 'More Than $5000' ELSE 'OTHER' END) AS TOTAL_$_DIFF &BREAK_LEVEL_A LET $ACCT_ID = LPAD(&ACCT_ID, 10, '0') LET $SA_ID = LPAD(&SA_ID, 10, '0') LET $BSEG_ID = LPAD(&BSEG_ID, 12, '0') LET $CRE_DTTM = &CRE_DTTM LET $STAT_CHG_DTTM = &STAT_CHG_DTTM LET $START_DATE = &START_DT LET $END_DATE = &END_DT LET $ORIG_DAYS = &ORIG_DAYS LET $REBILL_DAYS = &REBILL_DAYS LET $OVERRIDE = &OVERRIDE LET $ORIG_SQ = &ORIG_SQ LET $BILLED_SQ = &BILLED_SQ LET $ORIG_AMT = &ORIG_AMT LET $FINAL_BILL_AMT = &FINAL_BILL_AMT LET $ORIG_OPRID = &ORIG_OPRID LET $REBILLED_BY = &REBILLED_BY LET $CANCEL_REASON = &CANCEL_REASON LET $TOTAL_DOLLAR_DIFF = &TOTAL_DOLLAR_DIFF LET $ORIG_PER_DAY = &ORIG_PER_DAY LET $FINAL_PER_DAY = &FINAL_PER_DAY LET $FINAL-ORIG = &FINAL_PER_DAY - &ORIG_PER_DAY LET $DIVISION = &DIVISION LET $ROLENAME = &ROLENAME LET $BREAK_LEVEL_A = &BREAK_LEVEL_A SHOW 'ACCT ID: ' $ACCT_ID IF $report_type = 'D' DO Get_PRINT_OUTPUT_DETAIL !Programed END-IF IF $report_type = 'S' DO Get_PRINT_OUTPUT_SUMMARY !Programed END-IF FROM PS_CI_BSEG A, PS_CI_BILL_CAN_RSN G, PS_CI_BSEG B, PS_CI_BSEG_SQ C, PS_CI_BILL F, PS_CI_BSEG_SQ H, PS_CI_FT D, PS_CI_FT E, PSROLEUSER P WHERE TO_CHAR(TRUNC(A.STAT_CHG_DTTM), 'YYYY-MM-DD') BETWEEN TO_CHAR(TO_DATE(TO_DATE($start_dt,'DD-MON-YY')), 'YYYY-MM-DD') AND TO_CHAR(TO_DATE(TO_DATE($end_dt,'DD-MON-YY')), 'YYYY-MM-DD') AND A.CAN_RSN_CD = G.CAN_RSN_CD AND A.BSEG_ID = H.BSEG_ID AND H.UOM_CD = 'TGAL' AND A.BILL_ID = F.BILL_ID AND A.REBILL_SEG_ID = B.BSEG_ID AND B.BSEG_ID = C.BSEG_ID AND C.UOM_CD = 'TGAL' AND A.BSEG_ID = D.SIBLING_ID AND D.FT_TYPE_FLG = 'BS' AND B.BSEG_ID = E.SIBLING_ID AND D.FREEZE_OPRID = P.ROLEUSER AND (P.ROLENAME LIKE 'BILL%' OR P.ROLENAME LIKE 'bill%' OR P.ROLENAME LIKE 'CS%') ORDER BY 18 ASC, 1 ASC, 2 ASC, 6 ASC End-SELECT !***************************** End-Procedure !Get_Procedure_Main !***************************** Begin-Procedure Get_PRINT_OUTPUT_DETAIL !******************************** SHOW 'IN Get_PRINT_OUTPUT_DETAIL PROCEDURE' alter-printer point-size=9 font=4 ! Change font PRINT $ACCT_ID (+2,5,) BOLD PRINT $SA_ID (,18,) BOLD PRINT $BSEG_ID (,32,) BOLD PRINT $CRE_DTTM (,48,) BOLD PRINT $STAT_CHG_DTTM (,63,) BOLD PRINT $START_DATE (,78,) BOLD PRINT $END_DATE (,92,) BOLD PRINT $ORIG_DAYS (,106,) BOLD edit 9999 PRINT $REBILL_DAYS (,120,) BOLD edit 9999 PRINT $OVERRIDE (,141,) BOLD PRINT $ORIG_SQ (,151,) BOLD edit 999999 PRINT $BILLED_SQ (+2,10,)BOLD edit 999999 PRINT $ORIG_AMT (,25,) BOLD edit $$$$$$9.99 PRINT $FINAL_BILL_AMT (,39,) BOLD edit $$$$$$9.99 PRINT $ORIG_OPRID (,55,) BOLD PRINT $REBILLED_BY (,72,) BOLD PRINT $CANCEL_REASON (,87,) BOLD PRINT $TOTAL_DOLLAR_DIFF (,101,) BOLD edit $$$$$$9.99 PRINT $ORIG_PER_DAY (,113,) BOLD edit $$$$$$9.99 PRINT $FINAL_PER_DAY (,128,) BOLD edit $$$$$$9.99 PRINT $FINAL-ORIG (,144,) BOLD edit $$$$$$9.99 PRINT $DIVISION (,160,) BOLD !******************************** End-Procedure !Get_PRINT_OUTPUT_DETAIL !Programed !******************************** Begin-Procedure Get_PRINT_OUTPUT_SUMMARY !******************************** SHOW 'IN Get_PRINT_OUTPUT_SUMMARY PROCEDURE' alter-printer point-size=9 font=4 ! Change font PRINT $ACCT_ID (+1,5,) BOLD PRINT $ORIG_AMT (,19,) BOLD edit $$$$$$9.99 PRINT $FINAL_BILL_AMT (,35,) BOLD edit $$$$$$9.99 PRINT $REBILLED_BY (,51,) BOLD PRINT $TOTAL_DOLLAR_DIFF (,66,) BOLD edit $$$$$$9.99 PRINT $ORIG_PER_DAY (,82,) BOLD edit $$$$$$9.99 PRINT $FINAL_PER_DAY (,96,) BOLD edit $$$$$$9.99 PRINT $FINAL-ORIG (,113,) BOLD edit $$$$$$9.99 PRINT $DIVISION (,129,) BOLD PRINT $BREAK_LEVEL_A (,142,) BOLD On-Break Print=Change/Top-Page !******************************** End-Procedure !Get_PRINT_OUTPUT_SUMMARY !Programed !******************************** Any help would be appreciated. I would also like to print the count of each "Group" at the top of each "New" Page for that group. I have a count procedure but just have no idea what the necessary logic would be to execute the printing of these values in the proper place. -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Apr 11 20:36:41 2007 Date: Thu, 12 Apr 2007 01:33:58 +0100 (BST) From: ashwin reddy Subject: Re: [sqr-users] Page Breaks if you want to print on a new page use --> simply use "new-page" in the sqr for example begin-procedure xxx ..... ...... ... new-page ... ... end-procedure you can also use the on break logic to print on a new-page begin-select business_unit on-break PRINT=CHANGE/TOP-PAGE BEFORE=PROCESS-NEW-PAGE from ps_xxx end-select begin-procedure PROCESS-NEW-PAGE new-page end-procedure every time the new-page function is called the lines that are printed after it ar shifted to a new page hope this helps Mahesh Ravula Marc Kane wrote: I am finishing up report where I am conducitng a CASE translsation to "group" the records in the report into 4 categories. I would like to have Page Breaks after each change of the value in the Group Variable. I have included the main procedure and the correlating print procedures: Begin-Procedure Get_MAIN_PROCEDURE !(Comment for Main Procedure) !**************************************** LET $ACCT_ID = ' ' LET $SA_ID = ' ' LET $BSEG_ID = ' ' LET $CRE_DTTM = ' ' LET $STAT_CHG_DTTM = ' ' LET $START_DATE = ' ' LET $END_DATE = ' ' LET $ORIG_DAYS = ' ' LET $REBILL_DAYS = ' ' LET $OVERRIDE = ' ' LET $ORIG_SQ = ' ' LET $BILLED_SQ = ' ' LET $ORIG_AMT = ' ' LET $FINAL_BILL_AMT = ' ' LET $ORIG_OPRID = ' ' LET $REBILLED_BY = ' ' LET $CANCEL_REASON = ' ' LET $TOTAL_DOLLAR_DIFF = ' ' LET $ORIG_PER_DAY = ' ' LET $FINAL_PER_DAY = ' ' LET $FINAL-ORIG = ' ' LET $DIVISION = ' ' LET $ROLENAME = ' ' LET $BREAK_LEVEL_A = ' ' SHOW 'IN Get_MAIN_PROCEDURE' Begin-SELECT F.ACCT_ID &ACCT_ID A.SA_ID &SA_ID A.BSEG_ID &BSEG_ID TO_DATE(A.CRE_DTTM) AS CREATE_DT &CRE_DTTM TO_DATE(A.STAT_CHG_DTTM) AS CHANGE_DT &STAT_CHG_DTTM TO_CHAR(A.START_DT,'YYYY-MM-DD') AS START_DT &START_DT TO_CHAR(A.END_DT,'YYYY-MM-DD') AS END_DT &END_DT (A.END_DT - A.START_DT) + 1 AS ORIG_DAYS &ORIG_DAYS (B.END_DT - B.START_DT) + 1 AS REBILL_DAYS &REBILL_DAYS B.SQ_OVERRIDE_SW AS SQ_OVERRIDE &OVERRIDE C.BILL_SQ AS ORIG_SQ &ORIG_SQ H.BILL_SQ AS BILLED_SQ &BILLED_SQ D.CUR_AMT AS ORIG_AMT &ORIG_AMT E.CUR_AMT AS NEW_BILL_AMT &FINAL_BILL_AMT D.FREEZE_OPRID AS ORIG_OPRID &ORIG_OPRID E.FREEZE_OPRID AS REBILLED_BY &REBILLED_BY G.DESCRSHORT AS CANCEL_REASON &CANCEL_REASON ROUND((E.CUR_AMT - D.CUR_AMT),2) AS TOTAL_$_DIFF &TOTAL_DOLLAR_DIFF ROUND((C.BILL_SQ / ((A.END_DT - A.START_DT) + 1)), 2) AS ORIG_PER_DAY &ORIG_PER_DAY ROUND((E.CUR_AMT / ((B.END_DT - B.START_DT) + 1)), 2) AS FINAL_PER_DAY &FINAL_PER_DAY (CASE WHEN P.ROLENAME LIKE 'BILL%' THEN 'BILLING' WHEN P.ROLENAME LIKE 'Bill%' THEN 'BILLING' WHEN P.ROLENAME LIKE 'CS%' THEN 'CS' WHEN P.ROLENAME LIKE '%BILL%' AND P.ROLENAME LIKE '%CS%'THEN 'PILOT' WHEN P.ROLENAME LIKE '%Bill%' AND P.ROLENAME LIKE '%CS%'THEN 'PILOT' ELSE 'OTHER' END) AS DIVISION &DIVISION P.ROLENAME &ROLENAME (CASE WHEN ROUND((E.CUR_AMT - D.CUR_AMT),2) <= 100 THEN '$100 Or Less' WHEN ROUND((E.CUR_AMT - D.CUR_AMT),2) > 100 AND ROUND((E.CUR_AMT - D.CUR_AMT),2) <=1000 THEN 'More Than $100' WHEN ROUND((E.CUR_AMT - D.CUR_AMT),2) > 1000 AND ROUND((E.CUR_AMT - D.CUR_AMT),2) <=5000 THEN 'More Than $1000' WHEN ROUND((E.CUR_AMT - D.CUR_AMT),2) > 5000 THEN 'More Than $5000' ELSE 'OTHER' END) AS TOTAL_$_DIFF &BREAK_LEVEL_A LET $ACCT_ID = LPAD(&ACCT_ID, 10, '0') LET $SA_ID = LPAD(&SA_ID, 10, '0') LET $BSEG_ID = LPAD(&BSEG_ID, 12, '0') LET $CRE_DTTM = &CRE_DTTM LET $STAT_CHG_DTTM = &STAT_CHG_DTTM LET $START_DATE = &START_DT LET $END_DATE = &END_DT LET $ORIG_DAYS = &ORIG_DAYS LET $REBILL_DAYS = &REBILL_DAYS LET $OVERRIDE = &OVERRIDE LET $ORIG_SQ = &ORIG_SQ LET $BILLED_SQ = &BILLED_SQ LET $ORIG_AMT = &ORIG_AMT LET $FINAL_BILL_AMT = &FINAL_BILL_AMT LET $ORIG_OPRID = &ORIG_OPRID LET $REBILLED_BY = &REBILLED_BY LET $CANCEL_REASON = &CANCEL_REASON LET $TOTAL_DOLLAR_DIFF = &TOTAL_DOLLAR_DIFF LET $ORIG_PER_DAY = &ORIG_PER_DAY LET $FINAL_PER_DAY = &FINAL_PER_DAY LET $FINAL-ORIG = &FINAL_PER_DAY - &ORIG_PER_DAY LET $DIVISION = &DIVISION LET $ROLENAME = &ROLENAME LET $BREAK_LEVEL_A = &BREAK_LEVEL_A SHOW 'ACCT ID: ' $ACCT_ID IF $report_type = 'D' DO Get_PRINT_OUTPUT_DETAIL !Programed END-IF IF $report_type = 'S' DO Get_PRINT_OUTPUT_SUMMARY !Programed END-IF FROM PS_CI_BSEG A, PS_CI_BILL_CAN_RSN G, PS_CI_BSEG B, PS_CI_BSEG_SQ C, PS_CI_BILL F, PS_CI_BSEG_SQ H, PS_CI_FT D, PS_CI_FT E, PSROLEUSER P WHERE TO_CHAR(TRUNC(A.STAT_CHG_DTTM), 'YYYY-MM-DD') BETWEEN TO_CHAR(TO_DATE(TO_DATE($start_dt,'DD-MON-YY')), 'YYYY-MM-DD') AND TO_CHAR(TO_DATE(TO_DATE($end_dt,'DD-MON-YY')), 'YYYY-MM-DD') AND A.CAN_RSN_CD = G.CAN_RSN_CD AND A.BSEG_ID = H.BSEG_ID AND H.UOM_CD = 'TGAL' AND A.BILL_ID = F.BILL_ID AND A.REBILL_SEG_ID = B.BSEG_ID AND B.BSEG_ID = C.BSEG_ID AND C.UOM_CD = 'TGAL' AND A.BSEG_ID = D.SIBLING_ID AND D.FT_TYPE_FLG = 'BS' AND B.BSEG_ID = E.SIBLING_ID AND D.FREEZE_OPRID = P.ROLEUSER AND (P.ROLENAME LIKE 'BILL%' OR P.ROLENAME LIKE 'bill%' OR P.ROLENAME LIKE 'CS%') ORDER BY 18 ASC, 1 ASC, 2 ASC, 6 ASC End-SELECT !***************************** End-Procedure !Get_Procedure_Main !***************************** Begin-Procedure Get_PRINT_OUTPUT_DETAIL !******************************** SHOW 'IN Get_PRINT_OUTPUT_DETAIL PROCEDURE' alter-printer point-size=9 font=4 ! Change font PRINT $ACCT_ID (+2,5,) BOLD PRINT $SA_ID (,18,) BOLD PRINT $BSEG_ID (,32,) BOLD PRINT $CRE_DTTM (,48,) BOLD PRINT $STAT_CHG_DTTM (,63,) BOLD PRINT $START_DATE (,78,) BOLD PRINT $END_DATE (,92,) BOLD PRINT $ORIG_DAYS (,106,) BOLD edit 9999 PRINT $REBILL_DAYS (,120,) BOLD edit 9999 PRINT $OVERRIDE (,141,) BOLD PRINT $ORIG_SQ (,151,) BOLD edit 999999 PRINT $BILLED_SQ (+2,10,)BOLD edit 999999 PRINT $ORIG_AMT (,25,) BOLD edit $$$$$$9.99 PRINT $FINAL_BILL_AMT (,39,) BOLD edit $$$$$$9.99 PRINT $ORIG_OPRID (,55,) BOLD PRINT $REBILLED_BY (,72,) BOLD PRINT $CANCEL_REASON (,87,) BOLD PRINT $TOTAL_DOLLAR_DIFF (,101,) BOLD edit $$$$$$9.99 PRINT $ORIG_PER_DAY (,113,) BOLD edit $$$$$$9.99 PRINT $FINAL_PER_DAY (,128,) BOLD edit $$$$$$9.99 PRINT $FINAL-ORIG (,144,) BOLD edit $$$$$$9.99 PRINT $DIVISION (,160,) BOLD !******************************** End-Procedure !Get_PRINT_OUTPUT_DETAIL !Programed !******************************** Begin-Procedure Get_PRINT_OUTPUT_SUMMARY !******************************** SHOW 'IN Get_PRINT_OUTPUT_SUMMARY PROCEDURE' alter-printer point-size=9 font=4 ! Change font PRINT $ACCT_ID (+1,5,) BOLD PRINT $ORIG_AMT (,19,) BOLD edit $$$$$$9.99 PRINT $FINAL_BILL_AMT (,35,) BOLD edit $$$$$$9.99 PRINT $REBILLED_BY (,51,) BOLD PRINT $TOTAL_DOLLAR_DIFF (,66,) BOLD edit $$$$$$9.99 PRINT $ORIG_PER_DAY (,82,) BOLD edit $$$$$$9.99 PRINT $FINAL_PER_DAY (,96,) BOLD edit $$$$$$9.99 PRINT $FINAL-ORIG (,113,) BOLD edit $$$$$$9.99 PRINT $DIVISION (,129,) BOLD PRINT $BREAK_LEVEL_A (,142,) BOLD On-Break Print=Change/Top-Page !******************************** End-Procedure !Get_PRINT_OUTPUT_SUMMARY !Programed !******************************** Any help would be appreciated. I would also like to print the count of each "Group" at the top of each "New" Page for that group. I have a count procedure but just have no idea what the necessary logic would be to execute the printing of these values in the proper place. -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your freeaccount today. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 12 15:54:23 2007 Date: Thu, 12 Apr 2007 19:51:47 +0000 (GMT) From: ashwin reddy Subject: [sqr-users] creating a .XLS Excel file I have created a lot of csv files. But i always wanted to create a .xls file so that all the leading zeros would be visibile. Has anyone written a sqr that can generate a excel file output using SQR's. I even know that the leading zeros in csv can be visible if we use ="number" ....i just want to know if there is a way a .xls report file can be generated using sqr's Thanks, Ashwin ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 12 16:47:30 2007 Date: Thu, 12 Apr 2007 13:44:42 -0700 (PDT) From: Arun Kumar Subject: Re: [sqr-users] creating a .XLS Excel file You can try creating 'sylk' format files excel will open them. Search the home page for 'sylk' and slk .. You will get lots of hits.. ----- Original Message ---- From: ashwin reddy To: sqr-users@sqrug.org Sent: Thursday, April 12, 2007 3:51:47 PM Subject: [sqr-users] creating a .XLS Excel file I have created a lot of csv files. But i always wanted to create a .xls file so that all the leading zeros would be visibile. Has anyone written a sqr that can generate a excel file output using SQR's. I even know that the leading zeros in csv can be visible if we use ="number" ....i just want to know if there is a way a .xls report file can be generated using sqr's Thanks, Ashwin ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ____________________________________________________________________________________ TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV. http://tv.yahoo.com/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 12 16:50:52 2007 Subject: RE: [sqr-users] creating a .XLS Excel file Date: Thu, 12 Apr 2007 15:45:21 -0500 From: "Knapp, Richard" Try this: http://netghost.narod.ru/gff/graphics/summary/micsylk.htm Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 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 ashwin reddy Sent: Thursday, April 12, 2007 2:52 PM To: sqr-users@sqrug.org Subject: [sqr-users] creating a .XLS Excel file I have created a lot of csv files. But i always wanted to create a .xls file so that all the leading zeros would be visibile. Has anyone written a sqr that can generate a excel file output using SQR's. I even know that the leading zeros in csv can be visible if we use =3D"number" ....i just want to know if there is a way a .xls report file can be generated using sqr's Thanks, Ashwin ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/=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 Apr 13 03:08:08 2007 Subject: RE: [sqr-users] creating a .XLS Excel file Date: Fri, 13 Apr 2007 08:04:00 +0100 From: "Simpson, Don I \(UK\)" Ashwin, I've done a fair bit of this, using Symbolic Link (SYLK) Some hints: 1 The avaiable documentation of SYLK is scant and not in any great depth. 2 There are some Excel features, mainly sophisticated ones like cell borders, lines, worksheets, etc., that it seems not to be able to represent. It can do colours. 3 The SYLK format is complicated. I've found the best way to grab it for the end-user purpose is to create a simple spreadsheet of what you want your end-user output to look like, save it as SYLK, look at the SYLK in a text editor, and try to interpret what you are seeing (not always easy). 4 The format requires three basic "types" of output; what I will call pre-amble, then column headers, then cell data. If you build your example spreadsheet bit by bit, you can see what these look like., i.e. first of all, save an empty spreadsheet as SYLK, that will give you the preamble, then add your column headers, etc.. 5 You can manipulate fonts a bit, but, again, it's not crystal clear how it works. 6 If you get SYLK interpretration errors from Excel when you attempt to open your output, it can be very difficult to work out where they actually are, as the line numbers that Excel gives seem to bear no relationship whatsoever to the number of "lines" in your SYLK. The problem is is knowing what SYKL thinks is a "line" (it isn't the number of text lines in the file, for starters!!!) Hope this helps. If I can help any more, just post your request through the forum. Regards, Don Simpson =20 Sent by BAE Systems plc or a member of the BAE Systems group of companies BAE Systems plc A company registered in England and Wales Company Number 1470151 Registered Office: 6 Carlton Gardens, London SW1Y 5AD, United Kingdom -----Original Message----- From: sqr-users-bounces+don.i.simpson=3Dbaesystems.com@sqrug.org [mailto:sqr-users-bounces+don.i.simpson=3Dbaesystems.com@sqrug.org] On Behalf Of Arun Kumar Sent: 12 April 2007 21:45 To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] creating a .XLS Excel file *** WARNING *** This mail has originated outside your organization, either from an external partner or the Global Internet.=20 Keep this in mind if you answer this message.=20 You can try creating 'sylk' format files excel will open them. Search the home page for 'sylk' and slk .. You will get lots of hits.. ----- Original Message ---- From: ashwin reddy To: sqr-users@sqrug.org Sent: Thursday, April 12, 2007 3:51:47 PM Subject: [sqr-users] creating a .XLS Excel file I have created a lot of csv files. But i always wanted to create a .xls file so that all the leading zeros would be visibile. Has anyone written a sqr that can generate a excel file output using SQR's. I even know that the leading zeros in csv can be visible if we use =3D"number" ....i just want to know if there is a way a .xls report file can be generated using sqr's Thanks, Ashwin ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20=20=20=20=20=20=20 ________________________________________________________________________ ____________ TV dinner still cooling?=20 Check out "Tonight's Picks" on Yahoo! TV. http://tv.yahoo.com/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 12 16:30:29 2007 Date: Thu, 12 Apr 2007 16:27:45 -0400 From: "Vaidyanathan, Ramakrishnan \(GE, Corporate, consultant\)" Subject: [sqr-users] Kicking of Sqr procedures.. Hi All, I have 2 procedures in a sqr. I want to kick both of the procedures parall= ely at the same time. For eg. I have A and B as 2 procedures. I want to kic= k off A and B procedures parallely.Once I kick off procedure A, it shouldn'= t wait for its completion. I should be able to kick off B simultaneously. I= s it possible to achieve this? Thanks Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 12 16:54:28 2007 Subject: RE: [sqr-users] Kicking of Sqr procedures.. Date: Thu, 12 Apr 2007 13:50:28 -0700 From: "Lynds,Rick" Ram, The only way that I see to do that is to create the procedures in separate SQRs and issue system commands to invoke them as separate processes. I don't know of any way to create separate threads of execution in SQR. Rick=20 -----Original Message----- From: sqr-users-bounces+rlynds=3Dmwdh2o.com@sqrug.org [mailto:sqr-users-bounces+rlynds=3Dmwdh2o.com@sqrug.org] On Behalf Of Vaidyanathan, Ramakrishnan (GE, Corporate,consultant) Sent: Thursday, April 12, 2007 1:28 PM To: sqr-users@sqrug.org Subject: [sqr-users] Kicking of Sqr procedures.. Hi All, I have 2 procedures in a sqr. I want to kick both of the procedures parallely at the same time. For eg. I have A and B as 2 procedures. I want to kick off A and B procedures parallely.Once I kick off procedure A, it shouldn't wait for its completion. I should be able to kick off B simultaneously. Is it possible to achieve this? Thanks Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 12 16:59:59 2007 From: "the dragon" Subject: RE: [sqr-users] Kicking of Sqr procedures.. Date: Thu, 12 Apr 2007 15:57:21 -0500 correct only one procedure can execute in an sqr at a time. 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 ----Original Message Follows---- Ram, The only way that I see to do that is to create the procedures in separate SQRs and issue system commands to invoke them as separate processes. I don't know of any way to create separate threads of execution in SQR. Rick -----Original Message----- Hi All, I have 2 procedures in a sqr. I want to kick both of the procedures parallely at the same time. For eg. I have A and B as 2 procedures. I want to kick off A and B procedures parallely.Once I kick off procedure A, it shouldn't wait for its completion. I should be able to kick off B simultaneously. Is it possible to achieve this? Thanks Ram _________________________________________________________________ Interest Rates Fall Again! $430,000 Mortgage for $1,399/mo - Calculate new payment http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-18679&moid=7581 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 12 17:04:37 2007 Date: Thu, 12 Apr 2007 14:02:00 -0700 (PDT) From: Arun Kumar Subject: Re: [sqr-users] Kicking of Sqr procedures.. No. Could you explain why you want to do this? Just curious on the design. ----- Original Message ---- From: "Vaidyanathan, Ramakrishnan (GE, Corporate, consultant)" To: sqr-users@sqrug.org Sent: Thursday, April 12, 2007 4:27:45 PM Subject: [sqr-users] Kicking of Sqr procedures.. Hi All, I have 2 procedures in a sqr. I want to kick both of the procedures parallely at the same time. For eg. I have A and B as 2 procedures. I want to kick off A and B procedures parallely.Once I kick off procedure A, it shouldn't wait for its completion. I should be able to kick off B simultaneously. Is it possible to achieve this? Thanks Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ____________________________________________________________________________________ Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 12 17:20:03 2007 Subject: RE: [sqr-users] Kicking of Sqr procedures.. Date: Thu, 12 Apr 2007 17:17:11 -0400 From: "Vaidyanathan, Ramakrishnan \(GE, Corporate, consultant\)" There is no specific reason for this..Jus wanted to know if its possible or= not. -----Original Message----- From: sqr-users-bounces+ramakrishnan.vaidyanathan=3Dge.com@sqrug.org [mailto:sqr-users-bounces+ramakrishnan.vaidyanathan=3Dge.com@sqrug.org]On Behalf Of Arun Kumar Sent: Thursday, April 12, 2007 5:02 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] Kicking of Sqr procedures.. No. Could you explain why you want to do this? Just curious on the design. ----- Original Message ---- From: "Vaidyanathan, Ramakrishnan (GE, Corporate, consultant)" To: sqr-users@sqrug.org Sent: Thursday, April 12, 2007 4:27:45 PM Subject: [sqr-users] Kicking of Sqr procedures.. Hi All, I have 2 procedures in a sqr. I want to kick both of the procedures par= allely at the same time. For eg. I have A and B as 2 procedures. I want to = kick off A and B procedures parallely.Once I kick off procedure A, it shoul= dn't wait for its completion. I should be able to kick off B simultaneously= . Is it possible to achieve this? Thanks Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20=20=20=20=20=20=20 ___________________________________________________________________________= _________ Looking for earth-friendly autos?=20 Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 12 17:29:01 2007 Subject: RE: [sqr-users] Kicking of Sqr procedures.. Date: Thu, 12 Apr 2007 16:26:44 -0500 From: "Knapp, Richard" SQR is a 'procedural' language. Usually this means one step at a time. As someone has already mentioned you can spawn both processes without waits. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 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 Vaidyanathan, Ramakrishnan (GE, Corporate,consultant) Sent: Thursday, April 12, 2007 4:17 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Kicking of Sqr procedures.. There is no specific reason for this..Jus wanted to know if its possible or not. -----Original Message----- From: sqr-users-bounces+ramakrishnan.vaidyanathan=3Dge.com@sqrug.org [mailto:sqr-users-bounces+ramakrishnan.vaidyanathan=3Dge.com@sqrug.org]On Behalf Of Arun Kumar Sent: Thursday, April 12, 2007 5:02 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] Kicking of Sqr procedures.. No. Could you explain why you want to do this? Just curious on the design. ----- Original Message ---- From: "Vaidyanathan, Ramakrishnan (GE, Corporate, consultant)" To: sqr-users@sqrug.org Sent: Thursday, April 12, 2007 4:27:45 PM Subject: [sqr-users] Kicking of Sqr procedures.. Hi All, I have 2 procedures in a sqr. I want to kick both of the procedures parallely at the same time. For eg. I have A and B as 2 procedures. I want to kick off A and B procedures parallely.Once I kick off procedure A, it shouldn't wait for its completion. I should be able to kick off B simultaneously. Is it possible to achieve this? Thanks Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20=20=20=20=20=20=20 ________________________________________________________________________ ____________ Looking for earth-friendly autos?=20 Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 12 18:06:55 2007 Subject: RE: [sqr-users] Kicking of Sqr procedures.. Date: Thu, 12 Apr 2007 17:04:00 -0500 From: "Bob Stone" If you're looking to do something parallel you can set it up pretty easily in SQR - it's just multiple instances of the same SQR as everyone else says. But you would break down your sections of program into their own SQR to do that parallel section. One thing we've done before to get things to process in parallel is run a sort of 'preprogram' to set up a run control, and then kick off multiple of the 'parallel-program' for each of the run controls the preprogram set up for. In our case it's batch processing, so we know the entire list of what needs to be processed. Lets say that I need a program to do a bunch of things by business unit in program X, and I have 450 business units to run for. In the program I would be looping 1 by 1 through BU, maybe taking 1 minute per BU. To use parallel processing to increase throughput, I would add 'business unit' to a scroll at the run control, such that a 'run for all' would have 450 rows in a child table to psprcsruncntl. My preprogram would run, and knowing I want to create 5 parallel processes it could populate the first run control with the first 100 BUs in the scroll (insert directly to that child table), the second run control with the second 100 BUs, ...etc....leaving 50 BUs for the final run control. We have an outside program that would actually kick off those 5 parallel processes at the same time - but you could even have the SQR loop on the 'call system using' with an SQR command to run program X by each newly created run control.=20=20 The key is to ensure that the data your program touches in the tables is somehow distinct and not-overlapping. Otherwise a table in the first instance will lock out the other 4 instances until it commits, and you may as well have run it one at a time. If your section can't run parallel with other sections, then it wouldn't make sense to split it up. bob -----Original Message----- From: sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org [mailto:sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org] On Behalf Of Knapp, Richard Sent: Thursday, April 12, 2007 4:27 PM To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Subject: RE: [sqr-users] Kicking of Sqr procedures.. SQR is a 'procedural' language. Usually this means one step at a time. As someone has already mentioned you can spawn both processes without waits. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 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 Vaidyanathan, Ramakrishnan (GE, Corporate,consultant) Sent: Thursday, April 12, 2007 4:17 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Kicking of Sqr procedures.. There is no specific reason for this..Jus wanted to know if its possible or not. -----Original Message----- From: sqr-users-bounces+ramakrishnan.vaidyanathan=3Dge.com@sqrug.org [mailto:sqr-users-bounces+ramakrishnan.vaidyanathan=3Dge.com@sqrug.org]On Behalf Of Arun Kumar Sent: Thursday, April 12, 2007 5:02 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] Kicking of Sqr procedures.. No. Could you explain why you want to do this? Just curious on the design. ----- Original Message ---- From: "Vaidyanathan, Ramakrishnan (GE, Corporate, consultant)" To: sqr-users@sqrug.org Sent: Thursday, April 12, 2007 4:27:45 PM Subject: [sqr-users] Kicking of Sqr procedures.. Hi All, I have 2 procedures in a sqr. I want to kick both of the procedures parallely at the same time. For eg. I have A and B as 2 procedures. I want to kick off A and B procedures parallely.Once I kick off procedure A, it shouldn't wait for its completion. I should be able to kick off B simultaneously. Is it possible to achieve this? Thanks Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20=20=20=20=20=20=20 ________________________________________________________________________ ____________ Looking for earth-friendly autos?=20 Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 13 15:18:15 2007 Date: Fri, 13 Apr 2007 15:15:47 -0400 From: "Anurag Tiwari" Subject: [sqr-users] Re: Pay003 spacing between lines. Hi , I want to Dynamically resize the line-height at certain stages of the Report. can anyone help me with this.Its very urgent. -- Thanks and Regards Anurag Tiwari _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Apr 13 15:21:44 2007 Date: Fri, 13 Apr 2007 15:17:05 -0400 From: "Anurag Tiwari" Subject: [sqr-users] Dynamically resize the line-height at certain stages of the Report. Hi , I want to Dynamically resize the line-height at certain stages of the Report. can anyone help me with this.Its very urgent. -- Thanks and Regards Anurag Tiwari _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Apr 13 21:10:00 2007 From: "Steve Cavill" Subject: RE: [sqr-users] Dynamically resize the line-height at certain stages ofthe Report. Date: Sat, 14 Apr 2007 11:04:52 +1000 You can't change the line-height, that is fixed for the program duration. But that only sets the relative positions of the "lines". You can change the height of individual print strings, either with the alter-printer command, which changes the character size for all characters, or the font= and point-size= options of individual print commands. 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 Anurag Tiwari Sent: Saturday, 14 April 2007 5:17 AM To: sqr-users@sqrug.org Subject: [sqr-users] Dynamically resize the line-height at certain stages ofthe Report. Hi , I want to Dynamically resize the line-height at certain stages of the Report. can anyone help me with this.Its very urgent. -- Thanks and Regards Anurag Tiwari _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 13 16:27:08 2007 From: Kaz.Narayanan@averydennison.com Date: Fri, 13 Apr 2007 13:23:47 -0700 Subject: [sqr-users] ODBC SQL dbftch error Hello, I am doing a select in an SQR where we use SQL server. My codes is as follows: BEGIN-SELECT A.PRODUCT A.ACCOUNT A.DEPTID SUM(A.POSTED_TOTAL_AMT) &MAIN_POSTED_TOTAL_AMT FROM PS_LEDGER A, PS_BUS_UNIT_TBL_GL A1 WHERE A.LEDGER IN ('ACTUALS','MGMT_ADJMT') [$AND-CLAUSE] AND A.FISCAL_YEAR = $IN_YEAR AND A.ACCOUNTING_PERIOD [$WHERE_PERIOD] AND A.PRODUCT <> ' ' AND A.ACCOUNT <> ' ' AND A.BUSINESS_UNIT = A1.BUSINESS_UNIT AND ((A.CURRENCY_CD = ' ' AND A.ACCOUNT LIKE '0%') OR (A.CURRENCY_CD = A1.BASE_CURRENCY)) GROUP BY A.PRODUCT,A.ACCOUNT,A.DEPTID ORDER BY A.PRODUCT,A.ACCOUNT,A.DEPTID END-SELECT I get the following error when I try to execute.... SQR 5528) ODBC SQL dbftch error 3926 in cursor 30: [Microsoft][SQL Native Client][SQL Server]The transaction active in this session has been committed or aborted by another session. (SQR 5528) ODBC SQL dbftch error 3971 in cursor 30: [Microsoft][SQL Native Client][SQL Server]Server failed to resume the transaction, desc: 7a00000004. Error on line 394: (SQR 3725) Bad return fetching row from database. I execute the same SQL in Microsoft SQL server studio, It works fine.... Can Someone help me? Regards K.M.Narayanan - ----------------------------------------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Apr 17 10:57:28 2007 Date: Tue, 17 Apr 2007 09:53:11 -0500 From: "Leonard, Kyle" Subject: [sqr-users] SQR locking table Using SQR 8.5 against a MS SQL Server 2000 database. =20 We have an SQR utility which uses a table to identify and run reports. The SQR calls a stored procedure which updates or inserts into a table to kick off other processes to run. Recently we have noticed that the table is locked until the SQR finishes processing keeping the other processes from running.=20=20 =20 We've added Commits to both the SQR and the stored procedure without any effect. Searching the archive has not lead to a solution. =20 Can anyone shed some light on what else might be occurring and how we might be able to remove the lock immediately after the update/insert? =20 Thanks =20 _________________________________________=20 Kyle J. Leonard Sr. Programmer Analyst Financial Services Texas Health Resources =20 =20 The information contained in this message and any attachments is intended o= nly for the use of the individual or entity to which it is addressed, and m= ay contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from di= sclosure under applicable law. If you are not the intended recipient, you = are prohibited from copying, distributing, or using the information. Pleas= e contact the sender immediately by return e-mail and delete the original m= essage from your system. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Apr 17 13:06:39 2007 Date: Tue, 17 Apr 2007 18:03:39 +0100 (BST) From: ashwin reddy Subject: Re: [sqr-users] SQR locking table try putting a nolock in your sql and i hope it will work for u ..... SELECT * FROM tablename WITH (NOLOCK) "Leonard, Kyle" wrote: Using SQR 8.5 against a MS SQL Server 2000 database. We have an SQR utility which uses a table to identify and run reports. The SQR calls a stored procedure which updates or inserts into a table to kick off other processes to run. Recently we have noticed that the table is locked until the SQR finishes processing keeping the other processes from running. We've added Commits to both the SQR and the stored procedure without any effect. Searching the archive has not lead to a solution. Can anyone shed some light on what else might be occurring and how we might be able to remove the lock immediately after the update/insert? Thanks _________________________________________ Kyle J. Leonard Sr. Programmer Analyst Financial Services Texas Health Resources The information contained in this message and any attachments is intended only for the use of the individual or entity to which it is addressed, and may contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law. If you are not the intended recipient, you are prohibited from copying, distributing, or using the information. Please contact the sender immediately by return e-mail and delete the original message from your system. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your freeaccount today. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Apr 17 13:18:34 2007 Subject: RE: [sqr-users] SQR locking table Date: Tue, 17 Apr 2007 12:15:24 -0500 From: "Leonard, Kyle" Thanks for the reply. The nolock would work for the individual SQR but there are two problems: 1. Nolock introduces the possiblity of selecting bad data 2. The real problem is that this SQR is running and locking other processes (BQYs, Java Apps) from selecting or updating the table. How do we get the SQR to update and release the lock while the SQR continues to perform its other processing? Thanks =20 -----Original Message----- From: sqr-users-bounces+kyleleonard=3Dtexashealth.org@sqrug.org [mailto:sqr-users-bounces+kyleleonard=3Dtexashealth.org@sqrug.org] On Behalf Of ashwin reddy Sent: Tuesday, April 17, 2007 12:04 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] SQR locking table try putting a nolock in your sql and i hope it will work for u ..... =20=20=20 SELECT * FROM tablename WITH (NOLOCK) =20=20 "Leonard, Kyle" wrote: Using SQR 8.5 against a MS SQL Server 2000 database. We have an SQR utility which uses a table to identify and run reports. The SQR calls a stored procedure which updates or inserts into a table to kick off other processes to run. Recently we have noticed that the table is locked until the SQR finishes processing keeping the other processes from running.=20 We've added Commits to both the SQR and the stored procedure without any effect. Searching the archive has not lead to a solution. Can anyone shed some light on what else might be occurring and how we might be able to remove the lock immediately after the update/insert? Thanks _________________________________________=20 Kyle J. Leonard Sr. Programmer Analyst Financial Services Texas Health Resources The information contained in this message and any attachments is intended only for the use of the individual or entity to which it is addressed, and may contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law. If you are not the intended recipient, you are prohibited from copying, distributing, or using the information. Please contact the sender immediately by return e-mail and delete the original message from your system. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20=20=20=20=20=20=20 --------------------------------- Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your freeaccount today. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users The information contained in this message and any attachments is intended o= nly for the use of the individual or entity to which it is addressed, and m= ay contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from di= sclosure under applicable law. If you are not the intended recipient, you = are prohibited from copying, distributing, or using the information. Pleas= e contact the sender immediately by return e-mail and delete the original m= essage from your system. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Apr 17 14:04:46 2007 From: "Dwight Schrute" Subject: RE: [sqr-users] SQR locking table Date: Tue, 17 Apr 2007 12:59:56 -0500 You can try using the -LOCK flag. The default setting is Read Repeatability (RR) which is exclusive. You can use the Cursor Stability (CS) which locks that row until the cursor "moves" from that row or Read Only (RO) which eliminates any deadlocks. The forth option is Release Lock (RL) which locks data only long enough to read. BEGIN-SELECT -LOCKCS END-SELECT I remember reading this somewhere in the past but I don't know if it is available in SQR with SQL Server. >From: "Leonard, Kyle" >Reply-To: "This list is for discussion about the SQR database >reportinglanguage from Hyperion Solutions." >To: "This list is for discussion about the SQR database reportinglanguage >fromHyperion Solutions." >Subject: RE: [sqr-users] SQR locking table >Date: Tue, 17 Apr 2007 12:15:24 -0500 > >Thanks for the reply. > >The nolock would work for the individual SQR but there are two problems: > 1. Nolock introduces the possiblity of selecting bad data > 2. The real problem is that this SQR is running and locking >other processes (BQYs, Java Apps) from selecting or updating the table. > >How do we get the SQR to update and release the lock while the SQR >continues to perform its other processing? > >Thanks > > >-----Original Message----- >From: sqr-users-bounces+kyleleonard=texashealth.org@sqrug.org >[mailto:sqr-users-bounces+kyleleonard=texashealth.org@sqrug.org] On >Behalf Of ashwin reddy >Sent: Tuesday, April 17, 2007 12:04 PM >To: This list is for discussion about the SQR database reporting >languagefrom Hyperion Solutions. >Subject: Re: [sqr-users] SQR locking table > >try putting a nolock in your sql and i hope it will work for u ..... > > SELECT * FROM tablename WITH (NOLOCK) > > >"Leonard, Kyle" wrote: > Using SQR 8.5 against a MS SQL Server 2000 database. > > > >We have an SQR utility which uses a table to identify and run reports. >The SQR calls a stored procedure which updates or inserts into a table >to kick off other processes to run. Recently we have noticed that the >table is locked until the SQR finishes processing keeping the other >processes from running. > > > >We've added Commits to both the SQR and the stored procedure without any >effect. Searching the archive has not lead to a solution. > > > >Can anyone shed some light on what else might be occurring and how we >might be able to remove the lock immediately after the update/insert? > > > >Thanks > > > >_________________________________________ > >Kyle J. Leonard > >Sr. Programmer Analyst > >Financial Services > >Texas Health Resources > > > > > > > >The information contained in this message and any attachments is >intended only for the use of the individual or entity to which it is >addressed, and may contain information that is PRIVILEGED, CONFIDENTIAL, >and exempt from disclosure under applicable law. If you are not the >intended recipient, you are prohibited from copying, distributing, or >using the information. Please contact the sender immediately by return >e-mail and delete the original message from your system. > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > > > >--------------------------------- > Yahoo! Mail is the world's favourite email. Don't settle for less, sign >up for your freeaccount today. > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > > > > >The information contained in this message and any attachments is intended >only for the use of the individual or entity to which it is addressed, and >may contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from >disclosure under applicable law. If you are not the intended recipient, >you are prohibited from copying, distributing, or using the information. >Please contact the sender immediately by return e-mail and delete the >original message from your system. > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Mortgage refinance is Hot. *Terms. Get a 5.375%* fix rate. Check savings https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2bbb&disc=y&vers=925&s=4056&p=5117 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Apr 17 14:26:05 2007 Subject: RE: [sqr-users] SQR locking table Date: Tue, 17 Apr 2007 13:23:11 -0500 From: "Leonard, Kyle" I don't think my posts were clear...it is not a select which locks the table, but a stored procedure which is called. The table which is updated or inserted into by the stored proc is being locked down. The stored proc takes less than a second to run, but the table it updates is locked until the SQR is finished (as much as ten minutes later). =20 -----Original Message----- From: sqr-users-bounces+kyleleonard=3Dtexashealth.org@sqrug.org [mailto:sqr-users-bounces+kyleleonard=3Dtexashealth.org@sqrug.org] On Behalf Of Dwight Schrute Sent: Tuesday, April 17, 2007 1:00 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] SQR locking table You can try using the -LOCK flag. The default setting is Read Repeatability=20 (RR) which is exclusive. You can use the Cursor Stability (CS) which locks=20 that row until the cursor "moves" from that row or Read Only (RO) which=20 eliminates any deadlocks. The forth option is Release Lock (RL) which locks=20 data only long enough to read. BEGIN-SELECT -LOCKCS END-SELECT I remember reading this somewhere in the past but I don't know if it is=20 available in SQR with SQL Server. >From: "Leonard, Kyle" >Reply-To: "This list is for discussion about the SQR database=20 >reportinglanguage from Hyperion Solutions." >To: "This list is for discussion about the SQR database reportinglanguage=20 >fromHyperion Solutions." >Subject: RE: [sqr-users] SQR locking table >Date: Tue, 17 Apr 2007 12:15:24 -0500 > >Thanks for the reply. > >The nolock would work for the individual SQR but there are two problems: > 1. Nolock introduces the possiblity of selecting bad data > 2. The real problem is that this SQR is running and locking >other processes (BQYs, Java Apps) from selecting or updating the table. > >How do we get the SQR to update and release the lock while the SQR >continues to perform its other processing? > >Thanks > > >-----Original Message----- >From: sqr-users-bounces+kyleleonard=3Dtexashealth.org@sqrug.org >[mailto:sqr-users-bounces+kyleleonard=3Dtexashealth.org@sqrug.org] On >Behalf Of ashwin reddy >Sent: Tuesday, April 17, 2007 12:04 PM >To: This list is for discussion about the SQR database reporting >languagefrom Hyperion Solutions. >Subject: Re: [sqr-users] SQR locking table > >try putting a nolock in your sql and i hope it will work for u ..... > > SELECT * FROM tablename WITH (NOLOCK) > > >"Leonard, Kyle" wrote: > Using SQR 8.5 against a MS SQL Server 2000 database. > > > >We have an SQR utility which uses a table to identify and run reports. >The SQR calls a stored procedure which updates or inserts into a table >to kick off other processes to run. Recently we have noticed that the >table is locked until the SQR finishes processing keeping the other >processes from running. > > > >We've added Commits to both the SQR and the stored procedure without any >effect. Searching the archive has not lead to a solution. > > > >Can anyone shed some light on what else might be occurring and how we >might be able to remove the lock immediately after the update/insert? > > > >Thanks > > > >_________________________________________ > >Kyle J. Leonard > >Sr. Programmer Analyst > >Financial Services > >Texas Health Resources > > > > > > > >The information contained in this message and any attachments is >intended only for the use of the individual or entity to which it is >addressed, and may contain information that is PRIVILEGED, CONFIDENTIAL, >and exempt from disclosure under applicable law. If you are not the >intended recipient, you are prohibited from copying, distributing, or >using the information. Please contact the sender immediately by return >e-mail and delete the original message from your system. > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > > > >--------------------------------- > Yahoo! Mail is the world's favourite email. Don't settle for less, sign >up for your freeaccount today. > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > > > > >The information contained in this message and any attachments is intended=20 >only for the use of the individual or entity to which it is addressed, and=20 >may contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from=20 >disclosure under applicable law. If you are not the intended recipient,=20 >you are prohibited from copying, distributing, or using the information.=20=20 >Please contact the sender immediately by return e-mail and delete the=20 >original message from your system. > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Mortgage refinance is Hot. *Terms. Get a 5.375%* fix rate. Check savings https://www2.nextag.com/goto.jsp?product=3D100000035&url=3D%2fst.jsp&tm=3Dy= &se arch=3Dmortgage_text_links_88_h2bbb&disc=3Dy&vers=3D925&s=3D4056&p=3D5117 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users The information contained in this message and any attachments is intended o= nly for the use of the individual or entity to which it is addressed, and m= ay contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from di= sclosure under applicable law. If you are not the intended recipient, you = are prohibited from copying, distributing, or using the information. Pleas= e contact the sender immediately by return e-mail and delete the original m= essage from your system. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Apr 17 15:03:50 2007 From: veena kolanu Date: Tue, 17 Apr 2007 19:01:11 +0000 Subject: [sqr-users] Query Help Hi, My name is Veena and I am new to peoplesoft HRMS Development. I need some h= elp with the query . I need to develop a Query to identify calculated pay checks that fall below= certain minimum net pay limit.=20 The minimum amount is to be calculatedas the hourly rate specified for the = state times number of hours Worked. =20 Please Help ASAP Thanks Veena _________________________________________________________________ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=3D7+wonders+world&mkt=3Den-US&form=3DQ= BRE _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Apr 17 16:48:46 2007 From: "Steve Cavill" Subject: RE: [sqr-users] Query Help Date: Wed, 18 Apr 2007 06:44:01 +1000 Sounds like hiring a consultant is the answer to your problem. Or maybe you could post your solution so far, and let us know specifically where you have a problem. 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 veena kolanu Sent: Wednesday, 18 April 2007 5:01 AM To: sqr-users@sqrug.org Subject: [sqr-users] Query Help Hi, My name is Veena and I am new to peoplesoft HRMS Development. I need some help with the query . I need to develop a Query to identify calculated pay checks that fall below certain minimum net pay limit. The minimum amount is to be calculatedas the hourly rate specified for the state times number of hours Worked. Please Help ASAP Thanks Veena _________________________________________________________________ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 17 17:11:50 2007 From: "Alexander, Steven" Subject: RE: [sqr-users] Query Help Date: Tue, 17 Apr 2007 14:08:59 -0700 Normally, the hourly rate times the number of hours worked is a rough definition of gross pay. Net pay will usually be less than that because taxes and deductions are subtracted from gross pay. What did you mean by "hourly rate specified for the state?" PS_PAY_EARNINGS has the SHIFT_RT, HOURLY_RT, FLSA_RT, OVERRIDE_HOURLY_RT, COMPRATE_USED_REG, and COMPRATE_USED_OT fields. (COMP refers to compensation) It also has the RATE_USED field to indicate (to some extent) which rate Peoplesoft used. It also has the REG_PAY_HRS, REG_HRS, OT_HRS, REG_EARN_HRS to hold the number of hours worked. PS_PAY_OTH_EARNS has the ERNCD, OTH_HRS, OTH_PAY, OTH_EARNS, RATE_USED, COMPRATE, and COMPRATE_USED fields. You should interview the Payroll manager and inspect some existing data in both tables to see how your organization uses those tables and fields. It may be too complex for a single SQL statement to be optimized. You mentioned "hours worked," so you'll want to eliminate the PS_PAY_OTH_EARNS with ERNCD for paid time off (vacation, sick, bereavement, jury duty, etc.) and for pay that is unrelated to hours (bonus, commission, expense reimbursement). PS_PAY_CHECK has PAYCHECK_STATUS. Do you want to exclude checks that have been reversed or are the reversing checks (with all negative dollar amounts)? You may wish to include only calculated and confirmed checks. -----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 veena kolanu Sent: Tuesday, April 17, 2007 12:01 PM To: sqr-users@sqrug.org Subject: [sqr-users] Query Help Hi, My name is Veena and I am new to peoplesoft HRMS Development. I need some help with the query . I need to develop a Query to identify calculated pay checks that fall below certain minimum net pay limit. The minimum amount is to be calculatedas the hourly rate specified for the state times number of hours Worked. Please Help ASAP Thanks Veena _________________________________________________________________ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 17 17:59:09 2007 Subject: Re: [sqr-users] Query Help Date: Tue, 17 Apr 2007 17:56:42 -0400 From: "Wes Williams" --===============0724435314== Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 TWFyaywNCkkgaGF2ZSB2ZXJ5IGJ1c3kgYW5kIG91dCBvZiB0aGUgb2ZmaWNl IGZvciB0cmFpbmluZyBhbmQgYnVzaW5lc3MuIA0KMw0KUmlnaHQgbm93LCBJ IHRoaW5rIHRoZ2UgY29uY2Vuc3VzIGhlcmUgaXMgdG8gZGVmZXIgdW50aWwg d2UgZ2V0IHRocm91Z2ggdGhlIE1heGltbyA2IHVwZ3JhZGUuDQoNClJlZ2Fy ZHMsDQpXZXMNCg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206 IHNxci11c2Vycy1ib3VuY2VzK3dlcz1wcmluY2V0b24uZWR1QHNxcnVnLm9y Zw0KVG86IHNxci11c2Vyc0BzcXJ1Zy5vcmcNClNlbnQ6IFR1ZSBBcHIgMTcg MTU6MDE6MTEgMjAwNw0KU3ViamVjdDogW3Nxci11c2Vyc10gUXVlcnkgSGVs cA0KDQpIaSwNCk15IG5hbWUgaXMgVmVlbmEgYW5kIEkgYW0gbmV3IHRvIHBl b3BsZXNvZnQgSFJNUyBEZXZlbG9wbWVudC4gSSBuZWVkIHNvbWUgaGVscCB3 aXRoIHRoZSBxdWVyeSAuDQpJIG5lZWQgdG8gZGV2ZWxvcCBhIFF1ZXJ5IHRv IGlkZW50aWZ5IGNhbGN1bGF0ZWQgcGF5IGNoZWNrcyB0aGF0IGZhbGwgYmVs b3cgY2VydGFpbiBtaW5pbXVtIG5ldCBwYXkgbGltaXQuIA0KVGhlIG1pbmlt dW0gYW1vdW50IGlzIHRvIGJlIGNhbGN1bGF0ZWRhcyB0aGUgaG91cmx5IHJh dGUgc3BlY2lmaWVkIGZvciB0aGUgc3RhdGUgdGltZXMgbnVtYmVyIG9mIGhv dXJzIFdvcmtlZC4NCiANClBsZWFzZSBIZWxwIEFTQVANClRoYW5rcw0KVmVl bmENCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fDQpFeHBsb3JlIHRoZSBzZXZlbiB3 b25kZXJzIG9mIHRoZSB3b3JsZA0KaHR0cDovL3NlYXJjaC5tc24uY29tL3Jl c3VsdHMuYXNweD9xPTcrd29uZGVycyt3b3JsZCZta3Q9ZW4tVVMmZm9ybT1R QlJFDQoNCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fDQpzcXItdXNlcnMgbWFpbGluZyBsaXN0DQpzcXItdXNlcnNA c3FydWcub3JnDQpodHRwOi8vd3d3LnNxcnVnLm9yZy9tYWlsbWFuL2xpc3Rp bmZvL3Nxci11c2Vycw0K --===============0724435314== 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 --===============0724435314==-- From sqr-users-bounces@sqrug.org Wed Apr 18 08:51:06 2007 Date: Wed, 18 Apr 2007 18:18:34 +0530 From: Jiju Subject: Re: [sqr-users] Query Help Hey Veena, Use PAY_CHECK to get the NET_PAY of the employees. You can refer to the PAYCHECK_STATUS to see whether the paycheck has been calculated or not. You may have to sum REG_HRS from PAY_EARNINGS and OTH_HRS from PAY_OTH_EARNS to obtain the total reported hours.... Do you by any chance have Time and Labor interface here?? And are we talking of salaried employees only?? -Jiju. On 4/18/07, veena kolanu < veena_kolanu@hotmail.com> wrote: > > Hi, > My name is Veena and I am new to peoplesoft HRMS Development. I need some > help with the query . > I need to develop a Query to identify calculated pay checks that fall > below certain minimum net pay limit. > The minimum amount is to be calculatedas the hourly rate specified for the > state times number of hours Worked. > > Please Help ASAP > Thanks > Veena > _________________________________________________________________ > Explore the seven wonders of the world > http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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 Apr 17 16:54:43 2007 From: Kaz.Narayanan@averydennison.com Date: Tue, 17 Apr 2007 13:51:31 -0700 Subject: [sqr-users] (no subject) Hello, I posted this message yesterday. Could some one help em here? Thanks Regards KM Narayanan Hello, I am doing a select in an SQR where we use SQL server. My codes is as follows: BEGIN-SELECT A.PRODUCT A.ACCOUNT A.DEPTID SUM(A.POSTED_TOTAL_AMT) &MAIN_POSTED_TOTAL_AMT FROM PS_LEDGER A, PS_BUS_UNIT_TBL_GL A1 WHERE A.LEDGER IN ('ACTUALS','MGMT_ADJMT') [$AND-CLAUSE] AND A.FISCAL_YEAR = $IN_YEAR AND A.ACCOUNTING_PERIOD [$WHERE_PERIOD] AND A.PRODUCT <> ' ' AND A.ACCOUNT <> ' ' AND A.BUSINESS_UNIT = A1.BUSINESS_UNIT AND ((A.CURRENCY_CD = ' ' AND A.ACCOUNT LIKE '0%') OR (A.CURRENCY_CD = A1.BASE_CURRENCY)) GROUP BY A.PRODUCT,A.ACCOUNT,A.DEPTID ORDER BY A.PRODUCT,A.ACCOUNT,A.DEPTID END-SELECT I get the following error when I try to execute.... SQR 5528) ODBC SQL dbftch error 3926 in cursor 30: [Microsoft][SQL Native Client][SQL Server]The transaction active in this session has been committed or aborted by another session. (SQR 5528) ODBC SQL dbftch error 3971 in cursor 30: [Microsoft][SQL Native Client][SQL Server]Server failed to resume the transaction, desc: 7a00000004. Error on line 394: (SQR 3725) Bad return fetching row from database. I execute the same SQL in Microsoft SQL server studio, It works fine.... Can Someone help me? Regards K.M.Narayanan - ----------------------------------------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Apr 17 16:59:59 2007 From: "Angelika M. Scheffera" Subject: RE: [sqr-users] (no subject) Date: Tue, 17 Apr 2007 15:56:46 -0500 Hello, could it be that you have the end-select on your SQL. It should be a separate line. Angelika M. Scheffera =A0 -----Original Message----- From: sqr-users-bounces+angelika_scheffera=3Dmsn.com@sqrug.org [mailto:sqr-users-bounces+angelika_scheffera=3Dmsn.com@sqrug.org] On Behalf= Of Kaz.Narayanan@averydennison.com Sent: Tuesday, April 17, 2007 3:52 PM To: sqr-users@sqrug.org Subject: [sqr-users] (no subject) Hello, I posted this message yesterday. Could some one help em here? Thanks Regards KM Narayanan Hello, I am doing a select in an SQR where we use SQL server. My codes is as follows: BEGIN-SELECT A.PRODUCT=20 A.ACCOUNT=20 A.DEPTID=20 SUM(A.POSTED_TOTAL_AMT) &MAIN_POSTED_TOTAL_AMT FROM PS_LEDGER A, PS_BUS_UNIT_TBL_GL A1 WHERE A.LEDGER IN ('ACTUALS','MGMT_ADJMT') [$AND-CLAUSE] AND A.FISCAL_YEAR =3D $IN_YEAR AND A.ACCOUNTING_PERIOD [$WHERE_PERIOD]=20 AND A.PRODUCT <> ' ' AND A.ACCOUNT <> ' ' AND A.BUSINESS_UNIT =3D A1.BUSINESS_UNIT AND ((A.CURRENCY_CD =3D ' ' AND A.ACCOUNT LIKE '0%')=20 OR (A.CURRENCY_CD =3D A1.BASE_CURRENCY))=20 GROUP BY A.PRODUCT,A.ACCOUNT,A.DEPTID=20 ORDER BY A.PRODUCT,A.ACCOUNT,A.DEPTID=20 END-SELECT I get the following error when I try to execute.... SQR 5528) ODBC SQL dbftch error 3926 in cursor 30: [Microsoft][SQL Native= =20 Client][SQL Server]The transaction active in this session has been=20 committed or aborted by another session. (SQR 5528) ODBC SQL dbftch error= =20 3971 in cursor 30: [Microsoft][SQL Native Client][SQL Server]Server failed= =20 to resume the transaction, desc: 7a00000004. Error on line 394: (SQR 3725)= =20 Bad return fetching row from database.=20 I execute the same SQL in Microsoft SQL server studio, It works fine.... Can Someone help me? Regards K.M.Narayanan - ----------------------------------------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 17 18:08:53 2007 Subject: Re: [sqr-users] (no subject) From: Kaz.Narayanan@averydennison.com Date: Tue, 17 Apr 2007 15:05:08 -0700 Sashi, Thanks for the correction. After placing the SQL, It is working. However, this line of SQL is still erroring out.. Could you please help? BEGIN-SELECT VMANA.AD_ACCOUNT_TREENOD, &VMANA.AD_ACCOUNT_TREENOD, SUM(VMANA.POSTED_TOTAL_AMT) &VMANA.POSTED_AMOUNT_AM LET $THE_NODE = &VMANA.AD_ACCOUNT_TREENOD LET $POSTED_AMOUNT_AM = &VMANA.POSTED_AMOUNT_AM LET #POSTED_AMOUNT_AM = TO_NUMBER($POSTED_AMOUNT_AM) LET #ROUND_NBR = EDIT((#POSTED_AMOUNT_AM/1000),'0000000000') LET #SELECT_TOTAL = #SELECT_TOTAL + #POSTED_AMOUNT_AM LET #SELECT_ROUND = #SELECT_ROUND + #ROUND_NBR FROM PS_AD_ADGLI003_WRK VMANA WHERE VMANA.OPRID = $PRCS_OPRID AND VMANA.SEQ_NBR < 999999999 AND VMANA.RUN_CNTL_ID = $PRCS_RUN_CNTL_ID AND VMANA.AD_PRODUCT_TREENOD = $REC_ENTITY AND SUBSTRING(VMANA.AD_ACCOUNT_TREENOD,1,LEN(VMANA.AD_ACCOUNT_TREENOD-1 )) IN ('LNDOWN','LNDIMP','BLDOWN','BLDLSE','MCHOWN','MCHLSE','LSEIMP','CIP','CRPFA') VMANA.PERIOD = 0 GROUP BY VMANA.AD_ACCOUNT_TREENOD END-SELECT K.M.Narayanan AVERY DENNISON Corporate IT & Services (702) 968-5727 - Work (702) 332-7118 - Cell Shashidhar Rao A 04/17/2007 02:41 PM To: Kaz.Narayanan@averydennison.com cc: Subject: Re: [sqr-users] (no subject) Place the order by and group by clauses in the first column and also try to check the values of $AND-CLAUSE and $IN_YEAR variables. Regards, shashi Kaz.Narayanan@averydennison.com wrote: Hello, I posted this message yesterday. Could some one help em here? Thanks Regards KM Narayanan Hello, I am doing a select in an SQR where we use SQL server. My codes is as follows: BEGIN-SELECT A.PRODUCT A.ACCOUNT A.DEPTID SUM(A.POSTED_TOTAL_AMT) &MAIN_POSTED_TOTAL_AMT FROM PS_LEDGER A, PS_BUS_UNIT_TBL_GL A1 WHERE A.LEDGER IN ('ACTUALS','MGMT_ADJMT') [$AND-CLAUSE] AND A.FISCAL_YEAR = $IN_YEAR AND A.ACCOUNTING_PERIOD [$WHERE_PERIOD] AND A.PRODUCT <> ' ' AND A.ACCOUNT <> ' ' AND A.BUSINESS_UNIT = A1.BUSINESS_UNIT AND ((A.CURRENCY_CD = ' ' AND A.ACCOUNT LIKE '0%') OR (A.CURRENCY_CD = A1.BASE_CURRENCY)) GROUP BY A.PRODUCT,A.ACCOUNT,A.DEPTID ORDER BY A.PRODUCT,A.ACCOUNT,A.DEPTID END-SELECT I get the following error when I try to execute.... SQR 5528) ODBC SQL dbftch error 3926 in cursor 30: [Microsoft][SQL Native Client][SQL Server]The transaction active in this session has been committed or aborted by another session. (SQR 5528) ODBC SQL dbftch error 3971 in cursor 30: [Microsoft][SQL Native Client][SQL Server]Server failed to resume the transaction, desc: 7a00000004. Error on line 394: (SQR 3725) Bad return fetching row from database. I execute the same SQL in Microsoft SQL server studio, It works fine.... Can Someone help me? Regards K.M.Narayanan - ----------------------------------------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users Ahhh...imagining that irresistible "new car" smell? Check out new cars at Yahoo! Autos. -------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Apr 17 19:25:18 2007 From: "Angelika M. Scheffera" Subject: RE: [sqr-users] (no subject) Date: Tue, 17 Apr 2007 18:21:37 -0500 Also you have commas after column names there should be no commas. VMANA.AD_ACCOUNT_TREENOD &VMANA.AD_ACCOUNT_TREENOD SUM(VMANA.POSTED_TOTAL_AMT) &VMANA.POSTED_AMOUNT_AM =A0 =A0 =A0 -----Original Message----- From: sqr-users-bounces+angelika_scheffera=3Dmsn.com@sqrug.org [mailto:sqr-users-bounces+angelika_scheffera=3Dmsn.com@sqrug.org] On Behalf= Of Kaz.Narayanan@averydennison.com Sent: Tuesday, April 17, 2007 5:05 PM To: Shashidhar Rao A Cc: sqr-users@sqrug.org Subject: Re: [sqr-users] (no subject) Sashi, Thanks for the correction. After placing the SQL, It is working. However,= =20 this line of SQL is still erroring out.. Could you please help? BEGIN-SELECT VMANA.AD_ACCOUNT_TREENOD, &VMANA.AD_ACCOUNT_TREENOD, SUM(VMANA.POSTED_TOTAL_AMT) &VMANA.POSTED_AMOUNT_AM LET $THE_NODE =3D &VMANA.AD_ACCOUNT_TREENOD LET $POSTED_AMOUNT_AM =3D &VMANA.POSTED_AMOUNT_AM LET #POSTED_AMOUNT_AM =3D TO_NUMBER($POSTED_AMOUNT_AM) LET #ROUND_NBR =3D EDIT((#POSTED_AMOUNT_AM/1000),'0000000000')= =20 LET #SELECT_TOTAL =3D #SELECT_TOTAL + #POSTED_AMOUNT_AM=20 LET #SELECT_ROUND =3D #SELECT_ROUND + #ROUND_NBR FROM PS_AD_ADGLI003_WRK VMANA WHERE VMANA.OPRID =3D $PRCS_OPRID AND VMANA.SEQ_NBR < 999999999=20 AND VMANA.RUN_CNTL_ID =3D $PRCS_RUN_CNTL_ID AND VMANA.AD_PRODUCT_TREENOD =3D $REC_ENTITY AND=20 SUBSTRING(VMANA.AD_ACCOUNT_TREENOD,1,LEN(VMANA.AD_ACCOUNT_TREENOD-1 )) IN= =20 ('LNDOWN','LNDIMP','BLDOWN','BLDLSE','MCHOWN','MCHLSE','LSEIMP','CIP','CRPFA ')=20 VMANA.PERIOD =3D 0=20 =20 GROUP BY VMANA.AD_ACCOUNT_TREENOD END-SELECT K.M.Narayanan AVERY DENNISON Corporate IT & Services (702) 968-5727 - Work (702) 332-7118 - Cell Shashidhar Rao A 04/17/2007 02:41 PM =20 To: Kaz.Narayanan@averydennison.com cc:=20 Subject: Re: [sqr-users] (no subject) Place the order by and group by clauses in the first column and also try to check the values of $AND-CLAUSE and $IN_YEAR variables. =20 Regards, shashi Kaz.Narayanan@averydennison.com wrote: Hello, I posted this message yesterday. Could some one help em here? Thanks Regards KM Narayanan Hello, I am doing a select in an SQR where we use SQL server. My codes is as follows: BEGIN-SELECT A.PRODUCT=20 A.ACCOUNT=20 A.DEPTID=20 SUM(A.POSTED_TOTAL_AMT) &MAIN_POSTED_TOTAL_AMT FROM PS_LEDGER A, PS_BUS_UNIT_TBL_GL A1 WHERE A.LEDGER IN ('ACTUALS','MGMT_ADJMT') [$AND-CLAUSE] AND A.FISCAL_YEAR =3D $IN_YEAR AND A.ACCOUNTING_PERIOD [$WHERE_PERIOD]=20 AND A.PRODUCT <> ' ' AND A.ACCOUNT <> ' ' AND A.BUSINESS_UNIT =3D A1.BUSINESS_UNIT AND ((A.CURRENCY_CD =3D ' ' AND A.ACCOUNT LIKE '0%')=20 OR (A.CURRENCY_CD =3D A1.BASE_CURRENCY))=20 GROUP BY A.PRODUCT,A.ACCOUNT,A.DEPTID=20 ORDER BY A.PRODUCT,A.ACCOUNT,A.DEPTID=20 END-SELECT I get the following error when I try to execute.... SQR 5528) ODBC SQL dbftch error 3926 in cursor 30: [Microsoft][SQL Native= =20 Client][SQL Server]The transaction active in this session has been=20 committed or aborted by another session. (SQR 5528) ODBC SQL dbftch error= =20 3971 in cursor 30: [Microsoft][SQL Native Client][SQL Server]Server failed= =20 to resume the transaction, desc: 7a00000004. Error on line 394: (SQR 3725)= =20 Bad return fetching row from database.=20 I execute the same SQL in Microsoft SQL server studio, It works fine.... Can Someone help me? Regards K.M.Narayanan - ----------------------------------------------------------------- The information transmitted is intended only for the person or entity to=20 which it is addressed and may contain confidential and/or privileged=20 material. Any review, retransmission, dissemination or other use of, or=20 taking of any action in reliance upon, this information by persons or=20 entities other than the intended recipient is prohibited. If you received= =20 this in error, please contact the sender and delete the material from any= =20 computer. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users Ahhh...imagining that irresistible "new car" smell? Check out new cars at Yahoo! Autos.=20 -------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. =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 Tue Apr 17 19:14:49 2007 Date: Tue, 17 Apr 2007 16:12:07 -0700 (PDT) From: Arun Kumar Subject: Re: [sqr-users] (no subject) what is the error message? ----- Original Message ---- From: "Kaz.Narayanan@averydennison.com" To: Shashidhar Rao A Cc: sqr-users@sqrug.org Sent: Tuesday, April 17, 2007 6:05:08 PM Subject: Re: [sqr-users] (no subject) Sashi, Thanks for the correction. After placing the SQL, It is working. However, this line of SQL is still erroring out.. Could you please help? BEGIN-SELECT VMANA.AD_ACCOUNT_TREENOD, &VMANA.AD_ACCOUNT_TREENOD, SUM(VMANA.POSTED_TOTAL_AMT) &VMANA.POSTED_AMOUNT_AM LET $THE_NODE = &VMANA.AD_ACCOUNT_TREENOD LET $POSTED_AMOUNT_AM = &VMANA.POSTED_AMOUNT_AM LET #POSTED_AMOUNT_AM = TO_NUMBER($POSTED_AMOUNT_AM) LET #ROUND_NBR = EDIT((#POSTED_AMOUNT_AM/1000),'0000000000') LET #SELECT_TOTAL = #SELECT_TOTAL + #POSTED_AMOUNT_AM LET #SELECT_ROUND = #SELECT_ROUND + #ROUND_NBR FROM PS_AD_ADGLI003_WRK VMANA WHERE VMANA.OPRID = $PRCS_OPRID AND VMANA.SEQ_NBR < 999999999 AND VMANA.RUN_CNTL_ID = $PRCS_RUN_CNTL_ID AND VMANA.AD_PRODUCT_TREENOD = $REC_ENTITY AND SUBSTRING(VMANA.AD_ACCOUNT_TREENOD,1,LEN(VMANA.AD_ACCOUNT_TREENOD-1 )) IN ('LNDOWN','LNDIMP','BLDOWN','BLDLSE','MCHOWN','MCHLSE','LSEIMP','CIP','CRPFA') VMANA.PERIOD = 0 GROUP BY VMANA.AD_ACCOUNT_TREENOD END-SELECT K.M.Narayanan AVERY DENNISON Corporate IT & Services (702) 968-5727 - Work (702) 332-7118 - Cell Shashidhar Rao A 04/17/2007 02:41 PM To: Kaz.Narayanan@averydennison.com cc: Subject: Re: [sqr-users] (no subject) Place the order by and group by clauses in the first column and also try to check the values of $AND-CLAUSE and $IN_YEAR variables. Regards, shashi Kaz.Narayanan@averydennison.com wrote: Hello, I posted this message yesterday. Could some one help em here? Thanks Regards KM Narayanan Hello, I am doing a select in an SQR where we use SQL server. My codes is as follows: BEGIN-SELECT A.PRODUCT A.ACCOUNT A.DEPTID SUM(A.POSTED_TOTAL_AMT) &MAIN_POSTED_TOTAL_AMT FROM PS_LEDGER A, PS_BUS_UNIT_TBL_GL A1 WHERE A.LEDGER IN ('ACTUALS','MGMT_ADJMT') [$AND-CLAUSE] AND A.FISCAL_YEAR = $IN_YEAR AND A.ACCOUNTING_PERIOD [$WHERE_PERIOD] AND A.PRODUCT <> ' ' AND A.ACCOUNT <> ' ' AND A.BUSINESS_UNIT = A1.BUSINESS_UNIT AND ((A.CURRENCY_CD = ' ' AND A.ACCOUNT LIKE '0%') OR (A.CURRENCY_CD = A1.BASE_CURRENCY)) GROUP BY A.PRODUCT,A.ACCOUNT,A.DEPTID ORDER BY A.PRODUCT,A.ACCOUNT,A.DEPTID END-SELECT I get the following error when I try to execute.... SQR 5528) ODBC SQL dbftch error 3926 in cursor 30: [Microsoft][SQL Native Client][SQL Server]The transaction active in this session has been committed or aborted by another session. (SQR 5528) ODBC SQL dbftch error 3971 in cursor 30: [Microsoft][SQL Native Client][SQL Server]Server failed to resume the transaction, desc: 7a00000004. Error on line 394: (SQR 3725) Bad return fetching row from database. I execute the same SQL in Microsoft SQL server studio, It works fine.... Can Someone help me? Regards K.M.Narayanan - ----------------------------------------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users Ahhh...imagining that irresistible "new car" smell? Check out new cars at Yahoo! Autos. -------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Apr 17 19:19:01 2007 Subject: Re: [sqr-users] (no subject) From: Kaz.Narayanan@averydennison.com Date: Tue, 17 Apr 2007 16:15:27 -0700 Arun, I get the following error when I try to execute.... SQR 5528) ODBC SQL dbftch error 3926 in cursor 30: [Microsoft][SQL Native Client][SQL Server]The transaction active in this session has been committed or aborted by another session. (SQR 5528) ODBC SQL dbftch error 3971 in cursor 30: [Microsoft][SQL Native Client][SQL Server]Server failed Thanks for your help. K.M.Narayanan Arun Kumar Sent by: sqr-users-bounces+kaz.narayanan=averydennison.com@sqrug.org 04/17/2007 04:12 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] (no subject) what is the error message? ----- Original Message ---- From: "Kaz.Narayanan@averydennison.com" To: Shashidhar Rao A Cc: sqr-users@sqrug.org Sent: Tuesday, April 17, 2007 6:05:08 PM Subject: Re: [sqr-users] (no subject) Sashi, Thanks for the correction. After placing the SQL, It is working. However, this line of SQL is still erroring out.. Could you please help? BEGIN-SELECT VMANA.AD_ACCOUNT_TREENOD, &VMANA.AD_ACCOUNT_TREENOD, SUM(VMANA.POSTED_TOTAL_AMT) &VMANA.POSTED_AMOUNT_AM LET $THE_NODE = &VMANA.AD_ACCOUNT_TREENOD LET $POSTED_AMOUNT_AM = &VMANA.POSTED_AMOUNT_AM LET #POSTED_AMOUNT_AM = TO_NUMBER($POSTED_AMOUNT_AM) LET #ROUND_NBR = EDIT((#POSTED_AMOUNT_AM/1000),'0000000000') LET #SELECT_TOTAL = #SELECT_TOTAL + #POSTED_AMOUNT_AM LET #SELECT_ROUND = #SELECT_ROUND + #ROUND_NBR FROM PS_AD_ADGLI003_WRK VMANA WHERE VMANA.OPRID = $PRCS_OPRID AND VMANA.SEQ_NBR < 999999999 AND VMANA.RUN_CNTL_ID = $PRCS_RUN_CNTL_ID AND VMANA.AD_PRODUCT_TREENOD = $REC_ENTITY AND SUBSTRING(VMANA.AD_ACCOUNT_TREENOD,1,LEN(VMANA.AD_ACCOUNT_TREENOD-1 )) IN ('LNDOWN','LNDIMP','BLDOWN','BLDLSE','MCHOWN','MCHLSE','LSEIMP','CIP','CRPFA') AND VMANA.PERIOD = 0 GROUP BY VMANA.AD_ACCOUNT_TREENOD END-SELECT K.M.Narayanan AVERY DENNISON Corporate IT & Services (702) 968-5727 - Work (702) 332-7118 - Cell Shashidhar Rao A 04/17/2007 02:41 PM To: Kaz.Narayanan@averydennison.com cc: Subject: Re: [sqr-users] (no subject) Place the order by and group by clauses in the first column and also try to check the values of $AND-CLAUSE and $IN_YEAR variables. Regards, shashi Kaz.Narayanan@averydennison.com wrote: Hello, I posted this message yesterday. Could some one help em here? Thanks Regards KM Narayanan Hello, I am doing a select in an SQR where we use SQL server. My codes is as follows: BEGIN-SELECT A.PRODUCT A.ACCOUNT A.DEPTID SUM(A.POSTED_TOTAL_AMT) &MAIN_POSTED_TOTAL_AMT FROM PS_LEDGER A, PS_BUS_UNIT_TBL_GL A1 WHERE A.LEDGER IN ('ACTUALS','MGMT_ADJMT') [$AND-CLAUSE] AND A.FISCAL_YEAR = $IN_YEAR AND A.ACCOUNTING_PERIOD [$WHERE_PERIOD] AND A.PRODUCT <> ' ' AND A.ACCOUNT <> ' ' AND A.BUSINESS_UNIT = A1.BUSINESS_UNIT AND ((A.CURRENCY_CD = ' ' AND A.ACCOUNT LIKE '0%') OR (A.CURRENCY_CD = A1.BASE_CURRENCY)) GROUP BY A.PRODUCT,A.ACCOUNT,A.DEPTID ORDER BY A.PRODUCT,A.ACCOUNT,A.DEPTID END-SELECT I get the following error when I try to execute.... SQR 5528) ODBC SQL dbftch error 3926 in cursor 30: [Microsoft][SQL Native Client][SQL Server]The transaction active in this session has been committed or aborted by another session. (SQR 5528) ODBC SQL dbftch error 3971 in cursor 30: [Microsoft][SQL Native Client][SQL Server]Server failed to resume the transaction, desc: 7a00000004. Error on line 394: (SQR 3725) Bad return fetching row from database. I execute the same SQL in Microsoft SQL server studio, It works fine.... Can Someone help me? Regards K.M.Narayanan - ----------------------------------------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users Ahhh...imagining that irresistible "new car" smell? Check out new cars at Yahoo! Autos. -------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users - ----------------------------------------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Apr 18 17:20:14 2007 Date: Wed, 18 Apr 2007 14:17:35 -0700 From: "Randell, Tom" Subject: [sqr-users] Nested SQL performance question Hi, Does anyone know how SQR processes two nested begin-select statements? Does the Portal server run the outmost query to completion (storing the results on the Portal server) and then call the nested procedure for each row in the outermost query's result set? Or does the Portal open two cursors to the database at the same time and call the innermost select for each row returned in the outermost select? Any ideas? =20 Thanks Tom _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Apr 18 20:03:42 2007 Subject: RE: [sqr-users] Nested SQL performance question Date: Wed, 18 Apr 2007 20:01:14 -0400 From: "Larry Roux" defintely the latter ________________________________ From: sqr-users-bounces+lroux=3Dsyr.edu@sqrug.org on behalf of Randell, Tom Sent: Wed 4/18/2007 5:17 PM To: sqr-users@sqrug.org Subject: [sqr-users] Nested SQL performance question Hi, Does anyone know how SQR processes two nested begin-select statements? Does the Portal server run the outmost query to completion (storing the results on the Portal server) and then call the nested procedure for each row in the outermost query's result set? Or does the Portal open two cursors to the database at the same time and call the innermost select for each row returned in the outermost select? Any ideas? Thanks Tom _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 19 11:49:34 2007 Date: Thu, 19 Apr 2007 11:46:14 -0400 From: Danise Bianchi Subject: [sqr-users] Sqr Cursor error ODBC I am getting this error when I use Sqr Developer the source code looks correct can anyone help me [Microsoft][ODBC driver for Oracle]Cannot use Keyset-driven cursor on join, with distinct clause, union, intersect or minus or on read only result set Danise Bianchi Yale University Enterprise Systems Information Technology Services (ITS) Facilities and Campus Security New Haven, Connecticut 06520-8276 Mail to: Danise.Bianchi@yale.edu Phone: 203.436.4858, 203.432.8881 (fax) _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 19 12:01:37 2007 Subject: RE: [sqr-users] Sqr Cursor error ODBC Date: Thu, 19 Apr 2007 11:58:47 -0400 From: "Peter Burton" Danise, What version of SQR Developer ans SQR Server are you using? Peter -----Original Message----- From: sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org [mailto:sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org] On Behalf Of Danise Bianchi Sent: Thursday, April 19, 2007 11:46 AM To: sqr-users@sqrug.org Subject: [sqr-users] Sqr Cursor error ODBC I am getting this error when I use Sqr Developer the source code looks=20 correct can anyone help me [Microsoft][ODBC driver for Oracle]Cannot use Keyset-driven cursor on join,=20 with distinct clause, union, intersect or minus or on read only result set Danise Bianchi Yale University Enterprise Systems Information Technology Services (ITS) Facilities and Campus Security New Haven, Connecticut 06520-8276 Mail to: Danise.Bianchi@yale.edu Phone: 203.436.4858, 203.432.8881 (fax)=20=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users If you have received this e-mail in error, please delete it and notify the = sender as soon as possible. The contents of this e-mail may be confidential= and the unauthorized use, copying, or dissemination of it and any attachme= nts to it, is prohibited. Internet communications are not secure and Hyperi= on does not, therefore, accept legal responsibility for the contents of thi= s message nor for any damage caused by viruses. The views expressed here do= not necessarily represent those of Hyperion. For more information about Hy= perion, please visit our Web site at: www.hyperion.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 19 16:43:08 2007 Date: Thu, 19 Apr 2007 16:40:27 -0400 From: Danise Bianchi Subject: RE: [sqr-users] Sqr Cursor error ODBC sqr 8.5 At 11:58 AM 4/19/2007 -0400, you wrote: >Danise, > >What version of SQR Developer ans SQR Server are you using? > >Peter > >-----Original Message----- >From: sqr-users-bounces+peter_burton=hyperion.com@sqrug.org >[mailto:sqr-users-bounces+peter_burton=hyperion.com@sqrug.org] On Behalf >Of Danise Bianchi >Sent: Thursday, April 19, 2007 11:46 AM >To: sqr-users@sqrug.org >Subject: [sqr-users] Sqr Cursor error ODBC > >I am getting this error when I use Sqr Developer the source code looks >correct can anyone help me > >[Microsoft][ODBC driver for Oracle]Cannot use Keyset-driven cursor on >join, >with distinct clause, union, intersect or minus or on read only result >set > > >Danise Bianchi >Yale University >Enterprise Systems >Information Technology Services (ITS) >Facilities and Campus Security >New Haven, Connecticut 06520-8276 >Mail to: Danise.Bianchi@yale.edu >Phone: 203.436.4858, 203.432.8881 (fax) > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > > >If you have received this e-mail in error, please delete it and notify the >sender as soon as possible. The contents of this e-mail may be >confidential and the unauthorized use, copying, or dissemination of it and >any attachments to it, is prohibited. Internet communications are not >secure and Hyperion does not, therefore, accept legal responsibility for >the contents of this message nor for any damage caused by viruses. The >views expressed here do not necessarily represent those of Hyperion. For >more information about Hyperion, please visit our Web site at: www.hyperion.com > > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users Danise Bianchi Yale University Enterprise Systems Information Technology Services (ITS) Facilities and Campus Security New Haven, Connecticut 06520-8276 Mail to: Danise.Bianchi@yale.edu Phone: 203.436.4858, 203.432.8881 (fax) _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 19 16:53:57 2007 Subject: RE: [sqr-users] Sqr Cursor error ODBC Date: Thu, 19 Apr 2007 16:50:57 -0400 From: "Peter Burton" Danise, Have you tried using the ODBC drivers supplied with SQR 8.5? Peter -----Original Message----- From: sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org [mailto:sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org] On Behalf Of Danise Bianchi Sent: Thursday, April 19, 2007 4:40 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] Sqr Cursor error ODBC sqr 8.5 At 11:58 AM 4/19/2007 -0400, you wrote: >Danise, > >What version of SQR Developer ans SQR Server are you using? > >Peter > >-----Original Message----- >From: sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org >[mailto:sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org] On Behalf >Of Danise Bianchi >Sent: Thursday, April 19, 2007 11:46 AM >To: sqr-users@sqrug.org >Subject: [sqr-users] Sqr Cursor error ODBC > >I am getting this error when I use Sqr Developer the source code looks >correct can anyone help me > >[Microsoft][ODBC driver for Oracle]Cannot use Keyset-driven cursor on >join, >with distinct clause, union, intersect or minus or on read only result >set > > >Danise Bianchi >Yale University >Enterprise Systems >Information Technology Services (ITS) >Facilities and Campus Security >New Haven, Connecticut 06520-8276 >Mail to: Danise.Bianchi@yale.edu >Phone: 203.436.4858, 203.432.8881 (fax) > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > > >If you have received this e-mail in error, please delete it and notify the=20 >sender as soon as possible. The contents of this e-mail may be=20 >confidential and the unauthorized use, copying, or dissemination of it and=20 >any attachments to it, is prohibited. Internet communications are not=20 >secure and Hyperion does not, therefore, accept legal responsibility for=20 >the contents of this message nor for any damage caused by viruses. The=20 >views expressed here do not necessarily represent those of Hyperion. For >more information about Hyperion, please visit our Web site at: www.hyperion.com > > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users Danise Bianchi Yale University Enterprise Systems Information Technology Services (ITS) Facilities and Campus Security New Haven, Connecticut 06520-8276 Mail to: Danise.Bianchi@yale.edu Phone: 203.436.4858, 203.432.8881 (fax)=20=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users If you have received this e-mail in error, please delete it and notify the = sender as soon as possible. The contents of this e-mail may be confidential= and the unauthorized use, copying, or dissemination of it and any attachme= nts to it, is prohibited. Internet communications are not secure and Hyperi= on does not, therefore, accept legal responsibility for the contents of thi= s message nor for any damage caused by viruses. The views expressed here do= not necessarily represent those of Hyperion. For more information about Hy= perion, please visit our Web site at: www.hyperion.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jun 15 10:09:35 2007 Date: Fri, 15 Jun 2007 16:08:34 +0200 From: Marius Giepz Subject: [sqr-users] Draw Box and Line do not align Hello! I am trying to write some general procedures for drawing tables, grids=20 and similar graphics. Theres something that I never realized before and that I cant find an=20 explanation for. The commands "Draw Box" and "Draw Line" on the same coordinates result=20 in different positions: Draw (y,x) type=3Dvert-line begins to draw one (character-) line below Draw (y,x) type=3Dbox also the x position of type=3Dbox is one point more right than the x=20 position of type=3Dvert-line That means Draw (2,2) type=3Dbox height=3D10 width=3D10 Draw (2,2) type=3Dvert-line height=3D10 Draw (2,12) type=3Dvert-line height=3D10 would result in something like this ________________________ | | || || || || || || ||_______________________|| | | Is there any logic behind that which I am not aware of? regards, Marius --=20 ++++++++++++++++++++++++++++++++++++++++++++ Marius Giepz topsystem Systemhaus GmbH Europark A2 Adenauer Strasse 20 52146 W=FCrselen Germany Phone : +49 2405 4670-0 email : mg@topsystem.de ++++++++++++++++++++++++++++++++++++++++++++=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 Jun 15 10:14:37 2007 Date: Fri, 15 Jun 2007 10:11:17 -0400 From: "Dee Lind" Subject: Re: [sqr-users] Draw Box and Line do not align I will be out of the office beginning Monday, June 11, and will return on Monday, June 18. Have a great day! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 19 12:16:25 2007 Date: Thu, 19 Apr 2007 09:13:07 -0700 From: "Marc Kane" Subject: [sqr-users] Printing anomaly This will be a quick one... For some reason, when running this report the first page looks fine but the first record on following pages prints with a larger font size than every other record. to further clarify: PAGE ! FIRST RECORD PRINTS LIKE THIS SECOND RECORD PRINTS LIKE THIS THIRD RECORD PRINTS LIKE THIS FOURTH RECORD PRINTS LIKE THIS PAGE 2, 3, 4 and so on FIRST RECORD PRINTS LIKE THIS SECOND RECORD PRINTS LIKE THIS THIRD RECORD PRINTS LIKE THIS FOURTH RECORD PRINTS LIKE THIS I've seen this issue arise before but forgot what steps were taken to resolve it Any help would be appreciated. -- Thank you, M. Kane Business Intelligence Consultant Reports Developer (Business Objects, Crystal Reports,SQR) 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 19 12:25:18 2007 Subject: Re: [sqr-users] Printing anomaly From: Roger.Harris@certegy.com Date: Thu, 19 Apr 2007 12:22:01 -0400 Check your Heading and Footing sections for Alter-Printer. |---------+----------------------------------------------------> | | "Marc Kane" | | | Sent by: | | | sqr-users-bounces+roger.harris=certegy.co| | | m@sqrug.org | | | | | | | | | 04/19/2007 12:13 PM | | | 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] Printing anomaly | >----------------------------------------------------------------------------------------------| This will be a quick one... For some reason, when running this report the first page looks fine but the first record on following pages prints with a larger font size than every other record. to further clarify: PAGE ! FIRST RECORD PRINTS LIKE THIS SECOND RECORD PRINTS LIKE THIS THIRD RECORD PRINTS LIKE THIS FOURTH RECORD PRINTS LIKE THIS PAGE 2, 3, 4 and so on FIRST RECORD PRINTS LIKE THIS SECOND RECORD PRINTS LIKE THIS THIRD RECORD PRINTS LIKE THIS FOURTH RECORD PRINTS LIKE THIS I've seen this issue arise before but forgot what steps were taken to resolve it Any help would be appreciated. -- Thank you, M. Kane Business Intelligence Consultant Reports Developer (Business Objects, Crystal Reports,SQR) 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ------------------------------------------------------------------------------ This message contains information from Certegy, Inc which may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify by e:mail postmaster@certegy.com. ============================================================================== _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 19 12:49:44 2007 Date: Thu, 19 Apr 2007 09:47:32 -0700 From: "Marc Kane" Subject: [sqr-users] Printing Anomaly Roger, thanks so much for taking the time to issue the quick resolution. -- Thank you, M. Kane Business Intelligence Consultant Reports Developer (Business Objects, Crystal Reports,SQR) 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Apr 20 08:41:38 2007 Date: Fri, 20 Apr 2007 14:38:40 +0200 From: "franck\.masson2002" Subject: [sqr-users] graph issue with number formatting/position our platform is windows 2003 and Oracle. Our format setting for number are french. number-edit-mask =3D '9 999 999,99' We have issues with Graph (Pie and bar chart) regarding the format of the n= umber of the Y label and Y value. We are running 8.5 and conduct also the test in 9.3 we have the same issues 1) Bar Chart if we set this variable Y-Axis-Mask then a)it alter the format of the display value on top of the bar (suppress the number after the decimal point) before 4.56 after 4 b) The value of the Y axis do not follow the format specified in this varia= ble. without the Y-Axis-Mask "4 0" instead of 4.0 (it is not able to retreive the decimal separator character) with Y-Axis-Mask set the display value do not follow the format specified. Is there a documentation that describe the format of Y-Axis-Mask ? The information we got from the SQR manual is wrong. 2) Bar Chart if we do not use the variable Y-Axis-Mask the value of the Y axis displayed display the number without the decimal point 3) Pie Chart the %value of the slice are displayed at the unreadable position we want it outside the Pie to be readable even if we specify ATTRIBUTES=3D('chart1','LABEL-LOCATION','OUTER') any help will be appreciated Franck, 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 From sqr-users-bounces@sqrug.org Fri Apr 20 08:45:02 2007 Date: Fri, 20 Apr 2007 14:39:25 +0200 From: "franck\.masson2002" Subject: [sqr-users] graph issue with number formatting/position our platform is windows 2003 and Oracle. Our format setting for number are french. number-edit-mask =3D '9 999 999,99' We have issues with Graph (Pie and bar chart) regarding the format of the n= umber of the Y label and Y value. We are running 8.5 and conduct also the test in 9.3 we have the same issues 1) Bar Chart if we set this variable Y-Axis-Mask then a)it alter the format of the display value on top of the bar (suppress the number after the decimal point) before 4.56 after 4 b) The value of the Y axis do not follow the format specified in this varia= ble. without the Y-Axis-Mask "4 0" instead of 4.0 (it is not able to retreive the decimal separator character) with Y-Axis-Mask set the display value do not follow the format specified. Is there a documentation that describe the format of Y-Axis-Mask ? The information we got from the SQR manual is wrong. 2) Bar Chart if we do not use the variable Y-Axis-Mask the value of the Y axis displayed display the number without the decimal point 3) Pie Chart the %value of the slice are displayed at the unreadable position we want it outside the Pie to be readable even if we specify ATTRIBUTES=3D('chart1','LABEL-LOCATION','OUTER') any help will be appreciated Franck, 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 From sqr-users-bounces@sqrug.org Tue Apr 24 16:10:52 2007 From: "Maya Thakur" Date: Tue, 24 Apr 2007 16:09:45 -0400 Subject: [sqr-users] Mainframe SQribe req Hello , This is Maya from MRI Woodbridge. We have a fulltime opportunity opening up with our client in NYC . The details of this req is as follows: Mainframe Sqribe Resource Should be Knowing MVS/Mainframe Have working knowledge of Unix & has used DB2 database (Good SQL Skills and structured programming using (SQL/PLSQL). Basically the resource should be willing and capable to pick-up SQribe programming Language on his own (Quick learner) Total Exp: 6-7 yrs Relevant Exp : 4-5 yrs Salary: $85k-$90k Location: NY Please let me know if anyone of you might be interested in this opportunity. Thanks and Best Regards, Maya Thakur MRI Woodbridge maya@mriwoodbridge.com 732-582-3491 ( Direct) 732-636-9000 X 3491 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Apr 24 16:29:43 2007 Date: Tue, 24 Apr 2007 16:27:36 -0400 From: Ray Ontko Subject: Re: [sqr-users] Mainframe SQribe req Maya, The SQR-USERS list is for technical discussions related to SQR. Please use sqr-jobs@groups.yahoo.com for job-related posting. http://tech.groups.yahoo.com/group/sqr-jobs/ Many thanks. Ray Maya Thakur wrote: > Hello , > > This is Maya from MRI Woodbridge. We have a fulltime opportunity opening up > with our client in NYC . > > The details of this req is as follows: > > Mainframe Sqribe Resource > > Should be Knowing MVS/Mainframe > > Have working knowledge of Unix & has used DB2 database (Good SQL Skills and > structured programming using (SQL/PLSQL). Basically the resource should be > willing and capable to > pick-up SQribe programming Language on his own (Quick learner) > > Total Exp: 6-7 yrs > > Relevant Exp : 4-5 yrs > > Salary: $85k-$90k > > Location: NY > > > > Please let me know if anyone of you might be interested in this opportunity. > > > > Thanks and Best Regards, > > Maya Thakur > > MRI Woodbridge > > maya@mriwoodbridge.com > > 732-582-3491 ( Direct) > > 732-636-9000 X 3491 > > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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 Apr 24 16:34:49 2007 From: "Maya Thakur" Subject: RE: [sqr-users] Mainframe SQribe req Date: Tue, 24 Apr 2007 16:33:49 -0400 Thanks I will do that. -----Original Message----- From: sqr-users-bounces+maya=mriwoodbridge.com@sqrug.org [mailto:sqr-users-bounces+maya=mriwoodbridge.com@sqrug.org] On Behalf Of Ray Ontko Sent: Tuesday, April 24, 2007 4:28 PM To: This list is for discussion about the SQR database reporting language from Hyperion Solutions. Subject: Re: [sqr-users] Mainframe SQribe req Maya, The SQR-USERS list is for technical discussions related to SQR. Please use sqr-jobs@groups.yahoo.com for job-related posting. http://tech.groups.yahoo.com/group/sqr-jobs/ Many thanks. Ray Maya Thakur wrote: > Hello , > > This is Maya from MRI Woodbridge. We have a fulltime opportunity opening up > with our client in NYC . > > The details of this req is as follows: > > Mainframe Sqribe Resource > > Should be Knowing MVS/Mainframe > > Have working knowledge of Unix & has used DB2 database (Good SQL Skills and > structured programming using (SQL/PLSQL). Basically the resource should be > willing and capable to > pick-up SQribe programming Language on his own (Quick learner) > > Total Exp: 6-7 yrs > > Relevant Exp : 4-5 yrs > > Salary: $85k-$90k > > Location: NY > > > > Please let me know if anyone of you might be interested in this opportunity. > > > > Thanks and Best Regards, > > Maya Thakur > > MRI Woodbridge > > maya@mriwoodbridge.com > > 732-582-3491 ( Direct) > > 732-636-9000 X 3491 > > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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 Apr 24 22:21:38 2007 Date: Tue, 24 Apr 2007 19:18:59 -0700 (PDT) From: rose kunwar Subject: [sqr-users] error while reading a string from a column Hi all, How do I read a string with special characters (like comma) Here is what I am trying to do. | | open 1 for writing....... Begin-select a.emplid a.first_name move &a.emplid to $emplid move &a.first_name to $firstname from ps_personal_data. | | | write 1 from $emplid '|' $firstname '|' | | The result should be like this: 01|jack| 02|mike| | | but if $firstname has hyphen, then I am not able to read it as single string, so that I can write that value within same delimiter. Please help...kind of urgent Rose __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Apr 25 10:35:26 2007 Subject: RE: [sqr-users] error while reading a string from a column Date: Wed, 25 Apr 2007 09:32:38 -0500 From: "Knapp, Richard" Maybe translate will work for you. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 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 rose kunwar Sent: Tuesday, April 24, 2007 9:19 PM To: sqr-users@sqrug.org Subject: [sqr-users] error while reading a string from a column Hi all, How do I read a string with special characters (like comma) Here is what I am trying to do. | | open 1 for writing.......=20 Begin-select a.emplid a.first_name move &a.emplid to $emplid move &a.first_name to $firstname from ps_personal_data. | | | write 1 from=20 $emplid '|' $firstname '|' | | The result should be like this: 01|jack| 02|mike| | | but if $firstname has hyphen, then I am not able to read it as single string, so that I can write that value within same delimiter. Please help...kind of urgent Rose __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=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 Apr 25 13:26:51 2007 From: "Alexander, Steven" Subject: RE: [sqr-users] error while reading a string from a column Date: Wed, 25 Apr 2007 10:24:15 -0700 What do you mean "I am not able to read it as single string"? Are you saying there is a problem in the begin-select statement? What happens when you try to read it? -----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 Knapp, Richard Sent: Wednesday, April 25, 2007 7:33 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] error while reading a string from a column Maybe translate will work for you. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of rose kunwar Sent: Tuesday, April 24, 2007 9:19 PM To: sqr-users@sqrug.org Subject: [sqr-users] error while reading a string from a column Hi all, How do I read a string with special characters (like comma) Here is what I am trying to do. | | open 1 for writing....... Begin-select a.emplid a.first_name move &a.emplid to $emplid move &a.first_name to $firstname from ps_personal_data. | | | write 1 from $emplid '|' $firstname '|' | | The result should be like this: 01|jack| 02|mike| | | but if $firstname has hyphen, then I am not able to read it as single string, so that I can write that value within same delimiter. Please help...kind of urgent Rose __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 25 14:30:06 2007 Date: Wed, 25 Apr 2007 14:27:13 -0400 From: "Smith, Doug" Subject: [sqr-users] Oracle Good Afternoon, =20 I noticed that this very same question was posted awhile back, but I was unable to determine if an answer was posted. If so, then my apologies and please just point me in the right direction, otherwise my question is this: =20 We have instituted a stricter Oracle password policy here at our institution using Oracle profiles so that users' passwords will expire every xx number of days. The problem seems to be that during the grace period when the user's status is listed as "EXPIRED(GRACE)" SQR programs get the following message error: =20 (SQR 5528) ORACLE OCISessionBegin(RDBMS) error 28002 in cursor 0: ORA-28002: the password will expire within 14 days (SQR 4701) Cannot logon to the database. =20 The problem of course goes away once they change their password. Bottom line: is there any way to run SQR programs even when the user's status is "EXPIRED(GRACE)" ? =20 Many Thanks, =20 Doug =20 Hyperion SQR Server 8.2 Sun 10 Oracle 10g ERP is Banner 7.x =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 Apr 25 15:07:53 2007 Subject: RE: [sqr-users] Oracle Date: Wed, 25 Apr 2007 15:04:56 -0400 From: "Prasanna Menta" Why would you want to do this? Initially you are trying to control password policies and by-passing the policies.=20 Status of Expired will not have resources at the DB level, if this is changed it is a global change (my thoughts ....). Hope this helps -----Original Message----- From: sqr-users-bounces+pmenta=3Dumuc.edu@sqrug.org [mailto:sqr-users-bounces+pmenta=3Dumuc.edu@sqrug.org] On Behalf Of Smith, Doug Sent: Wednesday, April 25, 2007 2:27 PM To: sqr-users@sqrug.org Subject: [sqr-users] Oracle=20 Good Afternoon, =20 I noticed that this very same question was posted awhile back, but I was unable to determine if an answer was posted. If so, then my apologies and please just point me in the right direction, otherwise my question is this: =20 We have instituted a stricter Oracle password policy here at our institution using Oracle profiles so that users' passwords will expire every xx number of days. The problem seems to be that during the grace period when the user's status is listed as "EXPIRED(GRACE)" SQR programs get the following message error: =20 (SQR 5528) ORACLE OCISessionBegin(RDBMS) error 28002 in cursor 0: ORA-28002: the password will expire within 14 days (SQR 4701) Cannot logon to the database. =20 The problem of course goes away once they change their password. Bottom line: is there any way to run SQR programs even when the user's status is "EXPIRED(GRACE)" ? =20 Many Thanks, =20 Doug =20 Hyperion SQR Server 8.2 Sun 10 Oracle 10g ERP is Banner 7.x =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 Thu Apr 26 09:26:30 2007 Date: Thu, 26 Apr 2007 09:23:47 -0400 From: "White . Denise" Subject: [sqr-users] RE: error while reading a string from a column Yes, you need to tell us more specifically what the problem is. Reading and writing fields with commas and hyphens should be no problem; I have done it frequently, especially with the name field. A string is a string. Denise M. White EBS Programmer/Analyst III Dynamics Research Corporation ------------------------------ Message: 2 Date: Wed, 25 Apr 2007 10:24:15 -0700 From: "Alexander, Steven" Subject: RE: [sqr-users] error while reading a string from a column To: "'This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions.'" Message-ID: =09 <62AFC819CCF3D611827A00065B3F7981101F989D@sj_exchange.sjcity.net> Content-Type: text/plain What do you mean "I am not able to read it as single string"? Are you saying there is a problem in the begin-select statement? What happens when you try to read it? -----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: Wednesday, April 25, 2007 7:33 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] error while reading a string from a column Maybe translate will work for you. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 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 rose kunwar Sent: Tuesday, April 24, 2007 9:19 PM To: sqr-users@sqrug.org Subject: [sqr-users] error while reading a string from a column Hi all, How do I read a string with special characters (like comma) Here is what I am trying to do. | | open 1 for writing.......=20 Begin-select a.emplid a.first_name move &a.emplid to $emplid move &a.first_name to $firstname from ps_personal_data. | | | write 1 from $emplid '|' $firstname '|' | | The result should be like this: 01|jack| 02|mike| | | but if $firstname has hyphen, then I am not able to read it as single string, so that I can write that value within same delimiter. Please help...kind of urgent Rose _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 26 10:13:30 2007 Date: Thu, 26 Apr 2007 07:10:45 -0700 (PDT) From: rose kunwar Subject: Re: [sqr-users] RE: error while reading a string from a column Here is what my .csv file looks like 00001|Mike|Boltan|0005 00020|De-Geneor|Smith|0022 00040|Adam|Hunt|0042 But when I open this .csv file with Excel, it thinks that hyphen is delimiter. So instead of showing entire row in one column (for second row in above example), it shows "00020|De" in column and "Geneor|Smith|0042" in another column. And the hyphen in the firstname is missing. So I was wondering if the problem is associate with reading the data or writing the data. Or may be it is because of Excel itself because if I open same .csv file through notepad, it is showing me as the one above. ----- Original Message ---- From: White . Denise To: sqr-users@sqrug.org Sent: Thursday, April 26, 2007 9:23:47 AM Subject: [sqr-users] RE: error while reading a string from a column Yes, you need to tell us more specifically what the problem is. Reading and writing fields with commas and hyphens should be no problem; I have done it frequently, especially with the name field. A string is a string. Denise M. White EBS Programmer/Analyst III Dynamics Research Corporation ------------------------------ Message: 2 Date: Wed, 25 Apr 2007 10:24:15 -0700 From: "Alexander, Steven" Subject: RE: [sqr-users] error while reading a string from a column To: "'This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions.'" Message-ID: <62AFC819CCF3D611827A00065B3F7981101F989D@sj_exchange.sjcity.net> Content-Type: text/plain What do you mean "I am not able to read it as single string"? Are you saying there is a problem in the begin-select statement? What happens when you try to read it? -----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 Knapp, Richard Sent: Wednesday, April 25, 2007 7:33 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] error while reading a string from a column Maybe translate will work for you. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of rose kunwar Sent: Tuesday, April 24, 2007 9:19 PM To: sqr-users@sqrug.org Subject: [sqr-users] error while reading a string from a column Hi all, How do I read a string with special characters (like comma) Here is what I am trying to do. | | open 1 for writing....... Begin-select a.emplid a.first_name move &a.emplid to $emplid move &a.first_name to $firstname from ps_personal_data. | | | write 1 from $emplid '|' $firstname '|' | | The result should be like this: 01|jack| 02|mike| | | but if $firstname has hyphen, then I am not able to read it as single string, so that I can write that value within same delimiter. Please help...kind of urgent Rose _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 26 10:20:05 2007 Subject: RE: [sqr-users] RE: error while reading a string from a column Date: Thu, 26 Apr 2007 09:17:50 -0500 From: "Knapp, Richard" Rose, CSV stands for comma separated values. Replace the pipes with commas. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 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 rose kunwar Sent: Thursday, April 26, 2007 9:11 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] RE: error while reading a string from a column Here is what my .csv file looks like 00001|Mike|Boltan|0005 00020|De-Geneor|Smith|0022 00040|Adam|Hunt|0042 But when I open this .csv file with Excel, it thinks that hyphen is delimiter. So instead of showing entire row in one column (for second row in above example), it shows "00020|De" in column and "Geneor|Smith|0042" in another column. And the hyphen in the firstname is missing.=20 So I was wondering if the problem is associate with reading the data or writing the data.=20 Or may be it is because of Excel itself because if I open same .csv file through notepad, it is showing me as the one above. ----- Original Message ---- From: White . Denise To: sqr-users@sqrug.org Sent: Thursday, April 26, 2007 9:23:47 AM Subject: [sqr-users] RE: error while reading a string from a column Yes, you need to tell us more specifically what the problem is. Reading and writing fields with commas and hyphens should be no problem; I have done it frequently, especially with the name field. A string is a string. Denise M. White EBS Programmer/Analyst III Dynamics Research Corporation ------------------------------ Message: 2 Date: Wed, 25 Apr 2007 10:24:15 -0700 From: "Alexander, Steven" Subject: RE: [sqr-users] error while reading a string from a column To: "'This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions.'" Message-ID: =20=20=20=20 <62AFC819CCF3D611827A00065B3F7981101F989D@sj_exchange.sjcity.net> Content-Type: text/plain What do you mean "I am not able to read it as single string"? Are you saying there is a problem in the begin-select statement? What happens when you try to read it? -----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: Wednesday, April 25, 2007 7:33 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] error while reading a string from a column Maybe translate will work for you. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 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 rose kunwar Sent: Tuesday, April 24, 2007 9:19 PM To: sqr-users@sqrug.org Subject: [sqr-users] error while reading a string from a column Hi all, How do I read a string with special characters (like comma) Here is what I am trying to do. | | open 1 for writing.......=20 Begin-select a.emplid a.first_name move &a.emplid to $emplid move &a.first_name to $firstname from ps_personal_data. | | | write 1 from $emplid '|' $firstname '|' | | The result should be like this: 01|jack| 02|mike| | | but if $firstname has hyphen, then I am not able to read it as single string, so that I can write that value within same delimiter. Please help...kind of urgent Rose _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=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 Thu Apr 26 10:23:53 2007 Date: Thu, 26 Apr 2007 07:20:34 -0700 (PDT) From: rose kunwar Subject: Re: [sqr-users] RE: error while reading a string from a column I cannot. I have a requirement to use pipe delimiter. ----- Original Message ---- From: "Knapp, Richard" To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Sent: Thursday, April 26, 2007 10:17:50 AM Subject: RE: [sqr-users] RE: error while reading a string from a column Rose, CSV stands for comma separated values. Replace the pipes with commas. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of rose kunwar Sent: Thursday, April 26, 2007 9:11 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] RE: error while reading a string from a column Here is what my .csv file looks like 00001|Mike|Boltan|0005 00020|De-Geneor|Smith|0022 00040|Adam|Hunt|0042 But when I open this .csv file with Excel, it thinks that hyphen is delimiter. So instead of showing entire row in one column (for second row in above example), it shows "00020|De" in column and "Geneor|Smith|0042" in another column. And the hyphen in the firstname is missing. So I was wondering if the problem is associate with reading the data or writing the data. Or may be it is because of Excel itself because if I open same .csv file through notepad, it is showing me as the one above. ----- Original Message ---- From: White . Denise To: sqr-users@sqrug.org Sent: Thursday, April 26, 2007 9:23:47 AM Subject: [sqr-users] RE: error while reading a string from a column Yes, you need to tell us more specifically what the problem is. Reading and writing fields with commas and hyphens should be no problem; I have done it frequently, especially with the name field. A string is a string. Denise M. White EBS Programmer/Analyst III Dynamics Research Corporation ------------------------------ Message: 2 Date: Wed, 25 Apr 2007 10:24:15 -0700 From: "Alexander, Steven" Subject: RE: [sqr-users] error while reading a string from a column To: "'This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions.'" Message-ID: <62AFC819CCF3D611827A00065B3F7981101F989D@sj_exchange.sjcity.net> Content-Type: text/plain What do you mean "I am not able to read it as single string"? Are you saying there is a problem in the begin-select statement? What happens when you try to read it? -----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 Knapp, Richard Sent: Wednesday, April 25, 2007 7:33 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] error while reading a string from a column Maybe translate will work for you. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of rose kunwar Sent: Tuesday, April 24, 2007 9:19 PM To: sqr-users@sqrug.org Subject: [sqr-users] error while reading a string from a column Hi all, How do I read a string with special characters (like comma) Here is what I am trying to do. | | open 1 for writing....... Begin-select a.emplid a.first_name move &a.emplid to $emplid move &a.first_name to $firstname from ps_personal_data. | | | write 1 from $emplid '|' $firstname '|' | | The result should be like this: 01|jack| 02|mike| | | but if $firstname has hyphen, then I am not able to read it as single string, so that I can write that value within same delimiter. Please help...kind of urgent Rose _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 26 10:30:51 2007 Subject: RE: [sqr-users] RE: error while reading a string from a column Date: Thu, 26 Apr 2007 09:28:19 -0500 From: "Knapp, Richard" Then you must tell Excel as it is importing the file that the delimiter is a pipe. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 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 rose kunwar Sent: Thursday, April 26, 2007 9:21 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] RE: error while reading a string from a column I cannot. I have a requirement to use pipe delimiter.=20 ----- Original Message ---- From: "Knapp, Richard" To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Sent: Thursday, April 26, 2007 10:17:50 AM Subject: RE: [sqr-users] RE: error while reading a string from a column Rose, CSV stands for comma separated values. Replace the pipes with commas. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 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 rose kunwar Sent: Thursday, April 26, 2007 9:11 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] RE: error while reading a string from a column Here is what my .csv file looks like 00001|Mike|Boltan|0005 00020|De-Geneor|Smith|0022 00040|Adam|Hunt|0042 But when I open this .csv file with Excel, it thinks that hyphen is delimiter. So instead of showing entire row in one column (for second row in above example), it shows "00020|De" in column and "Geneor|Smith|0042" in another column. And the hyphen in the firstname is missing.=20 So I was wondering if the problem is associate with reading the data or writing the data.=20 Or may be it is because of Excel itself because if I open same .csv file through notepad, it is showing me as the one above. ----- Original Message ---- From: White . Denise To: sqr-users@sqrug.org Sent: Thursday, April 26, 2007 9:23:47 AM Subject: [sqr-users] RE: error while reading a string from a column Yes, you need to tell us more specifically what the problem is. Reading and writing fields with commas and hyphens should be no problem; I have done it frequently, especially with the name field. A string is a string. Denise M. White EBS Programmer/Analyst III Dynamics Research Corporation ------------------------------ Message: 2 Date: Wed, 25 Apr 2007 10:24:15 -0700 From: "Alexander, Steven" Subject: RE: [sqr-users] error while reading a string from a column To: "'This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions.'" Message-ID: =20=20=20=20 <62AFC819CCF3D611827A00065B3F7981101F989D@sj_exchange.sjcity.net> Content-Type: text/plain What do you mean "I am not able to read it as single string"? Are you saying there is a problem in the begin-select statement? What happens when you try to read it? -----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: Wednesday, April 25, 2007 7:33 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] error while reading a string from a column Maybe translate will work for you. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 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 rose kunwar Sent: Tuesday, April 24, 2007 9:19 PM To: sqr-users@sqrug.org Subject: [sqr-users] error while reading a string from a column Hi all, How do I read a string with special characters (like comma) Here is what I am trying to do. | | open 1 for writing.......=20 Begin-select a.emplid a.first_name move &a.emplid to $emplid move &a.first_name to $firstname from ps_personal_data. | | | write 1 from $emplid '|' $firstname '|' | | The result should be like this: 01|jack| 02|mike| | | but if $firstname has hyphen, then I am not able to read it as single string, so that I can write that value within same delimiter. Please help...kind of urgent Rose _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=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 Thu Apr 26 10:40:02 2007 Subject: RE: [sqr-users] RE: error while reading a string from a column Date: Thu, 26 Apr 2007 10:34:05 -0400 From: "Kumar, Rahul" =0D =0D Hi rose,=0D =0D I just tried pasting this in a csv file =0D 00001|Mike|Boltan|0005=0D 00020|De-Geneor|Smith|0022=0D 00040|Adam|Hunt|0042=0D =0D and opened the file with excel ,and for me it is showing the second line=0D also in one col. Please chk once again.maybe there is some prob while=0D writing in the file.=0D =0D Thanks,=0D Rahul=0D =0D -----Original Message-----=0D From: sqr-users-bounces+rahul_kumar=3Dadp.com@sqrug.org=0D [mailto:sqr-users-bounces+rahul_kumar=3Dadp.com@sqrug.org] On Behalf Of=0D Knapp, Richard=0D Sent: Thursday, April 26, 2007 7:58 PM=0D To: This list is for discussion about the SQR database reportinglanguage=0D fromHyperion Solutions.=0D Subject: RE: [sqr-users] RE: error while reading a string from a column=0D =0D =0D Then you must tell Excel as it is importing the file that the delimiter=0D is a pipe.=0D =0D Richard Knapp=0D EAS - Data Warehouse Group=0D University of Missouri=0D 615 Locust Street #200=0D Columbia, MO 65201=0D 573-882-8856=0D knappr@umsystem.edu=0D =0D =0D -----Original Message-----=0D From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org=0D [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of=0D rose kunwar=0D Sent: Thursday, April 26, 2007 9:21 AM=0D To: This list is for discussion about the SQR database reporting=0D languagefrom Hyperion Solutions.=0D Subject: Re: [sqr-users] RE: error while reading a string from a column=0D =0D I cannot. I have a requirement to use pipe delimiter. =0D =0D =0D ----- Original Message ----=0D From: "Knapp, Richard" =0D To: This list is for discussion about the SQR database reportinglanguage=0D from Hyperion Solutions. =0D Sent: Thursday, April 26, 2007 10:17:50 AM=0D Subject: RE: [sqr-users] RE: error while reading a string from a column=0D =0D =0D Rose,=0D =0D CSV stands for comma separated values. Replace the pipes with commas.=0D =0D Richard Knapp=0D EAS - Data Warehouse Group=0D University of Missouri=0D 615 Locust Street #200=0D Columbia, MO 65201=0D 573-882-8856=0D knappr@umsystem.edu=0D =0D =0D -----Original Message-----=0D From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org=0D [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of=0D rose kunwar=0D Sent: Thursday, April 26, 2007 9:11 AM=0D To: This list is for discussion about the SQR database reporting=0D languagefrom Hyperion Solutions.=0D Subject: Re: [sqr-users] RE: error while reading a string from a column=0D =0D Here is what my .csv file looks like=0D =0D 00001|Mike|Boltan|0005=0D 00020|De-Geneor|Smith|0022=0D 00040|Adam|Hunt|0042=0D =0D But when I open this .csv file with Excel, it thinks that hyphen is=0D delimiter. So instead of showing entire row in one column (for second=0D row in above example), it shows "00020|De" in column and=0D "Geneor|Smith|0042" in another column. And the hyphen in the firstname=0D is missing. =0D =0D So I was wondering if the problem is associate with reading the data or=0D writing the data. =0D Or may be it is because of Excel itself because if I open same .csv file=0D through notepad, it is showing me as the one above.=0D =0D =0D =0D =0D =0D =0D ----- Original Message ----=0D From: White . Denise =0D To: sqr-users@sqrug.org=0D Sent: Thursday, April 26, 2007 9:23:47 AM=0D Subject: [sqr-users] RE: error while reading a string from a column=0D =0D =0D Yes, you need to tell us more specifically what the problem is. Reading=0D and writing fields with commas and hyphens should be no problem; I have=0D done it frequently, especially with the name field. A string is a=0D string.=0D =0D Denise M. White=0D EBS Programmer/Analyst III=0D Dynamics Research Corporation=0D ------------------------------=0D =0D Message: 2=0D Date: Wed, 25 Apr 2007 10:24:15 -0700=0D From: "Alexander, Steven" =0D Subject: RE: [sqr-users] error while reading a string from a column=0D To: "'This list is for discussion about the SQR database=0D reportinglanguage from Hyperion Solutions.'"=0D =0D Message-ID:=0D =0D <62AFC819CCF3D611827A00065B3F7981101F989D@sj_exchange.sjcity.net>=0D Content-Type: text/plain=0D =0D What do you mean "I am not able to read it as single string"? Are you=0D saying there is a problem in the begin-select statement? What happens=0D when you try to read it?=0D =0D -----Original Message-----=0D From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org=0D [mailto:sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On=0D Behalf Of Knapp, Richard=0D Sent: Wednesday, April 25, 2007 7:33 AM=0D To: This list is for discussion about the SQR database reportinglanguage=0D fromHyperion Solutions.=0D Subject: RE: [sqr-users] error while reading a string from a column=0D =0D =0D Maybe translate will work for you.=0D =0D Richard Knapp=0D EAS - Data Warehouse Group=0D University of Missouri=0D 615 Locust Street #200=0D Columbia, MO 65201=0D 573-882-8856=0D knappr@umsystem.edu=0D =0D =0D -----Original Message-----=0D From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org=0D [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of=0D rose kunwar=0D Sent: Tuesday, April 24, 2007 9:19 PM=0D To: sqr-users@sqrug.org=0D Subject: [sqr-users] error while reading a string from a column=0D =0D Hi all,=0D =0D How do I read a string with special characters (like comma) Here is what=0D I am trying to do.=0D |=0D |=0D open 1 for writing....... =0D =0D Begin-select=0D a.emplid=0D a.first_name=0D move &a.emplid to $emplid=0D move &a.first_name to $firstname=0D from ps_personal_data.=0D |=0D |=0D |=0D write 1 from=0D $emplid '|'=0D $firstname '|'=0D |=0D |=0D The result should be like this:=0D 01|jack|=0D 02|mike|=0D |=0D |=0D but=0D if $firstname has hyphen, then I am not able to read it as single=0D string, so that I can write that value within same delimiter. Please=0D help...kind of urgent=0D =0D Rose=0D =0D _______________________________________________=0D sqr-users mailing list=0D sqr-users@sqrug.org=0D http://www.sqrug.org/mailman/listinfo/sqr-users=0D =0D __________________________________________________=0D Do You Yahoo!?=0D Tired of spam? Yahoo! Mail has the best spam protection around =0D http://mail.yahoo.com =0D =0D _______________________________________________=0D sqr-users mailing list=0D sqr-users@sqrug.org=0D http://www.sqrug.org/mailman/listinfo/sqr-users=0D =0D _______________________________________________=0D sqr-users mailing list=0D sqr-users@sqrug.org=0D http://www.sqrug.org/mailman/listinfo/sqr-users=0D =0D __________________________________________________=0D Do You Yahoo!?=0D Tired of spam? Yahoo! Mail has the best spam protection around =0D http://mail.yahoo.com =0D =0D _______________________________________________=0D sqr-users mailing list=0D sqr-users@sqrug.org=0D http://www.sqrug.org/mailman/listinfo/sqr-users=0D =0D _______________________________________________=0D sqr-users mailing list=0D sqr-users@sqrug.org=0D http://www.sqrug.org/mailman/listinfo/sqr-users=0D -----------------------------------------=0D This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, notify the sender immediately by return email and delete the message and any attachments from your system. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 26 10:47:00 2007 From: "Elvis Pressly" Subject: Re: [sqr-users] RE: error while reading a string from a column Date: Thu, 26 Apr 2007 14:38:45 +0000 Rose, Your csv output is doing fine. It's the way excel reads your input. You have to tell excel that pipe is your delimiter. What you can do is make sure your output is a text file then open with excel and let excel knows that your delimiter is a pipe character. >From: rose kunwar >Reply-To: "This list is for discussion about the SQR database >reportinglanguage from Hyperion Solutions." >To: "This list is for discussion about the SQR database reporting >languagefrom Hyperion Solutions." >Subject: Re: [sqr-users] RE: error while reading a string from a column >Date: Thu, 26 Apr 2007 07:20:34 -0700 (PDT) > >I cannot. I have a requirement to use pipe delimiter. > > >----- Original Message ---- >From: "Knapp, Richard" >To: This list is for discussion about the SQR database reportinglanguage >from Hyperion Solutions. >Sent: Thursday, April 26, 2007 10:17:50 AM >Subject: RE: [sqr-users] RE: error while reading a string from a column > > >Rose, > >CSV stands for comma separated values. Replace the pipes with commas. > >Richard Knapp >EAS - Data Warehouse Group >University of Missouri >615 Locust Street #200 >Columbia, MO 65201 >573-882-8856 >knappr@umsystem.edu > > >-----Original Message----- >From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org >[mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of >rose kunwar >Sent: Thursday, April 26, 2007 9:11 AM >To: This list is for discussion about the SQR database reporting >languagefrom Hyperion Solutions. >Subject: Re: [sqr-users] RE: error while reading a string from a column > >Here is what my .csv file looks like > >00001|Mike|Boltan|0005 >00020|De-Geneor|Smith|0022 >00040|Adam|Hunt|0042 > >But when I open this .csv file with Excel, it thinks that hyphen is >delimiter. So instead of showing entire row in one column (for second >row in above example), it shows "00020|De" in column and >"Geneor|Smith|0042" in another column. And the hyphen in the firstname >is missing. > >So I was wondering if the problem is associate with reading the data or >writing the data. >Or may be it is because of Excel itself because if I open same .csv file >through notepad, it is showing me as the one above. > > > > > > >----- Original Message ---- >From: White . Denise >To: sqr-users@sqrug.org >Sent: Thursday, April 26, 2007 9:23:47 AM >Subject: [sqr-users] RE: error while reading a string from a column > > >Yes, you need to tell us more specifically what the problem is. Reading >and writing fields with commas and hyphens should be no problem; I have >done it frequently, especially with the name field. A string is a >string. > >Denise M. White >EBS Programmer/Analyst III >Dynamics Research Corporation >------------------------------ > >Message: 2 >Date: Wed, 25 Apr 2007 10:24:15 -0700 >From: "Alexander, Steven" >Subject: RE: [sqr-users] error while reading a string from a column >To: "'This list is for discussion about the SQR database > reportinglanguage from Hyperion Solutions.'" > >Message-ID: > ><62AFC819CCF3D611827A00065B3F7981101F989D@sj_exchange.sjcity.net> >Content-Type: text/plain > >What do you mean "I am not able to read it as single string"? Are you >saying there is a problem in the begin-select statement? What happens >when you try to read it? > >-----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 Knapp, Richard >Sent: Wednesday, April 25, 2007 7:33 AM >To: This list is for discussion about the SQR database reportinglanguage >fromHyperion Solutions. >Subject: RE: [sqr-users] error while reading a string from a column > > >Maybe translate will work for you. > >Richard Knapp >EAS - Data Warehouse Group >University of Missouri >615 Locust Street #200 >Columbia, MO 65201 >573-882-8856 >knappr@umsystem.edu > > >-----Original Message----- >From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org >[mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of >rose kunwar >Sent: Tuesday, April 24, 2007 9:19 PM >To: sqr-users@sqrug.org >Subject: [sqr-users] error while reading a string from a column > >Hi all, > >How do I read a string with special characters (like comma) Here is what >I am trying to do. >| >| >open 1 for writing....... > >Begin-select >a.emplid >a.first_name > move &a.emplid to $emplid > move &a.first_name to $firstname >from ps_personal_data. >| >| >| >write 1 from > $emplid '|' > $firstname '|' >| >| >The result should be like this: >01|jack| >02|mike| >| >| >but >if $firstname has hyphen, then I am not able to read it as single >string, so that I can write that value within same delimiter. Please >help...kind of urgent > >Rose > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Download Messenger. Join the i’m Initiative. Help make a difference today. http://im.live.com/messenger/im/home/?source=TAGHM_APR07 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Apr 27 11:29:17 2007 Date: Fri, 27 Apr 2007 11:27:02 -0400 From: Melamed@FARMINGDALE.EDU Subject: RE: [sqr-users] RE: error while reading a string from a column Do not open the .csv file by clicking on it - use the "Text import Wizard" instead. - Open Excel - blank worksheet - Click Data, then Import External Data - Point it at your file and then choose from all of the delimiter and colum options available im Ira Melamed Administrative Computing Farmingdale State College Email: Melamed@Farmingdale.edu Phone: (631) 420-2415 FAX: (631) 420-2696=20 -----Original Message----- From: sqr-users-bounces+melamed=3Dfarmingdale.edu@sqrug.org [mailto:sqr-users-bounces+melamed=3Dfarmingdale.edu@sqrug.org] On Behalf Of rose kunwar Sent: Thursday, April 26, 2007 10:21 AM To: This list is for discussion about the SQR database reporting language from Hyperion Solutions. Subject: Re: [sqr-users] RE: error while reading a string from a column I cannot. I have a requirement to use pipe delimiter.=20 ----- Original Message ---- From: "Knapp, Richard" To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Sent: Thursday, April 26, 2007 10:17:50 AM Subject: RE: [sqr-users] RE: error while reading a string from a column Rose, CSV stands for comma separated values. Replace the pipes with commas. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 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 rose kunwar Sent: Thursday, April 26, 2007 9:11 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] RE: error while reading a string from a column Here is what my .csv file looks like 00001|Mike|Boltan|0005 00020|De-Geneor|Smith|0022 00040|Adam|Hunt|0042 But when I open this .csv file with Excel, it thinks that hyphen is delimiter. So instead of showing entire row in one column (for second row in above example), it shows "00020|De" in column and "Geneor|Smith|0042" in another column. And the hyphen in the firstname is missing.=20 So I was wondering if the problem is associate with reading the data or writing the data.=20 Or may be it is because of Excel itself because if I open same .csv file through notepad, it is showing me as the one above. ----- Original Message ---- From: White . Denise To: sqr-users@sqrug.org Sent: Thursday, April 26, 2007 9:23:47 AM Subject: [sqr-users] RE: error while reading a string from a column Yes, you need to tell us more specifically what the problem is. Reading and writing fields with commas and hyphens should be no problem; I have done it frequently, especially with the name field. A string is a string. Denise M. White EBS Programmer/Analyst III Dynamics Research Corporation ------------------------------ Message: 2 Date: Wed, 25 Apr 2007 10:24:15 -0700 From: "Alexander, Steven" Subject: RE: [sqr-users] error while reading a string from a column To: "'This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions.'" Message-ID: =20=20=20=20 <62AFC819CCF3D611827A00065B3F7981101F989D@sj_exchange.sjcity.net> Content-Type: text/plain What do you mean "I am not able to read it as single string"? Are you saying there is a problem in the begin-select statement? What happens when you try to read it? -----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: Wednesday, April 25, 2007 7:33 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] error while reading a string from a column Maybe translate will work for you. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 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 rose kunwar Sent: Tuesday, April 24, 2007 9:19 PM To: sqr-users@sqrug.org Subject: [sqr-users] error while reading a string from a column Hi all, How do I read a string with special characters (like comma) Here is what I am trying to do. | | open 1 for writing.......=20 Begin-select a.emplid a.first_name move &a.emplid to $emplid move &a.first_name to $firstname from ps_personal_data. | | | write 1 from $emplid '|' $firstname '|' | | The result should be like this: 01|jack| 02|mike| | | but if $firstname has hyphen, then I am not able to read it as single string, so that I can write that value within same delimiter. Please help...kind of urgent Rose _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=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 Thu May 10 09:24:42 2007 Date: Thu, 10 May 2007 09:22:04 -0400 From: "Stephen Andrew Wowelko" Subject: [sqr-users] converting .ttf font to .fnt to print signature on paychecks Wondering if anyone on the list can point me in the right direction... We had a personnel change and need to get a new signature to print on our paychecks in PeopleSoft. I have created a .ttf font with the new signature imbedded in a character cell (like before). In the past we have used the FLOAD utility to load the signature to the printer before printing the checks. The FLOAD utility loads the .fnt version of the font to the printer. =20 We first did this process 10 years ago and no one can remember how to create the .fnt font from the .ttf font.=20 =20 Any thoughts or hints on this? Thanks, Stephen Wowelko ITS - Information Systems Syracuse University _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu May 10 09:55:09 2007 Date: Thu, 10 May 2007 09:51:58 -0400 From: "Jamie Harris" Subject: Re: [sqr-users] converting .ttf font to .fnt to print signature on paychecks Stephen, When we've had to do this we had a similar issue - we used to get HP to mak= e a font DIMM for our check printer, but since the printer is so old they w= on't do that anymore. So our options were to get a new printer or find ano= ther way.=20=20 As you can gather, it's quite easy to use the .ttf version you have in anyt= hing BUT the SQR language. We never really found a good way to do that, s= o it was cheaper just to go here: http://www.elfring.com/signatur.htm Get the free trial version and make s= ure it works for you before you buy anything - if you can get "Your signatu= re here" to appear on a check, then the same code will work with your real = font. :) You have to get the PCL font (for DOS systems). Then, in the SQR we just p= rint a certain escape code sequence and we're in business: encode '<27>(1XABC<27>(3@' into $SigFont print $SigFont (,) We run checks to a .LIS file, then have a batch file that uses FLOAD (or so= mething like it) to load the soft font into the printer and print the .LIS = file. That sounds like exactly what you're doing so you should be good to= go. The downside here is that when we change these signatures we have to create= a new TTF (for Crystal Reports, etc.) and a new PCL font for SQR to use. = I'd love to be able to just use the .ttf directly in the SQR! ----------------------------------------------------- James Harris Enterprise Application Analyst/Programmer Information Technology Division Frederick Community College=20 ----------------------------------------------------- >>> "Stephen Andrew Wowelko" 5/10/2007 9:22 AM >>> Wondering if anyone on the list can point me in the right direction... We had a personnel change and need to get a new signature to print on our paychecks in PeopleSoft. I have created a .ttf font with the new signature imbedded in a character cell (like before). In the past we have used the FLOAD utility to load the signature to the printer before printing the checks. The FLOAD utility loads the .fnt version of the font to the printer. =20 We first did this process 10 years ago and no one can remember how to create the .fnt font from the .ttf font.=20 =20 Any thoughts or hints on this? Thanks, Stephen Wowelko ITS - Information Systems Syracuse University _______________________________________________ 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 Thu May 10 10:23:57 2007 Date: Thu, 10 May 2007 08:21:35 -0600 From: "Robert Goshko" Subject: Re: [sqr-users] converting .ttf font to .fnt to print signature on paychecks On 5/10/07, Jamie Harris wrote: > > Stephen, > > When we've had to do this we had a similar issue - we used to get HP to make a font DIMM for our check printer, but since the printer is so old they won't do that anymore. So our options were to get a new printer or find another way. Troy Printers does this I know, they mod HP printers for signature and MICR printing. > The downside here is that when we change these signatures we have to create a new TTF (for Crystal Reports, etc.) and a new PCL font for SQR to use. I'd love to be able to just use the .ttf directly in the SQR! You can add ttf files to SQR, you need to do the set-up in the sqr.ini file, I have added a MICR ttf file for a client in the past, PeopleTools 8.4 which is and older version of SQR, 5 I think. -- ...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, 2.7+ GB web mail (for free), just ask me. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 26 10:35:54 2007 Date: Thu, 26 Apr 2007 10:29:06 -0400 From: "Tajinder Chahal" Subject: Re: [sqr-users] RE: error while reading a string from a column When you open the file in Excel, in one of the steps it asks what kind of '= Delimiter' you are using. Specify '|' in the 'Other' field. It works fine for me. >>> rosekunwar@yahoo.com 04/26/07 10:20AM >>> I cannot. I have a requirement to use pipe delimiter.=20 ----- Original Message ---- From: "Knapp, Richard" To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Sent: Thursday, April 26, 2007 10:17:50 AM Subject: RE: [sqr-users] RE: error while reading a string from a column Rose, CSV stands for comma separated values. Replace the pipes with commas. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu=20 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org=20 [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of rose kunwar Sent: Thursday, April 26, 2007 9:11 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] RE: error while reading a string from a column Here is what my .csv file looks like 00001|Mike|Boltan|0005 00020|De-Geneor|Smith|0022 00040|Adam|Hunt|0042 But when I open this .csv file with Excel, it thinks that hyphen is delimiter. So instead of showing entire row in one column (for second row in above example), it shows "00020|De" in column and "Geneor|Smith|0042" in another column. And the hyphen in the firstname is missing.=20 So I was wondering if the problem is associate with reading the data or writing the data.=20 Or may be it is because of Excel itself because if I open same .csv file through notepad, it is showing me as the one above. ----- Original Message ---- From: White . Denise To: sqr-users@sqrug.org=20 Sent: Thursday, April 26, 2007 9:23:47 AM Subject: [sqr-users] RE: error while reading a string from a column Yes, you need to tell us more specifically what the problem is. Reading and writing fields with commas and hyphens should be no problem; I have done it frequently, especially with the name field. A string is a string. Denise M. White EBS Programmer/Analyst III Dynamics Research Corporation ------------------------------ Message: 2 Date: Wed, 25 Apr 2007 10:24:15 -0700 From: "Alexander, Steven" Subject: RE: [sqr-users] error while reading a string from a column To: "'This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions.'" Message-ID: =20=20=20=20 <62AFC819CCF3D611827A00065B3F7981101F989D@sj_exchange.sjcity.net> Content-Type: text/plain What do you mean "I am not able to read it as single string"? Are you saying there is a problem in the begin-select statement? What happens when you try to read it? -----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: Wednesday, April 25, 2007 7:33 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] error while reading a string from a column Maybe translate will work for you. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu=20 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org=20 [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of rose kunwar Sent: Tuesday, April 24, 2007 9:19 PM To: sqr-users@sqrug.org=20 Subject: [sqr-users] error while reading a string from a column Hi all, How do I read a string with special characters (like comma) Here is what I am trying to do. | | open 1 for writing.......=20 Begin-select a.emplid a.first_name move &a.emplid to $emplid move &a.first_name to $firstname from ps_personal_data. | | | write 1 from $emplid '|' $firstname '|' | | The result should be like this: 01|jack| 02|mike| | | but if $firstname has hyphen, then I am not able to read it as single string, so that I can write that value within same delimiter. Please help...kind of urgent Rose _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users=20 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=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 Thu Apr 26 10:43:34 2007 Subject: RE: [sqr-users] RE: error while reading a string from a column Date: Thu, 26 Apr 2007 10:37:34 -0400 From: "Larry Roux" Same here. I just tested your sample and it came up fine when I told Excel that the delimiter character was | -----Original Message----- From: sqr-users-bounces+lroux=3Dsyr.edu@sqrug.org [mailto:sqr-users-bounces+lroux=3Dsyr.edu@sqrug.org] On Behalf Of Tajinder Chahal Sent: Thursday, April 26, 2007 10:29 AM To: sqr-users@sqrug.org; rosekunwar@yahoo.com Subject: Re: [sqr-users] RE: error while reading a string from a column When you open the file in Excel, in one of the steps it asks what kind of 'Delimiter' you are using. Specify '|' in the 'Other' field. It works fine for me. >>> rosekunwar@yahoo.com 04/26/07 10:20AM >>> I cannot. I have a requirement to use pipe delimiter.=20 ----- Original Message ---- From: "Knapp, Richard" To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Sent: Thursday, April 26, 2007 10:17:50 AM Subject: RE: [sqr-users] RE: error while reading a string from a column Rose, CSV stands for comma separated values. Replace the pipes with commas. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu=20 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org=20 [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of rose kunwar Sent: Thursday, April 26, 2007 9:11 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] RE: error while reading a string from a column Here is what my .csv file looks like 00001|Mike|Boltan|0005 00020|De-Geneor|Smith|0022 00040|Adam|Hunt|0042 But when I open this .csv file with Excel, it thinks that hyphen is delimiter. So instead of showing entire row in one column (for second row in above example), it shows "00020|De" in column and "Geneor|Smith|0042" in another column. And the hyphen in the firstname is missing.=20 So I was wondering if the problem is associate with reading the data or writing the data.=20 Or may be it is because of Excel itself because if I open same .csv file through notepad, it is showing me as the one above. ----- Original Message ---- From: White . Denise To: sqr-users@sqrug.org=20 Sent: Thursday, April 26, 2007 9:23:47 AM Subject: [sqr-users] RE: error while reading a string from a column Yes, you need to tell us more specifically what the problem is. Reading and writing fields with commas and hyphens should be no problem; I have done it frequently, especially with the name field. A string is a string. Denise M. White EBS Programmer/Analyst III Dynamics Research Corporation ------------------------------ Message: 2 Date: Wed, 25 Apr 2007 10:24:15 -0700 From: "Alexander, Steven" Subject: RE: [sqr-users] error while reading a string from a column To: "'This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions.'" Message-ID: =20=20=20=20 <62AFC819CCF3D611827A00065B3F7981101F989D@sj_exchange.sjcity.net> Content-Type: text/plain What do you mean "I am not able to read it as single string"? Are you saying there is a problem in the begin-select statement? What happens when you try to read it? -----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: Wednesday, April 25, 2007 7:33 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] error while reading a string from a column Maybe translate will work for you. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu=20 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org=20 [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of rose kunwar Sent: Tuesday, April 24, 2007 9:19 PM To: sqr-users@sqrug.org=20 Subject: [sqr-users] error while reading a string from a column Hi all, How do I read a string with special characters (like comma) Here is what I am trying to do. | | open 1 for writing.......=20 Begin-select a.emplid a.first_name move &a.emplid to $emplid move &a.first_name to $firstname from ps_personal_data. | | | write 1 from $emplid '|' $firstname '|' | | The result should be like this: 01|jack| 02|mike| | | but if $firstname has hyphen, then I am not able to read it as single string, so that I can write that value within same delimiter. Please help...kind of urgent Rose _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users=20 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=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 Thu Apr 26 11:30:18 2007 Date: Thu, 26 Apr 2007 16:27:08 +0100 (BST) From: ashwin reddy Subject: RE: [sqr-users] RE: error while reading a string from a column change the delimiter in Excel to Pipe "|" nd shuld be able to see the file in the right way go to Control panel > Regional & lang settings > in Regional Options Tab "Click the Customuze button" and change the list seperator to "|" The format u got inside the file is correct its only the way excel interprets the delimiter its showing the file in such a way ..... Mahesh Larry Roux wrote: Same here. I just tested your sample and it came up fine when I told Excel that the delimiter character was | -----Original Message----- From: sqr-users-bounces+lroux=syr.edu@sqrug.org [mailto:sqr-users-bounces+lroux=syr.edu@sqrug.org] On Behalf Of Tajinder Chahal Sent: Thursday, April 26, 2007 10:29 AM To: sqr-users@sqrug.org; rosekunwar@yahoo.com Subject: Re: [sqr-users] RE: error while reading a string from a column When you open the file in Excel, in one of the steps it asks what kind of 'Delimiter' you are using. Specify '|' in the 'Other' field. It works fine for me. >>> rosekunwar@yahoo.com 04/26/07 10:20AM >>> I cannot. I have a requirement to use pipe delimiter. ----- Original Message ---- From: "Knapp, Richard" To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Sent: Thursday, April 26, 2007 10:17:50 AM Subject: RE: [sqr-users] RE: error while reading a string from a column Rose, CSV stands for comma separated values. Replace the pipes with commas. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of rose kunwar Sent: Thursday, April 26, 2007 9:11 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] RE: error while reading a string from a column Here is what my .csv file looks like 00001|Mike|Boltan|0005 00020|De-Geneor|Smith|0022 00040|Adam|Hunt|0042 But when I open this .csv file with Excel, it thinks that hyphen is delimiter. So instead of showing entire row in one column (for second row in above example), it shows "00020|De" in column and "Geneor|Smith|0042" in another column. And the hyphen in the firstname is missing. So I was wondering if the problem is associate with reading the data or writing the data. Or may be it is because of Excel itself because if I open same .csv file through notepad, it is showing me as the one above. ----- Original Message ---- From: White . Denise To: sqr-users@sqrug.org Sent: Thursday, April 26, 2007 9:23:47 AM Subject: [sqr-users] RE: error while reading a string from a column Yes, you need to tell us more specifically what the problem is. Reading and writing fields with commas and hyphens should be no problem; I have done it frequently, especially with the name field. A string is a string. Denise M. White EBS Programmer/Analyst III Dynamics Research Corporation ------------------------------ Message: 2 Date: Wed, 25 Apr 2007 10:24:15 -0700 From: "Alexander, Steven" Subject: RE: [sqr-users] error while reading a string from a column To: "'This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions.'" Message-ID: <62AFC819CCF3D611827A00065B3F7981101F989D@sj_exchange.sjcity.net> Content-Type: text/plain What do you mean "I am not able to read it as single string"? Are you saying there is a problem in the begin-select statement? What happens when you try to read it? -----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 Knapp, Richard Sent: Wednesday, April 25, 2007 7:33 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] error while reading a string from a column Maybe translate will work for you. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of rose kunwar Sent: Tuesday, April 24, 2007 9:19 PM To: sqr-users@sqrug.org Subject: [sqr-users] error while reading a string from a column Hi all, How do I read a string with special characters (like comma) Here is what I am trying to do. | | open 1 for writing....... Begin-select a.emplid a.first_name move &a.emplid to $emplid move &a.first_name to $firstname from ps_personal_data. | | | write 1 from $emplid '|' $firstname '|' | | The result should be like this: 01|jack| 02|mike| | | but if $firstname has hyphen, then I am not able to read it as single string, so that I can write that value within same delimiter. Please help...kind of urgent Rose _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 --------------------------------- Yahoo! Answers - Got a question? Someone out there knows the answer. Tryit now. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 26 11:48:45 2007 Date: Thu, 26 Apr 2007 17:45:55 +0200 Subject: RE: [sqr-users] RE: error while reading a string from a column From: "franck\.masson2002" have you tried to add <<">> around your value today 00001|Mike|Boltan|0005 proposed "00001"|"Mike"|"Boltan"|"0005" regards > change the delimiter in Excel to Pipe "|" nd shuld be able to see the fil= e in the right way > > go to Control panel > Regional & lang settings > in Regional Options T= ab "Click the Customuze button" and change the list seperator to "|" > > The format u got inside the file is correct its only the way excel inte= rprets the delimiter its showing the file in such a way ..... > > Mahesh > > Larry Roux wrote: > Same here. I just tested your sample and it came up fine when I told > Excel that the delimiter character was | > > -----Original Message----- > From: sqr-users-bounces+lroux=3Dsyr.edu@sqrug.org > [mailto:sqr-users-bounces+lroux=3Dsyr.edu@sqrug.org] On Behalf Of Tajinder > Chahal > Sent: Thursday, April 26, 2007 10:29 AM > To: sqr-users@sqrug.org; rosekunwar@yahoo.com > Subject: Re: [sqr-users] RE: error while reading a string from a column > > When you open the file in Excel, in one of the steps it asks what kind > of 'Delimiter' you are using. Specify '|' in the 'Other' field. > It works fine for me. > > >>> rosekunwar@yahoo.com 04/26/07 10:20AM >>> > I cannot. I have a requirement to use pipe delimiter. > > > ----- Original Message ---- > From: "Knapp, Richard" > To: This list is for discussion about the SQR database reportinglanguage > from Hyperion Solutions. > Sent: Thursday, April 26, 2007 10:17:50 AM > Subject: RE: [sqr-users] RE: error while reading a string from a column > > > Rose, > > CSV stands for comma separated values. Replace the pipes with commas. > > Richard Knapp > EAS - Data Warehouse Group > University of Missouri > 615 Locust Street #200 > Columbia, MO 65201 > 573-882-8856 > 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 > rose kunwar > Sent: Thursday, April 26, 2007 9:11 AM > To: This list is for discussion about the SQR database reporting > languagefrom Hyperion Solutions. > Subject: Re: [sqr-users] RE: error while reading a string from a column > > Here is what my .csv file looks like > > 00001|Mike|Boltan|0005 > 00020|De-Geneor|Smith|0022 > 00040|Adam|Hunt|0042 > > But when I open this .csv file with Excel, it thinks that hyphen is > delimiter. So instead of showing entire row in one column (for second > row in above example), it shows "00020|De" in column and > "Geneor|Smith|0042" in another column. And the hyphen in the firstname > is missing. > > So I was wondering if the problem is associate with reading the data or > writing the data. > Or may be it is because of Excel itself because if I open same .csv file > through notepad, it is showing me as the one above. > > > > > > > ----- Original Message ---- > From: White . Denise > To: sqr-users@sqrug.org > Sent: Thursday, April 26, 2007 9:23:47 AM > Subject: [sqr-users] RE: error while reading a string from a column > > > Yes, you need to tell us more specifically what the problem is. Reading > and writing fields with commas and hyphens should be no problem; I have > done it frequently, especially with the name field. A string is a > string. > > Denise M. White > EBS Programmer/Analyst III > Dynamics Research Corporation > ------------------------------ > > Message: 2 > Date: Wed, 25 Apr 2007 10:24:15 -0700 > From: "Alexander, Steven" > Subject: RE: [sqr-users] error while reading a string from a column > To: "'This list is for discussion about the SQR database > reportinglanguage from Hyperion Solutions.'" > > Message-ID: > > <62AFC819CCF3D611827A00065B3F7981101F989D@sj_exchange.sjcity.net> > Content-Type: text/plain > > What do you mean "I am not able to read it as single string"? Are you > saying there is a problem in the begin-select statement? What happens > when you try to read it? > > -----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: Wednesday, April 25, 2007 7:33 AM > To: This list is for discussion about the SQR database reportinglanguage > fromHyperion Solutions. > Subject: RE: [sqr-users] error while reading a string from a column > > > Maybe translate will work for you. > > Richard Knapp > EAS - Data Warehouse Group > University of Missouri > 615 Locust Street #200 > Columbia, MO 65201 > 573-882-8856 > 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 > rose kunwar > Sent: Tuesday, April 24, 2007 9:19 PM > To: sqr-users@sqrug.org > Subject: [sqr-users] error while reading a string from a column > > Hi all, > > How do I read a string with special characters (like comma) Here is what > I am trying to do. > | > | > open 1 for writing....... > > Begin-select > a.emplid > a.first_name > move &a.emplid to $emplid > move &a.first_name to $firstname > from ps_personal_data. > | > | > | > write 1 from > $emplid '|' > $firstname '|' > | > | > The result should be like this: > 01|jack| > 02|mike| > | > | > but > if $firstname has hyphen, then I am not able to read it as single > string, so that I can write that value within same delimiter. Please > help...kind of urgent > > Rose > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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 > > > > --------------------------------- > Yahoo! Answers - Got a question? Someone out there knows the answer. Try= it now. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=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 From sqr-users-bounces@sqrug.org Thu Apr 26 12:17:07 2007 Date: Thu, 26 Apr 2007 12:02:54 -0400 From: don.barclay@srs.gov Subject: [sqr-users] RE: error while reading a string from a column Hi Rose, We might be making this too complicated. The user has asked that you create a CSV file using pipes as delimiters. You are creating that per their requirements as you have proven by opening the file in notepad. Is the user having any problems opening the file in Excel per their own requirements? If not -- you're done! Don > > >>> rosekunwar@yahoo.com 04/26/07 10:20AM >>> > > I cannot. I have a requirement to use pipe delimiter. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 26 12:52:38 2007 From: "Don Simpson" Subject: RE: [sqr-users] RE: error while reading a string from a column Date: Thu, 26 Apr 2007 17:51:58 +0100 Hi, Rose and all the other contributors. I think you're working with "mixed messages". As has been stated, csv is a particular file type and Excel is set up to recognise it, I'll bet your file has an Excel type icon against it, yes? What will happen, then, is if you double-click the file to open it, Excel expects it to be comma separated, and hence you get your problem. I would be tempted to advise whoever has stated the requirement to be a pipe-delimited csv file that they are wrong in doing so, 'cause it's going to confuse the hell out of Both Excel and your users of the file. Call it a .txt file and get it into Excel by opening Excel from the desktop, then "File/Open" the file. You'll then get the dialogue that other contributors have spoken about and you can tell the dialogue to use pipe as the delimiter. If your requirement authority wants an automatic "double-click" open of the file for the users, then you can't, I think, successfully use the pipe, you'll have to produce proper comma separators. HOWEVER, you now need to ensure you have no commas inside your data fields or it all goes pear-shaped. If you have, then you'll have to add double-quotes to both ends of any data that has a comma in it. Regards, Don (a different one!!) -----Original Message----- From: sqr-users-bounces+don.12ocr=blueyonder.co.uk@sqrug.org [mailto:sqr-users-bounces+don.12ocr=blueyonder.co.uk@sqrug.org]On Behalf Of don.barclay@srs.gov Sent: 26 April 2007 17:03 To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: [sqr-users] RE: error while reading a string from a column Hi Rose, We might be making this too complicated. The user has asked that you create a CSV file using pipes as delimiters. You are creating that per their requirements as you have proven by opening the file in notepad. Is the user having any problems opening the file in Excel per their own requirements? If not -- you're done! Don > > >>> rosekunwar@yahoo.com 04/26/07 10:20AM >>> > > I cannot. I have a requirement to use pipe delimiter. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 26 16:33:52 2007 From: "Paul Hoyte" Subject: =?US-ASCII?B?UkU6IFJFOiBbc3FyLXVzZXJzXSBSRTogZXJyb3Igd2hpbGUgcmVhZGluZyBhIHN0cmluZyBmcm9tIGEgY29sdW1u?= Date: Thu, 26 Apr 2007 16:31:14 -0400 Or you can change the delimiter if you use the customize button under the regional and language settings in the windows control panel to what ever you want, and then Excel will recognize it as the "official" delimiter and open the file correctly. But, as there's always a but with WIndows, this change will then be applied to all Windows apps that use delimiters, Access for example. >----- ------- Original Message ------- ----- >From: "Don Simpson" >To: "This list is for discussion about the SQR >database reportinglanguage from > Hyperion Solutions." >Sent: Thu, 26 Apr 2007 17:51:58 > >Hi, Rose and all the other contributors. > >I think you're working with "mixed messages". As >has been stated, csv is a >particular file type and Excel is set up to >recognise it, I'll bet your file >has an Excel type icon against it, yes? What will >happen, then, is if you >double-click the file to open it, Excel expects it >to be comma separated, >and hence you get your problem. I would be tempted >to advise whoever has >stated the requirement to be a pipe-delimited csv >file that they are wrong >in doing so, 'cause it's going to confuse the hell >out of Both Excel and >your users of the file. Call it a .txt file and get >it into Excel by opening >Excel from the desktop, then "File/Open" the file. >You'll then get the >dialogue that other contributors have spoken about >and you can tell the >dialogue to use pipe as the delimiter. If your >requirement authority wants >an automatic "double-click" open of the file for >the users, then you can't, >I think, successfully use the pipe, you'll have to >produce proper comma >separators. HOWEVER, you now need to ensure you >have no commas inside your >data fields or it all goes pear-shaped. If you >have, then you'll have to add >double-quotes to both ends of any data that has a >comma in it. > >Regards, > >Don (a different one!!) > >-----Original Message----- >From: >sqr-users-bounces+don.12ocr=blueyonder.co.uk@sqrug. >org >[mailto:sqr-users-bounces+don.12ocr=blueyonder.co.u >k@sqrug.org]On Behalf >Of don.barclay@srs.gov >Sent: 26 April 2007 17:03 >To: This list is for discussion about the SQR >database reporting >languagefrom Hyperion Solutions. >Subject: [sqr-users] RE: error while reading a >string from a column > > >Hi Rose, > >We might be making this too complicated. The user >has asked that you >create a CSV file using pipes as delimiters. You >are creating that per >their requirements as you have proven by opening >the file in notepad. Is >the user having any problems opening the file in >Excel per their own >requirements? If not -- you're done! > >Don > >> > >>> rosekunwar@yahoo.com 04/26/07 10:20AM >>> >> > I cannot. I have a requirement to use pipe >delimiter. > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >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 May 01 00:02:28 2007 Date: Tue, 1 May 2007 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 May 01 11:01:03 2007 From: "Maya Thakur" Date: Tue, 1 May 2007 10:58:47 -0400 Subject: [sqr-users] Mainframe Sqribe Resource reqd Hello , This is Maya from MRI Woodbridge. We have a fulltime opportunity opening up with our client in NYC . The details of this req is as follows: Mainframe Sqribe Resource Should be Knowing MVS/Mainframe Have working knowledge of Unix & has used DB2 database (Good SQL Skills and structured programming using (SQL/PLSQL). Basically the resource should be willing and capable to pick-up SQribe programming Language on his own (Quick learner) Total Exp: 6-7 yrs Relevant Exp : 4-5 yrs Salary: $85k-$90k Location: NY Please let me know if anyone of you might be interested in this opportunity. Thanks and Best Regards, Maya Thakur MRI Woodbridge maya@mriwoodbridge.com 732-582-3491 ( Direct) 732-636-9000 X 3491 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed May 02 09:55:17 2007 From: "sri kanth" Date: Wed, 02 May 2007 19:22:35 +0530 Subject: [sqr-users] Problems in writing into a fixed length file. Iam facing problem in writing variables into fixed length file with line terminator. I am able to write fixed length file without line terminators but not with line terminators...!! I am using below code for the same.. open 'test.txt' as 10 for-writing record=100:fixed write 10 from $var1:20 $var2:15 Then it is writing only 35 length record but not 100..!! Am I going wrong somewhere..?! Quick response would be highly appreciated. Thanks in advance. -Choudary _________________________________________________________________ Tried the new MSN Messenger? It’s cool! Download now. http://messenger.msn.com/Download/Default.aspx?mkt=en-in _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed May 02 10:00:34 2007 Subject: RE: [sqr-users] Problems in writing into a fixed length file. Date: Wed, 2 May 2007 09:57:30 -0400 From: "Vaidyanathan, Ramakrishnan \(GE, Corporate, consultant\)" try giving VARY instead of fixed in the open command Cheers ram -----Original Message----- From: sqr-users-bounces+ramakrishnan.vaidyanathan=3Dge.com@sqrug.org [mailto:sqr-users-bounces+ramakrishnan.vaidyanathan=3Dge.com@sqrug.org]On Behalf Of sri kanth Sent: Wednesday, May 02, 2007 9:53 AM To: sqr-users@sqrug.org Subject: [sqr-users] Problems in writing into a fixed length file. Iam facing problem in writing variables into fixed length file with line=20 terminator. I am able to write fixed length file without line terminators= =20 but not with line terminators...!! I am using below code for the same.. open 'test.txt' as 10 for-writing record=3D100:fixed write 10 from $var1:20 $var2:15 Then it is writing only 35 length record but not 100..!! Am I going wrong somewhere..?! Quick response would be highly appreciated. Thanks in advance. -Choudary _________________________________________________________________ Tried the new MSN Messenger? It's cool! Download now.=20 http://messenger.msn.com/Download/Default.aspx?mkt=3Den-in _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 02 10:04:41 2007 Subject: RE: [sqr-users] Problems in writing into a fixed length file. Date: Wed, 2 May 2007 09:00:10 -0500 From: "Knapp, Richard" Choudary, There is a concept in data processing called padding. Use a variable of spaces to make up the difference in your line length. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 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 sri kanth Sent: Wednesday, May 02, 2007 8:53 AM To: sqr-users@sqrug.org Subject: [sqr-users] Problems in writing into a fixed length file. Iam facing problem in writing variables into fixed length file with line terminator. I am able to write fixed length file without line terminators=20 but not with line terminators...!! I am using below code for the same.. open 'test.txt' as 10 for-writing record=3D100:fixed write 10 from $var1:20 $var2:15 Then it is writing only 35 length record but not 100..!! Am I going wrong somewhere..?! Quick response would be highly appreciated. Thanks in advance. -Choudary _________________________________________________________________ Tried the new MSN Messenger? It's cool! Download now.=20 http://messenger.msn.com/Download/Default.aspx?mkt=3Den-in _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 02 12:36:48 2007 From: "Alexander, Steven" Subject: RE: [sqr-users] Problems in writing into a fixed length file. Date: Wed, 2 May 2007 09:34:07 -0700 The write statement will add 65 spaces at the end of the line if you say: write 10 from $var1:20 $var2:80 However, if $var2 is starting with more than 15 characters and you want only the first 15 characters in the file, you'll have to say: let $var2 = substr($var2, 1, 15) before the write statement. -----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 Knapp, Richard Sent: Wednesday, May 02, 2007 7:00 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Problems in writing into a fixed length file. Choudary, There is a concept in data processing called padding. Use a variable of spaces to make up the difference in your line length. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of sri kanth Sent: Wednesday, May 02, 2007 8:53 AM To: sqr-users@sqrug.org Subject: [sqr-users] Problems in writing into a fixed length file. Iam facing problem in writing variables into fixed length file with line terminator. I am able to write fixed length file without line terminators but not with line terminators...!! I am using below code for the same.. open 'test.txt' as 10 for-writing record=100:fixed write 10 from $var1:20 $var2:15 Then it is writing only 35 length record but not 100..!! Am I going wrong somewhere..?! Quick response would be highly appreciated. Thanks in advance. -Choudary _________________________________________________________________ Tried the new MSN Messenger? It's cool! Download now. http://messenger.msn.com/Download/Default.aspx?mkt=en-in _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 03 00:30:00 2007 From: "sri kanth" Subject: RE: [sqr-users] Problems in writing into a fixed length file. Date: Thu, 03 May 2007 09:57:06 +0530 many thanks for responding.. In order to write into a fixed length file ,the sum of individual variable lengths specified in the 'write' statement must be equal to the one that was specified in 'open' statement, it seems.. I mean if record length is specified as 100 in open statement - "open 'abc.txt' as 1 for writing record=100:fixed" then write command should be - "write 10 from $var1:20 $var2:80" OR "write 10 from $var1:20 $var2:15 ' ':65" correct me if I am wrong..! -choudary >From: "Alexander, Steven" >Reply-To: "This list is for discussion about the SQR database >reportinglanguage from Hyperion Solutions." >To: "'This list is for discussion about the SQR database >reportinglanguagefrom Hyperion Solutions.'" >Subject: RE: [sqr-users] Problems in writing into a fixed length file. >Date: Wed, 2 May 2007 09:34:07 -0700 > >The write statement will add 65 spaces at the end of the line if you say: > >write 10 from $var1:20 $var2:80 > >However, if $var2 is starting with more than 15 characters and you want >only >the first 15 characters in the file, you'll have to say: > >let $var2 = substr($var2, 1, 15) > >before the write statement. > >-----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 Knapp, Richard >Sent: Wednesday, May 02, 2007 7:00 AM >To: This list is for discussion about the SQR database reportinglanguage >fromHyperion Solutions. >Subject: RE: [sqr-users] Problems in writing into a fixed length file. > > >Choudary, > >There is a concept in data processing called padding. Use a variable of >spaces to make up the difference in your line length. > >Richard Knapp >EAS - Data Warehouse Group >University of Missouri >615 Locust Street #200 >Columbia, MO 65201 >573-882-8856 >knappr@umsystem.edu > > >-----Original Message----- >From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org >[mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of >sri kanth >Sent: Wednesday, May 02, 2007 8:53 AM >To: sqr-users@sqrug.org >Subject: [sqr-users] Problems in writing into a fixed length file. > > >Iam facing problem in writing variables into fixed length file with line > >terminator. I am able to write fixed length file without line >terminators >but not with line terminators...!! >I am using below code for the same.. > >open 'test.txt' as 10 for-writing record=100:fixed >write 10 from $var1:20 $var2:15 > >Then it is writing only 35 length record but not 100..!! > >Am I going wrong somewhere..?! > >Quick response would be highly appreciated. > >Thanks in advance. > >-Choudary > >_________________________________________________________________ >Tried the new MSN Messenger? It's cool! Download now. >http://messenger.msn.com/Download/Default.aspx?mkt=en-in > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >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 _________________________________________________________________ Tried the new MSN Messenger? It’s cool! Download now. http://messenger.msn.com/Download/Default.aspx?mkt=en-in _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu May 03 00:44:04 2007 Subject: RE: [sqr-users] Problems in writing into a fixed length file. Date: Thu, 3 May 2007 00:32:17 -0400 From: "Kumar, Rahul" Yah that's rite choudary.the length has to be same.it doesn't matter how=0D u make the length to 100.=0D =0D Rahul Kumar=0D =0D =0D =0D -----Original Message-----=0D From: sqr-users-bounces+rahul_kumar=3Dadp.com@sqrug.org=0D [mailto:sqr-users-bounces+rahul_kumar=3Dadp.com@sqrug.org] On Behalf Of=0D sri kanth=0D Sent: Thursday, May 03, 2007 9:57 AM=0D To: sqr-users@sqrug.org=0D Subject: RE: [sqr-users] Problems in writing into a fixed length file.=0D =0D many thanks for responding..=0D In order to write into a fixed length file ,the sum of individual=0D variable =0D lengths specified in the 'write' statement must be equal to the one that=0D was =0D specified in 'open' statement, it seems..=0D I mean if record length is specified as 100 in open statement - "open =0D 'abc.txt' as 1 for writing record=3D100:fixed"=0D =0D then write command should be - "write 10 from $var1:20 $var2:80" OR=0D "write =0D 10 from $var1:20 $var2:15 ' ':65"=0D =0D correct me if I am wrong..!=0D -choudary=0D =0D >From: "Alexander, Steven" =0D >Reply-To: "This list is for discussion about the SQR database =0D >reportinglanguage from Hyperion Solutions." =0D >To: "'This list is for discussion about the SQR database =0D >reportinglanguagefrom Hyperion Solutions.'" =0D >Subject: RE: [sqr-users] Problems in writing into a fixed length file.=0D >Date: Wed, 2 May 2007 09:34:07 -0700=0D >=0D >The write statement will add 65 spaces at the end of the line if you=0D say:=0D >=0D >write 10 from $var1:20 $var2:80=0D >=0D >However, if $var2 is starting with more than 15 characters and you want=0D =0D >only=0D >the first 15 characters in the file, you'll have to say:=0D >=0D >let $var2 =3D substr($var2, 1, 15)=0D >=0D >before the write statement.=0D >=0D >-----Original Message-----=0D >From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org=0D >[mailto:sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On= =0D >Behalf Of Knapp, Richard=0D >Sent: Wednesday, May 02, 2007 7:00 AM=0D >To: This list is for discussion about the SQR database=0D reportinglanguage=0D >fromHyperion Solutions.=0D >Subject: RE: [sqr-users] Problems in writing into a fixed length file.=0D >=0D >=0D >Choudary,=0D >=0D >There is a concept in data processing called padding. Use a variable=0D of=0D >spaces to make up the difference in your line length.=0D >=0D >Richard Knapp=0D >EAS - Data Warehouse Group=0D >University of Missouri=0D >615 Locust Street #200=0D >Columbia, MO 65201=0D >573-882-8856=0D >knappr@umsystem.edu=0D >=0D >=0D >-----Original Message-----=0D >From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org=0D >[mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of=0D >sri kanth=0D >Sent: Wednesday, May 02, 2007 8:53 AM=0D >To: sqr-users@sqrug.org=0D >Subject: [sqr-users] Problems in writing into a fixed length file.=0D >=0D >=0D >Iam facing problem in writing variables into fixed length file with=0D line=0D >=0D >terminator. I am able to write fixed length file without line=0D >terminators=0D >but not with line terminators...!!=0D >I am using below code for the same..=0D >=0D >open 'test.txt' as 10 for-writing record=3D100:fixed=0D >write 10 from $var1:20 $var2:15=0D >=0D >Then it is writing only 35 length record but not 100..!!=0D >=0D >Am I going wrong somewhere..?!=0D >=0D >Quick response would be highly appreciated.=0D >=0D >Thanks in advance.=0D >=0D >-Choudary=0D >=0D >_________________________________________________________________=0D >Tried the new MSN Messenger? It's cool! Download now.=0D >http://messenger.msn.com/Download/Default.aspx?mkt=3Den-in=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 >sqr-users mailing list=0D >sqr-users@sqrug.org=0D >http://www.sqrug.org/mailman/listinfo/sqr-users=0D >=0D >_______________________________________________=0D >sqr-users mailing list=0D >sqr-users@sqrug.org=0D >http://www.sqrug.org/mailman/listinfo/sqr-users=0D =0D _________________________________________________________________=0D Tried the new MSN Messenger? It's cool! Download now. =0D http://messenger.msn.com/Download/Default.aspx?mkt=3Den-in=0D =0D =0D _______________________________________________=0D sqr-users mailing list=0D sqr-users@sqrug.org=0D http://www.sqrug.org/mailman/listinfo/sqr-users=0D -----------------------------------------=0D This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, notify the sender immediately by return email and delete the message and any attachments from your system. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu May 03 00:40:21 2007 Subject: RE: [sqr-users] Problems in writing into a fixed length file. Date: Thu, 3 May 2007 00:30:54 -0400 From: "Kumar, Rahul" Hi Choudary,=0D You can do one thing ,you can put all your variables in one var and then=0D lpad that var and write it to the file.=0D =0D Let $var_tmp =3D $var1 || $var2=0D Let $var_tmp =3D lpad($var_tmp,100,' ')=0D Write 10 from $var_tmp :100=0D =0D Thanks,=0D Rahul Kumar=0D =0D =0D -----Original Message-----=0D From: sqr-users-bounces+rahul_kumar=3Dadp.com@sqrug.org=0D [mailto:sqr-users-bounces+rahul_kumar=3Dadp.com@sqrug.org] On Behalf Of=0D sri kanth=0D Sent: Wednesday, May 02, 2007 7:23 PM=0D To: sqr-users@sqrug.org=0D Subject: [sqr-users] Problems in writing into a fixed length file.=0D =0D =0D Iam facing problem in writing variables into fixed length file with line=0D =0D terminator. I am able to write fixed length file without line=0D terminators =0D but not with line terminators...!!=0D I am using below code for the same..=0D =0D open 'test.txt' as 10 for-writing record=3D100:fixed=0D write 10 from $var1:20 $var2:15=0D =0D Then it is writing only 35 length record but not 100..!!=0D =0D Am I going wrong somewhere..?!=0D =0D Quick response would be highly appreciated.=0D =0D Thanks in advance.=0D =0D -Choudary=0D =0D _________________________________________________________________=0D Tried the new MSN Messenger? It's cool! Download now. =0D http://messenger.msn.com/Download/Default.aspx?mkt=3Den-in=0D =0D =0D _______________________________________________=0D sqr-users mailing list=0D sqr-users@sqrug.org=0D http://www.sqrug.org/mailman/listinfo/sqr-users=0D -----------------------------------------=0D This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, notify the sender immediately by return email and delete the message and any attachments from your system. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu May 03 09:52:01 2007 Date: Thu, 3 May 2007 06:49:20 -0700 (PDT) From: Arun Kumar Subject: Re: [sqr-users] Problems in writing into a fixed length file. then write command should be - "write 10 from $var1:20 $var2:80" OR "write= =20 10 from $var1:20 $var2:15 ' ':65" Are you asking us which one of the above statement is correct or do you sti= ll have any other questions? ----- Original Message ---- From: sri kanth To: sqr-users@sqrug.org Sent: Thursday, May 3, 2007 12:27:06 AM Subject: RE: [sqr-users] Problems in writing into a fixed length file. many thanks for responding.. In order to write into a fixed length file ,the sum of individual variable= =20 lengths specified in the 'write' statement must be equal to the one that wa= s=20 specified in 'open' statement, it seems.. I mean if record length is specified as 100 in open statement - "open=20 'abc.txt' as 1 for writing record=3D100:fixed" then write command should be - "write 10 from $var1:20 $var2:80" OR "write= =20 10 from $var1:20 $var2:15 ' ':65" correct me if I am wrong..! -choudary >From: "Alexander, Steven" >Reply-To: "This list is for discussion about the SQR database=20 >reportinglanguage from Hyperion Solutions." >To: "'This list is for discussion about the SQR database=20 >reportinglanguagefrom Hyperion Solutions.'" >Subject: RE: [sqr-users] Problems in writing into a fixed length file. >Date: Wed, 2 May 2007 09:34:07 -0700 > >The write statement will add 65 spaces at the end of the line if you say: > >write 10 from $var1:20 $var2:80 > >However, if $var2 is starting with more than 15 characters and you want=20 >only >the first 15 characters in the file, you'll have to say: > >let $var2 =3D substr($var2, 1, 15) > >before the write statement. > >-----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: Wednesday, May 02, 2007 7:00 AM >To: This list is for discussion about the SQR database reportinglanguage >fromHyperion Solutions. >Subject: RE: [sqr-users] Problems in writing into a fixed length file. > > >Choudary, > >There is a concept in data processing called padding. Use a variable of >spaces to make up the difference in your line length. > >Richard Knapp >EAS - Data Warehouse Group >University of Missouri >615 Locust Street #200 >Columbia, MO 65201 >573-882-8856 >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 >sri kanth >Sent: Wednesday, May 02, 2007 8:53 AM >To: sqr-users@sqrug.org >Subject: [sqr-users] Problems in writing into a fixed length file. > > >Iam facing problem in writing variables into fixed length file with line > >terminator. I am able to write fixed length file without line >terminators >but not with line terminators...!! >I am using below code for the same.. > >open 'test.txt' as 10 for-writing record=3D100:fixed >write 10 from $var1:20 $var2:15 > >Then it is writing only 35 length record but not 100..!! > >Am I going wrong somewhere..?! > >Quick response would be highly appreciated. > >Thanks in advance. > >-Choudary > >_________________________________________________________________ >Tried the new MSN Messenger? It's cool! Download now. >http://messenger.msn.com/Download/Default.aspx?mkt=3Den-in > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >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 _________________________________________________________________ Tried the new MSN Messenger? It=A2s cool! Download now.=20 http://messenger.msn.com/Download/Default.aspx?mkt=3Den-in _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri May 04 00:20:05 2007 From: "sri kanth" Subject: Re: [sqr-users] Problems in writing into a fixed length file. Date: Fri, 04 May 2007 09:47:18 +0530 nope Arun..I am done....thanks a lot for the response... keep well -choudary >From: Arun Kumar >Reply-To: "This list is for discussion about the SQR database >reportinglanguage from Hyperion Solutions." >To: "This list is for discussion about the SQR database reporting >languagefrom Hyperion Solutions." >Subject: Re: [sqr-users] Problems in writing into a fixed length file. >Date: Thu, 3 May 2007 06:49:20 -0700 (PDT) > >then write command should be - "write 10 from $var1:20 $var2:80" OR "write >10 from $var1:20 $var2:15 ' ':65" > >Are you asking us which one of the above statement is correct or do you >still have any other questions? > >----- Original Message ---- >From: sri kanth >To: sqr-users@sqrug.org >Sent: Thursday, May 3, 2007 12:27:06 AM >Subject: RE: [sqr-users] Problems in writing into a fixed length file. > >many thanks for responding.. >In order to write into a fixed length file ,the sum of individual variable >lengths specified in the 'write' statement must be equal to the one that >was >specified in 'open' statement, it seems.. >I mean if record length is specified as 100 in open statement - "open >'abc.txt' as 1 for writing record=100:fixed" > >then write command should be - "write 10 from $var1:20 $var2:80" OR "write >10 from $var1:20 $var2:15 ' ':65" > >correct me if I am wrong..! >-choudary > > >From: "Alexander, Steven" > >Reply-To: "This list is for discussion about the SQR database > >reportinglanguage from Hyperion Solutions." > >To: "'This list is for discussion about the SQR database > >reportinglanguagefrom Hyperion Solutions.'" > >Subject: RE: [sqr-users] Problems in writing into a fixed length file. > >Date: Wed, 2 May 2007 09:34:07 -0700 > > > >The write statement will add 65 spaces at the end of the line if you say: > > > >write 10 from $var1:20 $var2:80 > > > >However, if $var2 is starting with more than 15 characters and you want > >only > >the first 15 characters in the file, you'll have to say: > > > >let $var2 = substr($var2, 1, 15) > > > >before the write statement. > > > >-----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 Knapp, Richard > >Sent: Wednesday, May 02, 2007 7:00 AM > >To: This list is for discussion about the SQR database reportinglanguage > >fromHyperion Solutions. > >Subject: RE: [sqr-users] Problems in writing into a fixed length file. > > > > > >Choudary, > > > >There is a concept in data processing called padding. Use a variable of > >spaces to make up the difference in your line length. > > > >Richard Knapp > >EAS - Data Warehouse Group > >University of Missouri > >615 Locust Street #200 > >Columbia, MO 65201 > >573-882-8856 > >knappr@umsystem.edu > > > > > >-----Original Message----- > >From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org > >[mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of > >sri kanth > >Sent: Wednesday, May 02, 2007 8:53 AM > >To: sqr-users@sqrug.org > >Subject: [sqr-users] Problems in writing into a fixed length file. > > > > > >Iam facing problem in writing variables into fixed length file with line > > > >terminator. I am able to write fixed length file without line > >terminators > >but not with line terminators...!! > >I am using below code for the same.. > > > >open 'test.txt' as 10 for-writing record=100:fixed > >write 10 from $var1:20 $var2:15 > > > >Then it is writing only 35 length record but not 100..!! > > > >Am I going wrong somewhere..?! > > > >Quick response would be highly appreciated. > > > >Thanks in advance. > > > >-Choudary > > > >_________________________________________________________________ > >Tried the new MSN Messenger? It's cool! Download now. > >http://messenger.msn.com/Download/Default.aspx?mkt=en-in > > > > > >_______________________________________________ > >sqr-users mailing list > >sqr-users@sqrug.org > >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 > >_________________________________________________________________ >Tried the new MSN Messenger? It¢s cool! Download now. >http://messenger.msn.com/Download/Default.aspx?mkt=en-in > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Catch all the cricketing action right here. Live score, match reports, photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu May 03 16:59:19 2007 From: "Workman,Joan" Date: Thu, 3 May 2007 15:56:41 -0500 Subject: [sqr-users] question How can I get a copy of SQR? Thank You, Joan Workman Executive & Staff Operations 512-438-4038, Fax: 512-438-5153 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu May 03 17:14:19 2007 From: "the dragon" Subject: RE: [sqr-users] question Date: Thu, 03 May 2007 16:11:32 -0500 Oracle should be selling it, since they purchased Hyperion. http://www.hyperion.com/ 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 ----Original Message Follows---- How can I get a copy of SQR? Thank You, Joan Workman Executive & Staff Operations 512-438-4038, Fax: 512-438-5153 _________________________________________________________________ Need a break? Find your escape route with Live Search Maps. http://maps.live.com/default.aspx?ss=Restaurants~Hotels~Amusement%20Park&cp=33.832922~-117.915659&style=r&lvl=13&tilt=-90&dir=0&alt=-1000&scene=1118863&encType=1&FORM=MGAC01 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri May 04 05:31:16 2007 From: "Don Duwe" Subject: RE: [sqr-users] question Date: Fri, 4 May 2007 05:28:12 -0400 see Dave drd -----Original Message----- From: sqr-users-bounces+dduwe=nookind.com@sqrug.org [mailto:sqr-users-bounces+dduwe=nookind.com@sqrug.org]On Behalf Of Workman,Joan Sent: Thursday, May 03, 2007 4:57 PM To: sqr-users@sqrug.org Subject: [sqr-users] question How can I get a copy of SQR? Thank You, Joan Workman Executive & Staff Operations 512-438-4038, Fax: 512-438-5153 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ATTENTION: This e-mail message, including any attachment (collectively the "e-mail"), has been sent by Nook Industries, Inc. and may contain PRIVILEGED AND CONFIDENTIAL INFORMATION. If you are not the intended recipient, then please (i) do not read this e-mail, (ii) do not forward, print, copy or otherwise disseminate this e-mail, (iii) notify us of the error by a reply to this e-mail and (iv) delete this e-mail from your computer. Thank you. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu May 10 12:58:02 2007 Date: Thu, 10 May 2007 12:55:16 -0400 From: "Bahney, Barbara J." Subject: [sqr-users] Escape sequence to call the OCR B font We use the PeopleSoft PAY003 SQR to print our Paychecks. A need has arisen to print the 'Pay To The Order Of' employee name and address using the OCR-B font. If someone has ever attempted this before, could they please tell me the exact 'encode' statement they used and any other code they needed to make this work. Thanks very much.=20 Barbara J. Bahney University of Pittsburgh Medical Center Information Services Division Senior PeopleSoft Analyst (HRMS) Forbes Tower - Room 3025-9 Email: rusnakbj@msx.upmc.edu _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu May 10 13:07:42 2007 From: "the dragon" Subject: RE: [sqr-users] Escape sequence to call the OCR B font Date: Thu, 10 May 2007 12:04:59 -0500 Wouldn't that be printer specific? Try tech support or the manual for your printer type and series. 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 ----Original Message Follows---- We use the PeopleSoft PAY003 SQR to print our Paychecks. A need has arisen to print the 'Pay To The Order Of' employee name and address using the OCR-B font. If someone has ever attempted this before, could they please tell me the exact 'encode' statement they used and any other code they needed to make this work. Thanks very much. Barbara J. Bahney University of Pittsburgh Medical Center Information Services Division _________________________________________________________________ Like the way Microsoft Office Outlook works? You’ll love Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_outlook_0507 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu May 10 13:33:28 2007 Subject: RE: [sqr-users] Escape sequence to call the OCR B font Date: Thu, 10 May 2007 13:31:01 -0400 From: "Stephen Andrew Wowelko" First check to see it the OCR-B font is resident on the printer (print the PCL Font List from the printer control panel - if it is, this will give you the escape sequence of the font). I know on some IBM and TROY printers it came pre-installed. If you do not have the font, you may have to go out and buy it.=20 Hope this helps. Stephen Wowelko ITS - Information Systems Syracuse University -----Original Message----- From: sqr-users-bounces+sawowelk=3Dsyr.edu@sqrug.org [mailto:sqr-users-bounces+sawowelk=3Dsyr.edu@sqrug.org] On Behalf Of ceprn@hotmail.com Sent: Thursday, May 10, 2007 1:05 PM To: Stephen Andrew Wowelko; ceprn@hotmail.com; sqr-users@sqrug.org Cc: rusnakbj@upmc.edu Subject: RE: [sqr-users] Escape sequence to call the OCR B font Wouldn't that be printer specific? Try tech support or the manual for your=20 printer type and series. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your=20 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=20 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=20 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=20 by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because=20 I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- We use the PeopleSoft PAY003 SQR to print our Paychecks. A need has arisen to print the 'Pay To The Order Of' employee name and address using the OCR-B font. If someone has ever attempted this before, could they please tell me the exact 'encode' statement they used and any other code they needed to make this work. Thanks very much. Barbara J. Bahney University of Pittsburgh Medical Center Information Services Division _________________________________________________________________ Like the way Microsoft Office Outlook works? You'll love Windows Live=20 Hotmail.=20 http://imagine-windowslive.com/hotmail/?locale=3Den-us&ocid=3DTXT_TAGHM_migr ation_HM_mini_outlook_0507 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 11 06:39:23 2007 Subject: RE: [sqr-users] Escape sequence to call the OCR B font Date: Fri, 11 May 2007 06:32:53 -0400 From: "Bahney, Barbara J." This is a multi-part message in MIME format... ------_=_NextPart_001_01C793B8.0BF07A00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Stephen, =20 Thanks for taking the time to reply - I did print the PCL Font List from ou= r printer and the OCR font is NOT listed so this tells me that I need to ta= lk to Xerox about getting the Font installed. =20 =20 ________________________________ From: Stephen Andrew Wowelko [mailto:sawowelk@syr.edu] Sent: Thu 5/10/2007 1:31 PM To: This list is for discussion about the SQR database reportinglanguage fr= omHyperion Solutions. Subject: RE: [sqr-users] Escape sequence to call the OCR B font First check to see it the OCR-B font is resident on the printer (print the PCL Font List from the printer control panel - if it is, this will give you the escape sequence of the font). I know on some IBM and TROY printers it came pre-installed. If you do not have the font, you may have to go out and buy it. Hope this helps. Stephen Wowelko ITS - Information Systems Syracuse University -----Original Message----- From: sqr-users-bounces+sawowelk=3Dsyr.edu@sqrug.org [mailto:sqr-users-bounces+sawowelk=3Dsyr.edu@sqrug.org] On Behalf Of ceprn@hotmail.com Sent: Thursday, May 10, 2007 1:05 PM To: Stephen Andrew Wowelko; ceprn@hotmail.com; sqr-users@sqrug.org Cc: rusnakbj@upmc.edu Subject: RE: [sqr-users] Escape sequence to call the OCR B font Wouldn't that be printer specific? Try tech support or the manual for your printer type and series. 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 ----Original Message Follows---- We use the PeopleSoft PAY003 SQR to print our Paychecks. A need has arisen to print the 'Pay To The Order Of' employee name and address using the OCR-B font. If someone has ever attempted this before, could they please tell me the exact 'encode' statement they used and any other code they needed to make this work. Thanks very much. Barbara J. Bahney University of Pittsburgh Medical Center Information Services Division _________________________________________________________________ Like the way Microsoft Office Outlook works? You'll love Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=3Den-us&ocid=3DTXT_TAGHM_migr ation_HM_mini_outlook_0507 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ------_=_NextPart_001_01C793B8.0BF07A00 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: AUTOMATIC WARNING Here was a non admissible message part of 'application/ms-tnef' MIME type. It has been automatically discarded before sending the message to the list. ------_=_NextPart_001_01C793B8.0BF07A00 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 ------_=_NextPart_001_01C793B8.0BF07A00-- From sqr-users-bounces@sqrug.org Tue May 15 05:19:24 2007 From: =?Windows-1252?Q?V=E9ronique_Mermaz?= Date: Tue, 15 May 2007 09:16:07 +0000 Subject: [sqr-users] SQR Write Command - Out of space I am creating an xls file=20 #define #RecordLength 3000=20 The write string is less than 2000 The excel file gets 144 columns. open $O= utput_Filename_Full as 1 for-writing record=3D{#RecordLength}:fixed Then I'= m initializing a string containing tabulations as delimiter. Let &delimiter= =3D char(9) Let $print_Text =3D =91Emplid=92 || &delimiter || =91Name=92 |= | &delimiter || =91Cost center=92 || &delimiter || =91deptid=92 =85=85. WRI= TE 1 FROM $print_Text As the string was too long, I got the following error= message:<< Out of space while processing expression; Use -Mfile to increas= e EXPRESSIONSPACE>> The maximum value for 'expressionspace' is already defi= ned as 65535. So I decided to divide my string into 2 strings. Let $print1_= Text =3D =3D =91Emplid=92 || &delimiter || =91Name=92 WRITE 1 FROM $print1_= Text Let $print2_Text =3D =91Cost center=92 || &delimiter || =91deptid=92 = =85=85. WRITE 1 FROM $print2_Text I want to print print1_text and print2_te= xt on the same line. Any idea is welcome, Thanks to help. _________________________________________________________________ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=3D7+wonders+world&mkt=3Den-US&form=3DQ= BRE _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue May 15 07:45:32 2007 Date: Tue, 15 May 2007 08:41:51 -0300 From: "PeterG Clark" Subject: Re: [sqr-users] SQR Write Command - Out of space First, I would try changing the variable name "&delimiter" to "$delimiter" = and see what happens >>> vmermaz@hotmail.com 2007/05/15 06:16:07 >>> I am creating an xls file=20 #define #RecordLength 3000=20 The write string is less than 2000 The excel file gets 144 columns. open $O= utput_Filename_Full as 1 for-writing record=3D{#RecordLength}:fixed Then I'= m initializing a string containing tabulations as delimiter. Let &delimiter= =3D char(9) Let $print_Text =3D 'Emplid' || &delimiter || 'Name' || &delim= iter || 'Cost center' || &delimiter || 'deptid' **. WRITE 1 FROM $print_Tex= t As the string was too long, I got the following error message:<< Out of s= pace while processing expression; Use -Mfile to increase EXPRESSIONSPACE>> = The maximum value for 'expressionspace' is already defined as 65535. So I d= ecided to divide my string into 2 strings. Let $print1_Text =3D =3D 'Emplid= ' || &delimiter || 'Name' WRITE 1 FROM $print1_Text Let $print2_Text =3D 'C= ost center' || &delimiter || 'deptid' **. WRITE 1 FROM $print2_Text I want = to print print1_text and print2_text on the same line. Any idea is welcome,= Thanks to help. _________________________________________________________________ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=3D7+wonders+world&mkt=3Den-US&form=3DQ= BRE=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 Tue May 15 08:18:39 2007 From: =?Windows-1252?Q?V=E9ronique_Mermaz?= Subject: RE: [sqr-users] SQR Write Command - Out of space Date: Tue, 15 May 2007 12:15:19 +0000 Hi, =20 Sorry for the typing error but the delimiter name is $delimiter let $delimiter =3D chr(9)> From: vmermaz@hotmail.com> To: sqr-users@sqrug= .org> Date: Tue, 15 May 2007 09:16:07 +0000> Subject: [sqr-users] SQR Write= Command - Out of space> > > I am creating an xls file > #define #RecordLen= gth 3000 > The write string is less than 2000 The excel file gets 144 colum= ns. open $Output_Filename_Full as 1 for-writing record=3D{#RecordLength}:fi= xed Then I'm initializing a string containing tabulations as delimiter. Let= &delimiter =3D char(9) Let $print_Text =3D =91Emplid=92 || &delimiter || = =91Name=92 || &delimiter || =91Cost center=92 || &delimiter || =91deptid=92= =85=85. WRITE 1 FROM $print_Text As the string was too long, I got the fol= lowing error message:<< Out of space while processing expression; Use -Mfil= e to increase EXPRESSIONSPACE>> The maximum value for 'expressionspace' is = already defined as 65535. So I decided to divide my string into 2 strings. = Let $print1_Text =3D =3D =91Emplid=92 || &delimiter || =91Name=92 WRITE 1 F= ROM $print1_Text Let $print2_Text =3D =91Cost center=92 || &delimiter || = =91deptid=92 =85=85. WRITE 1 FROM $print2_Text I want to print print1_text = and print2_text on the same line. Any idea is welcome, Thanks to help.> ___= ______________________________________________________________> Explore the= seven wonders of the world> http://search.msn.com/results.aspx?q=3D7+wonde= rs+world&mkt=3Den-US&form=3DQBRE> > _______________________________________= ________> sqr-users mailing list> sqr-users@sqrug.org> http://www.sqrug.org= /mailman/listinfo/sqr-users _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Space= s. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=3Dcreate&wx_url=3D/friends.= aspx&mkt=3Den-us _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue May 15 08:46:33 2007 Subject: RE: [sqr-users] SQR Write Command - Out of space Date: Tue, 15 May 2007 08:25:11 -0400 From: "Peter Burton" =20 What version of SQR are you using? Peter -----Original Message----- From: sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org [mailto:sqr-u= sers-bounces+peter_burton=3Dhyperion.com@sqrug.org] On Behalf Of V=E9roniqu= e Mermaz Sent: Tuesday, May 15, 2007 8:15 AM To: sqr-users@sqrug.org Subject: RE: [sqr-users] SQR Write Command - Out of space Hi, =20 Sorry for the typing error but the delimiter name is $delimiter let $delimiter =3D chr(9)> From: vmermaz@hotmail.com> To: sqr-users@sqrug= .org> Date: Tue, 15 May 2007 09:16:07 +0000> Subject: [sqr-users] SQR Write= Command - Out of space> > > I am creating an xls file > #define #RecordLen= gth 3000 > The write string is less than 2000 The excel file gets 144 colum= ns. open $Output_Filename_Full as 1 for-writing record=3D{#RecordLength}:fi= xed Then I'm initializing a string containing tabulations as delimiter. Let= &delimiter =3D char(9) Let $print_Text =3D 'Emplid' || &delimiter || 'Name= ' || &delimiter || 'Cost center' || &delimiter || 'deptid' ....... WRITE 1 = FROM $print_Text As the string was too long, I got the following error mess= age:<< Out of space while processing expression; Use -Mfile to increase EXP= RESSIONSPACE>> The maximum value for 'expressionspace' is already defined a= s 65535. So I decided to divide my string into 2 strings. Let $print1_Text = =3D =3D 'Emplid' || &delimiter || 'Name' WRITE 1 FROM $print1_Text Let $pri= nt2_Text =3D 'Cost center' || &delimiter || 'deptid' ....... WRITE 1 FROM $= print2_Text I want to print print1_text and print2_text on the same line. A= ny idea is welcome, Thanks to help.> ______________________________________= ___________________________> Explore the seven wonders of the world> http:/= /search.msn.com/results.aspx?q=3D7+wonders+world&mkt=3Den-US&form=3DQBRE> >= _______________________________________________> sqr-users mailing list> s= qr-users@sqrug.org> http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Space= s. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=3Dcreate&wx_url=3D/friends.= aspx&mkt=3Den-us _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users If you have received this e-mail in error, please delete it and notify the = sender as soon as possible. The contents of this e-mail may be confidential= and the unauthorized use, copying, or dissemination of it and any attachme= nts to it, is prohibited. Internet communications are not secure and Hyperi= on does not, therefore, accept legal responsibility for the contents of thi= s message nor for any damage caused by viruses. The views expressed here do= not necessarily represent those of Hyperion. For more information about Hy= perion, please visit our Web site at: www.hyperion.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue May 15 08:31:46 2007 From: "Steve Cavill" Subject: RE: [sqr-users] SQR Write Command - Out of space Date: Tue, 15 May 2007 22:27:32 +1000 Here's two possible options to try: A)=20 Use the string command (I don't know if there is a size limit): STRING =91Emplid=92 =91Name=92 =91Cost center=92 =91deptid=92 =85=85 by= $delimiter into $print_text B) Build up the line one variable at a time.=20 Let $print_text=3D =91Emplid=92=20 Let $print_text=3D $print_text || &delimiter || =91Name=92=20 Let $print_text=3D $print_text || &delimiter || =91Cost center=92=20 Let $print_text=3D $print_text|| &delimiter || =91deptid=92=20 Let $print_text=3D =85=85 Steve. -----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 V=E9ronique Mermaz Sent: Tuesday, 15 May 2007 10:15 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] SQR Write Command - Out of space Hi, =20 Sorry for the typing error but the delimiter name is $delimiter let $delimiter =3D chr(9)> From: vmermaz@hotmail.com> To: sqr-users@sqrug= .org> Date: Tue, 15 May 2007 09:16:07 +0000> Subject: [sqr-users] SQR Write Command - Out of space> > > I am creating an xls file= > #define #RecordLength 3000 > The write string is less than 2000 The excel file gets 144 columns. open $Output_Filename_Full as 1 = for-writing record=3D{#RecordLength}:fixed Then I'm initializing a string containing tabulations as delimiter. Let &delimiter = =3D char(9) Let $print_Text =3D =91Emplid=92 || &delimiter || =91Name=92 || &delimiter || =91Cost center=92 || &delimiter || =91deptid=92= =85=85. WRITE 1 FROM $print_Text As the string was too long, I got the following error message:<< Out of space while processing expression; Use -M= file to increase EXPRESSIONSPACE>> The maximum value for 'expressionspace' is already defined as 65535. So I decided to divide my st= ring into 2 strings. Let $print1_Text =3D =3D =91Emplid=92 || &delimiter || =91Name=92 WRITE 1 FROM $print1_Text Let $print2_Text =3D =91= Cost center=92 || &delimiter || =91deptid=92 =85=85. WRITE 1 FROM $print2_Text I want to print print1_text and print2_text on the same line. = Any idea is welcome, Thanks to help.> _________________________________________________________________> Explore = the seven wonders of the world> http://search.msn.com/results.aspx?q=3D7+wonders+world&mkt=3Den-US&form=3DQ= BRE> > _______________________________________________> sqr-users mailing list> sqr-users@sqrug.org> http://www.sqrug.org/mailman/l= istinfo/sqr-users _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Space= s. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=3Dcreate&wx_url=3D/friends.= aspx&mkt=3Den-us _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 15 16:07:41 2007 From: =?iso-8859-1?Q?V=E9ronique_Mermaz?= Subject: RE: [sqr-users] SQR Write Command - Out of space Date: Tue, 15 May 2007 20:04:55 +0000 Thanks Steve.=20 Great !!!! The string command is working fine! =20 Thanks a lot.______________________________________________________________= ___> Explore the seven wonders of the world> http://search.msn.com/results.= aspx?q=3D7+wonders+world&mkt=3Den-US&form=3DQBRE> > _______________________= ________________________> sqr-users mailing list> sqr-users@sqrug.org> http= ://www.sqrug.org/mailman/listinfo/sqr-users> ______________________________= ___________________________________> Invite your mail contacts to join your= friends list with Windows Live Spaces. It's easy!> http://spaces.live.com/= spacesapi.aspx?wx_action=3Dcreate&wx_url=3D/friends.aspx&mkt=3Den-us> > ___= ____________________________________________> sqr-users mailing list> sqr-u= sers@sqrug.org> http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Discover the new Windows Vista http://search.msn.com/results.aspx?q=3Dwindows+vista&mkt=3Den-US&form=3DQBRE _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue May 15 13:11:14 2007 Date: Tue, 15 May 2007 19:08:30 +0200 From: "franck\.masson" Subject: [sqr-users] SQR 8.5/Oracle and DBLINK Hi, We are migrating our SQR V6 to SQR V8.5 ( Hyperion) We are running on Windows SQR V6 : Windows/Oracle Client 8.1.7 SQR V8 : Windows/Oracel Client 9.2 Our database servers are Main : Oracle 8.1.7.4 EE 32bit dbl_sbfp : Oracle 10.2.0.2 SE 64bit We have an issue using DBLINK to access a DBL_SBFP table from Main Here is the sample SQR that connect to Main >begin-program >Begin-select >file_code >from t_files_codes@dbl_sbfp >end-select >end-program With SQR 6 it run correctly With SQR 8.5 we get this error >(SQR 5528) ORACLE OCIStmtFetch error 3120 in cursor 1: > ORA-03120: two-task conversion routine: integer overflow > >Error on line 3: > (SQR 3725) Bad return fetching row from database. > >SQR: Program Aborting. > >Cursor Status: > > Cursor #1: > SQL =3D SELECT file_code from t_files_codes@dbl_sbfp > Compiles =3D 1 > Executes =3D 1 > Rows =3D 0 Using SQLPlus to run this SQL, we do not get any Error. What are the parameters to use/ to set to avoid this error ? Regards, Franck, 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 From sqr-users-bounces@sqrug.org Tue May 15 16:25:17 2007 Date: Tue, 15 May 2007 13:22:44 -0700 (PDT) From: Tre Subject: [sqr-users] LONGSPACE Error Have anybody encountered this sqr problem and found the resolution to it. (SQR 5747) The following error(s) occurred while processing the [Processing-Limits] section from the SQR.INI file. (SQR 1210) The maximum value for 'longspace' (32767) is 32766. SQR for PeopleSoft: Program Aborting. I am trying to load some data into a Peoplesoft table, PS_POSITION_DATA. their is a field on this table DESCRLONG that is defined as a long character field with a maximum length of 0. Thanks, Tre _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue May 15 16:29:45 2007 Subject: RE: [sqr-users] LONGSPACE Error Date: Tue, 15 May 2007 16:27:34 -0400 From: "Larry Roux" A long character field can be of any length. It appears that the data in the table/field is longer than the max allowed by the SQT ini settings (32,766 characters). You may need to add a substring to the select to only get the first 32,000 characters of the field or something. -----Original Message----- From: sqr-users-bounces+lroux=3Dsyr.edu@sqrug.org [mailto:sqr-users-bounces+lroux=3Dsyr.edu@sqrug.org] On Behalf Of Tre Sent: Tuesday, May 15, 2007 4:23 PM To: sqr-users@sqrug.org Subject: [sqr-users] LONGSPACE Error Have anybody encountered this sqr problem and found the resolution to it. (SQR 5747) The following error(s) occurred while processing the [Processing-Limits] section from the SQR.INI file. (SQR 1210) The maximum value for 'longspace' (32767) is 32766. SQR for PeopleSoft: Program Aborting. I am trying to load some data into a Peoplesoft table, PS_POSITION_DATA. their is a field on this table DESCRLONG that is defined as a long character field with a maximum length of 0. Thanks, Tre _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 15 16:51:13 2007 Date: Tue, 15 May 2007 13:48:32 -0700 (PDT) From: Tre Subject: Re: [sqr-users] LONGSPACE Error I am placing a space as the field value for the DESCRLONG field for the INSERT statement. Tre ----- Original Message ---- From: Larry Roux To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Sent: Tuesday, May 15, 2007 4:27:34 PM Subject: RE: [sqr-users] LONGSPACE Error A long character field can be of any length. It appears that the data in the table/field is longer than the max allowed by the SQT ini settings (32,766 characters). You may need to add a substring to the select to only get the first 32,000 characters of the field or something. -----Original Message----- From: sqr-users-bounces+lroux=syr.edu@sqrug.org [mailto:sqr-users-bounces+lroux=syr.edu@sqrug.org] On Behalf Of Tre Sent: Tuesday, May 15, 2007 4:23 PM To: sqr-users@sqrug.org Subject: [sqr-users] LONGSPACE Error Have anybody encountered this sqr problem and found the resolution to it. (SQR 5747) The following error(s) occurred while processing the [Processing-Limits] section from the SQR.INI file. (SQR 1210) The maximum value for 'longspace' (32767) is 32766. SQR for PeopleSoft: Program Aborting. I am trying to load some data into a Peoplesoft table, PS_POSITION_DATA. their is a field on this table DESCRLONG that is defined as a long character field with a maximum length of 0. Thanks, Tre _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 15 17:21:19 2007 Date: Tue, 15 May 2007 14:18:42 -0700 (PDT) From: Tre Subject: Re: [sqr-users] LONGSPACE Error The inserts works find when placing NULL into the DESCRLONG field when usin= g Oracle SQL+Plus however when running the sqr with the same insert stateme= nt I am still getting (SQR 5747) The following error(s) occurred while processing the [Processing-Limits] section from the SQR.INI file. (SQR 1210) The maximum value for 'longspace' (32767) is 32766. SQR for PeopleSoft: Program Aborting. Tre ----- Original Message ---- From: Larry Roux To: Tre Sent: Tuesday, May 15, 2007 4:50:21 PM Subject: RE: [sqr-users] LONGSPACE Error I always forget how it works with the Long fields. Try a NULL instead of a= space ( ie =A1=A2) =20 From: Tre [mailto:tdbenso@yahoo.com]=20 Sent: Tuesday, May 15, 2007 4:49 PM To: sqr-users@sqrug.org Cc: Larry Roux Subject: Re: [sqr-users] LONGSPACE Error =20 I am placing a space as the field value for the DESCRLONG field for the IN= SERT statement. =20 Tre ----- Original Message ---- From: Larry Roux To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Sent: Tuesday, May 15, 2007 4:27:34 PM Subject: RE: [sqr-users] LONGSPACE Error A long character field can be of any length. It appears that the data in the table/field is longer than the max allowed by the SQT ini settings (32,766 characters). You may need to add a substring to the select to only get the first 32,000 characters of the field or something. -----Original Message----- From: sqr-users-bounces+lroux=3Dsyr.edu@sqrug.org [mailto:sqr-users-bounces+lroux=3Dsyr.edu@sqrug.org] On Behalf Of Tre Sent: Tuesday, May 15, 2007 4:23 PM To: sqr-users@sqrug.org Subject: [sqr-users] LONGSPACE Error Have anybody encountered this sqr problem and found the resolution to it. (SQR 5747) The following error(s) occurred while processing the [Processing-Limits] section from the SQR.INI file. (SQR 1210) The maximum value for 'longspace' (32767) is 32766. SQR for PeopleSoft: Program Aborting. I am trying to load some data into a Peoplesoft table, PS_POSITION_DATA. their is a field on this table DESCRLONG that is defined as a long character field with a maximum length of 0. Thanks, Tre _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 15 17:28:56 2007 From: "the dragon" Subject: Re: [sqr-users] LONGSPACE Error Date: Tue, 15 May 2007 16:26:20 -0500 perhaps code would be a good thing to include here at this time.... peace, clar '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 ----Original Message Follows---- The inserts works find when placing NULL into the DESCRLONG field when using Oracle SQL+Plus however when running the sqr with the same insert statement I am still getting (SQR 5747) The following error(s) occurred while processing the [Processing-Limits] section from the SQR.INI file. (SQR 1210) The maximum value for 'longspace' (32767) is 32766. SQR for PeopleSoft: Program Aborting. Tre ----- Original Message ---- I always forget how it works with the Long fields. Try a NULL instead of a space ( ie ¡¢) I am placing a space as the field value for the DESCRLONG field for the INSERT statement. Tre ----- Original Message ---- A long character field can be of any length. It appears that the data in the table/field is longer than the max allowed by the SQT ini settings (32,766 characters). You may need to add a substring to the select to only get the first 32,000 characters of the field or something. -----Original Message----- Have anybody encountered this sqr problem and found the resolution to it. (SQR 5747) The following error(s) occurred while processing the [Processing-Limits] section from the SQR.INI file. (SQR 1210) The maximum value for 'longspace' (32767) is 32766. SQR for PeopleSoft: Program Aborting. I am trying to load some data into a Peoplesoft table, PS_POSITION_DATA. their is a field on this table DESCRLONG that is defined as a long character field with a maximum length of 0. Thanks, Tre _________________________________________________________________ PC Magazine’s 2007 editors’ choice for best Web mail—award-winning Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_pcmag_0507 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue May 15 17:32:15 2007 Date: Tue, 15 May 2007 14:28:43 -0700 (PDT) From: Tre Subject: Re: [sqr-users] LONGSPACE Error Yes ----- Original Message ---- From: Larry Roux To: Tre Sent: Tuesday, May 15, 2007 5:19:52 PM Subject: RE: [sqr-users] LONGSPACE Error So you get the same error with a NULL as you do with a space? =20 From: Tre [mailto:tdbenso@yahoo.com]=20 Sent: Tuesday, May 15, 2007 5:19 PM To: SQR Cc: Larry Roux Subject: Re: [sqr-users] LONGSPACE Error =20 The inserts works find when placing NULL into the DESCRLONG field when usin= g Oracle SQL+Plus however when running the sqr with the same insert stateme= nt I am still getting (SQR 5747) The following error(s) occurred while processing the [Processing-Limits] section from the SQR.INI file. (SQR 1210) The maximum value for 'longspace' (32767) is 32766. SQR for PeopleSoft: Program Aborting. Tre ----- Original Message ---- From: Larry Roux To: Tre Sent: Tuesday, May 15, 2007 4:50:21 PM Subject: RE: [sqr-users] LONGSPACE Error I always forget how it works with the Long fields. Try a NULL instead of a= space ( ie =A1=A2) =20 From: Tre [mailto:tdbenso@yahoo.com]=20 Sent: Tuesday, May 15, 2007 4:49 PM To: sqr-users@sqrug.org Cc: Larry Roux Subject: Re: [sqr-users] LONGSPACE Error =20 I am placing a space as the field value for the DESCRLONG field for the IN= SERT statement. =20 Tre ----- Original Message ---- From: Larry Roux To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Sent: Tuesday, May 15, 2007 4:27:34 PM Subject: RE: [sqr-users] LONGSPACE Error A long character field can be of any length. It appears that the data in the table/field is longer than the max allowed by the SQT ini settings (32,766 characters). You may need to add a substring to the select to only get the first 32,000 characters of the field or something. -----Original Message----- From: sqr-users-bounces+lroux=3Dsyr.edu@sqrug.org [mailto:sqr-users-bounces+lroux=3Dsyr.edu@sqrug.org] On Behalf Of Tre Sent: Tuesday, May 15, 2007 4:23 PM To: sqr-users@sqrug.org Subject: [sqr-users] LONGSPACE Error Have anybody encountered this sqr problem and found the resolution to it. (SQR 5747) The following error(s) occurred while processing the [Processing-Limits] section from the SQR.INI file. (SQR 1210) The maximum value for 'longspace' (32767) is 32766. SQR for PeopleSoft: Program Aborting. I am trying to load some data into a Peoplesoft table, PS_POSITION_DATA. their is a field on this table DESCRLONG that is defined as a long character field with a maximum length of 0. Thanks, Tre _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 15 19:42:20 2007 Date: Tue, 15 May 2007 16:40:01 -0700 From: kevin.reschenberg@sparkpath.com Subject: RE: [sqr-users] LONGSPACE Error I may be missing something here, but isn't the error message telling us exactly what the problem is? In your SQR.INI file there is a section called Processing-Limits, and one of the lines under that is: LONGSPACE = 32767 But the maximum value for that parameter is apparently 32766. Change it and you should be good to go. Kevin Reschenberg SparkPath Technologies, Inc. sparkpath.com | sqr-info.com -------- Original Message -------- Subject: Re: [sqr-users] LONGSPACE Error From: Tre Date: Tue, May 15, 2007 2:28 pm To: SQR Cc: Larry Roux Yes ----- Original Message ---- From: Larry Roux To: Tre Sent: Tuesday, May 15, 2007 5:19:52 PM Subject: RE: [sqr-users] LONGSPACE Error So you get the same error with a NULL as you do with a space? From: Tre [mailto:tdbenso@yahoo.com] Sent: Tuesday, May 15, 2007 5:19 PM To: SQR Cc: Larry Roux Subject: Re: [sqr-users] LONGSPACE Error The inserts works find when placing NULL into the DESCRLONG field when using Oracle SQL+Plus however when running the sqr with the same insert statement I am still getting (SQR 5747) The following error(s) occurred while processing the [Processing-Limits] section from the SQR.INI file. (SQR 1210) The maximum value for 'longspace' (32767) is 32766. SQR for PeopleSoft: Program Aborting. Tre ----- Original Message ---- From: Larry Roux To: Tre Sent: Tuesday, May 15, 2007 4:50:21 PM Subject: RE: [sqr-users] LONGSPACE Error I always forget how it works with the Long fields. Try a NULL instead of a space ( ie ‘’) From: Tre [mailto:tdbenso@yahoo.com] Sent: Tuesday, May 15, 2007 4:49 PM To: sqr-users@sqrug.org Cc: Larry Roux Subject: Re: [sqr-users] LONGSPACE Error I am placing a space as the field value for the DESCRLONG field for the INSERT statement. Tre ----- Original Message ---- From: Larry Roux To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Sent: Tuesday, May 15, 2007 4:27:34 PM Subject: RE: [sqr-users] LONGSPACE Error A long character field can be of any length. It appears that the data in the table/field is longer than the max allowed by the SQT ini settings (32,766 characters). You may need to add a substring to the select to only get the first 32,000 characters of the field or something. -----Original Message----- From: sqr-users-bounces+lroux=syr.edu@sqrug.org [mailto:sqr-users-bounces+lroux=syr.edu@sqrug.org] On Behalf Of Tre Sent: Tuesday, May 15, 2007 4:23 PM To: sqr-users@sqrug.org Subject: [sqr-users] LONGSPACE Error Have anybody encountered this sqr problem and found the resolution to it. (SQR 5747) The following error(s) occurred while processing the [Processing-Limits] section from the SQR.INI file. (SQR 1210) The maximum value for 'longspace' (32767) is 32766. SQR for PeopleSoft: Program Aborting. I am trying to load some data into a Peoplesoft table, PS_POSITION_DATA. their is a field on this table DESCRLONG that is defined as a long character field with a maximum length of 0. Thanks, Tre _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 17 08:28:23 2007 Date: Thu, 17 May 2007 08:24:32 -0400 From: "Vaidyanathan, Ramakrishnan \(GE, Corporate, consultant\)" Subject: [sqr-users] Array Sorting.. Hi, =20=20 I got a question in sqr sorting. I have an array that has 4 fields of d= ata in it and it has 5 rows. I want to sort the array based on certain key = fields. Can any one tell me how can I sort the array data? Is there any bui= lt in function to sort the array? Any help is highly appreciated. Thanks Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu May 17 08:56:08 2007 From: "Steve Cavill" Subject: RE: [sqr-users] Array Sorting.. Date: Thu, 17 May 2007 22:53:19 +1000 There is no built in command. Do you have Hyperion SQR or Peoplesoft SQR. Hyperion SQR sample library has an example routine to sort an array. Program ex26a.sqr - see the performance tuning chapter in the sqr getting started manual. 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 Vaidyanathan, Ramakrishnan (GE, Corporate,consultant) Sent: Thursday, 17 May 2007 10:25 PM To: sqr-users@sqrug.org Subject: [sqr-users] Array Sorting.. Hi, I got a question in sqr sorting. I have an array that has 4 fields of data in it and it has 5 rows. I want to sort the array based on certain key fields. Can any one tell me how can I sort the array data? Is there any built in function to sort the array? Any help is highly appreciated. Thanks Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 17 10:57:35 2007 Date: Thu, 17 May 2007 08:55:24 -0600 From: jwillson@dssltd.com Subject: RE: [sqr-users] Array Sorting.. Hi, Steve's comments are right on. The Quick Sort is a very useful sort as long as your arrays are of fixed size less than or equal to the maximum size you specified for the array. If it is a large array of unknown size you can export it to the operating system and perform operating sorts on the file and read it back. Another approach is to build user defined sort functions. Hope this helps. John Willson http://www.dssltd.com/ Quoting Steve Cavill : > There is no built in command. > Do you have Hyperion SQR or Peoplesoft SQR. Hyperion SQR sample > library has an example routine to sort an array. > Program ex26a.sqr - see the performance tuning chapter in the sqr > getting started manual. > 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 Vaidyanathan, Ramakrishnan (GE, > Corporate,consultant) > Sent: Thursday, 17 May 2007 10:25 PM > To: sqr-users@sqrug.org > Subject: [sqr-users] Array Sorting.. > > Hi, > > I got a question in sqr sorting. I have an array that has 4 > fields of data in it and it has 5 rows. I want to sort the array > based on certain key fields. Can any one tell me how can I sort the > array data? Is there any built in function to sort the array? > Any help is highly appreciated. > > Thanks > Ram > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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 May 17 14:32:33 2007 From: "Alexander, Steven" Subject: RE: [sqr-users] Array Sorting.. Date: Thu, 17 May 2007 11:29:38 -0700 I wonder why there is no built in command. Was there too little demand for it or does the architecture of the compiler rule it out? Does anybody know? -----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 jwillson@dssltd.com Sent: Thursday, May 17, 2007 7:55 AM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Array Sorting.. Hi, Steve's comments are right on. The Quick Sort is a very useful sort as long as your arrays are of fixed size less than or equal to the maximum size you specified for the array. If it is a large array of unknown size you can export it to the operating system and perform operating sorts on the file and read it back. Another approach is to build user defined sort functions. Hope this helps. John Willson http://www.dssltd.com/ Quoting Steve Cavill : > There is no built in command. > Do you have Hyperion SQR or Peoplesoft SQR. Hyperion SQR sample > library has an example routine to sort an array. > Program ex26a.sqr - see the performance tuning chapter in the sqr > getting started manual. > 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 Vaidyanathan, Ramakrishnan (GE, > Corporate,consultant) > Sent: Thursday, 17 May 2007 10:25 PM > To: sqr-users@sqrug.org > Subject: [sqr-users] Array Sorting.. > > Hi, > > I got a question in sqr sorting. I have an array that has 4 > fields of data in it and it has 5 rows. I want to sort the array > based on certain key fields. Can any one tell me how can I sort the > array data? Is there any built in function to sort the array? > Any help is highly appreciated. > > Thanks > Ram > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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 May 22 14:43:10 2007 Date: Tue, 22 May 2007 14:40:09 -0400 From: "Dee Lind" Subject: [sqr-users] SQR - Question about Text Variables Hello, I am new to the SQR Users Group and have a question. Is there a maximum number of characters allowed for a text variable? I checked the Brio and Miti manuals and did not see anything - unless I missed it. I am new with SQR - You may be hearing from me often for a while. Thanks for your help. Dee Lind Application Engineer ResCare, Inc. Ph: 502-394-2289 Fax: 502.394.2309 dlind@rescare.com CONFIDENTIALITY NOTICE: This email, including attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, or disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender immediately 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 Wed May 23 03:34:58 2007 Date: Wed, 23 May 2007 13:00:46 +0530 From: "Jeevan John" Subject: Re: [sqr-users] SQR - Question about Text Variables Hi Dee, You might find this useful: http://www.ontko.com/sqr/sqrcard8.html search for 'data types' ~.j -- http://alterlife.org/ A world without code, is chaos. On 5/23/07, Dee Lind wrote: > > Hello, > > I am new to the SQR Users Group and have a question. Is there a > maximum number of characters allowed for a text variable? I checked the > Brio and Miti manuals and did not see anything - unless I missed it. > > I am new with SQR - You may be hearing from me often for a while. > > Thanks for your help. > > > Dee Lind > Application Engineer > ResCare, Inc. > Ph: 502-394-2289 > Fax: 502.394.2309 > dlind@rescare.com > > CONFIDENTIALITY NOTICE: This email, including attachments, is for the > sole use of the intended recipient(s) and may contain confidential and > privileged information. Any unauthorized review, use, or disclosure or > distribution is prohibited. If you are not the intended recipient, > please contact the sender immediately and destroy all copies of the > original message. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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 May 23 15:42:09 2007 Subject: RE: [sqr-users] SQR - Question about Text Variables Date: Wed, 23 May 2007 15:39:00 -0400 From: "Peter Burton" Dee, Current versions of Oracle Hyperion SQR have a 2GB limit with regard to how big an SQR $ variable become. I doubt that you will ever hit that limit. Peter -----Original Message----- From: sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org [mailto:sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org] On Behalf Of Dee Lind Sent: Tuesday, May 22, 2007 2:40 PM To: sqr-users@sqrug.org Subject: [sqr-users] SQR - Question about Text Variables Hello, =20 I am new to the SQR Users Group and have a question. Is there a maximum number of characters allowed for a text variable? I checked the Brio and Miti manuals and did not see anything - unless I missed it. =20 I am new with SQR - You may be hearing from me often for a while. =20 Thanks for your help. =20 =20 Dee Lind Application Engineer ResCare, Inc. Ph: 502-394-2289 Fax: 502.394.2309 dlind@rescare.com=20 CONFIDENTIALITY NOTICE: This email, including attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, or disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender immediately and destroy all copies of the original message. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users If you have received this e-mail in error, please delete it and notify the = sender as soon as possible. The contents of this e-mail may be confidential= and the unauthorized use, copying, or dissemination of it and any attachme= nts to it, is prohibited. Internet communications are not secure and Hyperi= on does not, therefore, accept legal responsibility for the contents of thi= s message nor for any damage caused by viruses. The views expressed here do= not necessarily represent those of Hyperion. For more information about Hy= perion, please visit our Web site at: www.hyperion.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed May 23 15:46:47 2007 Date: Wed, 23 May 2007 15:44:19 -0400 From: "Dee Lind" Subject: RE: [sqr-users] SQR - Question about Text Variables Hi Peter, Thank you for the information. Dee Lind Application Engineer ResCare, Inc. Ph: 502-394-2289 Fax: 502.394.2309 dlind@rescare.com CONFIDENTIALITY NOTICE: This email, including attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, or disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender immediately and destroy all copies of the original message. >>> Peter_Burton@hyperion.com 5/23/2007 3:39 PM >>> Dee, Current versions of Oracle Hyperion SQR have a 2GB limit with regard to how big an SQR $ variable become. I doubt that you will ever hit that limit. Peter -----Original Message----- From: sqr-users-bounces+peter_burton=hyperion.com@sqrug.org [mailto:sqr-users-bounces+peter_burton=hyperion.com@sqrug.org] On Behalf Of Dee Lind Sent: Tuesday, May 22, 2007 2:40 PM To: sqr-users@sqrug.org Subject: [sqr-users] SQR - Question about Text Variables Hello, I am new to the SQR Users Group and have a question. Is there a maximum number of characters allowed for a text variable? I checked the Brio and Miti manuals and did not see anything - unless I missed it. I am new with SQR - You may be hearing from me often for a while. Thanks for your help. Dee Lind Application Engineer ResCare, Inc. Ph: 502-394-2289 Fax: 502.394.2309 dlind@rescare.com CONFIDENTIALITY NOTICE: This email, including attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, or disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender immediately and destroy all copies of the original message. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users If you have received this e-mail in error, please delete it and notify the sender as soon as possible. The contents of this e-mail may be confidential and the unauthorized use, copying, or dissemination of it and any attachments to it, is prohibited. Internet communications are not secure and Hyperion does not, therefore, accept legal responsibility for the contents of this message nor for any damage caused by viruses. The views expressed here do not necessarily represent those of Hyperion. For more information about Hyperion, please visit our Web site at: www.hyperion.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 22 14:57:46 2007 Date: Tue, 22 May 2007 14:55:22 -0400 From: "Dee Lind" Subject: [sqr-users] Justifying Text with SQR Hello again, I am using SQR to create a form letter and would like to know if there is a way to justify the text, as in Word, so it will be blocked on both the left and right sides. (I am using the WRAP function to wrap the text) I am not using the begin-document section (for form letters) since the letter we need to produce requires bolding, underlining, etc. Thank you, Dee Lind Application Engineer ResCare, Inc. Ph: 502-394-2289 Fax: 502.394.2309 dlind@rescare.com CONFIDENTIALITY NOTICE: This email, including attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, or disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender immediately 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 May 22 15:10:42 2007 Subject: RE: [sqr-users] Justifying Text with SQR Date: Tue, 22 May 2007 14:08:27 -0500 From: "Knapp, Richard" Hi Dee, I'm still working with version 4.3 and the PS branch from that so I'm not sure where Hyperion has gone with this. I have always written the letter with hard return terminated lines. If you have a field that may become very long, you will probably have to compose each line in the paragraph (possibly from an array), check the length and adjust accordingly. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 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 Dee Lind Sent: Tuesday, May 22, 2007 1:55 PM To: sqr-users@sqrug.org Subject: [sqr-users] Justifying Text with SQR Hello again, =20 I am using SQR to create a form letter and would like to know if there is a way to justify the text, as in Word, so it will be blocked on both the left and right sides. (I am using the WRAP function to wrap the text) =20 I am not using the begin-document section (for form letters) since the letter we need to produce requires bolding, underlining, etc. =20 Thank you, =20 =20 Dee Lind Application Engineer ResCare, Inc. Ph: 502-394-2289 Fax: 502.394.2309 dlind@rescare.com=20 CONFIDENTIALITY NOTICE: This email, including attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, or disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender immediately and destroy all copies of the original message. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 22 16:04:56 2007 Date: Tue, 22 May 2007 16:02:12 -0400 From: "Dee Lind" Subject: RE: [sqr-users] Justifying Text with SQR Hi Ray, Thanks for the reply. I will use a hard return for now - like you mentioned. (We are on version 6.2). Fortunately, I am going to SQR training in two weeks and may find out something then. I will be glad to let you know what I find out if you like. Have a nice day. Dee Lind Application Engineer ResCare, Inc. Ph: 502-394-2289 Fax: 502.394.2309 dlind@rescare.com CONFIDENTIALITY NOTICE: This email, including attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, or disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender immediately and destroy all copies of the original message. >>> KnappR@umsystem.edu 5/22/2007 3:08 PM >>> Hi Dee, I'm still working with version 4.3 and the PS branch from that so I'm not sure where Hyperion has gone with this. I have always written the letter with hard return terminated lines. If you have a field that may become very long, you will probably have to compose each line in the paragraph (possibly from an array), check the length and adjust accordingly. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of Dee Lind Sent: Tuesday, May 22, 2007 1:55 PM To: sqr-users@sqrug.org Subject: [sqr-users] Justifying Text with SQR Hello again, I am using SQR to create a form letter and would like to know if there is a way to justify the text, as in Word, so it will be blocked on both the left and right sides. (I am using the WRAP function to wrap the text) I am not using the begin-document section (for form letters) since the letter we need to produce requires bolding, underlining, etc. Thank you, Dee Lind Application Engineer ResCare, Inc. Ph: 502-394-2289 Fax: 502.394.2309 dlind@rescare.com CONFIDENTIALITY NOTICE: This email, including attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, or disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender immediately and destroy all copies of the original message. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 22 16:28:15 2007 Date: Tue, 22 May 2007 14:25:52 -0600 From: jwillson@dssltd.com Subject: RE: [sqr-users] Justifying Text with SQR Hi Dee, form letters are easy with in SQR. Here are some remarks to consider when designing etc. 1) Consider using proportional fonts as opposed to fixed fonts. Set up is harder to organize but you can develop high quality documents including letters, certificates, and bar codes for mail sorters etc. 2) Consider exporting the letter to say MS Word or another word processing package for clean up. Write macros in MS Word to style the letters in the format wanted. This works well for fixed font. 3) Note there is a difference between fixed fonts in HTML, PDF, and MS Word which might result in as many as 3 characters per line on warping among the formats. 4) Although SQR can handle (and usually better than most languages) all kinds of languages, stay away from non standard fonts. Enjoy the experience and use the examples provided with the language. John Willson Quoting Dee Lind : > Hi Ray, > > Thanks for the reply. I will use a hard return for now - like you > mentioned. (We are on version 6.2). Fortunately, I am going to SQR > training in two weeks and may find out something then. > > I will be glad to let you know what I find out if you like. > > Have a nice day. > > > > > Dee Lind > Application Engineer > ResCare, Inc. > Ph: 502-394-2289 > Fax: 502.394.2309 > dlind@rescare.com > > CONFIDENTIALITY NOTICE: This email, including attachments, is for the > sole use of the intended recipient(s) and may contain confidential and > privileged information. Any unauthorized review, use, or disclosure or > distribution is prohibited. If you are not the intended recipient, > please contact the sender immediately and destroy all copies of the > original message. > >>>> KnappR@umsystem.edu 5/22/2007 3:08 PM >>> > > Hi Dee, > > I'm still working with version 4.3 and the PS branch from that so I'm > not sure where Hyperion has gone with this. I have always written the > letter with hard return terminated lines. If you have a field that > may > become very long, you will probably have to compose each line in the > paragraph (possibly from an array), check the length and adjust > accordingly. > > Richard Knapp > EAS - Data Warehouse Group > University of Missouri > 615 Locust Street #200 > Columbia, MO 65201 > 573-882-8856 > knappr@umsystem.edu > > > -----Original Message----- > From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org > [mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of > Dee Lind > Sent: Tuesday, May 22, 2007 1:55 PM > To: sqr-users@sqrug.org > Subject: [sqr-users] Justifying Text with SQR > > Hello again, > > I am using SQR to create a form letter and would like to know if there > is a way to justify the text, as in Word, so it will be blocked on > both > the left and right sides. (I am using the WRAP function to wrap the > text) > > I am not using the begin-document section (for form letters) since the > letter we need to produce requires bolding, underlining, etc. > > Thank you, > > > Dee Lind > Application Engineer > ResCare, Inc. > Ph: 502-394-2289 > Fax: 502.394.2309 > dlind@rescare.com > > CONFIDENTIALITY NOTICE: This email, including attachments, is for the > sole use of the intended recipient(s) and may contain confidential and > privileged information. Any unauthorized review, use, or disclosure or > distribution is prohibited. If you are not the intended recipient, > please contact the sender immediately and destroy all copies of the > original message. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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 May 22 17:00:06 2007 Date: Tue, 22 May 2007 16:57:32 -0400 From: "Dee Lind" Subject: RE: [sqr-users] Justifying Text with SQR John, Thank you for the information and the different options. So, are you able to get the text justified on the right side just using SQR code? The text I am currently getting is not completely blocked (justified) on the right side. I would like to handle the blocking in the SQR as opposed to using Macros in MS Word if it can be done. Our end users normally run SQR's from the ADP (Automatic Data Processing) application. I have been using the Font Number for Times New Roman, which should be proportional. I just added FONT-TYPE = Proportional to see if that would make a difference. (Is that what you use?) Also, according to the documentation for our printers, Times New Roman is No. 34, which is what I had coded in the FONT= statement. The SQR manual has No. 5 for Times New Roman, so I changed the 34 to 5 to see what that would do. There was no change in the print output. I plan to experiment with the LINE-WIDTH or RIGHT-MARGIN option to see what those will do. I know this is a long message. If you have any other suggestions, I would be glad to hear them. Dee Lind Application Engineer ResCare, Inc. Ph: 502-394-2289 Fax: 502.394.2309 dlind@rescare.com CONFIDENTIALITY NOTICE: This email, including attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, or disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender immediately and destroy all copies of the original message. >>> jwillson@dssltd.com 5/22/2007 4:25 PM >>> Hi Dee, form letters are easy with in SQR. Here are some remarks to consider when designing etc. 1) Consider using proportional fonts as opposed to fixed fonts. Set up is harder to organize but you can develop high quality documents including letters, certificates, and bar codes for mail sorters etc. 2) Consider exporting the letter to say MS Word or another word processing package for clean up. Write macros in MS Word to style the letters in the format wanted. This works well for fixed font. 3) Note there is a difference between fixed fonts in HTML, PDF, and MS Word which might result in as many as 3 characters per line on warping among the formats. 4) Although SQR can handle (and usually better than most languages) all kinds of languages, stay away from non standard fonts. Enjoy the experience and use the examples provided with the language. John Willson Quoting Dee Lind : > Hi Ray, > > Thanks for the reply. I will use a hard return for now - like you > mentioned. (We are on version 6.2). Fortunately, I am going to SQR > training in two weeks and may find out something then. > > I will be glad to let you know what I find out if you like. > > Have a nice day. > > > > > Dee Lind > Application Engineer > ResCare, Inc. > Ph: 502-394-2289 > Fax: 502.394.2309 > dlind@rescare.com > > CONFIDENTIALITY NOTICE: This email, including attachments, is for the > sole use of the intended recipient(s) and may contain confidential and > privileged information. Any unauthorized review, use, or disclosure or > distribution is prohibited. If you are not the intended recipient, > please contact the sender immediately and destroy all copies of the > original message. > >>>> KnappR@umsystem.edu 5/22/2007 3:08 PM >>> > > Hi Dee, > > I'm still working with version 4.3 and the PS branch from that so I'm > not sure where Hyperion has gone with this. I have always written the > letter with hard return terminated lines. If you have a field that > may > become very long, you will probably have to compose each line in the > paragraph (possibly from an array), check the length and adjust > accordingly. > > Richard Knapp > EAS - Data Warehouse Group > University of Missouri > 615 Locust Street #200 > Columbia, MO 65201 > 573-882-8856 > knappr@umsystem.edu > > > -----Original Message----- > From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org > [mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of > Dee Lind > Sent: Tuesday, May 22, 2007 1:55 PM > To: sqr-users@sqrug.org > Subject: [sqr-users] Justifying Text with SQR > > Hello again, > > I am using SQR to create a form letter and would like to know if there > is a way to justify the text, as in Word, so it will be blocked on > both > the left and right sides. (I am using the WRAP function to wrap the > text) > > I am not using the begin-document section (for form letters) since the > letter we need to produce requires bolding, underlining, etc. > > Thank you, > > > Dee Lind > Application Engineer > ResCare, Inc. > Ph: 502-394-2289 > Fax: 502.394.2309 > dlind@rescare.com > > CONFIDENTIALITY NOTICE: This email, including attachments, is for the > sole use of the intended recipient(s) and may contain confidential and > privileged information. Any unauthorized review, use, or disclosure or > distribution is prohibited. If you are not the intended recipient, > please contact the sender immediately and destroy all copies of the > original message. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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 Tue May 22 18:11:03 2007 Subject: RE: [sqr-users] Justifying Text with SQR Date: Tue, 22 May 2007 17:08:21 -0500 From: "Knapp, Richard" Dee, You will never get a proportional font to right justify using the kerning (adding spaces) available at the character level. You can get a fixed font to right justify by counting characters and adding spaces up to some fixed total for the lines. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 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 Dee Lind Sent: Tuesday, May 22, 2007 3:58 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Justifying Text with SQR John, =20 Thank you for the information and the different options.=20=20 =20 So, are you able to get the text justified on the right side just using SQR code? =20 The text I am currently getting is not completely blocked (justified) on the right side. I would like to handle the blocking in the SQR as opposed to using Macros in MS Word if it can be done. Our end users normally run SQR's from the ADP (Automatic Data Processing) application. =20 =20 I have been using the Font Number for Times New Roman, which should be proportional. I just added FONT-TYPE =3D Proportional to see if that would make a difference. (Is that what you use?) =20 Also, according to the documentation for our printers, Times New Roman is No. 34, which is what I had coded in the FONT=3D statement. The SQR manual has No. 5 for Times New Roman, so I changed the 34 to 5 to see what that would do. There was no change in the print output.=20=20 =20 I plan to experiment with the LINE-WIDTH or RIGHT-MARGIN option to see what those will do. =20 I know this is a long message. If you have any other suggestions, I would be glad to hear them. =20 =20 =20 =20 =20 =20 Dee Lind Application Engineer ResCare, Inc. Ph: 502-394-2289 Fax: 502.394.2309 dlind@rescare.com=20 CONFIDENTIALITY NOTICE: This email, including attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, or disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender immediately and destroy all copies of the original message. >>> jwillson@dssltd.com 5/22/2007 4:25 PM >>> Hi Dee, form letters are easy with in SQR. Here are some remarks to consider when designing etc.=20 1) Consider using proportional fonts as opposed to fixed fonts. Set up is harder to organize but you can develop high quality documents including letters, certificates, and bar codes for mail sorters etc.=20 2) Consider exporting the letter to say MS Word or another word processing package for clean up. Write macros in MS Word to style the letters in the format wanted. This works well for fixed font.=20 3) Note there is a difference between fixed fonts in HTML, PDF, and MS Word which might result in as many as 3 characters per line on warping among the formats.=20 4) Although SQR can handle (and usually better than most languages) all kinds of languages, stay away from non standard fonts.=20 Enjoy the experience and use the examples provided with the language.=20 John Willson Quoting Dee Lind : > Hi Ray, > > Thanks for the reply. I will use a hard return for now - like you > mentioned. (We are on version 6.2). Fortunately, I am going to SQR > training in two weeks and may find out something then.=20 > > I will be glad to let you know what I find out if you like.=20 > > Have a nice day.=20 > > > > > Dee Lind > Application Engineer > ResCare, Inc.=20 > Ph: 502-394-2289 > Fax: 502.394.2309 > dlind@rescare.com=20 > > CONFIDENTIALITY NOTICE: This email, including attachments, is for the > sole use of the intended recipient(s) and may contain confidential and > privileged information. Any unauthorized review, use, or disclosure or > distribution is prohibited. If you are not the intended recipient, > please contact the sender immediately and destroy all copies of the > original message.=20 > >>>> KnappR@umsystem.edu 5/22/2007 3:08 PM >>> > > Hi Dee, > > I'm still working with version 4.3 and the PS branch from that so I'm > not sure where Hyperion has gone with this. I have always written the > letter with hard return terminated lines. If you have a field that > may > become very long, you will probably have to compose each line in the > paragraph (possibly from an array), check the length and adjust > accordingly.=20 > > Richard Knapp > EAS - Data Warehouse Group > University of Missouri > 615 Locust Street #200 > Columbia, MO 65201 > 573-882-8856 > knappr@umsystem.edu=20 > > > -----Original Message----- > From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org=20 > [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of > Dee Lind > Sent: Tuesday, May 22, 2007 1:55 PM > To: sqr-users@sqrug.org=20 > Subject: [sqr-users] Justifying Text with SQR > > Hello again, > > I am using SQR to create a form letter and would like to know if there > is a way to justify the text, as in Word, so it will be blocked on > both > the left and right sides. (I am using the WRAP function to wrap the > text) > > I am not using the begin-document section (for form letters) since the > letter we need to produce requires bolding, underlining, etc.=20 > > Thank you, > > > Dee Lind > Application Engineer > ResCare, Inc.=20 > Ph: 502-394-2289 > Fax: 502.394.2309 > dlind@rescare.com=20 > > CONFIDENTIALITY NOTICE: This email, including attachments, is for the > sole use of the intended recipient(s) and may contain confidential and > privileged information. Any unauthorized review, use, or disclosure or > distribution is prohibited. If you are not the intended recipient, > please contact the sender immediately and destroy all copies of the > original message.=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=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 Thu May 24 01:08:35 2007 Date: Thu, 24 May 2007 10:36:13 +0530 From: "Manasvini Mahajan" Subject: [sqr-users] How to use two differnet data sources for report creation Hi All, I have to create a report with SQR ,using two different data sources at the same time. Please advice as to how i can go about it.. Best Regards Manasvini _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu May 24 01:42:53 2007 From: "Steve Cavill" Subject: RE: [sqr-users] How to use two differnet data sources for reportcreation Date: Thu, 24 May 2007 15:39:24 +1000 Use odbc. Check the -DB= option on the begin-select 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 Manasvini Mahajan Sent: Thursday, 24 May 2007 3:06 PM To: sqr-users@sqrug.org Subject: [sqr-users] How to use two differnet data sources for reportcreation Hi All, I have to create a report with SQR ,using two different data sources at the same time. Please advice as to how i can go about it.. Best Regards Manasvini _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 24 07:45:07 2007 Subject: RE: [sqr-users] How to use two differnet data sources for reportcreation Date: Thu, 24 May 2007 07:41:02 -0400 From: "Peter Burton" Manasvini, For ODBC datasources you can use the SQR/ODBC product. For non-relational (e.g. Essbase, SAP, OLAP, etc) and JDBC datasources you can use the SQR/DDO product. Both products allow you specify the datasource for the SQR BEGIN-SQL and BEGIN-SELECT constructs. Peter -----Original Message----- From: sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org [mailto:sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org] On Behalf Of Manasvini Mahajan Sent: Thursday, May 24, 2007 1:06 AM To: sqr-users@sqrug.org Subject: [sqr-users] How to use two differnet data sources for reportcreation Hi All, I have to create a report with SQR ,using two different data sources at the same time. Please advice as to how i can go about it.. Best Regards Manasvini _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users If you have received this e-mail in error, please delete it and notify the = sender as soon as possible. The contents of this e-mail may be confidential= and the unauthorized use, copying, or dissemination of it and any attachme= nts to it, is prohibited. Internet communications are not secure and Hyperi= on does not, therefore, accept legal responsibility for the contents of thi= s message nor for any damage caused by viruses. The views expressed here do= not necessarily represent those of Hyperion. For more information about Hy= perion, please visit our Web site at: www.hyperion.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu May 24 10:40:01 2007 Subject: RE: [sqr-users] How to use two differnet data sources for reportcreation Date: Thu, 24 May 2007 09:36:50 -0500 From: "Knapp, Richard" Manasvini, You don't say what the data sources are. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 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 Manasvini Mahajan Sent: Thursday, May 24, 2007 12:06 AM To: sqr-users@sqrug.org Subject: [sqr-users] How to use two differnet data sources for reportcreation Hi All, I have to create a report with SQR ,using two different data sources at the same time. Please advice as to how i can go about it.. Best Regards Manasvini _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 24 15:55:09 2007 Date: Thu, 24 May 2007 15:52:08 -0400 From: "Dee Lind" Subject: [sqr-users] Using ESC <27> and Bold with Assigning a Variable Hello, Is is possible to set a value of BOLD for text by using the ESC <27> characters and the HP Laserjet Font print characters such as (s3B when the text is assigned to a variable? For Example: Here is what I am currently doing to make a whole sentence with the following variables for the desired result of: we will see you on Sunday. $let_word_1 = 'we will see you on ' $let_word_2 = 'Sunday.' print $let_word_1 (3,1) Print $let_word_2 (,+75) bold NOTE: +75 may not be the exact relative position, but it conveys the idea of what I am doing. I would like to set the bolding when the text of 'Sunday' is assigned to the variable. I believe (s3B is the BOLD font selection for our HP LaserJet Printer. I don't know if you can use the printer commands in the variable assignment or if there is a another way to achieve this. I am doing this to save on the hard coding for the column spacing (+75) as shown above. $let_word_1 = 'we will see you on <27>(s3B'Sunday' I hope this makes sense. Any suggestions? Thank you, D _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu May 24 16:02:32 2007 Subject: RE: [sqr-users] Using ESC <27> and Bold with Assigning a Variable Date: Thu, 24 May 2007 15:00:20 -0500 From: "Knapp, Richard" Hi Dee, I think you will have better luck using the write statement with HP PCL. Just insert them into the text where you want the change to begin/end. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 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 Dee Lind Sent: Thursday, May 24, 2007 2:52 PM To: sqr-users@sqrug.org Subject: [sqr-users] Using ESC <27> and Bold with Assigning a Variable Hello, =20 Is is possible to set a value of BOLD for text by using the ESC <27> characters and the HP Laserjet Font print characters such as (s3B when the text is assigned to a variable? =20 For Example: Here is what I am currently doing to make a whole sentence with the following variables for the desired result of: =20 we will see you on Sunday.=20 =20 $let_word_1 =3D 'we will see you on '=20=20=20 $let_word_2 =3D 'Sunday.' =20 print $let_word_1 (3,1)=20 Print $let_word_2 (,+75) bold =20 NOTE: +75 may not be the exact relative position, but it conveys the idea of what I am doing. =20 I would like to set the bolding when the text of 'Sunday' is assigned to the variable. =20 I believe (s3B is the BOLD font selection for our HP LaserJet Printer. I don't know if you can use the printer commands in the variable assignment or if there is a another way to achieve this. I am doing this to save on the hard coding for the column spacing (+75) as shown above. =20 $let_word_1 =3D 'we will see you on <27>(s3B'Sunday'=20=20=20 =20 I hope this makes sense. =20 Any suggestions?=20=20 =20 Thank you,=20=20 =20 D =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 Thu May 24 16:10:59 2007 Date: Thu, 24 May 2007 16:07:23 -0400 From: "Dee Lind" Subject: RE: [sqr-users] Using ESC <27> and Bold with Assigning a Variable Thanks Richard, Is there an example somewhere that you know of that I can take a look at? Or, are you talking about the print statement that I was using? print $let_word_1 (3,1) Print $let_word_2 (,+75) bold D >>> KnappR@umsystem.edu 5/24/2007 4:00 PM >>> Hi Dee, I think you will have better luck using the write statement with HP PCL. Just insert them into the text where you want the change to begin/end. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of Dee Lind Sent: Thursday, May 24, 2007 2:52 PM To: sqr-users@sqrug.org Subject: [sqr-users] Using ESC <27> and Bold with Assigning a Variable Hello, Is is possible to set a value of BOLD for text by using the ESC <27> characters and the HP Laserjet Font print characters such as (s3B when the text is assigned to a variable? For Example: Here is what I am currently doing to make a whole sentence with the following variables for the desired result of: we will see you on Sunday. $let_word_1 = 'we will see you on ' $let_word_2 = 'Sunday.' print $let_word_1 (3,1) Print $let_word_2 (,+75) bold NOTE: +75 may not be the exact relative position, but it conveys the idea of what I am doing. I would like to set the bolding when the text of 'Sunday' is assigned to the variable. I believe (s3B is the BOLD font selection for our HP LaserJet Printer. I don't know if you can use the printer commands in the variable assignment or if there is a another way to achieve this. I am doing this to save on the hard coding for the column spacing (+75) as shown above. $let_word_1 = 'we will see you on <27>(s3B'Sunday' I hope this makes sense. Any suggestions? Thank you, D _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 24 16:14:50 2007 Subject: RE: [sqr-users] Using ESC <27> and Bold with Assigning aVariable Date: Thu, 24 May 2007 15:11:33 -0500 From: "Knapp, Richard" I'll see if I can dig one up. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 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 Dee Lind Sent: Thursday, May 24, 2007 3:07 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Using ESC <27> and Bold with Assigning aVariable Thanks Richard, =20 Is there an example somewhere that you know of that I can take a look at? Or, are you talking about the print statement that I was using? =20 print $let_word_1 (3,1)=20 Print $let_word_2 (,+75) bold =20 D =20 >>> KnappR@umsystem.edu 5/24/2007 4:00 PM >>> Hi Dee, I think you will have better luck using the write statement with HP PCL. Just insert them into the text where you want the change to begin/end. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu=20 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org=20 [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Dee Lind Sent: Thursday, May 24, 2007 2:52 PM To: sqr-users@sqrug.org=20 Subject: [sqr-users] Using ESC <27> and Bold with Assigning a Variable Hello, Is is possible to set a value of BOLD for text by using the ESC <27> characters and the HP Laserjet Font print characters such as (s3B when the text is assigned to a variable? For Example: Here is what I am currently doing to make a whole sentence with the following variables for the desired result of: we will see you on Sunday.=20 $let_word_1 =3D 'we will see you on '=20=20=20 $let_word_2 =3D 'Sunday.' print $let_word_1 (3,1)=20 Print $let_word_2 (,+75) bold NOTE: +75 may not be the exact relative position, but it conveys the idea of what I am doing. I would like to set the bolding when the text of 'Sunday' is assigned to the variable. I believe (s3B is the BOLD font selection for our HP LaserJet Printer. I don't know if you can use the printer commands in the variable assignment or if there is a another way to achieve this. I am doing this to save on the hard coding for the column spacing (+75) as shown above. $let_word_1 =3D 'we will see you on <27>(s3B'Sunday'=20=20=20 I hope this makes sense. Any suggestions?=20=20 Thank you,=20=20 D _______________________________________________ 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 Thu May 24 16:33:51 2007 Subject: RE: [sqr-users] Using ESC <27> and Bold with Assigning aVariable Date: Thu, 24 May 2007 15:31:13 -0500 From: "Knapp, Richard" This is a multi-part message in MIME format... ------_=_NextPart_001_01C79E42.7964DF4E Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Hi Dee, I found the ancient code. Hope it is useful. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 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 Dee Lind Sent: Thursday, May 24, 2007 3:07 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Using ESC <27> and Bold with Assigning aVariable Thanks Richard, =20 Is there an example somewhere that you know of that I can take a look at? Or, are you talking about the print statement that I was using? =20 print $let_word_1 (3,1)=20 Print $let_word_2 (,+75) bold =20 D =20 >>> KnappR@umsystem.edu 5/24/2007 4:00 PM >>> Hi Dee, I think you will have better luck using the write statement with HP PCL. Just insert them into the text where you want the change to begin/end. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu=20 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org=20 [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Dee Lind Sent: Thursday, May 24, 2007 2:52 PM To: sqr-users@sqrug.org=20 Subject: [sqr-users] Using ESC <27> and Bold with Assigning a Variable Hello, Is is possible to set a value of BOLD for text by using the ESC <27> characters and the HP Laserjet Font print characters such as (s3B when the text is assigned to a variable? For Example: Here is what I am currently doing to make a whole sentence with the following variables for the desired result of: we will see you on Sunday.=20 $let_word_1 =3D 'we will see you on '=20=20=20 $let_word_2 =3D 'Sunday.' print $let_word_1 (3,1)=20 Print $let_word_2 (,+75) bold NOTE: +75 may not be the exact relative position, but it conveys the idea of what I am doing. I would like to set the bolding when the text of 'Sunday' is assigned to the variable. I believe (s3B is the BOLD font selection for our HP LaserJet Printer. I don't know if you can use the printer commands in the variable assignment or if there is a another way to achieve this. I am doing this to save on the hard coding for the column spacing (+75) as shown above. $let_word_1 =3D 'we will see you on <27>(s3B'Sunday'=20=20=20 I hope this makes sense. Any suggestions?=20=20 Thank you,=20=20 D _______________________________________________ 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 ------_=_NextPart_001_01C79E42.7964DF4E Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: AUTOMATIC WARNING Here was a non admissible message part of 'application/octet-stream' MIME type. It has been automatically discarded before sending the message to the list. ------_=_NextPart_001_01C79E42.7964DF4E 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 ------_=_NextPart_001_01C79E42.7964DF4E-- From sqr-users-bounces@sqrug.org Thu May 24 17:01:34 2007 Subject: RE: [sqr-users] Using ESC <27> and Bold with Assigning aVariable Date: Thu, 24 May 2007 15:58:48 -0500 From: "Knapp, Richard" Dee, Foiled. Here is an excerpt: if $dependent =3D 'Y' let $title =3D 'DEPENDENT CERTIFICATE OF CREDITABLE GROUP HEALTH PLAN COVERAGE' encode '<27>&a765H' into $t else let $title =3D 'CERTIFICATE OF CREDITABLE GROUP HEALTH PLAN COVERAGE' encode '<27>&a1100H' into $t end-if let $w =3D $t || $bold || $underline_on || $title write 1 from $w write 1 from $underline_off write 1 from $normal write 1 from $s let $w =3D $m || $today write 1 from $w =20=20=20=20 evaluate $old_bu when =3D 'HOSPT' when =3D 'HCRNC' when =3D 'HELTH' when =3D 'HMOCR' break when-other write 1 from $s write 1 from $s end-evaluate =20=20=20=20 write 1 from $s Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 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 Knapp, Richard Sent: Thursday, May 24, 2007 3:31 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Using ESC <27> and Bold with Assigning aVariable Hi Dee, I found the ancient code. Hope it is useful. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 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 Dee Lind Sent: Thursday, May 24, 2007 3:07 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Using ESC <27> and Bold with Assigning aVariable Thanks Richard, =20 Is there an example somewhere that you know of that I can take a look at? Or, are you talking about the print statement that I was using? =20 print $let_word_1 (3,1)=20 Print $let_word_2 (,+75) bold =20 D =20 >>> KnappR@umsystem.edu 5/24/2007 4:00 PM >>> Hi Dee, I think you will have better luck using the write statement with HP PCL. Just insert them into the text where you want the change to begin/end. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu=20 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org=20 [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Dee Lind Sent: Thursday, May 24, 2007 2:52 PM To: sqr-users@sqrug.org=20 Subject: [sqr-users] Using ESC <27> and Bold with Assigning a Variable Hello, Is is possible to set a value of BOLD for text by using the ESC <27> characters and the HP Laserjet Font print characters such as (s3B when the text is assigned to a variable? For Example: Here is what I am currently doing to make a whole sentence with the following variables for the desired result of: we will see you on Sunday.=20 $let_word_1 =3D 'we will see you on '=20=20=20 $let_word_2 =3D 'Sunday.' print $let_word_1 (3,1)=20 Print $let_word_2 (,+75) bold NOTE: +75 may not be the exact relative position, but it conveys the idea of what I am doing. I would like to set the bolding when the text of 'Sunday' is assigned to the variable. I believe (s3B is the BOLD font selection for our HP LaserJet Printer. I don't know if you can use the printer commands in the variable assignment or if there is a another way to achieve this. I am doing this to save on the hard coding for the column spacing (+75) as shown above. $let_word_1 =3D 'we will see you on <27>(s3B'Sunday'=20=20=20 I hope this makes sense. Any suggestions?=20=20 Thank you,=20=20 D _______________________________________________ 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 Thu May 24 17:05:22 2007 Date: Thu, 24 May 2007 17:01:50 -0400 From: "Dee Lind" Subject: RE: [sqr-users] Using ESC <27> and Bold with Assigning aVariable Thanks again. Actually, my manager came up with a good solution that is working for us. Here it is: The code below will print as: Note: The site I we got the PCL Printer info is: http://pcl.to/font_selection.html (You may already have this.) "We will see you on Sunday. Have a nice weekend." ___________________________________________________________ encode '<27>(s3B' into $bold encode '<27>(s0B' into $standard let $page_2_line_1 = 'We will see you on' $bold || 'Sunday.' let $page_2_line_2 = $standard || 'Have a nice weekend.' ($standard sets the printer back to non-bold for the next line of text) This way we can keep the text together and turn the bolding on and off. At least it has worked so far. I will take a look at the attachments you sent. I hope you have a real nice holiday weekend. D >>> KnappR@umsystem.edu 5/24/2007 4:31 PM >>> Hi Dee, I found the ancient code. Hope it is useful. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of Dee Lind Sent: Thursday, May 24, 2007 3:07 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Using ESC <27> and Bold with Assigning aVariable Thanks Richard, Is there an example somewhere that you know of that I can take a look at? Or, are you talking about the print statement that I was using? print $let_word_1 (3,1) Print $let_word_2 (,+75) bold D >>> KnappR@umsystem.edu 5/24/2007 4:00 PM >>> Hi Dee, I think you will have better luck using the write statement with HP PCL. Just insert them into the text where you want the change to begin/end. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of Dee Lind Sent: Thursday, May 24, 2007 2:52 PM To: sqr-users@sqrug.org Subject: [sqr-users] Using ESC <27> and Bold with Assigning a Variable Hello, Is is possible to set a value of BOLD for text by using the ESC <27> characters and the HP Laserjet Font print characters such as (s3B when the text is assigned to a variable? For Example: Here is what I am currently doing to make a whole sentence with the following variables for the desired result of: we will see you on Sunday. $let_word_1 = 'we will see you on ' $let_word_2 = 'Sunday.' print $let_word_1 (3,1) Print $let_word_2 (,+75) bold NOTE: +75 may not be the exact relative position, but it conveys the idea of what I am doing. I would like to set the bolding when the text of 'Sunday' is assigned to the variable. I believe (s3B is the BOLD font selection for our HP LaserJet Printer. I don't know if you can use the printer commands in the variable assignment or if there is a another way to achieve this. I am doing this to save on the hard coding for the column spacing (+75) as shown above. $let_word_1 = 'we will see you on <27>(s3B'Sunday' I hope this makes sense. Any suggestions? Thank you, D _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 24 17:09:57 2007 Date: Thu, 24 May 2007 17:05:51 -0400 From: "Dee Lind" Subject: RE: [sqr-users] Using ESC <27> and Bold with Assigning aVariable Thanks Richard, This will be helpful, too. I think it is similar to what we are doing. Our emails may have crossed in the mail (HA!) >>> KnappR@umsystem.edu 5/24/2007 4:58 PM >>> Dee, Foiled. Here is an excerpt: if $dependent = 'Y' let $title = 'DEPENDENT CERTIFICATE OF CREDITABLE GROUP HEALTH PLAN COVERAGE' encode '<27>&a765H' into $t else let $title = 'CERTIFICATE OF CREDITABLE GROUP HEALTH PLAN COVERAGE' encode '<27>&a1100H' into $t end-if let $w = $t || $bold || $underline_on || $title write 1 from $w write 1 from $underline_off write 1 from $normal write 1 from $s let $w = $m || $today write 1 from $w evaluate $old_bu when = 'HOSPT' when = 'HCRNC' when = 'HELTH' when = 'HMOCR' break when-other write 1 from $s write 1 from $s end-evaluate write 1 from $s Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of Knapp, Richard Sent: Thursday, May 24, 2007 3:31 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Using ESC <27> and Bold with Assigning aVariable Hi Dee, I found the ancient code. Hope it is useful. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of Dee Lind Sent: Thursday, May 24, 2007 3:07 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Using ESC <27> and Bold with Assigning aVariable Thanks Richard, Is there an example somewhere that you know of that I can take a look at? Or, are you talking about the print statement that I was using? print $let_word_1 (3,1) Print $let_word_2 (,+75) bold D >>> KnappR@umsystem.edu 5/24/2007 4:00 PM >>> Hi Dee, I think you will have better luck using the write statement with HP PCL. Just insert them into the text where you want the change to begin/end. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of Dee Lind Sent: Thursday, May 24, 2007 2:52 PM To: sqr-users@sqrug.org Subject: [sqr-users] Using ESC <27> and Bold with Assigning a Variable Hello, Is is possible to set a value of BOLD for text by using the ESC <27> characters and the HP Laserjet Font print characters such as (s3B when the text is assigned to a variable? For Example: Here is what I am currently doing to make a whole sentence with the following variables for the desired result of: we will see you on Sunday. $let_word_1 = 'we will see you on ' $let_word_2 = 'Sunday.' print $let_word_1 (3,1) Print $let_word_2 (,+75) bold NOTE: +75 may not be the exact relative position, but it conveys the idea of what I am doing. I would like to set the bolding when the text of 'Sunday' is assigned to the variable. I believe (s3B is the BOLD font selection for our HP LaserJet Printer. I don't know if you can use the printer commands in the variable assignment or if there is a another way to achieve this. I am doing this to save on the hard coding for the column spacing (+75) as shown above. $let_word_1 = 'we will see you on <27>(s3B'Sunday' I hope this makes sense. Any suggestions? Thank you, D _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Fri May 25 02:56:01 2007 From: Mina Yassini Date: Fri, 25 May 2007 08:53:30 +0200 Subject: [sqr-users] calling API windows from sqr Hi, Has someone ever used API windows from SQR to create a new kind of chart (a chart different from those proposed in the version 9.3 of SQR). I want to create horizontal stacked bar and some example can help me. Thank you GRAS SAVOYE, 1er courtier d'assurance en France Pour en savoir plus: http://www.grassavoye.com ------------------------------------------------------------------------ Ce message et toutes les pi=E8ces jointes (ci-apr=E8s le "Message") = sont confidentiels et =E9tablis =E0 l'intention exclusive de ses destinatai= res. Toute modification, =E9dition, utilisation ou diffusion non autoris=E9e= est interdite. Si vous avez re=E7u ce Message par erreur, merci de nous = en avertir imm=E9diatement. GRAS SAVOYE et ses filiales d=E9clinent t= oute responsabilit=E9 au titre de ce Message s'il a =E9t=E9 alt=E9r=E9, d=E9for= m=E9, falsifi=E9 ou encore =E9dit=E9 ou diffus=E9 sans autorisation. This message and any attachments (the "Message") are confidential and intended solely for the addressees. Any unauthorized modification, edition, use or dissemination is prohibited.If you have received this Message by mistake, please notify us immediately. Neither GRAS SAVOYE nor any of its subsidiaries or affiliates shall be liable for the Message if altered, changed, falsified, edited or diffused without authorization. ------------------------------------------------------------------------ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri May 25 03:01:07 2007 Date: Fri, 25 May 2007 02:57:29 -0400 From: "Dee Lind" Subject: Re: [sqr-users] calling API windows from sqr I will be out of the office beginning Friday, May 25, and will return on Monday, June 4. Have a great day! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri May 25 07:56:34 2007 Date: Fri, 25 May 2007 13:52:50 +0200 Subject: Re:[sqr-users] calling API windows from sqr From: "franck\.masson" Yes we have done this in SQR version 8 You have to take attention, of the number of parameters and the type of par= ameters ( date, number, ...) Franck, ---------- Debut du message initial ----------- De : sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org A : sqr-users@sqrug.org Copies : Date : Fri, 25 May 2007 08:53:30 +0200 Objet : [sqr-users] calling API windows from sqr > > > Hi, > > Has someone ever used API windows from SQR to create a new kind of chart = (a > chart different from those proposed in the version 9.3 of SQR). > I want to create horizontal stacked bar and some example can help me. > > Thank you > GRAS SAVOYE, 1er courtier d'assurance en France > Pour en savoir plus: http://www.grassavoye.com > > ------------------------------------------------------------------------ > > Ce message et toutes les pi=E8ces jointes (ci-apr=E8s le "Message"= ) sont > confidentiels et =E9tablis =E0 l'intention exclusive de ses destinat= aires. > Toute modification, =E9dition, utilisation ou diffusion non autoris= =E9e est > interdite. Si vous avez re=E7u ce Message par erreur, merci de nou= s en > avertir imm=E9diatement. GRAS SAVOYE et ses filiales d=E9clinent = toute > responsabilit=E9 au titre de ce Message s'il a =E9t=E9 alt=E9r=E9, d=E9f= orm=E9, falsifi=E9 > ou encore =E9dit=E9 ou diffus=E9 sans autorisation. > > This message and any attachments (the "Message") are confidential a= nd > intended solely for the addressees. Any unauthorized modification, editio= n, > use or dissemination is prohibited.If you have received this Message = by > mistake, please notify us immediately. Neither GRAS SAVOYE nor any of i= ts > subsidiaries or affiliates shall be liable for the Message if altere= d, > changed, falsified, edited or diffused without authorization. > > ------------------------------------------------------------------------ > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=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 From sqr-users-bounces@sqrug.org Tue May 29 03:13:38 2007 Subject: Re:[sqr-users] calling API windows from sqr From: Mina Yassini Date: Tue, 29 May 2007 09:11:57 +0200 Hy, The kind of chart I want to obtain is horizontal stacked bar but vertical stacked bar exists. Is there a solution to make a rotation of vertical stacked bar to obtain horizontal stacked bar ? Thanks _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri May 25 10:32:43 2007 Date: Fri, 25 May 2007 10:29:23 -0400 From: Bob Buford Subject: [sqr-users] Re: sqr-users Digest, Vol 39, Issue 12 I am out of the office from Friday May 25, 2007 through Tuesday May 29, 2007. I will not be monitoring email but can receive cell phone calls for emergencies. I will reply to email as soon as I can. For Donor or RTL problems or for enhancement requests, please remember to report them using http://staffweb.custhelp.com/cgi-bin/staffweb.cfg/php/enduser/a_start.php?a= val%C2%AD&tpe=itg04/ If urgent, please also call (407) 826-2948. For any other concerns, please contact Cheryl Albert. Thank you, Bob Buford _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon May 28 06:03:39 2007 From: Christophe Lefevre Date: Mon, 28 May 2007 11:59:56 +0200 Subject: [sqr-users] expression If #num1 != to_number($num2) returns true but this is not ! Hello, I'm using sqr version 4.3.2.2 on unix platform (AIX). I have the following expression in sqr program, which returns true for certain values, and don't understand why (i'd corrected it by comparing the "char" values): " If #num1 != to_number($num2)" This expression returns true when for example #num1 = 78.23 and $num2 = '78.23' I'd make some "show" for debugging in my program: Let $char_amount_total_lignes = to_char(#amount_total_lignes) Let $char_invoice_amount = to_char(to_number($invoice_amount)) Show 'amount_total_lignes: ' $char_amount_total_lignes Show 'invoice_amount: ' $char_invoice_amount Let $num_amount_total_lignes = #amount_total_lignes Let $num_invoice_amount = to_number($invoice_amount) Show 'num_amount_total_lignes: ' $num_amount_total_lignes Show 'num_invoice_amount: ' $num_invoice_amount If #amount_total_lignes != to_number($invoice_amount) display "difference" End-If Returns on log: amount_total_lignes: 78.23 invoice_amount: 78.23 num_amount_total_lignes: 78.230000000000000 num_invoice_amount: 78.230000000000000 difference Notice that $invoice_amount is populated with value of table column (who is defined "char") #amount_total_lignes is a calculated expression Thanks for your help Chl _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon May 28 08:31:56 2007 From: "the dragon" Subject: RE: [sqr-users] expression If #num1 != to_number($num2) returns truebut this is not ! Date: Mon, 28 May 2007 07:27:35 -0500 I don't know what version of sqr you're using, but there used to be a bug with Windoze OS that had a one out in the like 180th decimal position, so, 78.23000000000000...0 <> 78.23000000000...1. Maybe you're running into that, or something like it. Rather than comparing as numbers, try comparing as characters, with the appropriate edit mask. BTW, it is be really *POOR* database design to have a number stored in the database as a character - maybe that's what you need to change, too. What kind of idiot would design invoice_amount - which must always be a number, even if it's zero - as a character column? Happy Memorial Day. peace, clark 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 ----Original Message Follows---- Hello, I'm using sqr version 4.3.2.2 on unix platform (AIX). I have the following expression in sqr program, which returns true for certain values, and don't understand why (i'd corrected it by comparing the "char" values): " If #num1 != to_number($num2)" This expression returns true when for example #num1 = 78.23 and $num2 = '78.23' I'd make some "show" for debugging in my program: Let $char_amount_total_lignes = to_char(#amount_total_lignes) Let $char_invoice_amount = to_char(to_number($invoice_amount)) Show 'amount_total_lignes: ' $char_amount_total_lignes Show 'invoice_amount: ' $char_invoice_amount Let $num_amount_total_lignes = #amount_total_lignes Let $num_invoice_amount = to_number($invoice_amount) Show 'num_amount_total_lignes: ' $num_amount_total_lignes Show 'num_invoice_amount: ' $num_invoice_amount If #amount_total_lignes != to_number($invoice_amount) display "difference" End-If Returns on log: amount_total_lignes: 78.23 invoice_amount: 78.23 num_amount_total_lignes: 78.230000000000000 num_invoice_amount: 78.230000000000000 difference Notice that $invoice_amount is populated with value of table column (who is defined "char") #amount_total_lignes is a calculated expression Thanks for your help Chl _________________________________________________________________ More photos, more messages, more storage—get 2GB with Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon May 28 09:46:58 2007 Subject: RE: [sqr-users] expression If #num1 != to_number($num2) returns truebut this is not ! From: Christophe Lefevre Date: Mon, 28 May 2007 15:43:50 +0200 --===============0896500717== Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: base64 VGhlIHJlYXNvbiBvZiB1c2luZyBjaGFyIGNvbHVtbiBpcyBiZWNhdXNlIG15 IHRhYmxlIGlzIGEgZmlyc3QNCiJwaG90b2dyYXBoeSIgb2YgYW4gaW1wb3J0 IGZpbGUgYW5kIHNvIHRoYXQncyBlYXNpZXIgdG8gdHJhcCBub24gbnVtZXJp Yw0KZXJyb3IgQUZURVIgbG9hZGluZyB0aGUgZGF0YSB0byBkYXRhYmFzZSAo YW5kIGFsc28gZGlzcGxheSB0aGUgYmFkIHZhbHVlIHRvDQp1c2VyKSBpbnN0 ZWFkIG9mIHRyYXAgIk9SQS14eHh4IiBlcnJvcnMgd2hpbGUgcmVhZGluZyBh IGZpbGUuDQpNYWtlIHN1cmUgSSdkIG1hZGUgdGhpcyBjb2x1bW4gbnVtZXJp YyBhZnRlciB2ZXJpZml5aW5nIGl0ICEgOykNCg0KSGFwcHkgIlBlbnRlY8O0 dGUiDQpDaGwNCg0KDQoNCg0KDQogICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICANCiAgICAgICAgICAgICAidGhlIGRyYWdvbiIgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIA0KICAgICAg ICAgICAgIDxjZXBybkBob3RtYWlsLmNvICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgDQogICAgICAgICAgICAgbT4gICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICBUbyANCiAgICAgICAgICAgICBTZW50IGJ5OiAgICAgICAgICAg ICAgICAgIHNxci11c2Vyc0BzcXJ1Zy5vcmcgICAgICAgICAgICAgICAgIA0K ICAgICAgICAgICAgIHNxci11c2Vycy1ib3VuY2VzICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgY2MgDQogICAgICAgICAgICAg K2Z3bHkwMTg9ZnIuaWJtLmMgICAgICAgICBDaHJpc3RvcGhlICAgICAgICAg ICAgICAgICAgICAgICAgICANCiAgICAgICAgICAgICBvbUBzcXJ1Zy5vcmcg ICAgICAgICAgICAgIExlZmV2cmUvRnJhbmNlL0NvbnRyL0lCTUBJQk1GUiAg ICAgIA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIFN1YmplY3QgDQogICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBSRTogW3Nxci11c2Vy c10gZXhwcmVzc2lvbiBJZiAjbnVtMSANCiAgICAgICAgICAgICAyOC8wNS8y MDA3IDE0OjI3ICAgICAgICAgICE9IHRvX251bWJlcigkbnVtMikgcmV0dXJu cyAgICAgICAgIA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgdHJ1ZWJ1dCB0aGlzIGlzIG5vdCAhICAgICAgICAgICAgICAgDQog ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICANCiAgICAgICAgICAgICBQ bGVhc2UgcmVzcG9uZCB0byAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIA0KICAgICAgICAgICAgICJUaGlzIGxpc3QgaXMg Zm9yICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgDQogICAgICAgICAgICAgZGlzY3Vzc2lvbiBhYm91dCAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICANCiAgICAgICAg ICAgICB0aGUgU1FSIGRhdGFiYXNlICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgIA0KICAgICAgICAgICAgICAgICByZXBv cnRpbmcgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgDQogICAgICAgICAgICAgICBsYW5ndWFnZSBmcm9tICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICANCiAg ICAgICAgICAgICAgICAgSHlwZXJpb24gICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIA0KICAgICAgICAgICAgICAg IFNvbHV0aW9ucy4iICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgDQogICAgICAgICAgICAgPHNxci11c2Vyc0BzcXJ1 Zy4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICANCiAgICAgICAgICAgICAgICAgICBvcmc+ICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIA0KICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgDQogICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICANCg0KDQoNCg0KSSBkb24ndCBrbm93IHdoYXQgdmVyc2lvbiBv ZiBzcXIgeW91J3JlIHVzaW5nLCBidXQgdGhlcmUgdXNlZCB0byBiZSBhIGJ1 Zw0Kd2l0aCBXaW5kb3plIE9TIHRoYXQgaGFkIGEgb25lIG91dCBpbiB0aGUg bGlrZSAxODB0aCBkZWNpbWFsIHBvc2l0aW9uLCBzbywNCjc4LjIzMDAwMDAw MDAwMDAwLi4uMCA8PiA3OC4yMzAwMDAwMDAwMC4uLjEuICBNYXliZSB5b3Un cmUgcnVubmluZyBpbnRvDQp0aGF0LCBvciBzb21ldGhpbmcgbGlrZSBpdC4N Cg0KUmF0aGVyIHRoYW4gY29tcGFyaW5nIGFzIG51bWJlcnMsIHRyeSBjb21w YXJpbmcgYXMgY2hhcmFjdGVycywgd2l0aCB0aGUNCmFwcHJvcHJpYXRlIGVk aXQgbWFzay4NCg0KQlRXLCBpdCBpcyBiZSByZWFsbHkgKlBPT1IqIGRhdGFi YXNlIGRlc2lnbiB0byBoYXZlIGEgbnVtYmVyIHN0b3JlZCBpbiB0aGUNCmRh dGFiYXNlIGFzIGEgY2hhcmFjdGVyIC0gbWF5YmUgdGhhdCdzIHdoYXQgeW91 IG5lZWQgdG8gY2hhbmdlLCB0b28uICBXaGF0DQpraW5kIG9mIGlkaW90IHdv dWxkIGRlc2lnbiBpbnZvaWNlX2Ftb3VudCAtIHdoaWNoIG11c3QgYWx3YXlz IGJlIGEgbnVtYmVyLA0KZXZlbiBpZiBpdCdzIHplcm8gLSBhcyBhIGNoYXJh Y3RlciBjb2x1bW4/DQoNCkhhcHB5IE1lbW9yaWFsIERheS4NCg0KcGVhY2Us DQpjbGFyaw0KDQoNCg0KUFNBOiBTYWxhcnkgPD4gU2xhdmVyeS4gSWYgeW91 IGVhcm4gYSBzYWxhcnksIHlvdXIgZW1wbG95ZXIgaXMgcmVudGluZyB5b3Vy DQoNCnNlcnZpY2VzIGZvciA0MCBob3VycyBhIHdlZWssIG5vdCBwdXJjaGFz aW5nIHlvdXIgc291bC4gWW91ciB0aW1lIGlzIHRoZQ0Kb25seSByZWFsIGZp bml0ZSBhc3NldCB0aGF0IHlvdSBoYXZlLCBhbmQgb25jZSB1c2VkIGl0IGNh biBuZXZlciBiZQ0KcmVjb3ZlcmVkLCBzbyBkb24ndCB3YXN0ZSBpdCBieSBn aXZpbmcgaXQgYXdheS4NCg0KSSB3b3JrIHRvIGxpdmU7IEkgZG9uJ3QgbGl2 ZSB0byB3b3JrLg0KDQoiVGltZSBpcyB0aGUgY29pbiBvZiB5b3VyIGxpZmUu IEl0IGlzIHRoZSBvbmx5IGNvaW4geW91IGhhdmUsIGFuZCBvbmx5IHlvdQ0K Y2FuIGRldGVybWluZSBob3cgaXQgd2lsbCBiZSBzcGVudC4gQmUgY2FyZWZ1 bCBsZXN0IHlvdSBsZXQgb3RoZXIgcGVvcGxlDQpzcGVuZCBpdCBmb3IgeW91 LiIgLS0gQ2FybCBTYW5kYnVyZyAoMTg3OCAtIDE5NjcpDQoNCkl0IGlzIGlt cG9zc2libGUgdG8gZGVmZWF0IGFuIGlnbm9yYW50IG1hbiBpbiBhcmd1bWVu dC4gLS0gV2lsbGlhbSBHLg0KTWNBZG9vDQoNClJlbGlnaW9uIGlzIHJlZ2Fy ZGVkIGJ5IHRoZSBjb21tb24gcGVvcGxlIGFzIHRydWUsIGJ5IHRoZSB3aXNl IGFzIGZhbHNlLA0KYW5kDQpieSB0aGUgcnVsZXJzIGFzIHVzZWZ1bC4gLS0g U2VuZWNhDQoNCiJJIGRpc3RydXN0IHRob3NlIHBlb3BsZSB3aG8ga25vdyBz byB3ZWxsIHdoYXQgR29kIHdhbnRzIHRoZW0gdG8gZG8gYmVjYXVzZQ0KDQpJ IG5vdGljZSBpdCBhbHdheXMgY29pbmNpZGVzIHdpdGggdGhlaXIgb3duIGRl c2lyZXMuIiAtIFN1c2FuIEIuIEFudGhvbnkNCg0KDQoNCg0KLS0tLU9yaWdp bmFsIE1lc3NhZ2UgRm9sbG93cy0tLS0NCg0KSGVsbG8sDQoNCkknbSB1c2lu ZyBzcXIgdmVyc2lvbiAgNC4zLjIuMiBvbiB1bml4IHBsYXRmb3JtIChBSVgp Lg0KDQogICBJIGhhdmUgdGhlIGZvbGxvd2luZyBleHByZXNzaW9uIGluIHNx ciBwcm9ncmFtLCB3aGljaCByZXR1cm5zIHRydWUgZm9yDQpjZXJ0YWluIHZh bHVlcywgYW5kIGRvbid0IHVuZGVyc3RhbmQgd2h5IChpJ2QgY29ycmVjdGVk IGl0IGJ5IGNvbXBhcmluZyB0aGUNCiJjaGFyIiB2YWx1ZXMpOg0KDQoiIElm ICNudW0xICE9IHRvX251bWJlcigkbnVtMikiDQoNClRoaXMgZXhwcmVzc2lv biByZXR1cm5zIHRydWUgd2hlbiBmb3IgZXhhbXBsZSAjbnVtMSA9IDc4LjIz IGFuZCAkbnVtMiA9DQonNzguMjMnDQoNCkknZCBtYWtlIHNvbWUgInNob3ci IGZvciBkZWJ1Z2dpbmcgaW4gbXkgcHJvZ3JhbToNCiAgICAgICAgICAgICBM ZXQgJGNoYXJfYW1vdW50X3RvdGFsX2xpZ25lcyA9IHRvX2NoYXIoI2Ftb3Vu dF90b3RhbF9saWduZXMpDQogICAgICAgICAgICAgTGV0ICRjaGFyX2ludm9p Y2VfYW1vdW50ID0gdG9fY2hhcih0b19udW1iZXIoJGludm9pY2VfYW1vdW50 KSkNCiAgICAgICAgICAgICBTaG93ICdhbW91bnRfdG90YWxfbGlnbmVzOiAn ICRjaGFyX2Ftb3VudF90b3RhbF9saWduZXMNCiAgICAgICAgICAgICBTaG93 ICdpbnZvaWNlX2Ftb3VudDogJyAkY2hhcl9pbnZvaWNlX2Ftb3VudA0KICAg ICAgICAgICAgIExldCAkbnVtX2Ftb3VudF90b3RhbF9saWduZXMgPSAjYW1v dW50X3RvdGFsX2xpZ25lcw0KICAgICAgICAgICAgIExldCAkbnVtX2ludm9p Y2VfYW1vdW50ID0gdG9fbnVtYmVyKCRpbnZvaWNlX2Ftb3VudCkNCiAgICAg ICAgICAgICBTaG93ICdudW1fYW1vdW50X3RvdGFsX2xpZ25lczogJyAkbnVt X2Ftb3VudF90b3RhbF9saWduZXMNCiAgICAgICAgICAgICBTaG93ICdudW1f aW52b2ljZV9hbW91bnQ6ICcgJG51bV9pbnZvaWNlX2Ftb3VudA0KICAgICAg ICAgICAgIElmICNhbW91bnRfdG90YWxfbGlnbmVzICE9IHRvX251bWJlcigk aW52b2ljZV9hbW91bnQpDQogICAgICAgZGlzcGxheSAiZGlmZmVyZW5jZSIN CiAgICAgICAgICAgICBFbmQtSWYNCg0KUmV0dXJucyBvbiBsb2c6DQphbW91 bnRfdG90YWxfbGlnbmVzOiA3OC4yMw0KaW52b2ljZV9hbW91bnQ6IDc4LjIz DQpudW1fYW1vdW50X3RvdGFsX2xpZ25lczogNzguMjMwMDAwMDAwMDAwMDAw DQpudW1faW52b2ljZV9hbW91bnQ6IDc4LjIzMDAwMDAwMDAwMDAwMA0KZGlm ZmVyZW5jZQ0KDQpOb3RpY2UgdGhhdCAkaW52b2ljZV9hbW91bnQgaXMgcG9w dWxhdGVkIHdpdGggdmFsdWUgb2YgdGFibGUgY29sdW1uICh3aG8gaXMNCmRl ZmluZWQgImNoYXIiKQ0KI2Ftb3VudF90b3RhbF9saWduZXMgaXMgYSBjYWxj dWxhdGVkIGV4cHJlc3Npb24NCg0KVGhhbmtzIGZvciB5b3VyIGhlbHANCkNo bA0KDQpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fXw0KTW9yZSBwaG90b3MsIG1vcmUg bWVzc2FnZXMsIG1vcmUgc3RvcmFnZeKAlGdldCAyR0Igd2l0aCBXaW5kb3dz IExpdmUgSG90bWFpbC4NCg0KaHR0cDovL2ltYWdpbmUtd2luZG93c2xpdmUu Y29tL2hvdG1haWwvP2xvY2FsZT1lbi11cyZvY2lkPVRYVF9UQUdITV9taWdy YXRpb25fSE1fbWluaV8yR18wNTA3DQoNCg0KDQpfX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0Kc3FyLXVzZXJzIG1h aWxpbmcgbGlzdA0Kc3FyLXVzZXJzQHNxcnVnLm9yZw0KaHR0cDovL3d3dy5z cXJ1Zy5vcmcvbWFpbG1hbi9saXN0aW5mby9zcXItdXNlcnMNCg== --===============0896500717== 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 --===============0896500717==-- From sqr-users-bounces@sqrug.org Mon May 28 09:34:08 2007 From: "Steve Cavill" Subject: RE: [sqr-users] expression If #num1 != to_number($num2) returns truebut this is not ! Date: Mon, 28 May 2007 23:31:16 +1000 I suspect it's a rounding error. I would not be surprised if 78.28 and to_number('78.23') returned slightly different results. You should never compare non-integer values for equality. Use a round function to ensure correct comparison, or define your numbers as decimal. As a test what is the value of #amount_total_lignes - to_number($invoice_amount) 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 Christophe Lefevre Sent: Monday, 28 May 2007 8:00 PM To: sqr-users@sqrug.org Subject: [sqr-users] expression If #num1 != to_number($num2) returns truebut this is not ! Hello, I'm using sqr version 4.3.2.2 on unix platform (AIX). I have the following expression in sqr program, which returns true for certain values, and don't understand why (i'd corrected it by comparing the "char" values): " If #num1 != to_number($num2)" This expression returns true when for example #num1 = 78.23 and $num2 = '78.23' I'd make some "show" for debugging in my program: Let $char_amount_total_lignes = to_char(#amount_total_lignes) Let $char_invoice_amount = to_char(to_number($invoice_amount)) Show 'amount_total_lignes: ' $char_amount_total_lignes Show 'invoice_amount: ' $char_invoice_amount Let $num_amount_total_lignes = #amount_total_lignes Let $num_invoice_amount = to_number($invoice_amount) Show 'num_amount_total_lignes: ' $num_amount_total_lignes Show 'num_invoice_amount: ' $num_invoice_amount If #amount_total_lignes != to_number($invoice_amount) display "difference" End-If Returns on log: amount_total_lignes: 78.23 invoice_amount: 78.23 num_amount_total_lignes: 78.230000000000000 num_invoice_amount: 78.230000000000000 difference Notice that $invoice_amount is populated with value of table column (who is defined "char") #amount_total_lignes is a calculated expression Thanks for your help Chl _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 28 11:32:46 2007 Subject: RE: [sqr-users] expression If #num1 != to_number($num2) returns truebut this is not ! From: Christophe Lefevre Date: Mon, 28 May 2007 17:29:19 +0200 #amount_total_lignes - to_number($invoice_amount) = -0.000000000000014 !! Don't understand, because #amount_total_lignes is a sum of round(#num_value,2)....: !------------------------------------------- Let #amount_total_lignes = 0 Begin-Select on-error=cannot_sql ! amount is also char here....;) sum(to_number(amount)) &amount_ht tax_code &tax_cd Let #amount_ht = &amount_ht [ .....] Do get_tax_rate Let #l_amount = round(#amount_ht * #tax_rate /100, 2) [ .....] Let #amount_total_lignes = #amount_total_lignes + #l_amount + #amount_ht >From table Where ..... Group By tax_code End-Select !------------------------------------------ To (not) be continued.... "Steve Cavill" To Sent by: "'This list is for discussion about sqr-users-bounces the SQR database reportinglanguage +fwly018=fr.ibm.c from Hyperion Solutions.'" om@sqrug.org cc 28/05/2007 15:31 Subject RE: [sqr-users] expression If #num1 != to_number($num2) returns Please respond to truebut this is not ! "This list is for discussion about the SQR database reporting language from Hyperion Solutions." I suspect it's a rounding error. I would not be surprised if 78.28 and to_number('78.23') returned slightly different results. You should never compare non-integer values for equality. Use a round function to ensure correct comparison, or define your numbers as decimal. As a test what is the value of #amount_total_lignes - to_number($invoice_amount) 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 Christophe Lefevre Sent: Monday, 28 May 2007 8:00 PM To: sqr-users@sqrug.org Subject: [sqr-users] expression If #num1 != to_number($num2) returns truebut this is not ! Hello, I'm using sqr version 4.3.2.2 on unix platform (AIX). I have the following expression in sqr program, which returns true for certain values, and don't understand why (i'd corrected it by comparing the "char" values): " If #num1 != to_number($num2)" This expression returns true when for example #num1 = 78.23 and $num2 = '78.23' I'd make some "show" for debugging in my program: Let $char_amount_total_lignes = to_char(#amount_total_lignes) Let $char_invoice_amount = to_char(to_number($invoice_amount)) Show 'amount_total_lignes: ' $char_amount_total_lignes Show 'invoice_amount: ' $char_invoice_amount Let $num_amount_total_lignes = #amount_total_lignes Let $num_invoice_amount = to_number($invoice_amount) Show 'num_amount_total_lignes: ' $num_amount_total_lignes Show 'num_invoice_amount: ' $num_invoice_amount If #amount_total_lignes != to_number($invoice_amount) display "difference" End-If Returns on log: amount_total_lignes: 78.23 invoice_amount: 78.23 num_amount_total_lignes: 78.230000000000000 num_invoice_amount: 78.230000000000000 difference Notice that $invoice_amount is populated with value of table column (who is defined "char") #amount_total_lignes is a calculated expression Thanks for your help Chl _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 28 21:46:41 2007 From: "Steve Cavill" Subject: RE: [sqr-users] expression If #num1 != to_number($num2)returns truebut this is not ! Date: Tue, 29 May 2007 11:43:47 +1000 Well that answers the question. Binary computers cannot store decimal fractions exactly. Exactly the same way base 3 fractions cannot be expressed in decimal exactly. E.g. we know 1/3 +1/3 + 1/3 = 1, but in decimal that's 0.33333.... +0.33333.... +0.33333... = 0.99999.... The same problem occurs because 1/10 cannot be stored as an exact binary fraction. But 0.25 (1/4) can be stored exactly. You may be able to get around the problem by declaring #amount_total_lignes (and other affected values) as decimal. Or you can use the round function on the comparison itself. E.g. If round(#num1,2) != round(to_number($num2),2) Note that the round function DOES NOT store 78.23 exactly BUT, round (78.23,2) and round(7823/100,2) will return the SAME, albeit slightly incorrect value. Often if your numbers are only ever stored as 2 decimal places, you can store them as integers instead (e.g. in centimes instead of francs) So store 78.23 as 7823, and just change it when you display it. 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 Christophe Lefevre Sent: Tuesday, 29 May 2007 1:29 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Cc: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.'; sqr-users-bounces+fwly018=fr.ibm.com@sqrug.org Subject: RE: [sqr-users] expression If #num1 != to_number($num2)returns truebut this is not ! #amount_total_lignes - to_number($invoice_amount) = -0.000000000000014 !! Don't understand, because #amount_total_lignes is a sum of round(#num_value,2)....: !------------------------------------------- Let #amount_total_lignes = 0 Begin-Select on-error=cannot_sql ! amount is also char here....;) sum(to_number(amount)) &amount_ht tax_code &tax_cd Let #amount_ht = &amount_ht [ .....] Do get_tax_rate Let #l_amount = round(#amount_ht * #tax_rate /100, 2) [ .....] Let #amount_total_lignes = #amount_total_lignes + #l_amount + #amount_ht >From table Where ..... Group By tax_code End-Select !------------------------------------------ To (not) be continued.... "Steve Cavill" To Sent by: "'This list is for discussion about sqr-users-bounces the SQR database reportinglanguage +fwly018=fr.ibm.c from Hyperion Solutions.'" om@sqrug.org cc 28/05/2007 15:31 Subject RE: [sqr-users] expression If #num1 != to_number($num2) returns Please respond to truebut this is not ! "This list is for discussion about the SQR database reporting language from Hyperion Solutions." I suspect it's a rounding error. I would not be surprised if 78.28 and to_number('78.23') returned slightly different results. You should never compare non-integer values for equality. Use a round function to ensure correct comparison, or define your numbers as decimal. As a test what is the value of #amount_total_lignes - to_number($invoice_amount) 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 Christophe Lefevre Sent: Monday, 28 May 2007 8:00 PM To: sqr-users@sqrug.org Subject: [sqr-users] expression If #num1 != to_number($num2) returns truebut this is not ! Hello, I'm using sqr version 4.3.2.2 on unix platform (AIX). I have the following expression in sqr program, which returns true for certain values, and don't understand why (i'd corrected it by comparing the "char" values): " If #num1 != to_number($num2)" This expression returns true when for example #num1 = 78.23 and $num2 = '78.23' I'd make some "show" for debugging in my program: Let $char_amount_total_lignes = to_char(#amount_total_lignes) Let $char_invoice_amount = to_char(to_number($invoice_amount)) Show 'amount_total_lignes: ' $char_amount_total_lignes Show 'invoice_amount: ' $char_invoice_amount Let $num_amount_total_lignes = #amount_total_lignes Let $num_invoice_amount = to_number($invoice_amount) Show 'num_amount_total_lignes: ' $num_amount_total_lignes Show 'num_invoice_amount: ' $num_invoice_amount If #amount_total_lignes != to_number($invoice_amount) display "difference" End-If Returns on log: amount_total_lignes: 78.23 invoice_amount: 78.23 num_amount_total_lignes: 78.230000000000000 num_invoice_amount: 78.230000000000000 difference Notice that $invoice_amount is populated with value of table column (who is defined "char") #amount_total_lignes is a calculated expression Thanks for your help Chl _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Jun 01 00:02:29 2007 Date: Fri, 1 Jun 2007 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 Fri Jun 01 14:50:49 2007 Date: Fri, 1 Jun 2007 14:48:03 -0400 (GMT-04:00) From: Mighty Thor Subject: [sqr-users] 8.5 report builder bug?? We are testing all of our current reports on SQR Version: 8.5.0.0.0.566/PC/Windows 2000/Oracle 9.2.0.1/Dec 27 2005 In general, they compile (and run) fine. If we * Run them in the 8.5 report builder: fine. * Make a change to the code and run in the 8.5 builder, fine. * Make a change, save, then run in the 8.5 builder, fine. * Compile from the DOS command line, on a file that has not yet been edited with the 8.5 builder, fine. *** Save the file with the 8.5 report builder, then compile from the DOS command line, it blows up with: Error on line XXXX: (SQR 4705) Program line too long; maximum is 2047. Once for each line in the program. Now here is the wacky part. If we: * Open the file in the 8.5 builder, then exit without saving; compiling in DOS works fine. We've noted also that when saving any program with the 8.5 builder, the file size is twice as large as it was before being edited. Further, the action of opening and closing the program with the 8.5 builder, with no save, returns the file to its original size. Help ?? Thor :) _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jun 01 15:06:09 2007 From: "the dragon" Subject: RE: [sqr-users] 8.5 report builder bug?? Date: Fri, 01 Jun 2007 14:03:05 -0500 Can you open the file in a real OS, such as AIX? The reason I am asking is that it seems to either be adding a bunch of white space to the lnes (exceeding the 2048 limit) before it's adding a carriage return/line feed - which would explain the file size differences. Perhaps there is some configuration set up incorrectly? peace, clark 'the [even mightier] 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 ----Original Message Follows---- We are testing all of our current reports on SQR Version: 8.5.0.0.0.566/PC/Windows 2000/Oracle 9.2.0.1/Dec 27 2005 In general, they compile (and run) fine. If we * Run them in the 8.5 report builder: fine. * Make a change to the code and run in the 8.5 builder, fine. * Make a change, save, then run in the 8.5 builder, fine. * Compile from the DOS command line, on a file that has not yet been edited with the 8.5 builder, fine. *** Save the file with the 8.5 report builder, then compile from the DOS command line, it blows up with: Error on line XXXX: (SQR 4705) Program line too long; maximum is 2047. Once for each line in the program. Now here is the wacky part. If we: * Open the file in the 8.5 builder, then exit without saving; compiling in DOS works fine. We've noted also that when saving any program with the 8.5 builder, the file size is twice as large as it was before being edited. Further, the action of opening and closing the program with the 8.5 builder, with no save, returns the file to its original size. Help ?? Thor :) _________________________________________________________________ Like puzzles? Play free games & earn great prizes. Play Clink now. http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Jun 02 09:54:41 2007 From: "Steve Cavill" Subject: RE: [sqr-users] 8.5 report builder bug?? Date: Sat, 2 Jun 2007 23:51:36 +1000 Maybe the builder is saving the file as unicode? If you open the "builder saved" file in notepad what does it look like? 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 Mighty Thor Sent: Saturday, 2 June 2007 4:48 AM To: sqr-users@sqrug.org Subject: [sqr-users] 8.5 report builder bug?? We are testing all of our current reports on SQR Version: 8.5.0.0.0.566/PC/Windows 2000/Oracle 9.2.0.1/Dec 27 2005 In general, they compile (and run) fine. If we * Run them in the 8.5 report builder: fine. * Make a change to the code and run in the 8.5 builder, fine. * Make a change, save, then run in the 8.5 builder, fine. * Compile from the DOS command line, on a file that has not yet been edited with the 8.5 builder, fine. *** Save the file with the 8.5 report builder, then compile from the DOS command line, it blows up with: Error on line XXXX: (SQR 4705) Program line too long; maximum is 2047. Once for each line in the program. Now here is the wacky part. If we: * Open the file in the 8.5 builder, then exit without saving; compiling in DOS works fine. We've noted also that when saving any program with the 8.5 builder, the file size is twice as large as it was before being edited. Further, the action of opening and closing the program with the 8.5 builder, with no save, returns the file to its original size. Help ?? Thor :) _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Jun 04 11:01:34 2007 Date: Mon, 4 Jun 2007 10:58:44 -0400 (GMT-04:00) From: Mighty Thor Subject: RE: [sqr-users] 8.5 report builder bug?? << Maybe the builder is saving the file as unicode. >> Yup It is. Regardless of whether I set my SQR File Generation preferences to Unicode, Autodetect, or Platform Encoding, I get Unicode. How do I make it cut that out? Thor :) _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jun 05 06:14:59 2007 Date: Tue, 5 Jun 2007 18:11:45 +0800 From: "Neo Kunhao" Subject: [sqr-users] Re: sqr-users Digest, Vol 40, Issue 4 Could your original file already have unicode characters inside? So when you use your sqr builder, the builder detected that there is unicode character inside and save as unicode file. Maybe you can use a text editor and explicity save as ascii on your original file before you use builder to save. Try and see if it works. Regards, kh On 6/5/07, sqr-users-request@sqrug.org wrote: > > Send sqr-users mailing list submissions to > sqr-users@sqrug.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.sqrug.org/mailman/listinfo/sqr-users > or, via email, send a message with subject or body 'help' to > sqr-users-request@sqrug.org > > You can reach the person managing the list at > sqr-users-owner@sqrug.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of sqr-users digest..." > > Today's Topics: > > 1. RE: 8.5 report builder bug?? (Mighty T