From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Jul 01 00:00:35 2004 Date: Thu, 1 Jul 2004 00:00:02 -0500 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.21 $ $Date: 2004-03-04 02:47:15-05 $ 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 2003/11/01: o Update subscribe/unsubscribe instructions for new version of list server software. o New URL for "brio-l" mailing list. 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. BrioSQRReport : Brio SQR Report List for discussion of SQR and SQR Developer (formerly called Brio.Report and Report Builder). To join, follow the link above, or send any message to "BrioSQRReport- 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. 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+sqrusersarch=sqrug.org@sqrug.org Thu Jul 01 13:56:57 2004 From: "Mark Hall" Date: Thu, 01 Jul 2004 13:54:03 -0500 Subject: [sqr-users] (SQR 5543) Specify the Oracle DLL name in the SQR.INI One of my users ran into the following error running sqrw. (SQR 5543) Specify the Oracle DLL name in the SQR.INI file in (Environment Oracle] section for ORAVLE_DLL entry such as ORACLE_DLL =orant71.dll I found an old thread on sqrug which helped me to solve the problem but the solution, at least the one I found, is not explicitly spelled out in any posting. So in the interest of contributing to the knowledge base I will share my solution. Simply add the path to the oracle binaries on your local machine to your system PATH variable. C:\oracle\ora81\bin Start>Settings>Control Panel>System. Select the Advanced tab on the System Properties dialog box. Click the Environment variables button. Edit the path system variable to include the path to the oracle binaries. C:\oracle\ora81\bin; Mark Hall IS Analyst ERP Team Parkview Health Systems Fort Wayne, IN 260-373-8796 mark.hall@parkview.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Jul 01 15:07:47 2004 Date: Thu, 1 Jul 2004 16:07:00 -0400 From: "Pink, Michael" Subject: [sqr-users] Flat File Limitations Hi, Does anyone know if there is a size limitation for writing flat files in SQR? Mike. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Jul 01 15:46:16 2004 From: Ray Ontko Date: Thu, 1 Jul 2004 15:44:16 -0500 Subject: Re: [sqr-users] Flat File Limitations I'm not aware of any. Are you running into a problem? What operating system? Fixed or varying length records? If fixed, what record size? Ray On Thu, Jul 01, 2004 at 04:07:00PM -0400, Pink, Michael wrote: > Hi, > Does anyone know if there is a size limitation for writing flat files in > SQR? > Mike. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Jul 01 16:16:35 2004 From: "Lynds,Rick" Subject: RE: [sqr-users] Flat File Limitations Date: Thu, 1 Jul 2004 14:14:04 -0700 I recall some discussion about this a while ago. The result was that the limitations are generally due to limitations in the host operating/file system, rather than the SQR product itself. -----Original Message----- From: Pink, Michael [mailto:Michael.Pink@pgnmail.com] Sent: Thursday, July 01, 2004 1:07 PM To: sqr-users@sqrug.org Subject: [sqr-users] Flat File Limitations Hi, Does anyone know if there is a size limitation for writing flat files in SQR? Mike. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Jul 01 16:26:55 2004 From: "the dragon" Subject: RE: [sqr-users] Flat File Limitations Date: Thu, 01 Jul 2004 16:25:52 -0500 Mike, There are OS level limitations, especially if you are using Unix, you may run into the ulimt restrictions for your user (Usually 1 GB??), or, obviously the amount of available disk space will limit your output file 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. "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) ----Original Message Follows---- Hi, Does anyone know if there is a size limitation for writing flat files in SQR? Mike. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 02 05:57:51 2004 Subject: RE: [sqr-users] Flat File Limitations Date: Fri, 2 Jul 2004 06:54:48 -0400 From: "Pink, Michael" Yeah we are getting a core dump after a certain number of rows are met. The record length is 2098 and on HP unix. -----Original Message----- From: sqr-users-bounces+michael.pink=3Dpgnmail.com@sqrug.org [mailto:sqr-users-bounces+michael.pink=3Dpgnmail.com@sqrug.org] On Behalf Of Ray Ontko Sent: Thursday, July 01, 2004 4:44 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] Flat File Limitations I'm not aware of any. Are you running into a problem? What operating system? Fixed or varying length records? If fixed, what record size? Ray On Thu, Jul 01, 2004 at 04:07:00PM -0400, Pink, Michael wrote: > Hi, > Does anyone know if there is a size limitation for writing flat files in > SQR? > Mike. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.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+sqrusersarch=sqrug.org@sqrug.org Fri Jul 02 10:04:06 2004 From: Ray Ontko Date: Fri, 2 Jul 2004 10:03:37 -0500 Subject: Re: [sqr-users] Flat File Limitations Is it somewhere near 1024000 records? If so, then you're probably bumping into a 2GB file limit. I'm not sure whether you'll be able to easily get around this. Ray On Fri, Jul 02, 2004 at 06:54:48AM -0400, Pink, Michael wrote: > Yeah we are getting a core dump after a certain number of rows are met. > The record length is 2098 and on HP unix. > > -----Original Message----- > From: sqr-users-bounces+michael.pink=pgnmail.com@sqrug.org > [mailto:sqr-users-bounces+michael.pink=pgnmail.com@sqrug.org] On Behalf > Of Ray Ontko > Sent: Thursday, July 01, 2004 4:44 PM > To: This list is for discussion about the SQR database reporting > languagefrom Hyperion Solutions. > Subject: Re: [sqr-users] Flat File Limitations > > > I'm not aware of any. Are you running into a problem? What operating > system? Fixed or varying length records? If fixed, what record size? > > Ray > > On Thu, Jul 01, 2004 at 04:07:00PM -0400, Pink, Michael wrote: > > Hi, > > Does anyone know if there is a size limitation for writing flat files > in > > SQR? > > Mike. > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > ---------------------------------------------------------------------- > Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 > Ray Ontko & Co. Software Consulting Services http://www.ontko.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 ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 02 10:13:33 2004 From: "Raj Srinivasan" Subject: RE: [sqr-users] Flat File Limitations Date: Fri, 2 Jul 2004 10:12:08 -0500 There was a similar problem at one of the big PS shops, and the resolution was to split the file into manageable size and then process sequentially. Thanks!!! Raj -----Original Message----- From: sqr-users-bounces+raj.srinivasan=hccs.edu@sqrug.org [mailto:sqr-users-bounces+raj.srinivasan=hccs.edu@sqrug.org]On Behalf Of Ray Ontko Sent: Friday, July 02, 2004 10:04 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] Flat File Limitations Is it somewhere near 1024000 records? If so, then you're probably bumping into a 2GB file limit. I'm not sure whether you'll be able to easily get around this. Ray On Fri, Jul 02, 2004 at 06:54:48AM -0400, Pink, Michael wrote: > Yeah we are getting a core dump after a certain number of rows are met. > The record length is 2098 and on HP unix. > > -----Original Message----- > From: sqr-users-bounces+michael.pink=pgnmail.com@sqrug.org > [mailto:sqr-users-bounces+michael.pink=pgnmail.com@sqrug.org] On Behalf > Of Ray Ontko > Sent: Thursday, July 01, 2004 4:44 PM > To: This list is for discussion about the SQR database reporting > languagefrom Hyperion Solutions. > Subject: Re: [sqr-users] Flat File Limitations > > > I'm not aware of any. Are you running into a problem? What operating > system? Fixed or varying length records? If fixed, what record size? > > Ray > > On Thu, Jul 01, 2004 at 04:07:00PM -0400, Pink, Michael wrote: > > Hi, > > Does anyone know if there is a size limitation for writing flat files > in > > SQR? > > Mike. > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > ---------------------------------------------------------------------- > Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 > Ray Ontko & Co. Software Consulting Services http://www.ontko.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 ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.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+sqrusersarch=sqrug.org@sqrug.org Fri Jul 02 06:19:18 2004 From: "the dragon" Subject: RE: [sqr-users] Flat File Limitations Date: Fri, 02 Jul 2004 06:18:01 -0500 Mike, How large is your output file when the sqr bails? I still think you're running up against an OS size limit; on AIX it would be the ulimit - you should get your system admin involved. 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. "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) ----Original Message Follows---- Yeah we are getting a core dump after a certain number of rows are met. The record length is 2098 and on HP unix. -----Original Message----- I'm not aware of any. Are you running into a problem? What operating system? Fixed or varying length records? If fixed, what record size? Ray _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 02 10:09:39 2004 Subject: RE: [sqr-users] Flat File Limitations Date: Fri, 2 Jul 2004 11:07:31 -0400 From: "Pink, Michael" No the file is actually small, only about 11,000 rows. Less than 25 meg. -----Original Message----- From: sqr-users-bounces+michael.pink=3Dpgnmail.com@sqrug.org [mailto:sqr-users-bounces+michael.pink=3Dpgnmail.com@sqrug.org] On Behalf Of Ray Ontko Sent: Friday, July 02, 2004 11:04 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] Flat File Limitations Is it somewhere near 1024000 records? If so, then you're probably=20 bumping into a 2GB file limit. I'm not sure whether you'll be able to easily get around this. Ray On Fri, Jul 02, 2004 at 06:54:48AM -0400, Pink, Michael wrote: > Yeah we are getting a core dump after a certain number of rows are met. > The record length is 2098 and on HP unix. >=20 > -----Original Message----- > From: sqr-users-bounces+michael.pink=3Dpgnmail.com@sqrug.org > [mailto:sqr-users-bounces+michael.pink=3Dpgnmail.com@sqrug.org] On Behalf > Of Ray Ontko > Sent: Thursday, July 01, 2004 4:44 PM > To: This list is for discussion about the SQR database reporting > languagefrom Hyperion Solutions. > Subject: Re: [sqr-users] Flat File Limitations >=20 >=20 > I'm not aware of any. Are you running into a problem? What operating > system? Fixed or varying length records? If fixed, what record size? >=20 > Ray >=20 > On Thu, Jul 01, 2004 at 04:07:00PM -0400, Pink, Michael wrote: > > Hi, > > Does anyone know if there is a size limitation for writing flat files > in > > SQR? > > Mike. > >=20 > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > ---------------------------------------------------------------------- > Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 > Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.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+sqrusersarch=sqrug.org@sqrug.org Fri Jul 02 10:21:12 2004 From: "Mark Hall" Date: Fri, 02 Jul 2004 10:18:34 -0500 Subject: RE: [sqr-users] Flat File Limitations If you are running into the 2G file limit you need to process the file in a file system that is "large file enabled." In some file systems I run into this limit when I am doing an export of an Oracle database. But certain file systems are, as I said, "large file enabled" and they except files sizes greater than 2G. Talk to your Unix system administrator. That is, if you are processing this file on a Unix box. It may just be that you need to use a different file system. Mark Hall IS Analyst ERP Team Parkview Health Systems Fort Wayne, IN 260-373-8796 mark.hall@parkview.com >>> raj.srinivasan@hccs.edu 07/02/04 10:12AM >>> There was a similar problem at one of the big PS shops, and the resolution was to split the file into manageable size and then process sequentially. Thanks!!! Raj -----Original Message----- From: sqr-users-bounces+raj.srinivasan=hccs.edu@sqrug.org [mailto:sqr-users-bounces+raj.srinivasan=hccs.edu@sqrug.org]On Behalf Of Ray Ontko Sent: Friday, July 02, 2004 10:04 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] Flat File Limitations Is it somewhere near 1024000 records? If so, then you're probably bumping into a 2GB file limit. I'm not sure whether you'll be able to easily get around this. Ray On Fri, Jul 02, 2004 at 06:54:48AM -0400, Pink, Michael wrote: > Yeah we are getting a core dump after a certain number of rows are met. > The record length is 2098 and on HP unix. > > -----Original Message----- > From: sqr-users-bounces+michael.pink=pgnmail.com@sqrug.org > [mailto:sqr-users-bounces+michael.pink=pgnmail.com@sqrug.org] On Behalf > Of Ray Ontko > Sent: Thursday, July 01, 2004 4:44 PM > To: This list is for discussion about the SQR database reporting > languagefrom Hyperion Solutions. > Subject: Re: [sqr-users] Flat File Limitations > > > I'm not aware of any. Are you running into a problem? What operating > system? Fixed or varying length records? If fixed, what record size? > > Ray > > On Thu, Jul 01, 2004 at 04:07:00PM -0400, Pink, Michael wrote: > > Hi, > > Does anyone know if there is a size limitation for writing flat files > in > > SQR? > > Mike. > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > ---------------------------------------------------------------------- > Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 > Ray Ontko & Co. Software Consulting Services http://www.ontko.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 ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.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+sqrusersarch=sqrug.org@sqrug.org Fri Jul 02 11:42:40 2004 From: "Bencke, Gina" Date: Fri, 2 Jul 2004 12:41:15 -0400 Subject: [sqr-users] Output variables with SQL Server Stored Procedures First let me say that I know there are many SQRUG postings regarding this topic and I did read and try to apply them. However I cannot get SQL-Server Stored Procedures with output variables to work! declare-variable float #colVariance text $outStr end-declare=20=20 move 'Hotels' to $str execute on-error=3DSQL-Error do=3DPrint-Columns @#storedProcStatus=3D fce_str_parm @entity=3D$str, @outStrVar=3D$outStr OUT into &ENTITY char(30), &ACTUAL float, &PROJECTED float=20 =20=20=20=20 print $outStr (+1,1) show 'Str: <' $outStr '>' =20=20 The above code successfully prints the column values returned from the stored procedure but $outStr is NULL and should not be. While the SQL Analyzer code below works properly, returning a string in @var. declare @var CHAR(30) exec fce_str_parm 'Hotels', @var out select @var The SQR code below fails with an execution error " (SQR 6801) Em2StdString: Null Operand Passed as input" regardless of how I call the stored procedure. The SQL Analyzer code works. move 3.0 to #actual move 5.0 to #projected move 0 to #colVariance execute on-error=3DSQL-Error =20=20=20 @#storedProcStatus=3D fce_calc_var @actual=3D#actual, @projected=3D#projected, @variance=3D#colVariance OUT !fce_calc_var 3, 5, #colVariance OUT=20 =20=20=20=20 !fce_calc_var @actual=3D3, @projected=3D5, @variance=3D#colVar output =20=20=20=20=20 !fce_calc_var 3, 5, #colVar OUT=20 =20 print 'Test 1' (2,1) print #colVar (0, +3) edit 999,999.99 print #storedProcStatus (0, +3) edit 999 declare @var DECIMAL (26,3) exec fce_calc_var 3, 5, @var out select @var Thanks, in advance, for your help. Gina Bencke Bencke Consulting Corporation Office (440) 519-0060 email: gina.work@bencke.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 02 14:44:32 2004 From: matunjt@NU.COM Date: Fri, 2 Jul 2004 15:41:57 -0400 Subject: [sqr-users] Interpreting HTML code in SQR report output We have a field to include in an SQR report that contains HTML code. Is there anyway for SQR to interpret the HTML formatting when printing / rendering the report? Specifically line breaks, bolding, and bullets. We are able to pull all HTML tags from the output, but we would like to keep some of the formatting. Where are using Report Builder 6.2.1 against Oracle 9i. Here is a sample of the field data:
  • Working with purchasing to complete contract
  • Researching issues related to deployment
    • PC equipment
    • Network limitations
  • Signed-off on Phase II contract with vendor
This is the output in the actual application that we would like to come close to: Working with purchasing to complete contract Researching issues related to deployment PC equipment Network limitations Signed-off on Phase II contract with vendor Any suggestions? Thanks, Jon Matunas ********************************************************************** This e-mail, including any files or attachments transmitted with it, is confidential and intended for a specific purpose and for use only by the individual or entity to whom it is addressed. Any disclosure, copying or distribution of this e-mail or the taking of any action based on its contents, other than for its intended purpose, is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete it from your system. Any views or opinions expressed in this e-mail are not necessarily those of Northeast Utilities, its subsidiaries and affiliates (NU). E-mail transmission cannot be guaranteed to be error-free or secure or free from viruses, and NU disclaims all liability for any resulting damage, errors, or omissions. ********************************************************************** _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Sun Jul 04 01:53:36 2004 From: "Steve Cavill" Subject: RE: [sqr-users] Interpreting HTML code in SQR report output Date: Sun, 4 Jul 2004 16:52:27 +1000 You should be able to use PRINT CODE-PRINTER=HT which will include whatever you ask it to. See the chapter on "Working with HTML" in the SQR developers guide which has an example. Cheers, 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 matunjt@NU.COM Sent: Saturday, 3 July 2004 5:42 AM To: sqr-users@sqrug.org Subject: [sqr-users] Interpreting HTML code in SQR report output We have a field to include in an SQR report that contains HTML code. Is there anyway for SQR to interpret the HTML formatting when printing / rendering the report? Specifically line breaks, bolding, and bullets. We are able to pull all HTML tags from the output, but we would like to keep some of the formatting. Where are using Report Builder 6.2.1 against Oracle 9i. Here is a sample of the field data:
  • Working with purchasing to complete contract
  • Researching issues related to deployment
    • PC equipment
    • Network limitations
  • Signed-off on Phase II contract with vendor
This is the output in the actual application that we would like to come close to: Working with purchasing to complete contract Researching issues related to deployment PC equipment Network limitations Signed-off on Phase II contract with vendor Any suggestions? Thanks, Jon Matunas ********************************************************************** This e-mail, including any files or attachments transmitted with it, is confidential and intended for a specific purpose and for use only by the individual or entity to whom it is addressed. Any disclosure, copying or distribution of this e-mail or the taking of any action based on its contents, other than for its intended purpose, is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete it from your system. Any views or opinions expressed in this e-mail are not necessarily those of Northeast Utilities, its subsidiaries and affiliates (NU). E-mail transmission cannot be guaranteed to be error-free or secure or free from viruses, and NU disclaims all liability for any resulting damage, errors, or omissions. ********************************************************************** _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Sun Jul 04 19:44:28 2004 From: Ray Ontko Date: Sun, 4 Jul 2004 19:43:59 -0500 Subject: Re: [sqr-users] Interpreting HTML code in SQR report output Jon, (Steve,) If you're only creating HTML output, then Steve's suggestion should work for you. You might need to trim out the and tags. But, I'm guessing that your question has to do with rendering HTML in the context of -printer:pd, -printer:ht, or -printer:ps. If that's the case, then you'll want to _interpret_ the HTML and invoke the appropriate PRINT commands depending on the HTML content. We've developed such an HTML interpreter (that reads a string containing HTML and then executes the equivalent print commands) that also uses our proportional font library. We get pretty good results for a useful subset of HTML. We have a substantial investment in our proportional font and HTML rendering libary. We haven't quite decided on an approach for allowing others to use the library. Contact me at rayo@ontko.com if you'd like to persue this further. Ray On Sun, Jul 04, 2004 at 04:52:27PM +1000, Steve Cavill wrote: > You should be able to use PRINT CODE-PRINTER=HT which will include whatever > you ask it to. See the chapter on "Working with HTML" in the SQR developers > guide which has an example. > Cheers, 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 matunjt@NU.COM > Sent: Saturday, 3 July 2004 5:42 AM > To: sqr-users@sqrug.org > Subject: [sqr-users] Interpreting HTML code in SQR report output > > > > > > > We have a field to include in an SQR report that contains HTML code. Is > there anyway for SQR to interpret the HTML formatting when printing / > rendering the report? Specifically line breaks, bolding, and bullets. We > are able to pull all HTML tags from the output, but we would like to keep > some of the formatting. > > Where are using Report Builder 6.2.1 against Oracle 9i. > > Here is a sample of the field data: > >
    >
  • >
    Working with purchasing to complete contract
  • >
  • >
    Researching issues related to deployment
  • >
      >
    • >
      PC equipment
    • >
    • >
      Network limitations
    >
  • >
    Signed-off on Phase II contract with > vendor
> > This is the output in the actual application that we would like to come > close to: > Working with purchasing to complete contract > Researching issues related to deployment > PC equipment > Network limitations > Signed-off on Phase II contract with vendor > > > Any suggestions? > > Thanks, > Jon Matunas > > > > ********************************************************************** > This e-mail, including any files or attachments transmitted with it, is > confidential and intended for a specific purpose and for use only by the > individual or entity to whom it is addressed. Any disclosure, copying or > distribution of this e-mail or the taking of any action based on its > contents, other than for its intended purpose, is strictly prohibited. If > you have received this e-mail in error, please notify the sender immediately > and delete it from your system. Any views or opinions expressed in this > e-mail are not necessarily those of Northeast Utilities, its subsidiaries > and affiliates (NU). E-mail transmission cannot be guaranteed to be > error-free or secure or free from viruses, and NU disclaims all liability > for any resulting damage, errors, or omissions. > ********************************************************************** > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 02 14:48:12 2004 From: "Bencke, Gina" Date: Fri, 2 Jul 2004 15:46:24 -0400 Subject: RE: [sqr-users] Output variables with SQL Server Stored Procedures -- Partially solved I finally have the fce_calc_var working. The problem was that #storedProcStatus needed to be declared as INTEGER.=20=20 fce_str_parm still returns a NULL string for $outStr. Does anyone know why? Regards, Gina Bencke FCE Office (216) 416-3492 Home Office (440) 519-0060 email: gina.work@bencke.com -----Original Message----- From: sqr-users-bounces+ginabencke=3Dforestcity.net@sqrug.org [mailto:sqr-users-bounces+ginabencke=3Dforestcity.net@sqrug.org] On Behalf Of Bencke, Gina Sent: Friday, July 02, 2004 12:41 PM To: sqr-users@sqrug.org Subject: [sqr-users] Output variables with SQL Server Stored Procedures First let me say that I know there are many SQRUG postings regarding this topic and I did read and try to apply them. However I cannot get SQL-Server Stored Procedures with output variables to work! declare-variable float #colVariance text $outStr end-declare=20=20 move 'Hotels' to $str execute on-error=3DSQL-Error do=3DPrint-Columns @#storedProcStatus=3D fce_str_parm @entity=3D$str, @outStrVar=3D$outStr OUT into &ENTITY char(30), &ACTUAL float, &PROJECTED float=20 =20=20=20=20 print $outStr (+1,1) show 'Str: <' $outStr '>' =20=20 The above code successfully prints the column values returned from the stored procedure but $outStr is NULL and should not be. While the SQL Analyzer code below works properly, returning a string in @var. declare @var CHAR(30) exec fce_str_parm 'Hotels', @var out select @var The SQR code below fails with an execution error " (SQR 6801) Em2StdString: Null Operand Passed as input" regardless of how I call the stored procedure. The SQL Analyzer code works. move 3.0 to #actual move 5.0 to #projected move 0 to #colVariance execute on-error=3DSQL-Error =20=20=20 @#storedProcStatus=3D fce_calc_var @actual=3D#actual, @projected=3D#projected, @variance=3D#colVariance OUT !fce_calc_var 3, 5, #colVariance OUT=20 =20=20=20=20 !fce_calc_var @actual=3D3, @projected=3D5, @variance=3D#colVar output =20=20=20=20=20 !fce_calc_var 3, 5, #colVar OUT=20 =20 print 'Test 1' (2,1) print #colVar (0, +3) edit 999,999.99 print #storedProcStatus (0, +3) edit 999 declare @var DECIMAL (26,3) exec fce_calc_var 3, 5, @var out select @var Thanks, in advance, for your help. Gina Bencke Bencke Consulting Corporation Office (440) 519-0060 email: gina.work@bencke.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+sqrusersarch=sqrug.org@sqrug.org Sat Jul 03 06:06:16 2004 From: "Steve Cavill" Subject: RE: [sqr-users] Brio version 6 failed to create report.htm Date: Sat, 3 Jul 2004 20:43:37 +1000 That's usually a problem with your JRE setup. Does the spf get created? Check the sqr.ini files on both machines and make sure you have the right JRE and environment variables set. 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 Thornton, Robert Sent: Thursday, 1 July 2004 8:19 AM To: sqr-users@sqrug.org Subject: [sqr-users] Brio version 6 failed to create report.htm I have Brio version 6 loaded on a XP machine. When I try to preview a report the htm page fails to create. This works fine on an NT machine. Is this a setting I am over looking or is it an XP issue? Thanks Robert _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Sat Jul 03 09:28:21 2004 Date: Sat, 3 Jul 2004 07:27:16 -0700 (PDT) From: razeel zaleel Subject: [sqr-users] Printing on 2 diff printer i am trying to print on 2 different printers depending on the criteria in the sqr program, any idea how i can do it in sqr appreciate your help thanx __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Sat Jul 03 13:14:02 2004 From: "the dragon" Subject: RE: [sqr-users] Printing on 2 diff printer Date: Sat, 03 Jul 2004 13:11:30 -0500 using what OS?? 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. "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) ----Original Message Follows---- i am trying to print on 2 different printers depending on the criteria in the sqr program, any idea how i can do it in sqr appreciate your help thanx _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Sun Jul 04 22:40:13 2004 Date: Sun, 4 Jul 2004 20:37:48 -0700 (PDT) From: razeel zaleel Subject: RE: [sqr-users] Printing on 2 diff printer Windows 2000 PS 8 Oracle Thanks zaleel --- the dragon wrote: > using what OS?? > > > > 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. > > "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) > > ----Original Message Follows---- > > i am trying to print on 2 different printers > depending on the criteria in the sqr program, any > idea > how i can do it in sqr > > appreciate your help > > thanx > > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Tue Jul 06 10:15:16 2004 Subject: RE: [sqr-users] Brio version 6 failed to create report.htm Date: Tue, 6 Jul 2004 10:13:11 -0500 From: "Thornton, Robert" I have tried the following settings at different times in the [Environment:Common] and [JRE] sections. The report still does not create the htm file. The LOG, SPF, and PDF files get created. Am I overlooking a needed setting or is there a permission issue I am not aware of.=20=20=20 SQR_JRE_VER=3D1.1.7 SQR_JRE_EXE=3DC:\Program Files\Brio\JRE\jre117\bin\jre.exe=20 SQR_JRE_VER=3D1.1.8 SQR_JRE_EXE=3DC:\Program Files\Brio\JRE\jre118\bin\jre.exe SQR_JRE_VER=3D1.1.7 SQR_JRE_EXE=3DC:\Program Files\Oracle\jre\1.1.7\bin\jre.exe Thanks=20 Robert -----Original Message----- From: Steve Cavill [mailto:steve.cavill@infoclarity.com.au]=20 Sent: Saturday, July 03, 2004 4:44 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Brio version 6 failed to create report.htm That's usually a problem with your JRE setup. Does the spf get created? Check the sqr.ini files on both machines and make sure you have the right JRE and environment variables set. 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 Thornton, Robert Sent: Thursday, 1 July 2004 8:19 AM To: sqr-users@sqrug.org Subject: [sqr-users] Brio version 6 failed to create report.htm I have Brio version 6 loaded on a XP machine. When I try to preview a report the htm page fails to create. This works fine on an NT machine. Is this a setting I am over looking or is it an XP issue? Thanks Robert _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Tue Jul 06 17:25:35 2004 From: Peter Burton Date: Tue, 6 Jul 2004 15:24:19 -0700 Subject: RE: [sqr-users] Brio version 6 failed to create report.htm Robert, The most likely reason that HTML is not gentting generated is because the JRE is not compatible with the hardware. Try renaming the file SYMJIT.DLL to SYMJIT.DLL_ORG. This file is located in the JRE's BIN directory. 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 Thornton, Robert > Sent: Tuesday, July 06, 2004 11:13 AM > To: This list is for discussion about the SQR database > reportinglanguage > from Hyperion Solutions. > Subject: RE: [sqr-users] Brio version 6 failed to create report.htm > > > I have tried the following settings at different times in the > [Environment:Common] and [JRE] sections. The report still does not > create the htm file. The LOG, SPF, and PDF files get created. Am I > overlooking a needed setting or is there a permission issue I am not > aware of. > > > SQR_JRE_VER=1.1.7 > SQR_JRE_EXE=C:\Program Files\Brio\JRE\jre117\bin\jre.exe > > > SQR_JRE_VER=1.1.8 > SQR_JRE_EXE=C:\Program Files\Brio\JRE\jre118\bin\jre.exe > > > SQR_JRE_VER=1.1.7 > SQR_JRE_EXE=C:\Program Files\Oracle\jre\1.1.7\bin\jre.exe > > > > Thanks > Robert > > > > > -----Original Message----- > From: Steve Cavill [mailto:steve.cavill@infoclarity.com.au] > Sent: Saturday, July 03, 2004 4:44 AM > To: This list is for discussion about the SQR database > reportinglanguage > fromHyperion Solutions. > Subject: RE: [sqr-users] Brio version 6 failed to create report.htm > > That's usually a problem with your JRE setup. Does the spf > get created? > Check the sqr.ini files on both machines and make sure you have the > right > JRE and environment variables set. > 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 Thornton, Robert > Sent: Thursday, 1 July 2004 8:19 AM > To: sqr-users@sqrug.org > Subject: [sqr-users] Brio version 6 failed to create report.htm > > > I have Brio version 6 loaded on a XP machine. When I try to preview a > report the htm page fails to create. This works fine on an NT machine. > Is this a setting I am over looking or is it an XP issue? > > Thanks > > Robert > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > _______________________________________________ > 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 From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Tue Jul 06 17:33:19 2004 From: Peter Burton Date: Tue, 6 Jul 2004 15:30:10 -0700 Subject: RE: [sqr-users] Brio version 6 failed to create report.htm Robert, Correction, the filename is "SYMCJIT.DLL". Peter > -----Original Message----- > From: Peter Burton > Sent: Tuesday, July 06, 2004 6:24 PM > To: 'This list is for discussion about the SQR database reporting > language from Hyperion Solutions.' > Subject: RE: [sqr-users] Brio version 6 failed to create report.htm > > > Robert, > > The most likely reason that HTML is not gentting generated is > because the JRE is not compatible with the hardware. Try > renaming the file SYMJIT.DLL to SYMJIT.DLL_ORG. This file is > located in the JRE's BIN directory. > > 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 Thornton, Robert > > Sent: Tuesday, July 06, 2004 11:13 AM > > To: This list is for discussion about the SQR database > > reportinglanguage > > from Hyperion Solutions. > > Subject: RE: [sqr-users] Brio version 6 failed to create report.htm > > > > > > I have tried the following settings at different times in the > > [Environment:Common] and [JRE] sections. The report still does not > > create the htm file. The LOG, SPF, and PDF files get created. Am I > > overlooking a needed setting or is there a permission issue I am not > > aware of. > > > > > > SQR_JRE_VER=1.1.7 > > SQR_JRE_EXE=C:\Program Files\Brio\JRE\jre117\bin\jre.exe > > > > > > SQR_JRE_VER=1.1.8 > > SQR_JRE_EXE=C:\Program Files\Brio\JRE\jre118\bin\jre.exe > > > > > > SQR_JRE_VER=1.1.7 > > SQR_JRE_EXE=C:\Program Files\Oracle\jre\1.1.7\bin\jre.exe > > > > > > > > Thanks > > Robert > > > > > > > > > > -----Original Message----- > > From: Steve Cavill [mailto:steve.cavill@infoclarity.com.au] > > Sent: Saturday, July 03, 2004 4:44 AM > > To: This list is for discussion about the SQR database > > reportinglanguage > > fromHyperion Solutions. > > Subject: RE: [sqr-users] Brio version 6 failed to create report.htm > > > > That's usually a problem with your JRE setup. Does the spf > > get created? > > Check the sqr.ini files on both machines and make sure you have the > > right > > JRE and environment variables set. > > 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 Thornton, Robert > Sent: Thursday, 1 July 2004 8:19 AM > To: sqr-users@sqrug.org > Subject: [sqr-users] Brio version 6 failed to create report.htm > > > I have Brio version 6 loaded on a XP machine. When I try to preview a > report the htm page fails to create. This works fine on an NT machine. > Is this a setting I am over looking or is it an XP issue? > > Thanks > > Robert > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > _______________________________________________ > 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 From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Mon Jul 05 07:26:02 2004 Subject: RE: [sqr-users] Subscription to Exceptions From: "Darshil Mehta" Date: Mon, 5 Jul 2004 17:56:02 +0530 I checked both. I get emails whenever do following: On brio portal, under subscription: - Click subscribe to 'Subscribe to output from ' - Click 'Only subscribe to exception item' - Attach output from to email message My object's life is 500 mins. Is there any code that I have write in .sqr file to get email notifications only whenever there is exceptions? Thanks, Darshil "Steve Cavill" Sent by: sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org 30/06/2004 05:52 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 reportinglanguage from Hyperion Solutions." cc: Subject: RE: [sqr-users] Subscription to Exceptions Do you get an email if you just subscribe to the report without exceptions? Do any other subscription emails work? You need to see which is failing, the detection of the exception, or the sending of the email. 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 Darshil Mehta Sent: Wednesday, 30 June 2004 6:58 PM To: sqr-users@sqrug.org Subject: [sqr-users] Subscription to Exceptions All, I have one SQR report in which I have written following code: if #cnt_total > #temp print 'Exception: Prodline has changed' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=on' write 0 from 'exception.default.text=Prodline has changes' close 0 else print 'Exception: Prodline has NO changes ' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=on' write 0 from 'exception.default.text=Prodline has NO changes' close 0 end-if When I publish this report on Brio Portal with option 'Can have exception', I can see proper exceptions on my Brio Portal dashboard. But when I schedule it with email notification, I do not receive any email regarding exception. Can anyone suggest what could be the problem? Thanks in advance. Best regards, Darshil Mehta ______________________________________________________________________ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Mon Jul 05 22:59:06 2004 From: "Steve Cavill" Subject: RE: [sqr-users] Subscription to Exceptions Date: Tue, 6 Jul 2004 11:49:59 +1000 Now I'm confused. Below you say you are getting the email, but earlier you said you are not getting the email. Do you mean you are getting the email whether there is an exception or not, and that you DO NOT want to get a message UNLESS there is an exception? In which case your setup below looks correct. 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 Darshil Mehta Sent: Monday, 5 July 2004 10:26 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Cc: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions.; sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org Subject: RE: [sqr-users] Subscription to Exceptions I checked both. I get emails whenever do following: On brio portal, under subscription: - Click subscribe to 'Subscribe to output from ' - Click 'Only subscribe to exception item' - Attach output from to email message My object's life is 500 mins. Is there any code that I have write in .sqr file to get email notifications only whenever there is exceptions? Thanks, Darshil "Steve Cavill" Sent by: sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org 30/06/2004 05:52 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 reportinglanguage from Hyperion Solutions." cc: Subject: RE: [sqr-users] Subscription to Exceptions Do you get an email if you just subscribe to the report without exceptions? Do any other subscription emails work? You need to see which is failing, the detection of the exception, or the sending of the email. 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 Darshil Mehta Sent: Wednesday, 30 June 2004 6:58 PM To: sqr-users@sqrug.org Subject: [sqr-users] Subscription to Exceptions All, I have one SQR report in which I have written following code: if #cnt_total > #temp print 'Exception: Prodline has changed' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=on' write 0 from 'exception.default.text=Prodline has changes' close 0 else print 'Exception: Prodline has NO changes ' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=on' write 0 from 'exception.default.text=Prodline has NO changes' close 0 end-if When I publish this report on Brio Portal with option 'Can have exception', I can see proper exceptions on my Brio Portal dashboard. But when I schedule it with email notification, I do not receive any email regarding exception. Can anyone suggest what could be the problem? Thanks in advance. Best regards, Darshil Mehta ______________________________________________________________________ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Mon Jul 05 23:07:23 2004 Subject: RE: [sqr-users] Subscription to Exceptions From: "Darshil Mehta" Date: Tue, 6 Jul 2004 09:37:39 +0530 Sorry for the confusion !!! Let me put it this way. I do get mails when I do following: On brio portal, under subscription: - Click subscribe to 'Subscribe to output from ' - Click 'Only subscribe to exception item' - Attach output from to email message If I don't do above action, I don't get mails. And if I do above action, I still get mails even there is no exception. I hope this is more clear. Darshil "Steve Cavill" Sent by: sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org 06/07/2004 07:19 AM 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 reportinglanguage from Hyperion Solutions." cc: Subject: RE: [sqr-users] Subscription to Exceptions Now I'm confused. Below you say you are getting the email, but earlier you said you are not getting the email. Do you mean you are getting the email whether there is an exception or not, and that you DO NOT want to get a message UNLESS there is an exception? In which case your setup below looks correct. 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 Darshil Mehta Sent: Monday, 5 July 2004 10:26 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Cc: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions.; sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org Subject: RE: [sqr-users] Subscription to Exceptions I checked both. I get emails whenever do following: On brio portal, under subscription: - Click subscribe to 'Subscribe to output from ' - Click 'Only subscribe to exception item' - Attach output from to email message My object's life is 500 mins. Is there any code that I have write in .sqr file to get email notifications only whenever there is exceptions? Thanks, Darshil "Steve Cavill" Sent by: sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org 30/06/2004 05:52 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 reportinglanguage from Hyperion Solutions." cc: Subject: RE: [sqr-users] Subscription to Exceptions Do you get an email if you just subscribe to the report without exceptions? Do any other subscription emails work? You need to see which is failing, the detection of the exception, or the sending of the email. 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 Darshil Mehta Sent: Wednesday, 30 June 2004 6:58 PM To: sqr-users@sqrug.org Subject: [sqr-users] Subscription to Exceptions All, I have one SQR report in which I have written following code: if #cnt_total > #temp print 'Exception: Prodline has changed' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=on' write 0 from 'exception.default.text=Prodline has changes' close 0 else print 'Exception: Prodline has NO changes ' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=on' write 0 from 'exception.default.text=Prodline has NO changes' close 0 end-if When I publish this report on Brio Portal with option 'Can have exception', I can see proper exceptions on my Brio Portal dashboard. But when I schedule it with email notification, I do not receive any email regarding exception. Can anyone suggest what could be the problem? Thanks in advance. Best regards, Darshil Mehta ______________________________________________________________________ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Tue Jul 06 03:55:18 2004 From: "Steve Cavill" Subject: RE: [sqr-users] Subscription to Exceptions Date: Tue, 6 Jul 2004 16:33:52 +1000 Your sqr code will ALWAYS generate an exception: if #cnt_total > #temp print 'Exception: Prodline has changed' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=on' write 0 from 'exception.default.text=Prodline has changes' close 0 else print 'Exception: Prodline has NO changes ' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=on' write 0 from 'exception.default.text=Prodline has NO changes' close 0 end-if The exception is either "Prodline has changes", or "Prodline has NO changes" so I think the portal is working correctly. If one of the above conditions is NOT an exception, then don't create the output.properties file for that condition. Cheers, 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 Darshil Mehta Sent: Tuesday, 6 July 2004 2:08 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Cc: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions.; sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org Subject: RE: [sqr-users] Subscription to Exceptions Sorry for the confusion !!! Let me put it this way. I do get mails when I do following: On brio portal, under subscription: - Click subscribe to 'Subscribe to output from ' - Click 'Only subscribe to exception item' - Attach output from to email message If I don't do above action, I don't get mails. And if I do above action, I still get mails even there is no exception. I hope this is more clear. Darshil "Steve Cavill" Sent by: sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org 06/07/2004 07:19 AM 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 reportinglanguage from Hyperion Solutions." cc: Subject: RE: [sqr-users] Subscription to Exceptions Now I'm confused. Below you say you are getting the email, but earlier you said you are not getting the email. Do you mean you are getting the email whether there is an exception or not, and that you DO NOT want to get a message UNLESS there is an exception? In which case your setup below looks correct. 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 Darshil Mehta Sent: Monday, 5 July 2004 10:26 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Cc: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions.; sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org Subject: RE: [sqr-users] Subscription to Exceptions I checked both. I get emails whenever do following: On brio portal, under subscription: - Click subscribe to 'Subscribe to output from ' - Click 'Only subscribe to exception item' - Attach output from to email message My object's life is 500 mins. Is there any code that I have write in .sqr file to get email notifications only whenever there is exceptions? Thanks, Darshil "Steve Cavill" Sent by: sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org 30/06/2004 05:52 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 reportinglanguage from Hyperion Solutions." cc: Subject: RE: [sqr-users] Subscription to Exceptions Do you get an email if you just subscribe to the report without exceptions? Do any other subscription emails work? You need to see which is failing, the detection of the exception, or the sending of the email. 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 Darshil Mehta Sent: Wednesday, 30 June 2004 6:58 PM To: sqr-users@sqrug.org Subject: [sqr-users] Subscription to Exceptions All, I have one SQR report in which I have written following code: if #cnt_total > #temp print 'Exception: Prodline has changed' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=on' write 0 from 'exception.default.text=Prodline has changes' close 0 else print 'Exception: Prodline has NO changes ' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=on' write 0 from 'exception.default.text=Prodline has NO changes' close 0 end-if When I publish this report on Brio Portal with option 'Can have exception', I can see proper exceptions on my Brio Portal dashboard. But when I schedule it with email notification, I do not receive any email regarding exception. Can anyone suggest what could be the problem? Thanks in advance. Best regards, Darshil Mehta ______________________________________________________________________ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ______________________________________________________________________ ______________________________________________________________________ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ______________________________________________________________________ ______________________________________________________________________ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Tue Jul 06 05:10:07 2004 Subject: RE: [sqr-users] Subscription to Exceptions From: "Darshil Mehta" Date: Tue, 6 Jul 2004 15:24:31 +0530 A minor correction in code. In else part, I have changed exception.default=off from exception.default=on. if #cnt_total > #temp print 'Exception: Prodline has changed' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=on' write 0 from 'exception.default.text=Prodline has changes' close 0 else print 'Exception: Prodline has NO changes ' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=off' write 0 from 'exception.default.text=Prodline has NO changes' close 0 end-if Now this code works perfectly on portal. Whenever there is exception, exception dashboard shows exception. Otherwise it does not. But when I do following, I do get mails: On brio portal, under subscription: - Click subscribe to 'Subscribe to output from ' - Click 'Only subscribe to exception item' - Attach output from to email message If I don't do above action, I don't get mails. And if I do above action, I still get mails even there is no exception. Thanks, Darshil "Steve Cavill" Sent by: sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org 06/07/2004 12:03 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 reportinglanguage from Hyperion Solutions." cc: Subject: RE: [sqr-users] Subscription to Exceptions Your sqr code will ALWAYS generate an exception: if #cnt_total > #temp print 'Exception: Prodline has changed' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=on' write 0 from 'exception.default.text=Prodline has changes' close 0 else print 'Exception: Prodline has NO changes ' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=on' write 0 from 'exception.default.text=Prodline has NO changes' close 0 end-if The exception is either "Prodline has changes", or "Prodline has NO changes" so I think the portal is working correctly. If one of the above conditions is NOT an exception, then don't create the output.properties file for that condition. Cheers, 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 Darshil Mehta Sent: Tuesday, 6 July 2004 2:08 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Cc: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions.; sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org Subject: RE: [sqr-users] Subscription to Exceptions Sorry for the confusion !!! Let me put it this way. I do get mails when I do following: On brio portal, under subscription: - Click subscribe to 'Subscribe to output from ' - Click 'Only subscribe to exception item' - Attach output from to email message If I don't do above action, I don't get mails. And if I do above action, I still get mails even there is no exception. I hope this is more clear. Darshil "Steve Cavill" Sent by: sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org 06/07/2004 07:19 AM 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 reportinglanguage from Hyperion Solutions." cc: Subject: RE: [sqr-users] Subscription to Exceptions Now I'm confused. Below you say you are getting the email, but earlier you said you are not getting the email. Do you mean you are getting the email whether there is an exception or not, and that you DO NOT want to get a message UNLESS there is an exception? In which case your setup below looks correct. 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 Darshil Mehta Sent: Monday, 5 July 2004 10:26 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Cc: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions.; sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org Subject: RE: [sqr-users] Subscription to Exceptions I checked both. I get emails whenever do following: On brio portal, under subscription: - Click subscribe to 'Subscribe to output from ' - Click 'Only subscribe to exception item' - Attach output from to email message My object's life is 500 mins. Is there any code that I have write in .sqr file to get email notifications only whenever there is exceptions? Thanks, Darshil "Steve Cavill" Sent by: sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org 30/06/2004 05:52 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 reportinglanguage from Hyperion Solutions." cc: Subject: RE: [sqr-users] Subscription to Exceptions Do you get an email if you just subscribe to the report without exceptions? Do any other subscription emails work? You need to see which is failing, the detection of the exception, or the sending of the email. 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 Darshil Mehta Sent: Wednesday, 30 June 2004 6:58 PM To: sqr-users@sqrug.org Subject: [sqr-users] Subscription to Exceptions All, I have one SQR report in which I have written following code: if #cnt_total > #temp print 'Exception: Prodline has changed' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=on' write 0 from 'exception.default.text=Prodline has changes' close 0 else print 'Exception: Prodline has NO changes ' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=on' write 0 from 'exception.default.text=Prodline has NO changes' close 0 end-if When I publish this report on Brio Portal with option 'Can have exception', I can see proper exceptions on my Brio Portal dashboard. But when I schedule it with email notification, I do not receive any email regarding exception. Can anyone suggest what could be the problem? Thanks in advance. Best regards, Darshil Mehta ______________________________________________________________________ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ______________________________________________________________________ ______________________________________________________________________ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ______________________________________________________________________ ______________________________________________________________________ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ______________________________________________________________________ ______________________________________________________________________ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Sat Jul 10 00:34:13 2004 From: "Steve Cavill" Subject: RE: [sqr-users] Subscription to Exceptions Date: Sat, 10 Jul 2004 15:31:29 +1000 Hi Darshil, i don't think exception.default=off is a valid string in your output.properties. If you don't want an exception, don't write to the file. e.g. if #cnt_total > #temp print 'Exception: Prodline has changed' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=on' write 0 from 'exception.default.text=Prodline has changes' close 0 else print 'Exception: Prodline has NO changes ' (1,1) !don't create output.properties end-if -----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 Darshil Mehta Sent: Tuesday, 6 July 2004 7:55 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Cc: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions.; sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org Subject: RE: [sqr-users] Subscription to Exceptions A minor correction in code. In else part, I have changed exception.default=off from exception.default=on. if #cnt_total > #temp print 'Exception: Prodline has changed' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=on' write 0 from 'exception.default.text=Prodline has changes' close 0 else print 'Exception: Prodline has NO changes ' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=off' write 0 from 'exception.default.text=Prodline has NO changes' close 0 end-if Now this code works perfectly on portal. Whenever there is exception, exception dashboard shows exception. Otherwise it does not. But when I do following, I do get mails: On brio portal, under subscription: - Click subscribe to 'Subscribe to output from ' - Click 'Only subscribe to exception item' - Attach output from to email message If I don't do above action, I don't get mails. And if I do above action, I still get mails even there is no exception. Thanks, Darshil "Steve Cavill" Sent by: sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org 06/07/2004 12:03 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 reportinglanguage from Hyperion Solutions." cc: Subject: RE: [sqr-users] Subscription to Exceptions Your sqr code will ALWAYS generate an exception: if #cnt_total > #temp print 'Exception: Prodline has changed' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=on' write 0 from 'exception.default.text=Prodline has changes' close 0 else print 'Exception: Prodline has NO changes ' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=on' write 0 from 'exception.default.text=Prodline has NO changes' close 0 end-if The exception is either "Prodline has changes", or "Prodline has NO changes" so I think the portal is working correctly. If one of the above conditions is NOT an exception, then don't create the output.properties file for that condition. Cheers, 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 Darshil Mehta Sent: Tuesday, 6 July 2004 2:08 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Cc: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions.; sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org Subject: RE: [sqr-users] Subscription to Exceptions Sorry for the confusion !!! Let me put it this way. I do get mails when I do following: On brio portal, under subscription: - Click subscribe to 'Subscribe to output from ' - Click 'Only subscribe to exception item' - Attach output from to email message If I don't do above action, I don't get mails. And if I do above action, I still get mails even there is no exception. I hope this is more clear. Darshil "Steve Cavill" Sent by: sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org 06/07/2004 07:19 AM 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 reportinglanguage from Hyperion Solutions." cc: Subject: RE: [sqr-users] Subscription to Exceptions Now I'm confused. Below you say you are getting the email, but earlier you said you are not getting the email. Do you mean you are getting the email whether there is an exception or not, and that you DO NOT want to get a message UNLESS there is an exception? In which case your setup below looks correct. 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 Darshil Mehta Sent: Monday, 5 July 2004 10:26 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Cc: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions.; sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org Subject: RE: [sqr-users] Subscription to Exceptions I checked both. I get emails whenever do following: On brio portal, under subscription: - Click subscribe to 'Subscribe to output from ' - Click 'Only subscribe to exception item' - Attach output from to email message My object's life is 500 mins. Is there any code that I have write in .sqr file to get email notifications only whenever there is exceptions? Thanks, Darshil "Steve Cavill" Sent by: sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org 30/06/2004 05:52 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 reportinglanguage from Hyperion Solutions." cc: Subject: RE: [sqr-users] Subscription to Exceptions Do you get an email if you just subscribe to the report without exceptions? Do any other subscription emails work? You need to see which is failing, the detection of the exception, or the sending of the email. 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 Darshil Mehta Sent: Wednesday, 30 June 2004 6:58 PM To: sqr-users@sqrug.org Subject: [sqr-users] Subscription to Exceptions All, I have one SQR report in which I have written following code: if #cnt_total > #temp print 'Exception: Prodline has changed' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=on' write 0 from 'exception.default.text=Prodline has changes' close 0 else print 'Exception: Prodline has NO changes ' (1,1) open 'output.properties' as 0 for-append record=32767:vary write 0 from 'exception.default=on' write 0 from 'exception.default.text=Prodline has NO changes' close 0 end-if When I publish this report on Brio Portal with option 'Can have exception', I can see proper exceptions on my Brio Portal dashboard. But when I schedule it with email notification, I do not receive any email regarding exception. Can anyone suggest what could be the problem? Thanks in advance. Best regards, Darshil Mehta ______________________________________________________________________ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ______________________________________________________________________ ______________________________________________________________________ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ______________________________________________________________________ ______________________________________________________________________ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ______________________________________________________________________ ______________________________________________________________________ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Wed Jul 07 04:24:49 2004 Date: Wed, 7 Jul 2004 11:20:50 +0200 (CEST) From: =?iso-8859-1?q?Nabil?= Subject: [sqr-users] Various printing types in the same program Hi, I got a SQR program writing at the same time in a CSV and in a PDF files. Do you know if it's possible to add a third writing for direct HP printing (while writing the two files on the disk) ? Thanks from Paris. Nabil --------------------------------- Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage ! Créez votre Yahoo! Mail Dialoguez en direct avec vos amis grâce à Yahoo! Messenger ! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Wed Jul 07 06:56:17 2004 From: "the dragon" Subject: RE: [sqr-users] Various printing types in the same program Date: Wed, 07 Jul 2004 06:54:48 -0500 Nabil, I do not believethis to be possible, without running the program twice or cloning it. Why would you need to? The pdf can be printed..... 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. "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) NOTICE: The information contained in this message is protected under United States and international copyright laws and is intended for the personal and confidential use of the addressee. If you are not the addressee or an agent of the addressee, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, taking of any action in reliance upon or copying of this message without the express written permission of the sender or his agent is strictly prohibited and in violation of reference ----Original Message Follows---- Hi, I got a SQR program writing at the same time in a CSV and in a PDF files. Do you know if it's possible to add a third writing for direct HP printing (while writing the two files on the disk) ? Thanks from Paris. Nabil _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Wed Jul 07 08:32:27 2004 Date: Wed, 7 Jul 2004 15:30:09 +0200 (CEST) From: =?iso-8859-1?q?Nabil?= Subject: RE: [sqr-users] Various printing types in the same program Thanks Clark. Maybe, I can generate a SPF file which I can transform for direct printing and Pdf as the same time... the dragon wrote: Nabil, I do not believethis to be possible, without running the program twice or cloning it. Why would you need to? The pdf can be printed..... 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. "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) NOTICE: The information contained in this message is protected under United States and international copyright laws and is intended for the personal and confidential use of the addressee. If you are not the addressee or an agent of the addressee, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, taking of any action in reliance upon or copying of this message without the express written permission of the sender or his agent is strictly prohibited and in violation of reference ----Original Message Follows---- Hi, I got a SQR program writing at the same time in a CSV and in a PDF files. Do you know if it's possible to add a third writing for direct HP printing (while writing the two files on the disk) ? Thanks from Paris. Nabil --------------------------------- Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage ! Créez votre Yahoo! Mail Dialoguez en direct avec vos amis grâce à Yahoo! Messenger ! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Wed Jul 07 08:27:50 2004 From: "David Ellick" Subject: Re: [sqr-users] Various printing types in the same program Date: Wed, 7 Jul 2004 13:59:04 +0100 Nabil, Try generating the output initially as an SPF. Then you can use the new-report command to close the file and call SQRWP to convert the SPF to any format you want. This definitely works in Windows. Basically, Begin-Program !fred.sqr do some_stuff new-report 'dummy.lis' call system using 'sqrwp.exe fred.spf -printer:pd' #x call system using 'sqrwp.exe fred.spf -printer:hp' #x End-Program You can use this approach to generate any number of output types. Alternatively enclose the SQR in a script and call SQRWP in the script. Whichever will be more supportable in your business. David ----- Original Message ----- From: "Nabil" To: Sent: Wednesday, July 07, 2004 10:20 AM Subject: [sqr-users] Various printing types in the same program > Hi, > > I got a SQR program writing at the same time in a CSV and in a PDF files. Do you know if it's possible to add a third writing for direct HP printing (while writing the two files on the disk) ? > > Thanks from Paris. > > Nabil > > > --------------------------------- > Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage ! > Créez votre Yahoo! Mail > > Dialoguez en direct avec vos amis grâce à Yahoo! Messenger ! > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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+sqrusersarch=sqrug.org@sqrug.org Wed Jul 07 09:22:11 2004 Date: Wed, 07 Jul 2004 10:20:58 -0400 From: "Jessie Dickenson" Subject: [sqr-users] Unable to create SPF file. I encountered a problem yesterday when I was trying to generate an SPF file= .=20 =20 The command I used to make the SQT file was: C:\Program Files\Brio\SQR\ORA\BINW\sqrw.exe C:SQR\6002.SQR user_name/passwo= rd@database_name -rs *nolis I also tried using the flags, -xcb -ziv with the command line. The SQT fi= le gets created allright. But when I run the SQT, instead of getting an SPF= file, a lis file is getting generated. Have I missed something critical wh= ile compiling the SQR program? I would greatly appreciate your help. Thanks= in advance.Jessie =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Wed Jul 07 09:31:27 2004 From: "the dragon" Subject: RE: [sqr-users] Unable to create SPF file. Date: Wed, 07 Jul 2004 09:30:27 -0500 Jesse, ummmmm try the -keep switch??? when you run it. 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. "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) ----Original Message Follows---- I encountered a problem yesterday when I was trying to generate an SPF file. The command I used to make the SQT file was: C:\Program Files\Brio\SQR\ORA\BINW\sqrw.exe C:SQR\6002.SQR user_name/password@database_name -rs *nolis I also tried using the flags, -xcb -ziv with the command line. The SQT file gets created allright. But when I run the SQT, instead of getting an SPF file, a lis file is getting generated. Have I missed something critical while compiling the SQR program? I would greatly appreciate your help. Thanks in advance.Jessie _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Wed Jul 07 10:02:13 2004 Date: Wed, 07 Jul 2004 11:00:48 -0400 From: "Jessie Dickenson" Subject: RE: [sqr-users] Unable to create SPF file. Thank you so much. That worked just fine. Actually the whole command that I= used was: sqrwt.exe filename.SQT username/password@databasename -keep *nolis *xcb *z= iv $input_param =20 This way, I suppress the creation of the LIS file & the SPF file comes up, = once the run is over. =20 Thanks again, Jess >>> "the dragon" 07/07/2004 10:30:27 AM >>> Jesse, ummmmm try the -keep switch??? when you run it. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting you= r=20 services for 40 hours a week, not purchasing your soul. Your time is the= =20 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. "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= =20 spend it for you." Carl Sandburg (1878 - 1967) ----Original Message Follows---- I encountered a problem yesterday when I was trying to generate an SPF file. The command I used to make the SQT file was: C:\Program Files\Brio\SQR\ORA\BINW\sqrw.exe C:SQR\6002.SQR=20 user_name/password@database_name -rs *nolis I also tried using the flags, -xcb -ziv with the command line. The SQT=20 file gets created allright. But when I run the SQT, instead of getting an= =20 SPF file, a lis file is getting generated. Have I missed something critical= =20 while compiling the SQR program? I would greatly appreciate your help.=20 Thanks in advance.Jessie _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Wed Jul 07 15:26:17 2004 From: CAllo@hinda.com Date: Wed, 7 Jul 2004 15:25:12 -0500 Subject: [sqr-users] Subselect I don't have very detailed information on the begin-select construct and my question is as follows: In SQL, you can do "subselects" like SELECT Date, (Select total From Acct Where...), Name, ..... FROM ..... I am wondering if it is possible to accomplish something of the sort in a begin-select paragraph? Christopher Allo PeopleSoft Specialist x-3348 This communication is for the exclusive use of addressee and may contain confidential, proprietary or privileged information which may be used exclusively for its intended purpose. 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+sqrusersarch=sqrug.org@sqrug.org Wed Jul 07 15:35:56 2004 Subject: RE: [sqr-users] Subselect Date: Wed, 7 Jul 2004 15:34:52 -0500 From: "Knapp, Richard" Yup.=20 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of CAllo@hinda.com Sent: Wednesday, July 07, 2004 3:25 PM To: sqr-users@sqrug.org Subject: [sqr-users] Subselect I don't have very detailed information on the begin-select construct and my question is as follows: In SQL, you can do "subselects" like SELECT Date, (Select total From Acct Where...), Name, ..... FROM ..... I am wondering if it is possible to accomplish something of the sort in a begin-select paragraph? Christopher Allo PeopleSoft Specialist x-3348 This communication is for the exclusive use of addressee and may contain confidential, proprietary or privileged information which may be used exclusively for its intended purpose. 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 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Wed Jul 07 15:58:47 2004 Subject: RE: [sqr-users] Subselect From: CAllo@hinda.com Date: Wed, 7 Jul 2004 15:56:22 -0500 Do you have an example of how this would be accomplished? I greatly appreciate your help. "Knapp, Richard" To Sent by: "This list is for discussion about sqr-users-bounces the SQR database reportinglanguage +callo=hinda.com@ from Hyperion Solutions." sqrug.org cc 07/07/2004 03:34 Subject PM RE: [sqr-users] Subselect Please respond to "This list is for discussion about the SQR database reporting language from Hyperion Solutions." Yup. -----Original Message----- From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of CAllo@hinda.com Sent: Wednesday, July 07, 2004 3:25 PM To: sqr-users@sqrug.org Subject: [sqr-users] Subselect I don't have very detailed information on the begin-select construct and my question is as follows: In SQL, you can do "subselects" like SELECT Date, (Select total From Acct Where...), Name, ..... FROM ..... I am wondering if it is possible to accomplish something of the sort in a begin-select paragraph? Christopher Allo PeopleSoft Specialist x-3348 This communication is for the exclusive use of addressee and may contain confidential, proprietary or privileged information which may be used exclusively for its intended purpose. 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 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users This communication is for the exclusive use of addressee and may contain confidential, proprietary or privileged information which may be used exclusively for its intended purpose. 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+sqrusersarch=sqrug.org@sqrug.org Wed Jul 07 15:48:07 2004 Date: Wed, 07 Jul 2004 16:45:56 -0400 From: "Larry Roux" Subject: Re: [sqr-users] Subselect Yes, just put a variable at the end of the subselect - ie begin-select A.DATE (select ID from TABLE_X where NAME =3D 'FRED') &ID A.ADDRESS_LINE1 show ' Date =3D ' &A.DATE ' ID =3D ' &ID=20 from ADDRESSES A where A.ADDRESS_TYPE =3D 'HOME' end-select Larry Roux Syracuse University lroux@syr.edu >>> CAllo@hinda.com 07/07/04 16:28 PM >>> I don't have very detailed information on the begin-select construct and my question is as follows: In SQL, you can do "subselects" like SELECT Date, (Select total From Acct Where...), Name, ...... FROM ...... I am wondering if it is possible to accomplish something of the sort in a begin-select paragraph? Christopher Allo PeopleSoft Specialist x-3348 This communication is for the exclusive use of addressee and may contain confidential, proprietary or privileged information which may be used exclusively for its intended purpose. 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 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Wed Jul 07 16:20:31 2004 Subject: Re: [sqr-users] Subselect From: CAllo@hinda.com Date: Wed, 7 Jul 2004 16:18:07 -0500 Thanks a bunch. I have tried it and it works as shown, however, the subselect I am trying to do is a "sum" and it looks like SQR doesn't like that. i.e. begin-select A.DATE (select sum(amount) from TABLE_X where NAME = 'FRED') &ID By the way, the reason I'm trying to do this is so that I can ORDER BY A.DATE, &ID. I know I could call separate procedures to go and get this information, but then I am not able to sort the data unless I build some sort of temp table or views. I wanted to be able to just return everything I need in this one select and sort accordingly and then print. Any further thoughts? Christopher Allo PeopleSoft Specialist x-3348 "Larry Roux" Sent by: To sqr-users-bounces +callo=hinda.com@ cc sqrug.org Subject Re: [sqr-users] Subselect 07/07/2004 03:45 PM Please respond to "This list is for discussion about the SQR database reporting language from Hyperion Solutions." Yes, just put a variable at the end of the subselect - ie begin-select A.DATE (select ID from TABLE_X where NAME = 'FRED') &ID A.ADDRESS_LINE1 show ' Date = ' &A.DATE ' ID = ' &ID from ADDRESSES A where A.ADDRESS_TYPE = 'HOME' end-select Larry Roux Syracuse University lroux@syr.edu >>> CAllo@hinda.com 07/07/04 16:28 PM >>> I don't have very detailed information on the begin-select construct and my question is as follows: In SQL, you can do "subselects" like SELECT Date, (Select total From Acct Where...), Name, ...... FROM ...... I am wondering if it is possible to accomplish something of the sort in a begin-select paragraph? Christopher Allo PeopleSoft Specialist x-3348 This communication is for the exclusive use of addressee and may contain confidential, proprietary or privileged information which may be used exclusively for its intended purpose. 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 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users This communication is for the exclusive use of addressee and may contain confidential, proprietary or privileged information which may be used exclusively for its intended purpose. 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+sqrusersarch=sqrug.org@sqrug.org Wed Jul 07 16:08:40 2004 Subject: RE: [sqr-users] Subselect Date: Wed, 7 Jul 2004 16:07:26 -0500 From: "Knapp, Richard" Just write your sql and enclose the entire paragraph in begin-(select)/end-select and that in begin-procedure/end-procedure. Call this procedure from a begin-program procedure. If it's bonafide SQL, it should work in SQR. Sometimes it is simpler to do the work of a subquery in another paragraph that you call from within the original select: Begin-select A &a_var B &b_var C &c_var do the_other_procedure =46rom some_table Where something =3D somethingelse and etc.... End-select Richard Knapp Database Programmer/Analyst Institutional Research and Planning University of Missouri System 573-882-8856 knappr@umsystem.edu =20 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of CAllo@hinda.com Sent: Wednesday, July 07, 2004 3:56 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] Subselect Do you have an example of how this would be accomplished? I greatly appreciate your help. =20 "Knapp, Richard" To=20 Sent by: "This list is for discussion about=20=20 sqr-users-bounces the SQR database reportinglanguage=20=20 +callo=3Dhinda.com@ from Hyperion Solutions." sqrug.org =20 cc=20 =20 07/07/2004 03:34 Subject=20 PM RE: [sqr-users] Subselect =20 =20 Please respond to "This list is for discussion about the SQR database reporting language from Hyperion Solutions." =20 =20 Yup. -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of CAllo@hinda.com Sent: Wednesday, July 07, 2004 3:25 PM To: sqr-users@sqrug.org Subject: [sqr-users] Subselect I don't have very detailed information on the begin-select construct and my question is as follows: In SQL, you can do "subselects" like SELECT Date, (Select total From Acct Where...), Name, ..... FROM ..... I am wondering if it is possible to accomplish something of the sort in a begin-select paragraph? Christopher Allo PeopleSoft Specialist x-3348 This communication is for the exclusive use of addressee and may contain confidential, proprietary or privileged information which may be used exclusively for its intended purpose. 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 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users This communication is for the exclusive use of addressee and may contain confidential, proprietary or privileged information which may be used exclusively for its intended purpose. 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 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Wed Jul 07 17:07:02 2004 From: Peter Burton Date: Wed, 7 Jul 2004 15:02:38 -0700 Subject: RE: [sqr-users] Subselect Christopher, What is the error message? What database? What version of SQR? 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 CAllo@hinda.com > Sent: Wednesday, July 07, 2004 5:18 PM > To: This list is for discussion about the SQR database reporting > language from Hyperion Solutions. > Subject: Re: [sqr-users] Subselect > > > > > > > > Thanks a bunch. I have tried it and it works as shown, however, the > subselect I am trying to do is a "sum" and it looks like SQR > doesn't like > that. > i.e. > begin-select > A.DATE > (select sum(amount) from TABLE_X where NAME = 'FRED') &ID > > By the way, the reason I'm trying to do this is so that I can ORDER BY > A.DATE, &ID. > > I know I could call separate procedures to go and get this > information, but > then I am not able to sort the data unless I build some sort > of temp table > or views. I wanted to be able to just return everything I > need in this > one select and sort accordingly and then print. > > Any further thoughts? > > Christopher Allo > PeopleSoft Specialist > x-3348 > > > > > "Larry Roux" > > > > Sent by: > To > sqr-users-bounces > > +callo=hinda.com@ > cc > sqrug.org > > > Subject > Re: [sqr-users] > Subselect > 07/07/2004 03:45 > > PM > > > > > > Please respond to > > "This list is for > > discussion about > > the SQR database > > reporting > > language from > > Hyperion > > Solutions." > > > org> > > > > > > > > > > Yes, just put a variable at the end of the subselect - ie > > begin-select > A.DATE > (select ID from TABLE_X where NAME = 'FRED') &ID > A.ADDRESS_LINE1 > show ' Date = ' &A.DATE ' ID = ' &ID > from ADDRESSES A > where A.ADDRESS_TYPE = 'HOME' > end-select > > > > > > > > > Larry Roux > Syracuse University > lroux@syr.edu > > >>> CAllo@hinda.com 07/07/04 16:28 PM >>> > > > > > I don't have very detailed information on the begin-select > construct and my > question is as follows: In SQL, you can do "subselects" like > > SELECT > Date, > (Select total From Acct Where...), > Name, > ...... > FROM > ...... > > > I am wondering if it is possible to accomplish something of > the sort in a > begin-select paragraph? > > Christopher Allo > PeopleSoft Specialist > x-3348 > This communication is for the exclusive use of addressee and > may contain > confidential, proprietary or privileged information which may be used > exclusively for its intended purpose. 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 > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > This communication is for the exclusive use of addressee and > may contain > confidential, proprietary or privileged information which may be used > exclusively for its intended purpose. 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 > > ************************************************************************ 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 From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Jul 08 06:51:34 2004 Subject: Re: [sqr-users] Subselect From: Rebecca.Barilleaux@anthem.com Date: Thu, 8 Jul 2004 07:48:43 -0400 Christopher, You can do this exactly the way you have it coded below, but in the "ORDER BY" use the ordinal position of the field you want to sort by. ORDER BY doesn't recognize the aliases (like &ID). Try this: begin-select A.DATE (select sum(amount) from TABLE_X where NAME = 'FRED') &ID do other_stuff FROM TABLE_X A WHERE A.blah = whatever ORDER BY A.DATE, 2 Thanks, Rebecca >Date: Wed, 7 Jul 2004 16:18:07 -0500 >From: CAllo@hinda.com >Subject: Re: [sqr-users] Subselect >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Thanks a bunch. I have tried it and it works as shown, however, the >subselect I am trying to do is a "sum" and it looks like SQR doesn't like >that. >i.e. >begin-select >A.DATE >(select sum(amount) from TABLE_X where NAME = 'FRED') &ID > >By the way, the reason I'm trying to do this is so that I can ORDER BY >A.DATE, &ID. > >I know I could call separate procedures to go and get this information, but >then I am not able to sort the data unless I build some sort of temp table >or views. I wanted to be able to just return everything I need in this >one select and sort accordingly and then print. > >Any further thoughts? > >Christopher Allo >PeopleSoft Specialist >x-3348 CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information or otherwise protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Jul 08 07:24:19 2004 Date: Thu, 08 Jul 2004 08:22:14 -0400 From: "George Jansen" Subject: Re: [sqr-users] Subselect You could turn your scalar subquery into an in-line view and avoid the problem. The following uses standard Oracle data-dictionary views to query from and runs nicely. Begin-Program Begin-Select T.table_name &tn B.id &id let $id = to_char(&id) let $line = &tn || ' ' || $id show $line >From user_tables t, (SELECT Sum(column_id) AS id FROM user_tab_columns) b End-Select _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Jul 08 10:24:40 2004 From: "Harris, Sam" Subject: RE: [sqr-users] Subselect Date: Thu, 8 Jul 2004 11:23:27 -0400 Does anyone know how one might be removed from this list? I have tried to unsubscribe, but I continue to get these messages. Sam -----Original Message----- From: George Jansen [mailto:GJANSEN@aflcio.org] Sent: Thursday, July 08, 2004 8:22 AM To: sqr-users@sqrug.org Subject: Re: [sqr-users] Subselect You could turn your scalar subquery into an in-line view and avoid the problem. The following uses standard Oracle data-dictionary views to query from and runs nicely. Begin-Program Begin-Select T.table_name &tn B.id &id let $id = to_char(&id) let $line = &tn || ' ' || $id show $line >From user_tables t, (SELECT Sum(column_id) AS id FROM user_tab_columns) b End-Select _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Thu Jul 08 11:16:13 2004 Date: Thu, 08 Jul 2004 13:14:54 -0300 From: "PeterG Clark" Subject: RE: [sqr-users] Subselect The link to subscription facilities (including unsubscribing) can be found at the bottom of every message :-) http://www.sqrug.org/mailman/listinfo/sqr-users >>> SVH@CDRH.FDA.GOV 2004/07/08 12:23:27 >>> Does anyone know how one might be removed from this list? I have tried to unsubscribe, but I continue to get these messages. Sam -----Original Message----- From: George Jansen [mailto:GJANSEN@aflcio.org] Sent: Thursday, July 08, 2004 8:22 AM To: sqr-users@sqrug.org Subject: Re: [sqr-users] Subselect You could turn your scalar subquery into an in-line view and avoid the problem. The following uses standard Oracle data-dictionary views to query from and runs nicely. Begin-Program Begin-Select T.table_name &tn B.id &id let $id = to_char(&id) let $line = &tn || ' ' || $id show $line >From user_tables t, (SELECT Sum(column_id) AS id FROM user_tab_columns) b End-Select _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Thu Jul 08 05:04:12 2004 From: vaibhav_jindal@non.agilent.com Date: Thu, 8 Jul 2004 18:03:09 +0800 Subject: [sqr-users] Problem with Date Format in .csv Hi I am having some problem in the date formats.The problem is that in the main query iam converting the date in mm/dd/yy hh:mm:ss AM format like this : TO_CHAR(ooha.ordered_date, 'mm/dd/yy HH:MM:SS AM') &ORDERED_DATE (15,3500) and while creating the csv , iam giving : let $brb_csv_data = $brb_csv_data || ',' || '"' || &ORDERED_DATE || '"' as a result, in the html result file .. iam getting the date in the correct format eg : 2/12/02 01:20:03 AM but in the csv that is generated .. it is automatically converting the time into 24 hour format : 3/19/2003 13:03 What I want is that the date in csv format should also come the same as in the html format. Can someone suggest some alternative..... Thanks & Regards Vaibhav Gupta Business Intelligence and Enterprise Reporting TCS @ Agilent Technologies _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Jul 08 05:22:12 2004 Subject: Re: [sqr-users] Problem with Date Format in .csv From: "Darshil Mehta" Date: Thu, 8 Jul 2004 15:47:39 +0530 Vaibhav, I guess it has nothing to do with your code. This is excel limitation that excel changes the date format according to excel's own setting. Cheers Darshil vaibhav_jindal@non.agilent.com Sent by: sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org 08/07/2004 03:33 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] Problem with Date Format in .csv Hi I am having some problem in the date formats.The problem is that in the main query iam converting the date in mm/dd/yy hh:mm:ss AM format like this : TO_CHAR(ooha.ordered_date, 'mm/dd/yy HH:MM:SS AM') &ORDERED_DATE (15,3500) and while creating the csv , iam giving : let $brb_csv_data = $brb_csv_data || ',' || '"' || &ORDERED_DATE || '"' as a result, in the html result file .. iam getting the date in the correct format eg : 2/12/02 01:20:03 AM but in the csv that is generated .. it is automatically converting the time into 24 hour format : 3/19/2003 13:03 What I want is that the date in csv format should also come the same as in the html format. Can someone suggest some alternative..... Thanks & Regards Vaibhav Gupta Business Intelligence and Enterprise Reporting TCS @ Agilent Technologies _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Thu Jul 08 06:14:10 2004 Subject: RE: [sqr-users] Problem with Date Format in .csv Date: Thu, 8 Jul 2004 07:04:32 -0400 From: "Pink, Michael" If you add the date with a single quote ' on both sides it should treat the field as text and not format it. -----Original Message----- From: sqr-users-bounces+michael.pink=3Dpgnmail.com@sqrug.org [mailto:sqr-users-bounces+michael.pink=3Dpgnmail.com@sqrug.org] On Behalf Of Darshil Mehta Sent: Thursday, July 08, 2004 6:18 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Cc: sqr-users@sqrug.org; sqr-users-bounces+darshil.mehta=3Dlntinfotech.com@sqrug.org Subject: Re: [sqr-users] Problem with Date Format in .csv Vaibhav, I guess it has nothing to do with your code. This is excel limitation that=20 excel changes the date format according to excel's own setting. Cheers Darshil vaibhav_jindal@non.agilent.com Sent by: sqr-users-bounces+darshil.mehta=3Dlntinfotech.com@sqrug.org 08/07/2004 03:33 PM Please respond to "This list is for discussion about the SQR database=20 reporting language from Hyperion Solutions." =20 To: sqr-users@sqrug.org cc:=20 Subject: [sqr-users] Problem with Date Format in .csv Hi=20 =20 =20 I am having some problem in the date formats.The problem is that in the=20 main query iam converting the date in mm/dd/yy hh:mm:ss AM format like=20 this : TO_CHAR(ooha.ordered_date, 'mm/dd/yy HH:MM:SS AM') &ORDERED_DATE (15,3500) =20 and while creating the csv , iam giving :=20 let $brb_csv_data =3D $brb_csv_data || ',' || '"' || &ORDERED_DATE || '"' =20 as a result, in the html result file .. iam getting the date in the=20 correct format eg : 2/12/02 01:20:03 AM=20 but in the csv that is generated .. it is automatically converting the=20 time into 24 hour format :=20 3/19/2003 13:03=20 =20 =20 What I want is that the date in csv format should also come the same as in=20 the html format. Can someone suggest some alternative..... =20 Thanks & Regards Vaibhav Gupta Business Intelligence and Enterprise Reporting TCS @ Agilent Technologies =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 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Jul 08 06:46:05 2004 From: "the dragon" Subject: RE: [sqr-users] Problem with Date Format in .csv Date: Thu, 08 Jul 2004 06:42:16 -0500 Vaibhav, Is the date correct in the .csv, when you view it with a **> TEXT EDITOR <** ??? If it is, then MicroShaft excel is doing something to convert it when it reads the .csv file. 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. "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) ----Original Message Follows---- Hi I am having some problem in the date formats.The problem is that in the main query iam converting the date in mm/dd/yy hh:mm:ss AM format like this : TO_CHAR(ooha.ordered_date, 'mm/dd/yy HH:MM:SS AM') &ORDERED_DATE (15,3500) and while creating the csv , iam giving : let $brb_csv_data = $brb_csv_data || ',' || '"' || &ORDERED_DATE || '"' as a result, in the html result file .. iam getting the date in the correct format eg : 2/12/02 01:20:03 AM but in the csv that is generated .. it is automatically converting the time into 24 hour format : 3/19/2003 13:03 What I want is that the date in csv format should also come the same as in the html format. Can someone suggest some alternative..... Thanks & Regards _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Jul 08 09:14:38 2004 Date: Thu, 8 Jul 2004 07:13:33 -0700 (PDT) From: Dattatraya Shetty Subject: RE: [sqr-users] Problem with Date Format in .csv Vaibhav, Did you Check the CSV in other Editors Like Notepad or some thing? or in unix? Check and see if the Format is being messed up by EXCEL Cell formating, if so then Mike's Suggestion is good create a Text value to retain the Date format. HTH Datta. --- "Pink, Michael" wrote: > If you add the date with a single quote ' on both sides it should > treat > the field as text and not format it. > > -----Original Message----- > From: sqr-users-bounces+michael.pink=pgnmail.com@sqrug.org > [mailto:sqr-users-bounces+michael.pink=pgnmail.com@sqrug.org] On > Behalf > Of Darshil Mehta > Sent: Thursday, July 08, 2004 6:18 AM > To: This list is for discussion about the SQR database reporting > languagefrom Hyperion Solutions. > Cc: sqr-users@sqrug.org; > sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org > Subject: Re: [sqr-users] Problem with Date Format in .csv > > > Vaibhav, > > I guess it has nothing to do with your code. This is excel limitation > that > excel changes the date format according to excel's own setting. > > Cheers > > Darshil > > > > > > vaibhav_jindal@non.agilent.com > Sent by: sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org > 08/07/2004 03:33 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] Problem with Date Format in .csv > > > Hi > > > I am having some problem in the date formats.The problem is that in > the > main query iam converting the date in mm/dd/yy hh:mm:ss AM format > like > this : > TO_CHAR(ooha.ordered_date, 'mm/dd/yy HH:MM:SS AM') &ORDERED_DATE > (15,3500) > > and while creating the csv , iam giving : > let $brb_csv_data = $brb_csv_data || ',' || '"' || &ORDERED_DATE || > '"' > > as a result, in the html result file .. iam getting the date in the > correct format eg : 2/12/02 01:20:03 AM > but in the csv that is generated .. it is automatically converting > the > time into 24 hour format : > 3/19/2003 13:03 > > > What I want is that the date in csv format should also come the same > as > in > the html format. > Can someone suggest some alternative..... > > > Thanks & Regards > > Vaibhav Gupta > Business Intelligence and Enterprise Reporting > TCS @ Agilent Technologies > > > > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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 > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Jul 08 09:58:03 2004 Date: Thu, 8 Jul 2004 07:57:01 -0700 (PDT) From: Amit Mundra Subject: Re: [sqr-users] Problem with Date Format in .csv Vaibhav, As Darshil mentioned, this is an Excel problem. If you open the csv file in notepad.exe, it should look exactly the same as it does in html. Excel just changes the formatting to what you are seeing now. In fact, if you click on any date cell and look in the formula bar, it will show up as you wanted. In order to change the view in Excel, select the date column, select formatting from right click menu and change the formatting to how you want it. Hope that helps. -Amit Darshil Mehta wrote: > Vaibhav, > > I guess it has nothing to do with your code. This is excel limitation that > excel changes the date format according to excel's own setting. > > Cheers > > Darshil > > > > > > vaibhav_jindal@non.agilent.com > Sent by: sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org > 08/07/2004 03:33 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] Problem with Date Format in .csv > > > Hi > > > I am having some problem in the date formats.The problem is that in the > main query iam converting the date in mm/dd/yy hh:mm:ss AM format like > this : > TO_CHAR(ooha.ordered_date, 'mm/dd/yy HH:MM:SS AM') &ORDERED_DATE (15,3500) > > and while creating the csv , iam giving : > let $brb_csv_data = $brb_csv_data || ',' || '"' || &ORDERED_DATE || '"' > > as a result, in the html result file .. iam getting the date in the > correct format eg : 2/12/02 01:20:03 AM > but in the csv that is generated .. it is automatically converting the > time into 24 hour format : > 3/19/2003 13:03 > > > What I want is that the date in csv format should also come the same as in > the html format. > Can someone suggest some alternative..... > > > Thanks & Regards > > Vaibhav Gupta > Business Intelligence and Enterprise Reporting > TCS @ Agilent Technologies > > > > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Jul 08 17:00:36 2004 From: "Bencke, Gina" Date: Thu, 8 Jul 2004 17:57:57 -0400 Subject: [sqr-users] Using the LET functions Isnull or Nvl with CHAR or VARCHAR database columns Lets assume that I have a need to distinguish between a NULL column value and a column containing an empty string. Has anyone had success using ISNULL or NVL LET functions with CHAR or VARCHAR database column variables. Are these functions truly designed to distinguish between an undefined column variable, a column variable with a NULL value, or an empty string? It seems that SQR treats all three of these identically. It appears as if isnull(&col) always returns 0 whether &col contains a value or not : the database column is not defined (i.e. the select did not return a row) -- 1 is what I would expect or the database column is NULL (i.e. select col from table where col IS NULL) -- 1 is what I would expect or the database column is an empty string (i.e. select '' ) -- 0 is what I would expect or the database column has a value (i.e. select 'a' ) -- 0 is what I would expect=20 It appears the nvl(&col, 'NULL') returns 'NULL' regardless of whether the select fails to return a row, the database column is an empty string, or the database column contains a NULL value: the database column is not defined (i.e. the select did not return a row) -- 'NULL' is what I would expect or the database column is NULL (i.e. select col from table where col IS NULL) -- 'NULL' is what I would expect or the database column is an empty string (i.e. select '' ) -- I would expect &col or '' to be returned Granted, my examples are simplistic, but the behavior holds true even when the samples are not so. I am running in the following environment: SQL SERVER 8.00.194 (ODBC Sql Server 2000.85.1025.00) SQR for PeopleSoft 8.44.07 Gina Bencke Bencke Consulting Corporation Office (440) 519-0060 email: gina.work@bencke.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Jul 08 17:25:56 2004 From: "the dragon" Subject: RE: [sqr-users] Using the LET functions Isnull or Nvl with CHAR orVARCHAR database columns Date: Thu, 08 Jul 2004 17:23:14 -0500 Gina, I am not certain whether I understand what it is you're trying to do or not, but you can always use if isnull(&column) show 'this value is null' else if isblank(&column) show 'this value is blank' else show 'this column contains value : ' &column end-if end-if hope this helps. 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. "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) ----Original Message Follows---- Lets assume that I have a need to distinguish between a NULL column value and a column containing an empty string. Has anyone had success using ISNULL or NVL LET functions with CHAR or VARCHAR database column variables. Are these functions truly designed to distinguish between an undefined column variable, a column variable with a NULL value, or an empty string? It seems that SQR treats all three of these identically. It appears as if isnull(&col) always returns 0 whether &col contains a value or not : the database column is not defined (i.e. the select did not return a row) -- 1 is what I would expect or the database column is NULL (i.e. select col from table where col IS NULL) -- 1 is what I would expect or the database column is an empty string (i.e. select '' ) -- 0 is what I would expect or the database column has a value (i.e. select 'a' ) -- 0 is what I would expect It appears the nvl(&col, 'NULL') returns 'NULL' regardless of whether the select fails to return a row, the database column is an empty string, or the database column contains a NULL value: the database column is not defined (i.e. the select did not return a row) -- 'NULL' is what I would expect or the database column is NULL (i.e. select col from table where col IS NULL) -- 'NULL' is what I would expect or the database column is an empty string (i.e. select '' ) -- I would expect &col or '' to be returned Granted, my examples are simplistic, but the behavior holds true even when the samples are not so. I am running in the following environment: SQL SERVER 8.00.194 (ODBC Sql Server 2000.85.1025.00) SQR for PeopleSoft 8.44.07 Gina Bencke Bencke Consulting Corporation Office (440) 519-0060 email: gina.work@bencke.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 09 09:56:40 2004 From: "Bencke, Gina" Date: Fri, 9 Jul 2004 10:55:21 -0400 Subject: RE: [sqr-users] Using the LET functions Isnull or Nvl with CHAR orVARCHAR database columns The problem I was running into was not only the ISNULL function, but in the use of EDIT(ISNULL(&ENTITY), '09). Once I made the following changes my results were more acceptable. However I still determined that SQR can not truly distinguish between a column containing an empty string and one containing a NULL value. Obviously I can get around this using the database function ISNULL instead of SQR's function so I shall not dwell on this.=20=20 However, can anyone explain why the below sections of code produce different output??? Originally my code which I thought was printing the appropriate ISNULL results was as follows: let $line3 =3D 'isnull(&ENTITY) expected: 01 actual: <' || edit(isnull(&ENTITY), '09') || '>' print $line3 (+1,1) Result "isnull(&ENTITY) expected: 01 actual: <00>" After receiving 'the dragons' email I suspect the edit function was not working as expected and changed it to: let #null =3D isnull(&ENTITY) let $line3 =3D 'isnull(&ENTITY) expected: 01 actual: <' || edit(#null, '09') || '>' print $line3 (+1,1) Result "isnull(&ENTITY) expected: 01 actual: <01>" Btw - We are using some tables that are not created in PeopleSoft and thus may contain NULL values. Gina Bencke Bencke Consulting Corporation Office (440) 519-0060 email: gina.work@bencke.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Jul 08 17:32:46 2004 From: "Alexander, Steve" Subject: RE: [sqr-users] Using the LET functions Isnull or Nvl with CHAR orV ARCH AR database columns Date: Thu, 8 Jul 2004 15:29:15 -0700 I can't answer all your questions, but there is one aspect of the Peoplesoft environment you should consider. When Peoplesoft creates a table (at least in Oracle), it sets the "null not allowed" flag. Character fields cannot be null; the "least" they can be is a space. Numeric fields cannot be null; the "least" they can be is 0. -----Original Message----- From: Bencke, Gina [mailto:GinaBencke@forestcity.net] Sent: Thursday, July 08, 2004 2:58 PM To: This list is for discussion about the SQR database reportinglanguage fr omHyperion Solutions. Subject: [sqr-users] Using the LET functions Isnull or Nvl with CHAR orVARCH AR database columns Lets assume that I have a need to distinguish between a NULL column value and a column containing an empty string. Has anyone had success using ISNULL or NVL LET functions with CHAR or VARCHAR database column variables. Are these functions truly designed to distinguish between an undefined column variable, a column variable with a NULL value, or an empty string? It seems that SQR treats all three of these identically. It appears as if isnull(&col) always returns 0 whether &col contains a value or not : the database column is not defined (i.e. the select did not return a row) -- 1 is what I would expect or the database column is NULL (i.e. select col from table where col IS NULL) -- 1 is what I would expect or the database column is an empty string (i.e. select '' ) -- 0 is what I would expect or the database column has a value (i.e. select 'a' ) -- 0 is what I would expect It appears the nvl(&col, 'NULL') returns 'NULL' regardless of whether the select fails to return a row, the database column is an empty string, or the database column contains a NULL value: the database column is not defined (i.e. the select did not return a row) -- 'NULL' is what I would expect or the database column is NULL (i.e. select col from table where col IS NULL) -- 'NULL' is what I would expect or the database column is an empty string (i.e. select '' ) -- I would expect &col or '' to be returned Granted, my examples are simplistic, but the behavior holds true even when the samples are not so. I am running in the following environment: SQL SERVER 8.00.194 (ODBC Sql Server 2000.85.1025.00) SQR for PeopleSoft 8.44.07 Gina Bencke Bencke Consulting Corporation Office (440) 519-0060 email: gina.work@bencke.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+sqrusersarch=sqrug.org@sqrug.org Fri Jul 09 04:33:42 2004 Date: Fri, 9 Jul 2004 11:29:47 +0200 (CEST) From: =?iso-8859-1?q?Nabil?= Subject: [sqr-users] Generate PDF from SPF file inside SQR program Hi, I'd like to generate (using "call system using sqrp") PDF from SPF file inside my SQR program. Everything seems ok but when I try to open the PDF file, I got an error message "file damaged". If I launch manually the "sqrp" command after the sqr program, i can read the PDF without problem. Maybe I got to "close" the spf file before using "sqrp' command or anything else . Any idea ? Nabil --------------------------------- Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage ! Créez votre Yahoo! Mail Dialoguez en direct avec vos amis grâce à Yahoo! Messenger ! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 09 06:27:53 2004 Date: Fri, 09 Jul 2004 06:24:33 -0500 From: Eric Dimick Eastman Subject: Re: [sqr-users] Generate PDF from SPF file inside SQR program Nabil, We do this all the time for a variety of reasons. You need to issue the=20 "new-report" command before you do the "call system using sqrp" command.=20 This completes and closes the SPF file. Don't worry about the new report specified in the "new-report" command. It= =20 will not be generated unless you issue "print" statements after the=20 "new-report". Good Luck, Eric Nabil wrote: > Hi, >=20=20 > I'd like to generate (using "call system using sqrp") PDF from SPF file i= nside my SQR program. Everything seems ok but when I try to open the PDF fi= le, I got an error message "file damaged". >=20=20 > If I launch manually the "sqrp" command after the sqr program, i can read= the PDF without problem. >=20=20 > Maybe I got to "close" the spf file before using "sqrp' command or anythi= ng else . >=20=20 > Any idea ? >=20=20 > Nabil >=20=20 >=20 >=20=09=09 > --------------------------------- > Cr=E9ez gratuitement votre Yahoo! Mail avec 100 Mo de stockage ! > Cr=E9ez votre Yahoo! Mail >=20 > Dialoguez en direct avec vos amis gr=E2ce =E0 Yahoo! Messenger ! >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 09 06:32:23 2004 From: "the dragon" Subject: RE: [sqr-users] Generate PDF from SPF file inside SQR program Date: Fri, 09 Jul 2004 06:28:35 -0500 Nabil, Yes, I believe you need to close the spf before you can do anything to it. Try the new-report command before you do the call system. Brio, or whomever they are called this week, has an excellent sqr reference manual you can order on CD, I think, and if you do a search on sqr at www.amazon.com or www.half.com, you can find reference books. 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. "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) ----Original Message Follows---- Hi, I'd like to generate (using "call system using sqrp") PDF from SPF file inside my SQR program. Everything seems ok but when I try to open the PDF file, I got an error message "file damaged". If I launch manually the "sqrp" command after the sqr program, i can read the PDF without problem. Maybe I got to "close" the spf file before using "sqrp' command or anything else . Any idea ? Nabil _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 09 07:05:02 2004 From: Rebecca.Barilleaux@anthem.com Date: Fri, 9 Jul 2004 08:00:15 -0400 Subject: [sqr-users] Re: Generate PDF from SPF file inside SQR program Nabil, That's right, you need to close the SPF file before you convert it to PDF. I'm not aware of any command that will just close an SPF file, but when you open a new SPF file the prior SPF file gets closed. Here's a procedure I use that works: begin-procedure create_pdf_file display 'making pdf file' new-report 'junk' let $command =3D 'sqrp ' || $sqr-report || ' -PRINTER:PD' call system using $command #statuscode end-procedure ! create_pdf_file Rebecca >Date: Fri, 9 Jul 2004 11:29:47 +0200 (CEST) >From: Nabil >Subject: [sqr-users] Generate PDF from SPF file inside SQR program >To: Sqr >Message-ID: <20040709092947.92646.qmail@web60708.mail.yahoo.com> >Content-Type: text/plain; charset=3Diso-8859-1 > >Hi, > >I'd like to generate (using "call system using sqrp") PDF from SPF file inside my SQR program. Everything seems ok >but when I try to open the PDF file, I got an error message "file damaged". > >If I launch manually the "sqrp" command after the sqr program, i can read the PDF without problem. > >Maybe I got to "close" the spf file before using "sqrp' command or anything else . > >Any idea ? > >Nabil > > > >--------------------------------- >Cr=E9ez gratuitement votre Yahoo! Mail avec 100 Mo de stockage ! >Cr=E9ez votre Yahoo! Mail > >Dialoguez en direct avec vos amis gr=E2ce =E0 Yahoo! Messenger ! CONFIDENTIALITY NOTICE: This e-mail message, including any attachments,=20 is for the sole use of the intended recipient(s) and may contain confidenti= al and privileged information or otherwise protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 09 07:32:16 2004 Date: Fri, 9 Jul 2004 14:29:13 +0200 (CEST) From: =?iso-8859-1?q?Nabil?= Subject: Re: [sqr-users] Generate PDF from SPF file inside SQR program, Thanks for the advice. It works perfectly with a "new-report" command to close the SPF file. I will be able to leave on holidays tonight in peace. Nabil --------------------------------- Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage ! Créez votre Yahoo! Mail Dialoguez en direct avec vos amis grâce à Yahoo! Messenger ! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 09 08:03:20 2004 Date: Fri, 9 Jul 2004 08:59:23 -0400 From: "White, Denise" Subject: [sqr-users] RE: Using the LET functions Isnull or Nvl with CHAR orVARCH AR database columns Hi Gina, To add to what Steve has said, the only data types that can be null in an O= racle PeopleSoft database are dates (& times) and long character fields. H= owever, you are on SQL Server, and I'm not sure if that allows nulls in cha= racter fields. I am not exactly sure what the definition of 'empty string' is, but in your= third example, you seem to be showing a null value. Perhaps when the mess= age was posted, a space somehow was stripped out, but when I put my cursor = in the string, there is no space between the quotes. That is a null value,= and would be treated as such by the isnull() function. If there was a spa= ce there, then I agree that isnull() should not be true, although isblank()= would. Denise M. White Sr. Software Engineer HR/Payroll Systems Vicor Corporation 978-749-3281 dewhite@vicr.com ------------------------------ Message: 12 Date: Thu, 8 Jul 2004 15:29:15 -0700=20 From: "Alexander, Steve" Subject: RE: [sqr-users] Using the LET functions Isnull or Nvl with CHAR orV ARCH AR database columns=20 I can't answer all your questions, but there is one aspect of the Peoplesoft environment you should consider. When Peoplesoft creates a table (at least in Oracle), it sets the "null not allowed" flag. Character fields cannot be null; the "least" they can be is a space. Numeric fields cannot be null; the "least" they can be is 0. -----Original Message----- From: Bencke, Gina [mailto:GinaBencke@forestcity.net] Sent: Thursday, July 08, 2004 2:58 PM Subject: [sqr-users] Using the LET functions Isnull or Nvl with CHAR orVARCH AR database columns=20 Lets assume that I have a need to distinguish between a NULL column value and a column containing an empty string. Has anyone had success using ISNULL or NVL LET functions with CHAR or VARCHAR database column variables. Are these functions truly designed to distinguish between an undefined column variable, a column variable with a NULL value, or an empty string? It seems that SQR treats all three of these identically. It appears as if isnull(&col) always returns 0 whether &col contains a value or not : the database column is not defined (i.e. the select did not return a row) -- 1 is what I would expect or the database column is NULL (i.e. select col from table where col IS NULL) -- 1 is what I would expect or the database column is an empty string (i.e. select '' ) -- 0 is what I would expect or the database column has a value (i.e. select 'a' ) -- 0 is what I would expect=20 It appears the nvl(&col, 'NULL') returns 'NULL' regardless of whether the select fails to return a row, the database column is an empty string, or the database column contains a NULL value: the database column is not defined (i.e. the select did not return a row) -- 'NULL' is what I would expect or the database column is NULL (i.e. select col from table where col IS NULL) -- 'NULL' is what I would expect or the database column is an empty string (i.e. select '' ) -- I would expect &col or '' to be returned Granted, my examples are simplistic, but the behavior holds true even when the samples are not so. I am running in the following environment: SQL SERVER 8.00.194 (ODBC Sql Server 2000.85.1025.00) SQR for PeopleSoft 8.44.07 Gina Bencke Bencke Consulting Corporation Office (440) 519-0060 email: gina.work@bencke.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 09 08:38:32 2004 Date: Fri, 09 Jul 2004 09:35:22 -0400 From: "Jessie Dickenson" Subject: [sqr-users] Excel Export to a local drive on client's PC - From Citrix environment Hi, One of my requirements is this: The users need an Excel export of the report that is generated as an SPF file. To accomplish this, I have the SQR code that creates the Excel Export successfully - i.e. if I launched the report generation from a client PC. But my users have to go through Citrix to access the Reporting application & then I hit a roadblock. I have 2 specific questions for this group: Is there a way by which I can provide a menu option on the SPF Viewer itself, like "File-Save As Excel Report" or is there any other workaround (any kind of triggers) where I can provide some means by which I can allow the users to select a folder location on their local drives where they can save my Excel export? If this is feasible, then how do I interpret the return values? Saving the excel export to C:\Temp\filname.xls does not work, 'cos this file gets wriiten to the virtual local area of Citrix.If the above is not feasible, then is there any means by which I can pass the right parameters (knowing this would be the key) to force the excel export to a local temp folder on the user's PC, as opposed to the virtual local area within Citrix?I would greatly appreciate your input. Thanks in advance, Jessie _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 09 10:13:27 2004 Date: Fri, 09 Jul 2004 11:12:43 -0400 From: "Larry Roux" Subject: RE: [sqr-users] Using the LET functions Isnull or Nvl with CHARorVARCHAR database columns isnull returns true or false - which SHOULD NEVER be confused with 0 or 1 (= even though most software codes it that way). Why not just do: if isnull(&ENTITY) Let $line3 =3D '00' else Let $line3 =3D '01' end-if or better yet: if &ENTITY =3D '' Let $line3 =3D '00' else Let $line3 =3D '01' end-if we usually check for an empty string or null this way: if RTRIM(&ENTITY,' ') =3D '' ... end-if Larry Roux Syracuse University lroux@syr.edu >>> GinaBencke@forestcity.net 07/09/04 10:55AM >>> The problem I was running into was not only the ISNULL function, but in the use of EDIT(ISNULL(&ENTITY), '09). Once I made the following changes my results were more acceptable. However I still determined that SQR can not truly distinguish between a column containing an empty string and one containing a NULL value. Obviously I can get around this using the database function ISNULL instead of SQR's function so I shall not dwell on this.=20=20 However, can anyone explain why the below sections of code produce different output??? Originally my code which I thought was printing the appropriate ISNULL results was as follows: let $line3 =3D 'isnull(&ENTITY) expected: 01 actual: <' || edit(isnull(&ENTITY), '09') || '>' print $line3 (+1,1) Result "isnull(&ENTITY) expected: 01 actual: <00>" After receiving 'the dragons' email I suspect the edit function was not working as expected and changed it to: let #null =3D isnull(&ENTITY) let $line3 =3D 'isnull(&ENTITY) expected: 01 actual: <' || edit(#null, '09') || '>' print $line3 (+1,1) Result "isnull(&ENTITY) expected: 01 actual: <01>" Btw - We are using some tables that are not created in PeopleSoft and thus may contain NULL values. Gina Bencke Bencke Consulting Corporation Office (440) 519-0060 email: gina.work@bencke.com _______________________________________________ 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+sqrusersarch=sqrug.org@sqrug.org Fri Jul 09 10:32:54 2004 From: "Alexander, Steve" Subject: RE: [sqr-users] Using the LET functions Isnull or Nvl withCHARorVAR CHAR database columns Date: Fri, 9 Jul 2004 08:31:22 -0700 I don't think there is a difference between null and "the empty string," which I always called "the null string." Also, I think the isnull() function does return 1 or 0 - try using it in an arithmetic formula. -----Original Message----- From: Larry Roux [mailto:LRoux@syr.edu] Sent: Friday, July 09, 2004 8:13 AM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Using the LET functions Isnull or Nvl withCHARorVAR CHAR database columns isnull returns true or false - which SHOULD NEVER be confused with 0 or 1 (even though most software codes it that way). Why not just do: if isnull(&ENTITY) Let $line3 = '00' else Let $line3 = '01' end-if or better yet: if &ENTITY = '' Let $line3 = '00' else Let $line3 = '01' end-if we usually check for an empty string or null this way: if RTRIM(&ENTITY,' ') = '' ... end-if Larry Roux Syracuse University lroux@syr.edu >>> GinaBencke@forestcity.net 07/09/04 10:55AM >>> The problem I was running into was not only the ISNULL function, but in the use of EDIT(ISNULL(&ENTITY), '09). Once I made the following changes my results were more acceptable. However I still determined that SQR can not truly distinguish between a column containing an empty string and one containing a NULL value. Obviously I can get around this using the database function ISNULL instead of SQR's function so I shall not dwell on this. However, can anyone explain why the below sections of code produce different output??? Originally my code which I thought was printing the appropriate ISNULL results was as follows: let $line3 = 'isnull(&ENTITY) expected: 01 actual: <' || edit(isnull(&ENTITY), '09') || '>' print $line3 (+1,1) Result "isnull(&ENTITY) expected: 01 actual: <00>" After receiving 'the dragons' email I suspect the edit function was not working as expected and changed it to: let #null = isnull(&ENTITY) let $line3 = 'isnull(&ENTITY) expected: 01 actual: <' || edit(#null, '09') || '>' print $line3 (+1,1) Result "isnull(&ENTITY) expected: 01 actual: <01>" Btw - We are using some tables that are not created in PeopleSoft and thus may contain NULL values. Gina Bencke Bencke Consulting Corporation Office (440) 519-0060 email: gina.work@bencke.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+sqrusersarch=sqrug.org@sqrug.org Fri Jul 09 12:11:23 2004 Subject: RE: [sqr-users] Using the LET functions Isnull or Nvl withCHARorVARCHAR database columns Date: Fri, 9 Jul 2004 12:10:30 -0500 From: "Turner, Ivan" isblank() handles null, blank and white space. Consider its use instead. -----Original Message----- From: sqr-users-bounces+ivan.turner=3Dqwest.com@sqrug.org [mailto:sqr-users-bounces+ivan.turner=3Dqwest.com@sqrug.org] On Behalf Of Alexander, Steve Sent: Friday, July 09, 2004 11:31 AM To: 'This list is for discussion about the SQR database reportinglangu age from Hyperion Solutions.' Subject: RE: [sqr-users] Using the LET functions Isnull or Nvl withCHARorVARCHAR database columns I don't think there is a difference between null and "the empty string," which I always called "the null string." Also, I think the isnull() function does return 1 or 0 - try using it in an arithmetic formula. -----Original Message----- From: Larry Roux [mailto:LRoux@syr.edu] Sent: Friday, July 09, 2004 8:13 AM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Using the LET functions Isnull or Nvl withCHARorVAR CHAR database columns isnull returns true or false - which SHOULD NEVER be confused with 0 or 1 (even though most software codes it that way). Why not just do: if isnull(&ENTITY) Let $line3 =3D '00' else Let $line3 =3D '01' end-if or better yet: if &ENTITY =3D '' Let $line3 =3D '00' else Let $line3 =3D '01' end-if we usually check for an empty string or null this way: if RTRIM(&ENTITY,' ') =3D '' ... end-if Larry Roux Syracuse University lroux@syr.edu >>> GinaBencke@forestcity.net 07/09/04 10:55AM >>> The problem I was running into was not only the ISNULL function, but in the use of EDIT(ISNULL(&ENTITY), '09). Once I made the following changes my results were more acceptable. However I still determined that SQR can not truly distinguish between a column containing an empty string and one containing a NULL value. Obviously I can get around this using the database function ISNULL instead of SQR's function so I shall not dwell on this.=20=20 However, can anyone explain why the below sections of code produce different output??? Originally my code which I thought was printing the appropriate ISNULL results was as follows: let $line3 =3D 'isnull(&ENTITY) expected: 01 actual: <' || edit(isnull(&ENTITY), '09') || '>' print $line3 (+1,1) Result "isnull(&ENTITY) expected: 01 actual: <00>" After receiving 'the dragons' email I suspect the edit function was not working as expected and changed it to: let #null =3D isnull(&ENTITY) let $line3 =3D 'isnull(&ENTITY) expected: 01 actual: <' || edit(#null, '09') || '>' print $line3 (+1,1) Result "isnull(&ENTITY) expected: 01 actual: <01>" Btw - We are using some tables that are not created in PeopleSoft and thus may contain NULL values. Gina Bencke Bencke Consulting Corporation Office (440) 519-0060 email: gina.work@bencke.com _______________________________________________ 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 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 09 13:37:14 2004 From: "the dragon" Subject: RE: [sqr-users] Using the LET functions Isnull or NvlwithCHARorVARCHAR database columns Date: Fri, 09 Jul 2004 13:36:10 -0500 Guys, I think part of the confusion was the use of the term "empty string". Evidently, Gina has informed me, in sql-server they have two different constructs - an empty string and a null. I may be wrong, but I do not think this construct of the empty string exists anywhere but sql-server. In Oracle the empty string '' (two ticks side by side) results in the value of null being inserted into the table. If anyone else has any information about this, feel free to send it. 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. "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) ----Original Message Follows---- isblank() handles null, blank and white space. Consider its use instead. -----Original Message----- I don't think there is a difference between null and "the empty string," which I always called "the null string." Also, I think the isnull() function does return 1 or 0 - try using it in an arithmetic formula. -----Original Message----- isnull returns true or false - which SHOULD NEVER be confused with 0 or 1 (even though most software codes it that way). Why not just do: if isnull(&ENTITY) Let $line3 = '00' else Let $line3 = '01' end-if or better yet: if &ENTITY = '' Let $line3 = '00' else Let $line3 = '01' end-if we usually check for an empty string or null this way: if RTRIM(&ENTITY,' ') = '' ... end-if Larry Roux Syracuse University lroux@syr.edu >>> GinaBencke@forestcity.net 07/09/04 10:55AM >>> The problem I was running into was not only the ISNULL function, but in the use of EDIT(ISNULL(&ENTITY), '09). Once I made the following changes my results were more acceptable. However I still determined that SQR can not truly distinguish between a column containing an empty string and one containing a NULL value. Obviously I can get around this using the database function ISNULL instead of SQR's function so I shall not dwell on this. However, can anyone explain why the below sections of code produce different output??? Originally my code which I thought was printing the appropriate ISNULL results was as follows: let $line3 = 'isnull(&ENTITY) expected: 01 actual: <' || edit(isnull(&ENTITY), '09') || '>' print $line3 (+1,1) Result "isnull(&ENTITY) expected: 01 actual: <00>" After receiving 'the dragons' email I suspect the edit function was not working as expected and changed it to: let #null = isnull(&ENTITY) let $line3 = 'isnull(&ENTITY) expected: 01 actual: <' || edit(#null, '09') || '>' print $line3 (+1,1) Result "isnull(&ENTITY) expected: 01 actual: <01>" Btw - We are using some tables that are not created in PeopleSoft and thus may contain NULL values. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Mon Jul 12 12:24:26 2004 Date: Mon, 12 Jul 2004 10:23:25 -0700 From: "Vicki Nygren" Subject: [sqr-users] Remote connection Does anyone know how to create a connection from within a PowerBuilder appl= ication to a remote SQR server (version 8.1) on SQLServer 2000. The PowerB= uilder application is on the client pc and SQR is on the remote server. We= need to be able to run SQR programs which can also be viewed from the clie= nt's pc.=20=20 We are trying to upgrade from SQR 4.x to SQR 8.1 and also SQLServer 6.5 to = SQLServer 2000 . We were able to connect to 6.5 using the following code i= n PowerBuilder: // Set up the connection to the server-side object sqrconnect =3D create connection=20=20 sqrconnect.driver =3D "winsock" sqrconnect.application =3D "10099"=20=20 sqrconnect.location =3D "xxx.xxx.xx.x"=20=20 ll_rc =3D sqrconnect.ConnectToServer()=20=20 IF ll_rc <> 0 THEN=09 MessageBox("Server-side Connection failed", ll_rc)=20 end if Any information will be appreciated. Thanks. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Mon Jul 12 12:57:43 2004 Date: Mon, 12 Jul 2004 12:57:01 -0500 From: "Turner, Ivan" Subject: [sqr-users] page write attempted while writing current page Has anyone ever seen this one? I have no before or after procedures in the code. (SQR 5400) Second page write attempted while writing current page. Check BEFORE-PAGE, AFTER-PAGE procedures. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Mon Jul 12 13:09:33 2004 Subject: RE: [sqr-users] page write attempted while writing current page Date: Mon, 12 Jul 2004 13:08:30 -0500 From: "Hins, Thomas D. \(HSC\)" R u using some kind of header or footer? Tom Hins Information Technology - Application Solutions University of Oklahoma Health Sciences Center P.O. Box 26901 Oklahoma City, OK 73190 Phone:(405) 271-2262 Ext. 50213 Fax: (405) 271-2352 (The information transmitted is intended only for the person or entity to w= hich it is addressed and may contain confidential and/or privileged materia= l. If you are not the intended recipient of this message you are hereby not= ified that any use, review, retransmission, dissemination, distribution, re= production or any action taken in reliance upon this message is prohibited.= If you received this in error, please contact the sender and delete the ma= terial from any computer. Any views expressed in this message are those of = the individual sender and may not necessarily reflect the views of the comp= any.) -----Original Message----- From: sqr-users-bounces+thomas-hins=3Douhsc.edu@sqrug.org [mailto:sqr-users-bounces+thomas-hins=3Douhsc.edu@sqrug.org]On Behalf Of Turner, Ivan Sent: Monday, July 12, 2004 12:57 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: [sqr-users] page write attempted while writing current page Has anyone ever seen this one? I have no before or after procedures in the code. (SQR 5400) Second page write attempted while writing current page. Check BEFORE-PAGE, AFTER-PAGE procedures. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Mon Jul 12 13:16:19 2004 From: "Bencke, Gina" Date: Mon, 12 Jul 2004 14:15:05 -0400 Subject: RE: [sqr-users] page write attempted while writing current page I have seen this if in the heading or footing section you attempt to write beyond the last physical line on the page. For example. The third print cannot fit on the current page because SQR only save 2 lines for the footer, the compiler does not catch this error because of the use of relative positioning. Begin-footing 2 print 'line 1' (1,1) print 'line 2' (+1,1) print 'line 3' (+1,1) End-footing Or=20 If #line has a value that is greater 3 the line will simply overwrite a line on the body of the page, However is #line has a value greater than the maximum lines on your page you will receive the "page write..." error. Begin-heading 3 print 'line 1' (#line,1) End-heading Hope this helps! Gina Bencke Bencke Consulting Corporation Office (440) 519-0060 email: gina.work@bencke.com -----Original Message----- From: sqr-users-bounces+ginabencke=3Dforestcity.net@sqrug.org [mailto:sqr-users-bounces+ginabencke=3Dforestcity.net@sqrug.org] On Behalf Of Turner, Ivan Sent: Monday, July 12, 2004 1:57 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: [sqr-users] page write attempted while writing current page Has anyone ever seen this one? I have no before or after procedures in the code. (SQR 5400) Second page write attempted while writing current page. Check BEFORE-PAGE, AFTER-PAGE procedures. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Mon Jul 12 14:59:27 2004 Subject: RE: [sqr-users] page write attempted while writing current page Date: Mon, 12 Jul 2004 14:58:46 -0500 From: "Turner, Ivan" Yes. I believe SQR takes care of headers and footers for the user. I'm using the header below. begin-heading 12=20 #include 'arhdg01.sqc' !print parameters on lines 3 and 4 in heading print 'Business Unit:' (3,1,15) print $Bus_Unit (,16,5) print $include_text (+1,1) evaluate $By_Date_Or_Cycle when =3D 'CYC' print 'Billing Cycle:' (,62,14) print $cycle_id (,77,10) print 'Cycle Occurrence:' (,89,17) print $occur_no (,107,10) break when =3D 'DAT' print 'For Accounting Date' (,63,20) print $From_Dt (,83,11) print 'through' (,95,7) print $To_Dt (,103,11) break when =3D 'PDT' print 'For Post Date' (,67,13) print $From_Dt (,81,11) print 'through' (,93,7) print $To_Dt (,101,11) break when =3D 'ENDT' print 'For Entered Date' (,67,13) print $From_Dt (,81,11) print 'through' (,93,7) print $To_Dt (,101,11) break when =3D 'JDT' print 'For Journal End Date' (,71,21) print $Journal_Dt (,93,11) break when =3D 'JID' print 'For Journal Id' (,67,14) print $Journal_id (,82,10) print 'through' (,93,7) print $Journal_id_end (,101,10) break when-other print ' No Proper Selection Specified' (,73,25) break end-evaluate If $Type =3D ' ' print 'Entry Class:' (+1,1,13) print $Adj (,14,3) print $Occ (,18,3) print $Inv (,22,3) print $Pay (,26,3) else print 'Entry type: ' (+1,1) if $entry_selection =3D 'Multiple' print $include_entry_type_text (,,) else print $Type (,,) end-if print 'Reason Code: ' (+1,1) If $Reason =3D ' ' or $entry_selection =3D 'Multiple' print 'ALL' (,,) else print $Reason (,,) end-if end-if if ($By_Date_Or_Cycle =3D 'JDT' or $By_Date_Or_Cycle =3D 'JID')=20 if ($invoice_date_entered <> ' ') print 'Invoiced Amounts in' (,75,19) print $invoice_date_entered (,95,5) end-if end-if print 'Entry' (+2,#1 ) print 'Entry' (,#2) print 'Entry Type Descr' (,#3 ) print 'Reason' (,#4 ) print 'Grp Id' (,#5 ) print 'Oper Id' (,#5b) print 'Date' (,#6 ) print 'Item no.' (,#6a) print 'AR' (,#6b) print 'Cust ID' (,#7 ) print 'Name ' (,#8 ) print 'PreTax Amt' (,#9 ) print 'Tax Amount' (,#10) print 'Entry Amount' (,#11) =20=20=20=20=20=20=20=20 print 'Class' (+1,#1) print 'Type' (,#2) print 'Code' (,#4) print 'ID' (#6b) print '-----' (+1,#1)=20 print '-----' (,#2)=20 print '-' (,#3,22 ) fill print '-' (,#4,6 ) fill print '-' (,#5,10 ) fill print '-' (,#5b,8 ) fill print '-' (,#6,11 ) fill print '-' (,#6a,18) fill print '-' (,#6b,2) fill print '-' (,#7,9 ) fill print '-' (,#8,10 ) fill print '-' (,#9,18 ) fill print '-' (,#10,18) fill print '-' (,#11,18) fill end-heading -----Original Message----- From: sqr-users-bounces+ivan.turner=3Dqwest.com@sqrug.org [mailto:sqr-users-bounces+ivan.turner=3Dqwest.com@sqrug.org] On Behalf Of Hins, Thomas D. (HSC) Sent: Monday, July 12, 2004 2:09 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] page write attempted while writing current page R u using some kind of header or footer? Tom Hins Information Technology - Application Solutions University of Oklahoma Health Sciences Center P.O. Box 26901 Oklahoma City, OK 73190 Phone:(405) 271-2262 Ext. 50213 Fax: (405) 271-2352 (The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the intended recipient of this message you are hereby notified that any use, review, retransmission, dissemination, distribution, reproduction or any action taken in reliance upon this message is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of the company.) -----Original Message----- From: sqr-users-bounces+thomas-hins=3Douhsc.edu@sqrug.org [mailto:sqr-users-bounces+thomas-hins=3Douhsc.edu@sqrug.org]On Behalf Of Turner, Ivan Sent: Monday, July 12, 2004 12:57 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: [sqr-users] page write attempted while writing current page Has anyone ever seen this one? I have no before or after procedures in the code. (SQR 5400) Second page write attempted while writing current page. Check BEFORE-PAGE, AFTER-PAGE procedures. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Mon Jul 12 17:12:00 2004 Subject: RE: [sqr-users] page write attempted while writing current page Date: Mon, 12 Jul 2004 17:11:24 -0500 From: "Turner, Ivan" Thanks Gina. After walking thru the header, I was able to find my error. I'm glad you were able to recognize the error message right away. -----Original Message----- From: sqr-users-bounces+ivan.turner=3Dqwest.com@sqrug.org [mailto:sqr-users-bounces+ivan.turner=3Dqwest.com@sqrug.org] On Behalf Of Bencke, Gina Sent: Monday, July 12, 2004 2:15 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] page write attempted while writing current page I have seen this if in the heading or footing section you attempt to write beyond the last physical line on the page. For example. The third print cannot fit on the current page because SQR only save 2 lines for the footer, the compiler does not catch this error because of the use of relative positioning. Begin-footing 2 print 'line 1' (1,1) print 'line 2' (+1,1) print 'line 3' (+1,1) End-footing Or=20 If #line has a value that is greater 3 the line will simply overwrite a line on the body of the page, However is #line has a value greater than the maximum lines on your page you will receive the "page write..." error. Begin-heading 3 print 'line 1' (#line,1) End-heading Hope this helps! Gina Bencke Bencke Consulting Corporation Office (440) 519-0060 email: gina.work@bencke.com -----Original Message----- From: sqr-users-bounces+ginabencke=3Dforestcity.net@sqrug.org [mailto:sqr-users-bounces+ginabencke=3Dforestcity.net@sqrug.org] On Behalf Of Turner, Ivan Sent: Monday, July 12, 2004 1:57 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: [sqr-users] page write attempted while writing current page Has anyone ever seen this one? I have no before or after procedures in the code. (SQR 5400) Second page write attempted while writing current page. Check BEFORE-PAGE, AFTER-PAGE procedures. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Tue Jul 13 15:27:43 2004 From: Kaz.Narayanan@averydennison.com Date: Tue, 13 Jul 2004 13:20:07 -0700 Subject: [sqr-users] Have a doubt in rounding Hi, I am trying to edit a character filed and convert them as numbers. Even thought I give 2 floating points, I still get 5 floating points. Given below is an example: let $RMR04 = $input_file show 'The Last RMR filed is ' $RMR04 let #RMR04 = to_number($RMR04) let #RMR04 = round(#RMR04 ,2) SHOW 'tHE RMR AFTER ROUNDING ' #RMR04 Even though I have rounded my numeric variable in 2 digits, the show statement returns 5 digits. Please let me know If I am making a mistake. Regards KM 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+sqrusersarch=sqrug.org@sqrug.org Tue Jul 13 15:44:15 2004 From: "Bencke, Gina" Date: Tue, 13 Jul 2004 16:43:08 -0400 Subject: RE: [sqr-users] Have a doubt in rounding I doubt you are actually having trouble rounding, instead it is a issue of edit display edit masks. SQR is using the default numeric edit mask to show the value of #RMR04, which unless you changed it has 5 places after the decimal point. The edit mask does not change the value of #RMR04, it simply controls the manner in which the number is displayed or printed. (I am assuming your output is something like 123.45000) Try using and edit mask on the show statement. SHOW 'tHE RMR AFTER ROUNDING ' #RMR04 edit 999.99 Hope this helps, Gina Bencke Bencke Consulting Corporation Office (440) 519-0060 email: gina.work@bencke.com -----Original Message----- From: sqr-users-bounces+ginabencke=3Dforestcity.net@sqrug.org [mailto:sqr-users-bounces+ginabencke=3Dforestcity.net@sqrug.org] On Behalf Of Kaz.Narayanan@averydennison.com Sent: Tuesday, July 13, 2004 4:20 PM To: sqr-users@sqrug.org Subject: [sqr-users] Have a doubt in rounding Hi, I am trying to edit a character filed and convert them as numbers. Even thought I give 2 floating points, I still get 5 floating points. Given below is an example: let $RMR04 =3D $input_file show 'The Last RMR filed is ' $RMR04 let #RMR04 =3D to_number($RMR04) let #RMR04 =3D round(#RMR04 ,2) SHOW 'tHE RMR AFTER ROUNDING ' #RMR04 Even though I have rounded my numeric variable in 2 digits, the show statement returns 5 digits. Please let me know If I am making a mistake. Regards KM 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+sqrusersarch=sqrug.org@sqrug.org Tue Jul 13 16:01:46 2004 Subject: RE: [sqr-users] Have a doubt in rounding From: Kaz.Narayanan@averydennison.com Date: Tue, 13 Jul 2004 13:54:06 -0700 Thanks Gina. That solved the problem. As you mentioned, the problem was with the display mask and not edit. Thanks again. Regards KM Narayanan "Bencke, Gina" @sqrug.org on 07/13/2004 01:43:08 PM Please respond to "This list is for discussion about the SQR database reporting language from Hyperion Solutions." Sent by: sqr-users-bounces+kaz.narayanan=averydennison.com@sqrug.org To: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." cc: Subject: RE: [sqr-users] Have a doubt in rounding I doubt you are actually having trouble rounding, instead it is a issue of edit display edit masks. SQR is using the default numeric edit mask to show the value of #RMR04, which unless you changed it has 5 places after the decimal point. The edit mask does not change the value of #RMR04, it simply controls the manner in which the number is displayed or printed. (I am assuming your output is something like 123.45000) Try using and edit mask on the show statement. SHOW 'tHE RMR AFTER ROUNDING ' #RMR04 edit 999.99 Hope this helps, Gina Bencke Bencke Consulting Corporation Office (440) 519-0060 email: gina.work@bencke.com -----Original Message----- From: sqr-users-bounces+ginabencke=forestcity.net@sqrug.org [mailto:sqr-users-bounces+ginabencke=forestcity.net@sqrug.org] On Behalf Of Kaz.Narayanan@averydennison.com Sent: Tuesday, July 13, 2004 4:20 PM To: sqr-users@sqrug.org Subject: [sqr-users] Have a doubt in rounding Hi, I am trying to edit a character filed and convert them as numbers. Even thought I give 2 floating points, I still get 5 floating points. Given below is an example: let $RMR04 = $input_file show 'The Last RMR filed is ' $RMR04 let #RMR04 = to_number($RMR04) let #RMR04 = round(#RMR04 ,2) SHOW 'tHE RMR AFTER ROUNDING ' #RMR04 Even though I have rounded my numeric variable in 2 digits, the show statement returns 5 digits. Please let me know If I am making a mistake. Regards KM 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 ----------------------------------------- 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+sqrusersarch=sqrug.org@sqrug.org Wed Jul 14 00:41:56 2004 From: "Shailesh Sugandhi" Date: Wed, 14 Jul 2004 11:10:15 +0530 Subject: [sqr-users] Is INSTR available in SQR? Hi, I have following code. if (($Plant_id = 'DE01') OR ($Plant_id = 'DE02') OR ($Plant_id = 'DE07') OR ($Plant_id = 'DE11') OR ($Plant_id = 'DE12') OR ($Plant_id = 'DE14') OR ($Plant_id = 'DE15') OR ($Plant_id = 'DE16') OR ($Plant_id = 'DE31') OR ($Plant_id = 'DE63') OR ($Plant_id = 'DE64') Or ($Plant_id = 'DE68') OR ($Plant_id = 'DE71')) I want to change this to single line code something like INSTR of Oracle. If $Plant_Id contains DE then process it. Can someone help me regarding this? Thanns in advance. Regards, Shailesh -----Original Message----- From: sqr-users-bounces+shailesh.sugandhi=patni.com@sqrug.org [mailto:sqr-users-bounces+shailesh.sugandhi=patni.com@sqrug.org]On Behalf Of sqr-users-request@sqrug.org Sent: Tuesday, July 13, 2004 4:34 PM To: sqr-users@sqrug.org Subject: sqr-users Digest, Vol 5, Issue 11 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..." _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Wed Jul 14 05:30:10 2004 From: "Steve Cavill" Subject: RE: [sqr-users] Is INSTR available in SQR? Date: Wed, 14 Jul 2004 20:28:27 +1000 yes, the function name is INSTR. 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 Shailesh Sugandhi Sent: Wednesday, 14 July 2004 3:40 PM To: sqr-users@sqrug.org Subject: [sqr-users] Is INSTR available in SQR? Hi, I have following code. if (($Plant_id = 'DE01') OR ($Plant_id = 'DE02') OR ($Plant_id = 'DE07') OR ($Plant_id = 'DE11') OR ($Plant_id = 'DE12') OR ($Plant_id = 'DE14') OR ($Plant_id = 'DE15') OR ($Plant_id = 'DE16') OR ($Plant_id = 'DE31') OR ($Plant_id = 'DE63') OR ($Plant_id = 'DE64') Or ($Plant_id = 'DE68') OR ($Plant_id = 'DE71')) I want to change this to single line code something like INSTR of Oracle. If $Plant_Id contains DE then process it. Can someone help me regarding this? Thanns in advance. Regards, Shailesh -----Original Message----- From: sqr-users-bounces+shailesh.sugandhi=patni.com@sqrug.org [mailto:sqr-users-bounces+shailesh.sugandhi=patni.com@sqrug.org]On Behalf Of sqr-users-request@sqrug.org Sent: Tuesday, July 13, 2004 4:34 PM To: sqr-users@sqrug.org Subject: sqr-users Digest, Vol 5, Issue 11 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..." _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Wed Jul 14 07:50:17 2004 Date: Wed, 14 Jul 2004 05:48:54 -0700 (PDT) From: Dattatraya Shetty Subject: Re: [sqr-users] Is INSTR available in SQR? Hi Shailesh, Here is how the Function looks INSTR Returns the numeric position of sub_value in source_value or zero (0) if not found. The search begins at offset offset_value. This function returns a float value. Syntax: dst_var = instr(source_value, sub_value, offset_value) HTH Datta. --- Shailesh Sugandhi wrote: > Hi, > > I have following code. > > if (($Plant_id = 'DE01') OR ($Plant_id = 'DE02') OR ($Plant_id = > 'DE07') OR > ($Plant_id = 'DE11') OR ($Plant_id = 'DE12') OR ($Plant_id = 'DE14') > OR > ($Plant_id = 'DE15') OR ($Plant_id = 'DE16') OR ($Plant_id = > 'DE31') OR > ($Plant_id = 'DE63') OR ($Plant_id = 'DE64') > Or ($Plant_id = 'DE68') OR ($Plant_id = 'DE71')) > > I want to change this to single line code something like INSTR of > Oracle. If > $Plant_Id contains DE then process it. > > Can someone help me regarding this? > > Thanns in advance. > > Regards, > Shailesh > > > -----Original Message----- > From: sqr-users-bounces+shailesh.sugandhi=patni.com@sqrug.org > [mailto:sqr-users-bounces+shailesh.sugandhi=patni.com@sqrug.org]On > Behalf Of sqr-users-request@sqrug.org > Sent: Tuesday, July 13, 2004 4:34 PM > To: sqr-users@sqrug.org > Subject: sqr-users Digest, Vol 5, Issue 11 > > > 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..." > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Wed Jul 14 11:07:21 2004 From: SandlerA@DFO-MPO.GC.CA Subject: RE: [sqr-users] Is INSTR available in SQR? Date: Wed, 14 Jul 2004 12:04:41 -0400 I believe that the function you are looking for would be the equivalent of the SQL 'IN', not INSTR. As far as I know, there is no equivalent function; however, you could write you own procedure to do this. The procedure would be based on the INSTR function. If you are using Oracle, and retrieving Plant_Id as part of your select, it may be easier to use the DECODE expression in Oracle to create a variable when this condition is met. Aaron Sandler -----Original Message----- From: Shailesh Sugandhi [mailto:shailesh.sugandhi@patni.com] Sent: July 14, 2004 1:40 AM To: sqr-users@sqrug.org Subject: [sqr-users] Is INSTR available in SQR? Hi, I have following code. if (($Plant_id = 'DE01') OR ($Plant_id = 'DE02') OR ($Plant_id = 'DE07') OR ($Plant_id = 'DE11') OR ($Plant_id = 'DE12') OR ($Plant_id = 'DE14') OR ($Plant_id = 'DE15') OR ($Plant_id = 'DE16') OR ($Plant_id = 'DE31') OR ($Plant_id = 'DE63') OR ($Plant_id = 'DE64') Or ($Plant_id = 'DE68') OR ($Plant_id = 'DE71')) I want to change this to single line code something like INSTR of Oracle. If $Plant_Id contains DE then process it. Can someone help me regarding this? Thanns in advance. Regards, Shailesh -----Original Message----- From: sqr-users-bounces+shailesh.sugandhi=patni.com@sqrug.org [mailto:sqr-users-bounces+shailesh.sugandhi=patni.com@sqrug.org]On Behalf Of sqr-users-request@sqrug.org Sent: Tuesday, July 13, 2004 4:34 PM To: sqr-users@sqrug.org Subject: sqr-users Digest, Vol 5, Issue 11 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..." _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Wed Jul 14 12:39:16 2004 From: "Alexander, Steve" Subject: RE: [sqr-users] Is INSTR available in SQR? Date: Wed, 14 Jul 2004 10:35:21 -0700 If the list you gave us is all the IDs that start with DE, you could write: if instr($Plant_id, 'DE', 1) = 1 end-if If you want to exclude 'DE03', for instance, you could write: if instr('DE01 DE02 DE07 ... DE71', $Plant_id, 1) > 0 end-if -----Original Message----- From: SandlerA@DFO-MPO.GC.CA [mailto:SandlerA@DFO-MPO.GC.CA] Sent: Wednesday, July 14, 2004 9:05 AM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Is INSTR available in SQR? I believe that the function you are looking for would be the equivalent of the SQL 'IN', not INSTR. As far as I know, there is no equivalent function; however, you could write you own procedure to do this. The procedure would be based on the INSTR function. If you are using Oracle, and retrieving Plant_Id as part of your select, it may be easier to use the DECODE expression in Oracle to create a variable when this condition is met. Aaron Sandler -----Original Message----- From: Shailesh Sugandhi [mailto:shailesh.sugandhi@patni.com] Sent: July 14, 2004 1:40 AM To: sqr-users@sqrug.org Subject: [sqr-users] Is INSTR available in SQR? Hi, I have following code. if (($Plant_id = 'DE01') OR ($Plant_id = 'DE02') OR ($Plant_id = 'DE07') OR ($Plant_id = 'DE11') OR ($Plant_id = 'DE12') OR ($Plant_id = 'DE14') OR ($Plant_id = 'DE15') OR ($Plant_id = 'DE16') OR ($Plant_id = 'DE31') OR ($Plant_id = 'DE63') OR ($Plant_id = 'DE64') Or ($Plant_id = 'DE68') OR ($Plant_id = 'DE71')) I want to change this to single line code something like INSTR of Oracle. If $Plant_Id contains DE then process it. Can someone help me regarding this? Thanns in advance. Regards, Shailesh -----Original Message----- From: sqr-users-bounces+shailesh.sugandhi=patni.com@sqrug.org [mailto:sqr-users-bounces+shailesh.sugandhi=patni.com@sqrug.org]On Behalf Of sqr-users-request@sqrug.org Sent: Tuesday, July 13, 2004 4:34 PM To: sqr-users@sqrug.org Subject: sqr-users Digest, Vol 5, Issue 11 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..." _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Wed Jul 14 10:08:47 2004 From: "John F. Connell Jr." Date: Wed, 14 Jul 2004 11:10:39 -0400 Subject: [sqr-users] Unknown variable type encountered in run-time file: 2097175 I am trying to recompile and register an older report. I can recompile the report and it works fine however I get the following message when the report is registered and run. (SQR 4735) Unknown variable type encountered in run-time file: 2097175 Any help would be appreciated. Regards, John John F. Connell Jr. JFC & Associates 53 Perch Pond Road Chatham, MA 02633 email - jfc.associates@comcast.net Phone - 1 (508) 945-4191 Fax - 1 (508) 945-1609 Cell - 1 (508) 542-3342 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Wed Jul 14 10:42:24 2004 Subject: RE: [sqr-users] Unknown variable type encountered in run-time file:2097175 Date: Wed, 14 Jul 2004 10:39:38 -0500 From: "Knapp, Richard" John, What version of SQR are you using and what version was the old file run under? (Assuming that it used to run under the older version?) Richard Knapp Database Programmer/Analyst Institutional Research and Planning University of Missouri System 573-882-8856 knappr@umsystem.edu =20 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of John F. Connell Jr. Sent: Wednesday, July 14, 2004 10:11 AM To: sqr-users@sqrug.org Subject: [sqr-users] Unknown variable type encountered in run-time file:2097175 I am trying to recompile and register an older report. I can recompile the report and it works fine however I get the following message when the report is registered and run. =20 (SQR 4735) Unknown variable type encountered in run-time file: 2097175 =20 Any help would be appreciated. =20 Regards, =20 John =20 John F. Connell Jr. JFC & Associates 53 Perch Pond Road Chatham, MA 02633 email - jfc.associates@comcast.net =20 Phone - 1 (508) 945-4191 Fax - 1 (508) 945-1609 Cell - 1 (508) 542-3342 =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+sqrusersarch=sqrug.org@sqrug.org Wed Jul 14 10:58:22 2004 Subject: RE: [sqr-users] Unknown variable type encountered in run-time file:2097175 Date: Wed, 14 Jul 2004 11:57:48 -0400 From: "Wes Williams" Maybe you are compiling with one version of SQR and when you register it that application is using a different release SQR\SQRWT.EXE. Make sure both are using the same version. Wes Williams Manager Facilities Mgt. Systems Princeton University 609-258-7027 =20 -----Original Message----- From: sqr-users-bounces+wes=3Dprinceton.edu@sqrug.org [mailto:sqr-users-bounces+wes=3Dprinceton.edu@sqrug.org] On Behalf Of John F. Connell Jr. Sent: Wednesday, July 14, 2004 11:11 AM To: sqr-users@sqrug.org Subject: [sqr-users] Unknown variable type encountered in run-time file:2097175 I am trying to recompile and register an older report. I can recompile the report and it works fine however I get the following message when the report is registered and run. =20 (SQR 4735) Unknown variable type encountered in run-time file: 2097175 =20 Any help would be appreciated. =20 Regards, =20 John =20 John F. Connell Jr. JFC & Associates 53 Perch Pond Road Chatham, MA 02633 email - jfc.associates@comcast.net =20 Phone - 1 (508) 945-4191 Fax - 1 (508) 945-1609 Cell - 1 (508) 542-3342 =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+sqrusersarch=sqrug.org@sqrug.org Wed Jul 14 12:53:12 2004 From: "John F. Connell Jr." Date: Wed, 14 Jul 2004 13:53:41 -0400 Subject: [sqr-users] Unknown variable type encountered in run-time file: 2097175 I have resolved this issue by uninstalling all versions of SQR from my client and reinstalling the appropriate version. I thank all of you whom pointed me in that direction. Regards, John John F. Connell Jr. JFC & Associates 53 Perch Pond Road Chatham, MA 02633 email - jfc.associates@comcast.net Phone - 1 (508) 945-4191 Fax - 1 (508) 945-1609 Cell - 1 (508) 542-3342 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Jul 15 22:09:03 2004 Date: Thu, 15 Jul 2004 22:07:03 -0500 From: "Paul Gengler" Subject: [sqr-users] Bar Code Label Printing on Zebra Printers I have developed an SQR to print bar code labels on a Zebra printer. Using= Windows to file print, and selecting the Zebra printer, the labels print= just fine. I'm assuming Windows is calling the printer driver associated = with the target print device, and creating a print job in the printer langu= age (ZPL) of the Zebra printer. However, now I am attempting to execute t= he SQR report via a batch file from a wireless handheld, and directing the= output file directly to the Zebra printer. The labels are no longer print= ing correctly. I'm guessing what I need to do is to emulate what happens w= hen I print the labels via Windows. I am at a total loss on how to do that= ?????=20 Paul Gengler General Mills Staff Consultant Supply Chain IS - 16D2 (763) 293-3180 paul.gengler @ genmills.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 16 09:29:27 2004 Subject: RE: [sqr-users] Bar Code Label Printing on Zebra Printers Date: Fri, 16 Jul 2004 09:26:44 -0500 From: "Knapp, Richard" Hi Paul, Does your windows job use call system to send the print job off or does the SQR finish and then you "manually" send the windows print job off? If the Zebra printer is always used either from windows or the handheld, a simple way to print would be to close the output file while the SQR is still running (new-report for print or close # for write) then issue a call to windows to do the printing. This should work in batch or from your desktop. Richard Knapp Database Programmer/Analyst Institutional Research and Planning University of Missouri System 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 Paul Gengler Sent: Thursday, July 15, 2004 10:07 PM To: sqr-users@sqrug.org Subject: [sqr-users] Bar Code Label Printing on Zebra Printers I have developed an SQR to print bar code labels on a Zebra printer. Using Windows to file print, and selecting the Zebra printer, the labels print just fine. I'm assuming Windows is calling the printer driver associated with the target print device, and creating a print job in the printer language (ZPL) of the Zebra printer. However, now I am attempting to execute the SQR report via a batch file from a wireless handheld, and directing the output file directly to the Zebra printer. The labels are no longer printing correctly. I'm guessing what I need to do is to emulate what happens when I print the labels via Windows. I am at a total loss on how to do that ?????=20 Paul Gengler General Mills Staff Consultant Supply Chain IS - 16D2 (763) 293-3180 paul.gengler @ genmills.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+sqrusersarch=sqrug.org@sqrug.org Fri Jul 16 09:43:37 2004 Subject: RE: [sqr-users] Bar Code Label Printing on Zebra Printers Date: Fri, 16 Jul 2004 09:43:25 -0500 From: "Paul Gengler" Thanks for your response. I'm use the call system to send the print. I've= tried "PRINT", "TYPE", and "COPY". The one thing I did not do is to close= the output file using NEWPAGE. Just as an FYI, let me describe the exact = problem I am having. The only problem I seem to be having is that the Zebr= a printer is not clearing memory in between each barcode printed. So, the= first barcode prints just fine. The second barcode prints the first barco= de again, and then prints the second barcode on top of the first. The thi= rd barcode prints the first two barcodes, and then prints the third barcod= e on top of them. And so on . . . . Do you think closing the output file= would correct this, and which system call would you use - "PRINT", "TYPE= " or "COPY" -----Original Message----- From: sqr-users-bounces+paul.gengler=3Dgenmills.com@sqrug.org [mailto:sqr-users-bounces+paul.gengler=3Dgenmills.com@sqrug.org]On Behalf Of Knapp, Richard Sent: Friday, July 16, 2004 9:27 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Bar Code Label Printing on Zebra Printers Hi Paul, Does your windows job use call system to send the print job off or does the SQR finish and then you "manually" send the windows print job off? If the Zebra printer is always used either from windows or the handheld, a simple way to print would be to close the output file while the SQR is still running (new-report for print or close # for write) then issue a call to windows to do the printing. This should work in batch or from your desktop. Richard Knapp Database Programmer/Analyst Institutional Research and Planning University of Missouri System 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 Paul Gengler Sent: Thursday, July 15, 2004 10:07 PM To: sqr-users@sqrug.org Subject: [sqr-users] Bar Code Label Printing on Zebra Printers I have developed an SQR to print bar code labels on a Zebra printer. Using Windows to file print, and selecting the Zebra printer, the labels print just fine. I'm assuming Windows is calling the printer driver associated with the target print device, and creating a print job in the printer language (ZPL) of the Zebra printer. However, now I am attempting to execute the SQR report via a batch file from a wireless handheld, and directing the output file directly to the Zebra printer. The labels are no longer printing correctly. I'm guessing what I need to do is to emulate what happens when I print the labels via Windows. I am at a total loss on how to do that ?????=20 Paul Gengler General Mills Staff Consultant Supply Chain IS - 16D2 (763) 293-3180 paul.gengler @ genmills.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+sqrusersarch=sqrug.org@sqrug.org Fri Jul 16 10:01:11 2004 Subject: RE: [sqr-users] Bar Code Label Printing on Zebra Printers Date: Fri, 16 Jul 2004 10:00:06 -0500 From: "Knapp, Richard" Paul, It looks as though SQR is overprinting each barcode. New-page will add a formfeed which may be just what you need. New-report (with a dummy file handle) will close the current print file. Multiple new-reports will close multiple open print files (progname.lis, progname_01.lis, progname_02.lis, etc.). Richard Knapp Database Programmer/Analyst Institutional Research and Planning University of Missouri System 573-882-8856 knappr@umsystem.edu =20 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Paul Gengler Sent: Friday, July 16, 2004 9:43 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Bar Code Label Printing on Zebra Printers Thanks for your response. I'm use the call system to send the print. I've tried "PRINT", "TYPE", and "COPY". The one thing I did not do is to close the output file using NEWPAGE. Just as an FYI, let me describe the exact problem I am having. The only problem I seem to be having is that the Zebra printer is not clearing memory in between each barcode printed. So, the first barcode prints just fine. The second barcode prints the first barcode again, and then prints the second barcode on top of the first. The third barcode prints the first two barcodes, and then prints the third barcode on top of them. And so on . . . . Do you think closing the output file would correct this, and which system call would you use - "PRINT", "TYPE" or "COPY" -----Original Message----- From: sqr-users-bounces+paul.gengler=3Dgenmills.com@sqrug.org [mailto:sqr-users-bounces+paul.gengler=3Dgenmills.com@sqrug.org]On Behalf Of Knapp, Richard Sent: Friday, July 16, 2004 9:27 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Bar Code Label Printing on Zebra Printers Hi Paul, Does your windows job use call system to send the print job off or does the SQR finish and then you "manually" send the windows print job off? If the Zebra printer is always used either from windows or the handheld, a simple way to print would be to close the output file while the SQR is still running (new-report for print or close # for write) then issue a call to windows to do the printing. This should work in batch or from your desktop. Richard Knapp Database Programmer/Analyst Institutional Research and Planning University of Missouri System 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 Paul Gengler Sent: Thursday, July 15, 2004 10:07 PM To: sqr-users@sqrug.org Subject: [sqr-users] Bar Code Label Printing on Zebra Printers I have developed an SQR to print bar code labels on a Zebra printer. Using Windows to file print, and selecting the Zebra printer, the labels print just fine. I'm assuming Windows is calling the printer driver associated with the target print device, and creating a print job in the printer language (ZPL) of the Zebra printer. However, now I am attempting to execute the SQR report via a batch file from a wireless handheld, and directing the output file directly to the Zebra printer. The labels are no longer printing correctly. I'm guessing what I need to do is to emulate what happens when I print the labels via Windows. I am at a total loss on how to do that ?????=20 Paul Gengler General Mills Staff Consultant Supply Chain IS - 16D2 (763) 293-3180 paul.gengler @ genmills.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 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 16 13:08:38 2004 From: "Orr, Daniel E (Dan) TL26D" Date: Fri, 16 Jul 2004 14:07:46 -0400 Subject: [sqr-users] Using begin-select -DB on the portal All - I've developed a report that uses begin-select with the '-DB' option to run queries against a second database. This works fine when I run on my desktop with PersonalSQR, but when I try to run it on the portal it fails. I think the SQR version on the portal is 6.2 or something like that. I'm pretty sure I have the syntax and the data source name correct. Any ideas? Thanks. Daniel Orr > Cigna Group Insurance Customer Service/Marketing/Reporting Systems Phone: 215 761-1279 (Net 5-1279) Fax: 215-761-5618 Email: daniel.orr@cigna.com CONFIDENTIALITY NOTICE: If you have received this e-mail in error, please immediately notify the sender by e-mail at the address shown. This e-mail transmission may contain confidential information. This information is intended only for the use of the individual(s) or entity to whom it is intended even if addressed incorrectly. Please delete it from your files if you are not the intended recipient. Thank you for your compliance. Copyright (c) 2004 CIGNA ============================================================================== _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Sat Jul 17 14:00:08 2004 Date: Sat, 17 Jul 2004 14:59:01 -0400 From: EricRection@aol.com Subject: [sqr-users] Easy Questions: flags, SQRW.EXE, SQT 1. When I last installed PeopleSoft, I ran SQRW.EXE for the first time and there were no flags. Somone told me some neat trick for populating them, and I've forgotten it. Can somebody please remind me of this cunning stunt (Spoonerism alert!) or tell me what flags I need if I'm doing it manually? 2. What does the W in SQRW.EXE stand for, anyway? 3. And how about the T in SQT? The most plausible candidate I can think of is "transaction" and that isn't very plausible at all. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Sat Jul 17 14:16:53 2004 From: "the dragon" Subject: RE: [sqr-users] Easy Questions: flags, SQRW.EXE, SQT Date: Sat, 17 Jul 2004 14:15:50 -0500 1) I don't have sqr installed here, but to add flags you do the following. open the icon and choose properties. go to tab 2, with a title of Target: Add the flags after the executable - I can give an example on Monday if you can't figure it out or get other replies. 2) who knows 3) who cares :-p 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. "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) ----Original Message Follows---- 1. When I last installed PeopleSoft, I ran SQRW.EXE for the first time and there were no flags. Somone told me some neat trick for populating them, and I've forgotten it. Can somebody please remind me of this cunning stunt (Spoonerism alert!) or tell me what flags I need if I'm doing it manually? 2. What does the W in SQRW.EXE stand for, anyway? 3. And how about the T in SQT? The most plausible candidate I can think of is "transaction" and that isn't very plausible at all. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Sat Jul 17 19:37:44 2004 From: "Steve Cavill" Subject: RE: [sqr-users] Easy Questions: flags, SQRW.EXE, SQT Date: Sun, 18 Jul 2004 10:36:33 +1000 1 - I'll let Peoplesoft people answer. 2. W is for windows. SQR executable on every other platform is SQR. But on windows they added the W - a bit annoying really, but that's the way it goes. 3. The T is for execuTe, or maybe runTime. Because the command to run it is SQR -RT, or the alias SQRT, so the file extension is SQT instead of SQR. Maybe Peter Burton can remember the exact reason ;-) Now if only I could work out the T in PST (microsoft outlook) :-) Cheers, 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 EricRection@aol.com Sent: Sunday, 18 July 2004 4:59 AM To: sqr-users@sqrug.org Subject: [sqr-users] Easy Questions: flags, SQRW.EXE, SQT 1. When I last installed PeopleSoft, I ran SQRW.EXE for the first time and there were no flags. Somone told me some neat trick for populating them, and I've forgotten it. Can somebody please remind me of this cunning stunt (Spoonerism alert!) or tell me what flags I need if I'm doing it manually? 2. What does the W in SQRW.EXE stand for, anyway? 3. And how about the T in SQT? The most plausible candidate I can think of is "transaction" and that isn't very plausible at all. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Sat Jul 17 19:58:25 2004 Date: Sat, 17 Jul 2004 17:56:04 -0700 (PDT) From: Amit Mundra Subject: Re: [sqr-users] Easy Questions: flags, SQRW.EXE, SQT Eric Since no one else answered the first question, here something that I use. C:\HRMS75SU\sqrbinw\sqrw.exe ? hrdmo/sysadm/sysadm -ZIFc:\hrms75su\sqr\pssqr.ini -ic:\hrms75su\sqr\ -mc:\HRMS75SU\sqr\allmaxes.max -ziv Database is hrdmo for a demo database, sysadm is userid, sysadm is password. You can figure out the remaining flags. Also, when you start sqrw, there is a help button. Pressing on that will give you a list of all flags. Read through it and use the one's you want. Hope that helps. -Amit EricRection@aol.com wrote: > 1. When I last installed PeopleSoft, I ran SQRW.EXE for the first time and there were no flags. Somone told me some neat trick for populating them, and I've forgotten it. Can somebody please remind me of this cunning stunt (Spoonerism alert!) or tell me what flags I need if I'm doing it manually? > 2. What does the W in SQRW.EXE stand for, anyway? > 3. And how about the T in SQT? The most plausible candidate I can think of is "transaction" and that isn't very plausible at all. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > __________________________________ Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! http://advision.webevents.yahoo.com/yahoo/votelifeengine/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Sat Jul 17 20:49:40 2004 From: Peter Burton Date: Sat, 17 Jul 2004 18:33:20 -0700 Subject: RE: [sqr-users] Easy Questions: flags, SQRW.EXE, SQT All, 2) Originally there were two executables under the Windows environment ... sqr - a command line based interface similar to that found under Unix, DOS, VMS, etc. and sqrw - a GUI based interface. When the command line interface was dropped from the Windows distribution the thought was not to mess with customer scripts. What does it matter what the name of the executable it away? Look at Microsoft Word ... why is it called WINWORD.EXE rather than just WORD.EXE? 3) The T is for "SQR Execute" or "SQR Runtime" depending on the company. Originally SQR could be packaged as a complete package or just the runtime component which allowed people to run reports (.SQT) but able to create them from the source (.SQR). Great for turnkey systems and configuration control. SQRWT.EXE is not an alias for "SQRW -RT" but rather a complete executable in itself. It accepts a subset of the command line flags that SQRW.EXE accepts. 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 Steve Cavill > Sent: Saturday, July 17, 2004 8:37 PM > To: This list is for discussion about the SQR database > reportinglanguage > from Hyperion Solutions. > Subject: RE: [sqr-users] Easy Questions: flags, SQRW.EXE, SQT > > > 1 - I'll let Peoplesoft people answer. > > 2. W is for windows. SQR executable on every other platform > is SQR. But > on windows they added the W - a bit annoying really, but > that's the way it > goes. > > 3. The T is for execuTe, or maybe runTime. Because the > command to run it is > SQR -RT, or the alias SQRT, so the file extension is SQT > instead of SQR. > Maybe Peter Burton can remember the exact reason ;-) > > Now if only I could work out the T in PST (microsoft outlook) :-) > > Cheers, 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 EricRection@aol.com > Sent: Sunday, 18 July 2004 4:59 AM > To: sqr-users@sqrug.org > Subject: [sqr-users] Easy Questions: flags, SQRW.EXE, SQT > > > 1. When I last installed PeopleSoft, I ran SQRW.EXE for the > first time and > there were no flags. Somone told me some neat trick for > populating them, and > I've forgotten it. Can somebody please remind me of this cunning stunt > (Spoonerism alert!) or tell me what flags I need if I'm doing > it manually? > 2. What does the W in SQRW.EXE stand for, anyway? > 3. And how about the T in SQT? The most plausible candidate I > can think of > is "transaction" and that isn't very plausible at all. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > _______________________________________________ > 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 From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Sat Jul 17 22:13:01 2004 Date: Sun, 18 Jul 2004 08:40:26 +0530 From: Subject: [sqr-users] Output into an Excel Sheet Q) Is there a possibility of getting the output of an SQR program into an EXCEL SHEET. If so ? please let me know. Q) Can we integrate SQR program to peoplesoft? I mean I will pass some values into the SQR program from peoplesoft I need the output based upon the values. For Eg:- I will pass the deptid from the peoplesoft screen. I need to get the output based upon the DEPTID I have passed. Kindly help me out in this. Thanks in advance Best Regards, Ravi Varma. Confidentiality Notice=0D The information contained in this electronic message and any attachments to= this message are intended for the exclusive use of the addressee(s) and may contain confidential or p= rivileged information. If you are not the intended recipient, please notify the sender at Wipro or Ma= iladmin@wipro.com immediately and destroy all copies of this message and any attachments. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Sun Jul 18 05:40:37 2004 From: "the dragon" Subject: RE: [sqr-users] Output into an Excel Sheet Date: Sun, 18 Jul 2004 05:39:09 -0500 A) Yes 2) Use a run control page. 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. "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) ----Original Message Follows---- Q) Is there a possibility of getting the output of an SQR program into an EXCEL SHEET. If so ? please let me know. Q) Can we integrate SQR program to peoplesoft? I mean I will pass some values into the SQR program from peoplesoft I need the output based upon the values. For Eg:- I will pass the deptid from the peoplesoft screen. I need to get the output based upon the DEPTID I have passed. Kindly help me out in this. Thanks in advance Best Regards, Ravi Varma. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Sun Jul 18 07:11:24 2004 Date: Sun, 18 Jul 2004 08:07:27 -0400 From: EricRection@aol.com Subject: RE: [sqr-users] Output into an Excel Sheet This one has cropped up loadsa times. To create SQR output that is formatted for Excel, you can either do an sqr that produces symbolic link data, or have a macro that automatically executes when the file is opened. I prefer the macro approach because symbolic link is a pain in the arse. In both cases I see you using CALL-SYSTEM to get the SQR to open Excel and load a file. This stuff is all in the archive. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Mon Jul 19 23:48:21 2004 Date: Mon, 19 Jul 2004 21:47:18 -0700 (PDT) From: Srinivas Amaragani Subject: RE: [sqr-users] Output into an Excel Sheet Hi Eric, Please can you explain clearly....long back i posted same question never get back reply. As you said how can we use with call-system. Thanks, EricRection@aol.com wrote: This one has cropped up loadsa times. To create SQR output that is formatted for Excel, you can either do an sqr that produces symbolic link data, or have a macro that automatically executes when the file is opened. I prefer the macro approach because symbolic link is a pain in the arse. In both cases I see you using CALL-SYSTEM to get the SQR to open Excel and load a file. This stuff is all in the archive. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Sun Jul 18 07:15:45 2004 Date: Sun, 18 Jul 2004 08:14:27 -0400 From: EricRection@aol.com Subject: [sqr-users] -rp Flag I'd like to use the -rp flag so an SQR has a file name that is different from the process name in PeopleSoft. I think the syntax is -rp %%%% but I have no access to PeopleSoft at the weekend and all my ex-employers have changed their password on Customer Connection. Bastards. I certainly remember there was some weird shit involving %% on either side of the filename. Who'd like to settle the matter? And thanks to all for the answers about flags, SQTs and SQRW.EXE. I love you carnally. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Sun Jul 18 13:28:47 2004 From: "Ed Kelly" Date: Sun, 18 Jul 2004 18:27:42 +0000 Subject: [sqr-users] Easy Questions: flags, SQRW.EXE, SQT Eric, If you want to use the flags that PeopleSoft (Process Scheduler) supplies, run an SQR via the PeopleSoft environment. If you are on version 8.x find the output file label "Message Log". This is the output from an intermediate program, PSSQR.EXE, but it will include the SQR command line that is generated. There are probably more parameters here than you need, but you can use this as your initial template. In general, for PeopleSoft Application that you run from your desktop you will need -i, -o, -f, and -zif and optionally you might want to use -cb and -ziv. I hope this helps. Ed Kelly ================================================== From: Reply To: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." To: sqr-users@sqrug.org Subject: [sqr-users] Easy Questions: flags, SQRW.EXE, SQT Sent: Saturday, July 17, 2004 6:59 PM 1. When I last installed PeopleSoft, I ran SQRW.EXE for the first time and there were no flags. Somone told me some neat trick for populating them, and I've forgotten it. Can somebody please remind me of this cunning stunt (Spoonerism alert!) or tell me what flags I need if I'm doing it manually? 2. What does the W in SQRW.EXE stand for, anyway? 3. And how about the T in SQT? The most plausible candidate I can think of is "transaction" and that isn't very plausible at all. _________________________________________________________________ Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Mon Jul 19 11:52:41 2004 Date: Mon, 19 Jul 2004 12:51:33 -0400 From: EricRection@aol.com Subject: Re: [sqr-users] Easy Questions: flags, SQRW.EXE, SQT I do believe you cracked it. The problem is very urgent and solving it will help you get to heaven. Many thanks. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Mon Jul 19 08:43:50 2004 From: "Kumar Sosa" Date: Mon, 19 Jul 2004 13:42:46 +0000 Subject: [sqr-users] Does anybody can answer Crystal question? I am developing a crystal report by using query. I have created a runcontrol page with parameters in level 0 and 1. I have to pass these runcontrol parameters to Crystal via query. So I have added 'P :Record(level0).Field :Record(level1).field' in the parameter list tab in the process definition. When running the crystal report it gave the error 'inline bind variable :Record(level1).field not found in the component buffer. It is running okay only with level 0 field. Your help is appreciated. Thanks, Kumar _________________________________________________________________ http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Mon Jul 19 09:15:00 2004 Subject: Re: [sqr-users] Does anybody can answer Crystal question? From: "Darshil Mehta" Date: Mon, 19 Jul 2004 19:45:11 +0530 Kumar, This SQR user forum. Please do not put any other question except SQR. Thanks, Darshil "Kumar Sosa" Sent by: sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org 19/07/2004 07:12 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] Does anybody can answer Crystal question? I am developing a crystal report by using query. I have created a runcontrol page with parameters in level 0 and 1. I have to pass these runcontrol parameters to Crystal via query. So I have added 'P :Record(level0).Field :Record(level1).field' in the parameter list tab in the process definition. When running the crystal report it gave the error 'inline bind variable :Record(level1).field not found in the component buffer. It is running okay only with level 0 field. Your help is appreciated. Thanks, Kumar _________________________________________________________________ http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Mon Jul 19 09:49:31 2004 Date: Mon, 19 Jul 2004 07:47:08 -0700 (PDT) From: Jim McKeever Subject: Re: [sqr-users] Does anybody can answer Crystal question? Kumar, Try posting your question to the PeopleSoft User's Group. Go to Yahoo and search in the Groups. Someone there should be able to help you with your question. Darshil Mehta wrote: Kumar, This SQR user forum. Please do not put any other question except SQR. Thanks, Darshil "Kumar Sosa" Sent by: sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org 19/07/2004 07:12 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] Does anybody can answer Crystal question? I am developing a crystal report by using query. I have created a runcontrol page with parameters in level 0 and 1. I have to pass these runcontrol parameters to Crystal via query. So I have added 'P :Record(level0).Field :Record(level1).field' in the parameter list tab in the process definition. When running the crystal report it gave the error 'inline bind variable :Record(level1).field not found in the component buffer. It is running okay only with level 0 field. Your help is appreciated. Thanks, Kumar _________________________________________________________________ http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ______________________________________________________________________ ______________________________________________________________________ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users Jim McKeever PeopleSoft Applications Administrator, U.S. Nursing Corporation (800) 726-8773 ext. 1973 --------------------------------- Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Mon Jul 19 15:43:42 2004 Date: Mon, 19 Jul 2004 15:37:24 -0500 From: "Pan, Zhen" Subject: [sqr-users] on break help Hi all I am having problem with on break.=20 I was trying to print out some entries and group by operID and Date. Here is the result I have(partial) =20 06/02/04 SCOTE 130160000000 Nr Grad 1 $ 7,435.20 =20 06/02/04 SCOTE 191200000000 Activ Fee 1 $ 7,497.80 =20 total for operator: 2 7,497.80 =20 total for date: 2 7,497.80 =20 for everything else it is correct except the total for operator and total for the date. If within the same date and sme operID there are more than one entries, the first one will be ignored. (Except the very first record, the first entry will be counted) The following is the code and I aslo prined each time when 'subtotal' is called. I found it is not called by when the item changes. Is that a bug or anything I did was wrong? Thanks! =20 begin-procedure SelectData LET #SUBTOTAL=3D0 LET #COUNTER=3D0 LET $OLDpID=3D'' let $oldnm=3D'' let $olddes=3D'' let $olddt=3D'' let #first=3D1=20 BEGIN-SELECT=20=20=20=20 =20 BURSAR_ITM_TYP_NM () on-break print=3Dnever level=3D3 after=3Dsubtotal BURSAR_ITM_TYP_SHRT_DESC=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 TO_CHAR(SF_ITM_POST_DT, 'MM/DD/YY') &SF_ITM_POST_DT () on-break print=3Dnever level=3D1 after=3DDatetotal sum(BURSAR_ITM_LN_AMT) &BURSAR_ITM_LN_AMT PSE_OPR_ID () on-break print=3Dnever level=3D2 after=3DIDtotal =20 =20=20=20=20 LET #BURSAR_ITM_LN_AMT=3D&BURSAR_ITM_LN_AMT =20 if ($oldnm<>&BURSAR_ITM_TYP_NM or $oldpid<>&PSE_OPR_ID or $olddt<>&SF_ITM_POST_DT ) let $oldnm =3D&BURSAR_ITM_TYP_NM let $oldpid =3D&PSE_OPR_ID let $olddes =3D&BURSAR_ITM_TYP_SHRT_DESC let $olddt =3D&SF_ITM_POST_DT=20 let #subtotal=3D&BURSAR_ITM_LN_AMT+#subtotal if #first=3D1 let #counter=3D#counter+1 !paly tricks with the counters of the very first record end-if Do ReportLine if #first=3D1 let #counter=3D#counter - 1 end-if !paly tricks with the counters of the very first record =20=20=20=20=20=20=20=20=20=20=20 let #first=3D0 else=20 if ($oldnm=3D&BURSAR_ITM_TYP_NM and $oldpid=3D&PSE_OPR_ID and $olddt<>&SF_ITM_POST_DT) let #counter=3D#counter+1 let #subtotal=3D&BURSAR_ITM_LN_AMT+#subtotal =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 end-if end-if=20=20=20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20 =20=20=20=20=20 FROM DSS_RDS.SF_ALL_ITM_GT=20 [$where] and rownum<1790 group by BURSAR_BSNS_UNIT_CD,BURSAR_ITM_TYP_NM,BURSAR_ITM_TYP_SHRT_DESC, SF_ITM_POST_DT,PSE_OPR_ID order BY SF_ITM_POST_DT, PSE_OPR_ID, BURSAR_ITM_TYP_NM =20=20 ! ! ! ! ! Do Data ! ! ! !WHERE 1=3D0 ![$and] ! END-SELECT =20 =20 =20 end-procedure =20 ----------------------------------------------------- BEGIN-PROCEDURE SUBTOTAL !----------------------------------------------------- let #idcounter=3D#counter+#idcounter let #idsubtotal=3D#subtotal+#idsubtotal show 'subtotal' #subtotal=20=20=20=20=20=20=20=20 show 'idsubtotal' #idsubtotal LET #SUBTOTAL=3D0 LET #COUNTER=3D1=20=20=20=20=20 END-PROCEDURE SUBTOTAL =20 !----------------------------------------------------- BEGIN-PROCEDURE IDTOTAL !----------------------------------------------------- show 'idsubtotal' #idsubtotal print 'total for operator: ' (+1, 25) print #idcounter (,60) edit 999 print #idsubtotal (,75) edit 9,999,999,999.00 let #datecounter=3D#datecounter+#idcounter let #datetotal=3D#datetotal+#idsubtotal let #idcounter=3D0=20=20 let #idsubtotal=3D0=20=20=20 END-PROCEDURE IDTOTAL =20 !----------------------------------------------------- BEGIN-PROCEDURE DATETOTAL !----------------------------------------------------- show 'datesubtotal' #datesubtotal!let #dateconunter=3D#datecounter+#idcounter print 'total for date: ' (+1, 25) print #datecounter (,60) edit 999 print #datetotal (,75) edit 9,999,999,999.00 let #datecounter=3D0=20=20=20=20=20 let #datetotal=3D0 END-PROCEDURE DATETOTAL Zhen Pan University Information Technology Services HRMS/SIS Team=20 work (812)856-4566 =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Tue Jul 20 12:21:45 2004 From: "Bencke, Gina" Date: Tue, 20 Jul 2004 11:27:49 -0400 Subject: RE: [sqr-users] on break help There are some things about on-break which you do not seem to understand.=20=20 First, recognizing that on-break is part of the print command, the statements will be executed in the order that they are positioned physically in your select loop. Programmers often think since they have identified the LEVELS appropriately it should not matter what order the place the statements in the loop. This is not true.=20=20 begin-select ... TO_CHAR(SF_ITM_POST_DT, 'MM/DD/YY') &SF_ITM_POST_DT () on-break print=3Dnever level=3D1 after=3DDatetotal PSE_OPR_ID () on-break print=3Dnever level=3D2 after=3DIDtotal BURSAR_ITM_TYP_NM () on-break print=3Dnever level=3D3 after=3Dsubtotal BURSAR_ITM_TYP_SHRT_DESC=20=20=20=20=20=20=20=20=20=20 sum(BURSAR_ITM_LN_AMT) &BURSAR_ITM_LN_AMT ... end-select Next, make sure your ORDER BY clause lists the level 1 break column first, level 2 second, etc. Note level 1 is the highest level break. In your case I would recommend using positional ordering since your highest level break is a function. ORDER BY 1, PSE_OPR_ID, BURSAR_ITM_TYP_NM=09 I do not think you need to save the old values of your variables, instead use print=3Dchange/top-page to control the printing of the field values. If for some reason you do in fact need the old value of variable, use the save variables to hold the old value of the select field during the execution of your after procedures. SQR will maintain the old value of a select column in a save variable that can then be used in the after procedure. Once the after procedure executes, SQR sets the value of the save variable to the new column value so the $oldpid and &PSE_OPR_ID will have the same value after the AFTER procedure executes. Note the second level 3 break, I am assuming that BURSAR_ITM_TYP_NM and BURSAR_ITM_TYP_SHRT_DESC break simultaneously. begin-select ... TO_CHAR(SF_ITM_POST_DT, 'MM/DD/YY') &SF_ITM_POST_DT (+1,...) on-break print=3Dnever level=3D1 after=3DDatetotal save=3D$olddt PSE_OPR_ID (0,...) on-break print=3Dchange/top-page level=3D2 after=3DIdtotal save=3D$oldpid BURSAR_ITM_TYP_NM (0,...) on-break print=3Dchange/top-page level=3D3 after=3Dsubtotal save=3D$oldnm BURSAR_ITM_TYP_SHRT_DESC (0,...) on-break print=3Dchange/top-page level=3D3 save=3D$olddes=20=20=20=20=20=20=20=20=20 sum(BURSAR_ITM_LN_AMT) &BURSAR_ITM_LN_AMT ... end-select Your if statement is doing the work that should be left for your break statements and SAVE variables. I would recommend using three subtotal variables and three Counter variables. In your select paragraph include lines similar to those given below. Then in your after procedure, print the value of the appropriate variables and then move a 0 to reset them for the next grouping.=20=20 Begin-select ... add &BURSAR_ITM_LN_AMT to #Datesubtotal add &BURSAR_ITM_LN_AMT to #idsubtotal add &BURSAR_ITM_LN_AMT to #NMsubotal add 1 to #DateCounter add 1 to #IDCounter add 1 to #NMCounter ... End-select !----------------------------------------------------- BEGIN-PROCEDURE SUBTOTAL !----------------------------------------------------- print 'Total for Name: ' (+2,...) print #Nmsubotal (0,...) move 0 to #Nmsubotal move 0 to #NmCounter END-PROCEDURE SUBTOTAL After procedures call each other in descending order. For Example lets say your code breaks at the highest level (&SF_ITM_POST_DT), the after procedures will be called in the following order subTotal, IDTotal, DateTotal. Then SQR will clear the lower level breaks so that these procedures are not called again when there print statements are executed. Now your select paragraph ought to look like this: begin-select TO_CHAR(SF_ITM_POST_DT, 'MM/DD/YY') &SF_ITM_POST_DT (+1,...) on-break print=3Dchange/top-page level=3D1 after=3DDatetotal save=3D$olddt PSE_OPR_ID (0,...) on-break print=3Dchange/top-page level=3D2 after=3DIdtotal save=3D$oldpid BURSAR_ITM_TYP_NM (0,...) on-break print=3Dchange/top-page level=3D3 after=3Dsubtotal save=3D$oldnm BURSAR_ITM_TYP_SHRT_DESC (0,...) on-break print=3Dchange/top-page level=3D3 save=3D$olddes=20=20=20=20=20=20=20=20=20 sum(BURSAR_ITM_LN_AMT) &BURSAR_ITM_LN_AMT add &BURSAR_ITM_LN_AMT to #Datesubtotal add &BURSAR_ITM_LN_AMT to #idsubtotal add &BURSAR_ITM_LN_AMT to #NMsubotal add 1 to #DateCounter add 1 to #IDCounter add 1 to #NMCounter end-select While processing the SELECT paragraph, when a break occurs on any column, events occur in the following order: 1. AFTER procedures are processed in descending order from highest LEVEL to the lowest LEVEL of the current ON-BREAK column.=20 2. SAVE variables are set with the new value. 3. BEFORE procedures are processed in ascending from lowest LEVEL to the highest LEVEL of the current ON-BREAK column. 4. Any breaks with the same of higher LEVEL numbers are cleared so they will not break on the next value 5. The current line position is advanced if SKIPLINES is used 6. The value is PRINTed, unless PRINT=3DNEVER To illustrate this, let's look at what happens when &SF_ITM_POST_DT breaks. 1. After procedures are processed (in descending order) subtotal (Level 3)=20 Idtotal (Level 2) Datetotal (Level 1)=20=20 During the processing of the after procedures the save variable, $olddt, has value of the previous column variable. 2. Save variables are given new values The value of &SF_ITM_POST_DT is moved to the save variable $olddt. 3. Before procedures are processed (in ascending order) None are defined 4. Clear higher level breaks The breaks on PSE_OPR_ID, BURSAR_ITM_TYP_NM, and BURSAR_ITM_TYP_SHRT_DESC are cleared.=20=20 This ensures that the before and after procedures, Idtotal and subtotal will not be processed again when the print statement associated with PSE_OPR_ID and BURSAR_ITM_TYP_NM is executed. 5. n/a Skiplines was not used.=20=20 6. Print - or not Since print=3Dchange/top-page is used, the value of &SF_ITM_POST_DT is printed. Hope this Helps! Regards, Gina Bencke FCE Office (216) 416-3492 Home Office (440) 519-0060 email: gina.work@bencke.com -----Original Message----- From: sqr-users-bounces+ginabencke=3Dforestcity.net@sqrug.org [mailto:sqr-users-bounces+ginabencke=3Dforestcity.net@sqrug.org] On Behalf Of Pan, Zhen Sent: Monday, July 19, 2004 4:37 PM To: sqr-users@sqrug.org Subject: [sqr-users] on break help Hi all I am having problem with on break.=20 I was trying to print out some entries and group by operID and Date. Here is the result I have(partial) =20 06/02/04 SCOTE 130160000000 Nr Grad 1 $ 7,435.20 =20 06/02/04 SCOTE 191200000000 Activ Fee 1 $ 7,497.80 =20 total for operator: 2 7,497.80 =20 total for date: 2 7,497.80 =20 for everything else it is correct except the total for operator and total for the date. If within the same date and sme operID there are more than one entries, the first one will be ignored. (Except the very first record, the first entry will be counted) The following is the code and I aslo prined each time when 'subtotal' is called. I found it is not called by when the item changes. Is that a bug or anything I did was wrong? Thanks! =20 begin-procedure SelectData LET #SUBTOTAL=3D0 LET #COUNTER=3D0 LET $OLDpID=3D'' let $oldnm=3D'' let $olddes=3D'' let $olddt=3D'' let #first=3D1=20 BEGIN-SELECT=20=20=20=20 =20 BURSAR_ITM_TYP_NM () on-break print=3Dnever level=3D3 after=3Dsubtotal BURSAR_ITM_TYP_SHRT_DESC=20=20=20=20=20=20=20=20=20=20 TO_CHAR(SF_ITM_POST_DT, 'MM/DD/YY') &SF_ITM_POST_DT () on-break print=3Dnever level=3D1 after=3DDatetotal sum(BURSAR_ITM_LN_AMT) &BURSAR_ITM_LN_AMT PSE_OPR_ID () on-break print=3Dnever level=3D2 after=3DIDtotal =20 =20=20=20=20 LET #BURSAR_ITM_LN_AMT=3D&BURSAR_ITM_LN_AMT =20 if ($oldnm<>&BURSAR_ITM_TYP_NM or $oldpid<>&PSE_OPR_ID or $olddt<>&SF_ITM_POST_DT ) let $oldnm =3D&BURSAR_ITM_TYP_NM let $oldpid =3D&PSE_OPR_ID let $olddes =3D&BURSAR_ITM_TYP_SHRT_DESC let $olddt =3D&SF_ITM_POST_DT=20 let #subtotal=3D&BURSAR_ITM_LN_AMT+#subtotal if #first=3D1 let #counter=3D#counter+1 !paly tricks with the counters of the very first record end-if Do ReportLine if #first=3D1 let #counter=3D#counter - 1 end-if !paly tricks with the counters of the very first record =20=20=20=20=20=20=20=20=20=20=20 let #first=3D0 else=20 if ($oldnm=3D&BURSAR_ITM_TYP_NM and $oldpid=3D&PSE_OPR_ID and $olddt<>&SF_ITM_POST_DT) let #counter=3D#counter+1 let #subtotal=3D&BURSAR_ITM_LN_AMT+#subtotal =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 end-if end-if=20=20=20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20 =20=20=20=20=20 FROM DSS_RDS.SF_ALL_ITM_GT=20 [$where] and rownum<1790 group by BURSAR_BSNS_UNIT_CD,BURSAR_ITM_TYP_NM,BURSAR_ITM_TYP_SHRT_DESC, SF_ITM_POST_DT,PSE_OPR_ID order BY SF_ITM_POST_DT, PSE_OPR_ID, BURSAR_ITM_TYP_NM =20=20 ! ! ! ! ! Do Data ! ! ! !WHERE 1=3D0 ![$and] ! END-SELECT =20 =20 =20 end-procedure =20 ----------------------------------------------------- BEGIN-PROCEDURE SUBTOTAL !----------------------------------------------------- let #idcounter=3D#counter+#idcounter let #idsubtotal=3D#subtotal+#idsubtotal show 'subtotal' #subtotal=20=20=20=20=20=20=20=20 show 'idsubtotal' #idsubtotal LET #SUBTOTAL=3D0 LET #COUNTER=3D1=20=20=20=20=20 END-PROCEDURE SUBTOTAL =20 !----------------------------------------------------- BEGIN-PROCEDURE IDTOTAL !----------------------------------------------------- show 'idsubtotal' #idsubtotal print 'total for operator: ' (+1, 25) print #idcounter (,60) edit 999 print #idsubtotal (,75) edit 9,999,999,999.00 let #datecounter=3D#datecounter+#idcounter let #datetotal=3D#datetotal+#idsubtotal let #idcounter=3D0=20=20 let #idsubtotal=3D0=20=20=20 END-PROCEDURE IDTOTAL =20 !----------------------------------------------------- BEGIN-PROCEDURE DATETOTAL !----------------------------------------------------- show 'datesubtotal' #datesubtotal!let #dateconunter=3D#datecounter+#idcounter print 'total for date: ' (+1, 25) print #datecounter (,60) edit 999 print #datetotal (,75) edit 9,999,999,999.00 let #datecounter=3D0=20=20=20=20=20 let #datetotal=3D0 END-PROCEDURE DATETOTAL Zhen Pan University Information Technology Services HRMS/SIS Team=20 work (812)856-4566 =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+sqrusersarch=sqrug.org@sqrug.org Tue Jul 20 14:48:50 2004 Date: Tue, 20 Jul 2004 15:46:13 -0400 From: "Robert K. Foster" Subject: [sqr-users] Re: Bar Code Label Printing on Zebra Printers This is a multi-part message in MIME format... --------------040705000409040209090308 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I am also working on printing to a Zebra label printer. I've only just received the printer so I haven't gotten very far. In my case I am not using the Windows drivers, I will be printing directly to the printer at a network IP address, so I am starting from scratch and using the native code on the printer. By the way, the "^" character does not indicate an ALT value, you simply include the "^" as a character. Below are some of the codes used in ZPLII, the native code/script of the printer. You can download the manual from the Zebra website at http://www.zebra.com/SS/manuals.htm but they require you to register. I suspect that END_FORMAT is what you want but how to add that between records when using the print driver is unknown to me at this point. Perhaps I misunderstand how you are creating the batch file? Bob. Mid-Michigan MRI, Inc. rkf at radiology.msu.edu ! ! encoded characters specific to ZPL II printer language. ! encode '^' into $ZEBRA_DELIM encode '^XA' into $START_FORMAT encode '^XZ' into $END_FORMAT encode '^FO' into $FIELD_ORIGIN encode '^FD' into $FIELD_DATA encode '^FS' into $FIELD_SEPARATOR encode '^AD' into $FONT_D sqr-users-request@sqrug.org wrote: > -----Original Message----- > >From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org >[mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of >Paul Gengler >Sent: Thursday, July 15, 2004 10:07 PM >To: sqr-users@sqrug.org >Subject: [sqr-users] Bar Code Label Printing on Zebra Printers > > >I have developed an SQR to print bar code labels on a Zebra printer. >Using Windows to file print, and selecting the Zebra printer, the >labels print just fine. I'm assuming Windows is calling the printer >driver associated with the target print device, and creating a print job >in the printer language (ZPL) of the Zebra printer. However, now I am >attempting to execute the SQR report via a batch file from a wireless >handheld, and directing the output file directly to the Zebra printer. >The labels are no longer printing correctly. I'm guessing what I need >to do is to emulate what happens when I print the labels via Windows. I >am at a total loss on how to do that ????? > > >Paul Gengler >General Mills >Staff Consultant >Supply Chain IS - 16D2 >(763) 293-3180 >paul.gengler @ genmills.com > >_______________________________________________ > > > --------------040705000409040209090308 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: AUTOMATIC WARNING Here was a non admissible message part of 'text/x-vcard' MIME type. It has been automatically discarded before sending the message to the list. --------------040705000409040209090308 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 --------------040705000409040209090308-- From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Tue Jul 20 17:30:32 2004 From: "Grage, Monica" Date: Tue, 20 Jul 2004 15:29:13 -0700 Subject: [sqr-users] Question About the Brio Report Builder I am very new to the group and using the Brio Report Builder 6.1.3 to create a new report. I am using the GUI version, since I am not a coding expert by any stretch of the imagination. I want to create a report variable to print, where the value of variable is based on the contents of a database field. My example below shows Parent_Part as the defined variable. Parent_Part = EQNUM if PARENT is NULL else PARENT I know I can do something similar in Crystal, but cannot quite figure how where to do this with the Brio Report Builder GUI tool. Can someone in this group possibly help me out? I sure do hope so. Thanks in advance for your help. M _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Wed Jul 21 09:09:06 2004 From: "Paul Hoyte" Subject: RE: [sqr-users] Question About the Brio Report Builder Date: Wed, 21 Jul 2004 10:07:46 -0400 Monica: If you are using the GUI tool, then you have the field already selected against which you want to apply the condition. Place your mouse over the field and right click on the field and it will display a menu. Select object properties, then select exceptions, then click on the add button. Select the field from the list on the left and then build the condition for the field. Or you can use the expression builder and build the statement right into the query (using decode for Oracle, or case for DB2 etc) Paul Hoyte Sharidionne Inc. (248) 752-6970 paul.hoyte@sharidionne.com -----Original Message----- From: sqr-users-bounces+paul.hoyte=sharidionne.com@sqrug.org [mailto:sqr-users-bounces+paul.hoyte=sharidionne.com@sqrug.org] On Behalf Of Grage, Monica Sent: Tuesday, July 20, 2004 6:29 PM To: 'sqr-users@sqrug.org' Subject: [sqr-users] Question About the Brio Report Builder I am very new to the group and using the Brio Report Builder 6.1.3 to create a new report. I am using the GUI version, since I am not a coding expert by any stretch of the imagination. I want to create a report variable to print, where the value of variable is based on the contents of a database field. My example below shows Parent_Part as the defined variable. Parent_Part = EQNUM if PARENT is NULL else PARENT I know I can do something similar in Crystal, but cannot quite figure how where to do this with the Brio Report Builder GUI tool. Can someone in this group possibly help me out? I sure do hope so. Thanks in advance for your help. M _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Thu Jul 22 14:42:10 2004 From: "Grage, Monica" Subject: RE: [sqr-users] Question About the Brio Report Builder Date: Thu, 22 Jul 2004 12:39:02 -0700 Hi Paul. Thanks for getting back to me with this solution. I have been playing around with the Exception Builder, but am having trouble with getting the conditional formatting expression proper. Do you have an example of a "properly working condition" expression that I could use as a guide? Unfortunately the Brio classroom training manual doesn't have any examples, and neither does the on-line help. There are very good written descriptions, but following those I just cannot seem to make the expression builder work properly. If you wouldn't mind, that would be a huge help. Thanks, M -----Original Message----- From: Paul Hoyte [mailto:paul.hoyte@sharidionne.com] Sent: Wednesday, July 21, 2004 7:08 AM To: 'This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions.' Subject: RE: [sqr-users] Question About the Brio Report Builder Monica: If you are using the GUI tool, then you have the field already selected against which you want to apply the condition. Place your mouse over the field and right click on the field and it will display a menu. Select object properties, then select exceptions, then click on the add button. Select the field from the list on the left and then build the condition for the field. Or you can use the expression builder and build the statement right into the query (using decode for Oracle, or case for DB2 etc) Paul Hoyte Sharidionne Inc. (248) 752-6970 paul.hoyte@sharidionne.com -----Original Message----- From: sqr-users-bounces+paul.hoyte=sharidionne.com@sqrug.org [mailto:sqr-users-bounces+paul.hoyte=sharidionne.com@sqrug.org] On Behalf Of Grage, Monica Sent: Tuesday, July 20, 2004 6:29 PM To: 'sqr-users@sqrug.org' Subject: [sqr-users] Question About the Brio Report Builder I am very new to the group and using the Brio Report Builder 6.1.3 to create a new report. I am using the GUI version, since I am not a coding expert by any stretch of the imagination. I want to create a report variable to print, where the value of variable is based on the contents of a database field. My example below shows Parent_Part as the defined variable. Parent_Part = EQNUM if PARENT is NULL else PARENT I know I can do something similar in Crystal, but cannot quite figure how where to do this with the Brio Report Builder GUI tool. Can someone in this group possibly help me out? I sure do hope so. Thanks in advance for your help. M _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Thu Jul 22 16:27:19 2004 From: "Paul Hoyte" Subject: RE: [sqr-users] Question About the Brio Report Builder Date: Thu, 22 Jul 2004 17:24:09 -0400 Hello Monica: If you send me the expression or condition you are trying to build I can put together a sample program and send it to you...... Paul Hoyte Sharidionne Inc. (248) 752-6970 paul.hoyte@sharidionne.com -----Original Message----- From: sqr-users-bounces+paul.hoyte=sharidionne.com@sqrug.org [mailto:sqr-users-bounces+paul.hoyte=sharidionne.com@sqrug.org] On Behalf Of Grage, Monica Sent: Thursday, July 22, 2004 3:39 PM To: 'This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions.' Subject: RE: [sqr-users] Question About the Brio Report Builder Hi Paul. Thanks for getting back to me with this solution. I have been playing around with the Exception Builder, but am having trouble with getting the conditional formatting expression proper. Do you have an example of a "properly working condition" expression that I could use as a guide? Unfortunately the Brio classroom training manual doesn't have any examples, and neither does the on-line help. There are very good written descriptions, but following those I just cannot seem to make the expression builder work properly. If you wouldn't mind, that would be a huge help. Thanks, M -----Original Message----- From: Paul Hoyte [mailto:paul.hoyte@sharidionne.com] Sent: Wednesday, July 21, 2004 7:08 AM To: 'This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions.' Subject: RE: [sqr-users] Question About the Brio Report Builder Monica: If you are using the GUI tool, then you have the field already selected against which you want to apply the condition. Place your mouse over the field and right click on the field and it will display a menu. Select object properties, then select exceptions, then click on the add button. Select the field from the list on the left and then build the condition for the field. Or you can use the expression builder and build the statement right into the query (using decode for Oracle, or case for DB2 etc) Paul Hoyte Sharidionne Inc. (248) 752-6970 paul.hoyte@sharidionne.com -----Original Message----- From: sqr-users-bounces+paul.hoyte=sharidionne.com@sqrug.org [mailto:sqr-users-bounces+paul.hoyte=sharidionne.com@sqrug.org] On Behalf Of Grage, Monica Sent: Tuesday, July 20, 2004 6:29 PM To: 'sqr-users@sqrug.org' Subject: [sqr-users] Question About the Brio Report Builder I am very new to the group and using the Brio Report Builder 6.1.3 to create a new report. I am using the GUI version, since I am not a coding expert by any stretch of the imagination. I want to create a report variable to print, where the value of variable is based on the contents of a database field. My example below shows Parent_Part as the defined variable. Parent_Part = EQNUM if PARENT is NULL else PARENT I know I can do something similar in Crystal, but cannot quite figure how where to do this with the Brio Report Builder GUI tool. Can someone in this group possibly help me out? I sure do hope so. Thanks in advance for your help. M _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Wed Jul 21 10:29:32 2004 Date: Wed, 21 Jul 2004 10:27:01 -0500 From: "Borde, Gopal S" Subject: [sqr-users] Calling a batch file Friends, =20 I have to write a sqr which will run a batch file (edi.bat). =20 I tried using following codes in sqr =20 =20=20 let $file =3D 'C:\Travel\edi\edi.bat' =20=20=20=20 call system using $file #status =20 but it is not working.=20 =20 The edi bat is file delivered by PeopleSoft it reads names of all input files and creates a list file. =20 Alternatively if any one know how to write code for this command will also solve the purpose. =20 =20 Thanks . =20 =20 =20 Gopal Borde ITS Dept =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Wed Jul 21 10:40:03 2004 Subject: RE: [sqr-users] Calling a batch file Date: Wed, 21 Jul 2004 10:37:20 -0500 From: "Knapp, Richard" Call the command interpreter and feed it the file you want it to execute. Richard Knapp Database Programmer/Analyst Institutional Research and Planning University of Missouri System 573-882-8856 knappr@umsystem.edu =20 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Borde, Gopal S Sent: Wednesday, July 21, 2004 10:27 AM To: sqr-users@sqrug.org Subject: [sqr-users] Calling a batch file Friends, =20 I have to write a sqr which will run a batch file (edi.bat). =20 I tried using following codes in sqr =20 =20=20 let $file =3D 'C:\Travel\edi\edi.bat' =20=20=20=20 call system using $file #status =20 but it is not working.=20 =20 The edi bat is file delivered by PeopleSoft it reads names of all input files and creates a list file. =20 Alternatively if any one know how to write code for this command will also solve the purpose. =20 =20 Thanks . =20 =20 =20 Gopal Borde ITS Dept =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+sqrusersarch=sqrug.org@sqrug.org Wed Jul 21 10:42:52 2004 From: "Orr, Daniel E (Dan) TL26D" Subject: RE: [sqr-users] Calling a batch file Date: Wed, 21 Jul 2004 11:38:02 -0400 You need to run the batch within a command shell, you can get this by doing the following: let $file = 'C:\Travel\edi\edi.bat' let $command=getenv('COMSPEC')||' /c ' || $file call system using $command #status This will run the file within the command shell. -----Original Message----- From: Borde, Gopal S [mailto:gopal-borde@uiowa.edu] Sent: Wednesday, July 21, 2004 11:27 AM To: sqr-users@sqrug.org Subject: [sqr-users] Calling a batch file Friends, I have to write a sqr which will run a batch file (edi.bat). I tried using following codes in sqr let $file = 'C:\Travel\edi\edi.bat' call system using $file #status but it is not working. The edi bat is file delivered by PeopleSoft it reads names of all input files and creates a list file. Alternatively if any one know how to write code for this command will also solve the purpose. Thanks . Gopal Borde ITS Dept _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users "MMS " made the following annotations. ------------------------------------------------------------------------------ CONFIDENTIALITY NOTICE: If you have received this e-mail in error, please immediately notify the sender by e-mail at the address shown. This e-mail transmission may contain confidential information. This information is intended only for the use of the individual(s) or entity to whom it is intended even if addressed incorrectly. Please delete it from your files if you are not the intended recipient. Thank you for your compliance. Copyright (c) 2004 CIGNA ============================================================================== _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Jul 22 07:13:52 2004 From: Pamela Lantzy Subject: RE: [sqr-users] Calling a batch file Date: Thu, 22 Jul 2004 08:09:47 -0400 Make sure this is in a location that the process scheduler has access to. If this file is on your harddrive, it will not be able to locate it, when running this through the scheduler. -----Original Message----- From: sqr-users-bounces+plantzy=uamail.albany.edu@sqrug.org [mailto:sqr-users-bounces+plantzy=uamail.albany.edu@sqrug.org] On Behalf Of Borde, Gopal S Sent: Wednesday, July 21, 2004 11:27 AM To: sqr-users@sqrug.org Subject: [sqr-users] Calling a batch file Friends, I have to write a sqr which will run a batch file (edi.bat). I tried using following codes in sqr let $file = 'C:\Travel\edi\edi.bat' call system using $file #status but it is not working. The edi bat is file delivered by PeopleSoft it reads names of all input files and creates a list file. Alternatively if any one know how to write code for this command will also solve the purpose. Thanks . Gopal Borde ITS Dept _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Wed Jul 21 15:25:42 2004 From: bknoch@hinda.com Date: Wed, 21 Jul 2004 15:24:43 -0500 Subject: [sqr-users] Performance issue with aggregates in SQL Server. We're running SQL Server 7 on windows NT. I run the following query in Query Analyzer and it runs in a second or two: BEGIN-SELECT SUBSTRING(STH.ORDER_NO,1,3) COUNT(DISTINCT STH.ORDER_NO) COUNT(STL.ORDER_INT_LINE_NO) SUM(STL.QTY_ORDERED) SUM(ROUND(STL.QTY_ORDERED * PRICE, 2)) FROM PS_ORD_HEADER STH (INDEX=PSAORD_HEADER), PS_ORD_LINE STL WHERE STH.BUSINESS_UNIT = $BUSINESS_UNIT AND STH.ORDER_DATE BETWEEN $FROM_DATE AND $THRU_DATE AND STH.ORDER_STATUS <> 'X' AND STH.BUSINESS_UNIT = STL.BUSINESS_UNIT AND STH.ORDER_NO = STL.ORDER_NO AND STL.ORD_LINE_STATUS <> 'X' GROUP BY SUBSTRING(STH.ORDER_NO,1,3) ORDER BY SUBSTRING(STH.ORDER_NO,1,3) OPTION(FORCE ORDER) However, when I run it through SQR in PeopleSoft, it takes a minute. I redid it by removing the SUM's and COUNT's and using counters to do the work, and it takes around 4 seconds instead of the minute. I'd rather be able to use the COUNT's and SUM's. Does anyone happen to know why I'd get such a large performance hit? Thanks, Brian Knoch This communication is for the exclusive use of addressee and may contain confidential, proprietary or privileged information which may be used exclusively for its intended purpose. 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+sqrusersarch=sqrug.org@sqrug.org Wed Jul 21 17:35:56 2004 From: "Alexander, Steve" Subject: RE: [sqr-users] Performance issue with aggregates in SQL Server. Date: Wed, 21 Jul 2004 15:32:52 -0700 It may be that the Query Analyzer is using your hints ("INDEX=PSAORD_HEADER" and "OPTION(FORCE ORDER)") but SQR is not. Try running SQR with the "-S" flag on the command line to get the actual text of the SQL commands in your log file. -----Original Message----- From: bknoch@hinda.com [mailto:bknoch@hinda.com] Sent: Wednesday, July 21, 2004 1:25 PM To: sqr-users@sqrug.org Subject: [sqr-users] Performance issue with aggregates in SQL Server. We're running SQL Server 7 on windows NT. I run the following query in Query Analyzer and it runs in a second or two: BEGIN-SELECT SUBSTRING(STH.ORDER_NO,1,3) COUNT(DISTINCT STH.ORDER_NO) COUNT(STL.ORDER_INT_LINE_NO) SUM(STL.QTY_ORDERED) SUM(ROUND(STL.QTY_ORDERED * PRICE, 2)) FROM PS_ORD_HEADER STH (INDEX=PSAORD_HEADER), PS_ORD_LINE STL WHERE STH.BUSINESS_UNIT = $BUSINESS_UNIT AND STH.ORDER_DATE BETWEEN $FROM_DATE AND $THRU_DATE AND STH.ORDER_STATUS <> 'X' AND STH.BUSINESS_UNIT = STL.BUSINESS_UNIT AND STH.ORDER_NO = STL.ORDER_NO AND STL.ORD_LINE_STATUS <> 'X' GROUP BY SUBSTRING(STH.ORDER_NO,1,3) ORDER BY SUBSTRING(STH.ORDER_NO,1,3) OPTION(FORCE ORDER) However, when I run it through SQR in PeopleSoft, it takes a minute. I redid it by removing the SUM's and COUNT's and using counters to do the work, and it takes around 4 seconds instead of the minute. I'd rather be able to use the COUNT's and SUM's. Does anyone happen to know why I'd get such a large performance hit? Thanks, Brian Knoch This communication is for the exclusive use of addressee and may contain confidential, proprietary or privileged information which may be used exclusively for its intended purpose. 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 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Jul 22 09:09:41 2004 Subject: RE: [sqr-users] Performance issue with aggregates in SQL Server. From: bknoch@hinda.com Date: Thu, 22 Jul 2004 09:06:50 -0500 -S shows the hints in there. The query runs fast in Query Analyzer whether the hints are in there or not, so they're probably unnecessary. In any case, the query runs fast in SQR when you remove the aggregates, so I'd guess it has something to do with how SQR is processing them. Thanks, Brian Knoch |---------+--------------------------------------------> | | "Alexander, Steve" | | | | | | Sent by: | | | sqr-users-bounces+bknoch=hinda.co| | | m@sqrug.org | | | | | | | | | 07/21/2004 05:32 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 reportinglangu age | | from Hyperion Solutions.'" | | cc: | | Subject: RE: [sqr-users] Performance issue with aggregates in SQL Server. | >----------------------------------------------------------------------------------------------| It may be that the Query Analyzer is using your hints ("INDEX=PSAORD_HEADER" and "OPTION(FORCE ORDER)") but SQR is not. Try running SQR with the "-S" flag on the command line to get the actual text of the SQL commands in your log file. -----Original Message----- From: bknoch@hinda.com [mailto:bknoch@hinda.com] Sent: Wednesday, July 21, 2004 1:25 PM To: sqr-users@sqrug.org Subject: [sqr-users] Performance issue with aggregates in SQL Server. We're running SQL Server 7 on windows NT. I run the following query in Query Analyzer and it runs in a second or two: BEGIN-SELECT SUBSTRING(STH.ORDER_NO,1,3) COUNT(DISTINCT STH.ORDER_NO) COUNT(STL.ORDER_INT_LINE_NO) SUM(STL.QTY_ORDERED) SUM(ROUND(STL.QTY_ORDERED * PRICE, 2)) FROM PS_ORD_HEADER STH (INDEX=PSAORD_HEADER), PS_ORD_LINE STL WHERE STH.BUSINESS_UNIT = $BUSINESS_UNIT AND STH.ORDER_DATE BETWEEN $FROM_DATE AND $THRU_DATE AND STH.ORDER_STATUS <> 'X' AND STH.BUSINESS_UNIT = STL.BUSINESS_UNIT AND STH.ORDER_NO = STL.ORDER_NO AND STL.ORD_LINE_STATUS <> 'X' GROUP BY SUBSTRING(STH.ORDER_NO,1,3) ORDER BY SUBSTRING(STH.ORDER_NO,1,3) OPTION(FORCE ORDER) However, when I run it through SQR in PeopleSoft, it takes a minute. I redid it by removing the SUM's and COUNT's and using counters to do the work, and it takes around 4 seconds instead of the minute. I'd rather be able to use the COUNT's and SUM's. Does anyone happen to know why I'd get such a large performance hit? Thanks, Brian Knoch This communication is for the exclusive use of addressee and may contain confidential, proprietary or privileged information which may be used exclusively for its intended purpose. 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 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users This communication is for the exclusive use of addressee and may contain confidential, proprietary or privileged information which may be used exclusively for its intended purpose. 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+sqrusersarch=sqrug.org@sqrug.org Thu Jul 22 14:58:48 2004 From: "Miller, Danika" Date: Thu, 22 Jul 2004 15:56:12 -0400 Subject: [sqr-users] Special Characters Has anyone worked with special characters before? =20 I have a last name of G=F3mez Suarez and a last name of Guti=E9rrez Roa. W= hen I order by last name Gutierrez Roa comes first???=20=20 Any ideas?? =20 I have the following code in my program that translates special characters: =20 do translate-characters($final_name, $final_name-fmt) =20 =20 =20 =20 Please help!!! =20 =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Jul 22 15:15:56 2004 From: Bob Stone Subject: RE: [sqr-users] Special Characters Date: Thu, 22 Jul 2004 15:13:18 -0500 I'm sure the ordering goes down to the ASCII where the special o is listed after the regular o's. although I'm not sure how sqr might handle that. with your function are you ordering by last name with the special chars before the do translate or are you translating first and ordering after? I think you have to make your =F3 look like an o while you order it, and th= en back to the =F3 for display. Perhaps you could have a non-special char name variable that would list G=F3mez as Gomez, then order it and print the actu= al name?=20=20 bob stone -----Original Message----- From: sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org [mailto:sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org]On Behalf Of Miller, Danika Sent: Thursday, July 22, 2004 2:56 PM To: 'sqr-users@sqrug.org' Subject: [sqr-users] Special Characters Has anyone worked with special characters before? =20 I have a last name of G=F3mez Suarez and a last name of Guti=E9rrez Roa. W= hen I order by last name Gutierrez Roa comes first???=20=20 Any ideas?? =20 I have the following code in my program that translates special characters: =20 do translate-characters($final_name, $final_name-fmt) =20 =20 =20 =20 Please help!!! =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+sqrusersarch=sqrug.org@sqrug.org Thu Jul 22 15:20:51 2004 Subject: RE: [sqr-users] Special Characters Date: Thu, 22 Jul 2004 15:19:47 -0500 From: "Knapp, Richard" Two part names can be a problem. What happens when you just use the first = segments of the last names you mention? Richard Knapp Database Programmer/Analyst Institutional Research and Planning University of Missouri System 573-882-8856 knappr@umsystem.edu =20 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-b= ounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Miller, Danika Sent: Thursday, July 22, 2004 2:56 PM To: 'sqr-users@sqrug.org' Subject: [sqr-users] Special Characters Has anyone worked with special characters before? =20 I have a last name of G=F3mez Suarez and a last name of Guti=E9rrez Roa. W= hen I order by last name Gutierrez Roa comes first???=20=20 Any ideas?? =20 I have the following code in my program that translates special characters: =20 do translate-characters($final_name, $final_name-fmt) =20 =20 =20 =20 Please help!!! =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+sqrusersarch=sqrug.org@sqrug.org Thu Jul 22 15:40:40 2004 From: "Miller, Danika" Subject: RE: [sqr-users] Special Characters Date: Thu, 22 Jul 2004 16:36:34 -0400 My code is in the actual print procedure, which is after the order by clause. My procedure is as follows: --------------------------------------------------------------------------- Begin-select=20 a.last_name a.first_name a.middle_name move &a.last_name to $last_name move &a.first_name to $first_name move &a.middle_name to $middle_name do print-data =46rom table Where=20 Order by last name --------------------------------------------------------------------------- Begin-procedure print-data if $middle_name =3D ' ' let $final_name =3D $first_name || ' ' || $last_name else let $final_name =3D $first_name || ' ' || $middle_name || ' ' || $last_name end-if do translate-characters($final_name, $final_name-fmt) print $final_name-fmt =09 end-procedure -----Original Message----- From: Bob Stone [mailto:bstone@fastenal.com]=20 Sent: Thursday, July 22, 2004 4:13 PM To: 'This list is for discussion about the SQR database reporting language from Hyperion Solutions.' Subject: RE: [sqr-users] Special Characters I'm sure the ordering goes down to the ASCII where the special o is listed after the regular o's. although I'm not sure how sqr might handle that. with your function are you ordering by last name with the special chars before the do translate or are you translating first and ordering after? I think you have to make your =F3 look like an o while you order it, and th= en back to the =F3 for display. Perhaps you could have a non-special char name variable that would list G=F3mez as Gomez, then order it and print the actu= al name?=20=20 bob stone -----Original Message----- From: sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org [mailto:sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org]On Behalf Of Miller, Danika Sent: Thursday, July 22, 2004 2:56 PM To: 'sqr-users@sqrug.org' Subject: [sqr-users] Special Characters Has anyone worked with special characters before? =20 I have a last name of G=F3mez Suarez and a last name of Guti=E9rrez Roa. W= hen I order by last name Gutierrez Roa comes first???=20=20 Any ideas?? =20 I have the following code in my program that translates special characters: =20 do translate-characters($final_name, $final_name-fmt) =20 =20 =20 =20 Please help!!! =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 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Jul 22 16:18:22 2004 From: "Alexander, Steve" Subject: RE: [sqr-users] Special Characters Date: Thu, 22 Jul 2004 14:16:47 -0700 The problem is that your database sort is by ascii values. You might check on whether there is an option for a dictionary sort, and if so, how it works. A dictionary sort might just be case-insensitive, or it might be accent-mark insensitive. If there isn't a sort option that helps, you might create another field on the table (or use a view) that has only unaccented letters. Or you could read the (almost) sorted data into an array, translate the name to another field, removing the accents, and go through the array doing a "touch-up" sort that shouldn't take very long. -----Original Message----- From: Miller, Danika [mailto:MillerD2@ndu.edu] Sent: Thursday, July 22, 2004 1:37 PM To: 'This list is for discussion about the SQR database reporting languagef rom Hyperion Solutions.' Subject: RE: [sqr-users] Special Characters My code is in the actual print procedure, which is after the order by clause. My procedure is as follows: --------------------------------------------------------------------------- Begin-select=20 a.last_name a.first_name a.middle_name move &a.last_name to $last_name move &a.first_name to $first_name move &a.middle_name to $middle_name do print-data =46rom table Where=20 Order by last name --------------------------------------------------------------------------- Begin-procedure print-data if $middle_name =3D ' ' let $final_name =3D $first_name || ' ' || $last_name else let $final_name =3D $first_name || ' ' || $middle_name || ' ' || $last_name end-if do translate-characters($final_name, $final_name-fmt) print $final_name-fmt =09 end-procedure -----Original Message----- From: Bob Stone [mailto:bstone@fastenal.com]=20 Sent: Thursday, July 22, 2004 4:13 PM To: 'This list is for discussion about the SQR database reporting language from Hyperion Solutions.' Subject: RE: [sqr-users] Special Characters I'm sure the ordering goes down to the ASCII where the special o is listed after the regular o's. although I'm not sure how sqr might handle that. with your function are you ordering by last name with the special chars before the do translate or are you translating first and ordering after? I think you have to make your =F3 look like an o while you order it, and th= en back to the =F3 for display. Perhaps you could have a non-special char name variable that would list G=F3mez as Gomez, then order it and print the actu= al name?=20=20 bob stone -----Original Message----- From: sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org [mailto:sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org]On Behalf Of Miller, Danika Sent: Thursday, July 22, 2004 2:56 PM To: 'sqr-users@sqrug.org' Subject: [sqr-users] Special Characters Has anyone worked with special characters before? =20 I have a last name of G=F3mez Suarez and a last name of Guti=E9rrez Roa. W= hen I order by last name Gutierrez Roa comes first???=20=20 Any ideas?? =20 I have the following code in my program that translates special characters: =20 do translate-characters($final_name, $final_name-fmt) =20 =20 =20 =20 Please help!!! =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 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Fri Jul 23 09:50:43 2004 Date: Fri, 23 Jul 2004 10:49:26 -0400 From: "George Jansen" Subject: Re: [sqr-users] Special Characters You should be able to handle this by locale within your database. If you are using Oracle, have a look at the National Language Support manuals. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 23 07:55:41 2004 Date: Fri, 23 Jul 2004 08:51:52 -0400 From: Scotty Barnes Subject: [sqr-users] TOC fonts I have created a TOC for a report I with the output in PDF. The reports main pages come out in the correct font and char width, but the TOC looks like it is in Courier. How do I change the font in the TOC? thanks ---------- My begin setup looks like thisBegin-Setup declare-layout default Orientation=Landscape max-columns=149 max-lines=49 !sab char-width=6 left-margin=0 top-margin= 0 end-declare declare-printer default-hp font = 5 point-size= 8 end-declare declare-report crse toc=top_of_report layout=default printer-type=hp end-declare declare-toc top_of_report for-reports=(all) !dot-leader=yes indentation=2 end-declare end-setup Scott A Barnes Programmer/Analyst Wesleyan University North College 860-685-2807 ---------- Lottery: A tax on people who are bad at math! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 23 08:13:31 2004 From: "Sudeep Vaidya" Date: Fri, 23 Jul 2004 18:40:24 +0530 Subject: [sqr-users] Printing Data Vertically using SQR Hi All, Has someone ever done printing of data Vertically on a page. Ok, let me explain this.. We are supposed to print the Timecards for employees.All the data is printed Left to Right ( Just as we would expect it to print). Besides the data being printed Left to Right, we are also supposed to print the Employee ID. The employee Id is to be printed in the Left Margin of the page, from Bottom to Top. For example the number is 1300 , it would print like --------> (left to right) when printed horizontally. I want to print this like ^ | | | such that 1 appears on the bottom, with 3 on top, with 0 and the other 0 on the top. Basically, the text has to be rotated by 90 degrees. This is required to print the Employee Code in a bigger font . The cards are stacked Vertically, and hence this number would appear horizontal (in a bigger, readable font) to any one looking for his card. Because the mail group does not allow attachments, I can't send any to you. If you have an idea how to rotate the data by 90 degree, please let me know , and I can send you a scanned image. Thanks in advance, Sudeep _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 23 14:55:43 2004 From: Peter Burton Date: Fri, 23 Jul 2004 12:54:29 -0700 Subject: RE: [sqr-users] Printing Data Vertically using SQR Sudeep, Report: Begin-Report Move 1300 To #E Let $E = Edit(Edit(#E, '9999'), 'R') Print $E (5,1) Wrap 1 4 End-Report Produces: 0 0 3 1 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 Sudeep Vaidya > Sent: Friday, July 23, 2004 9:10 AM > To: sqr-users@sqrug.org > Subject: [sqr-users] Printing Data Vertically using SQR > > > Hi All, > > > Has someone ever done printing of data Vertically on a page. > Ok, let me explain this.. > > We are supposed to print the Timecards for employees.All the > data is printed > Left to Right ( Just as we would expect it to print). > Besides the data being printed Left to Right, we are also > supposed to print > the Employee ID. > The employee Id is to be printed in the Left Margin of the > page, from Bottom > to Top. > > For example the number is 1300 , it would print like > --------> (left to > right) when printed horizontally. > I want to print this like > > ^ > | > | > | > such that 1 appears on the bottom, with 3 on top, with 0 and > the other 0 on > the top. > Basically, the text has to be rotated by 90 degrees. This is > required to > print the Employee Code in a bigger font . The cards are > stacked Vertically, > and hence this number would appear horizontal (in a bigger, > readable font) > to any one looking for his card. > > Because the mail group does not allow attachments, I can't > send any to you. > If you have an idea how to rotate the data by 90 degree, > please let me know > , and I can send you a scanned image. > > Thanks in advance, > > Sudeep > > > > _______________________________________________ > 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 From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Mon Jul 26 00:10:33 2004 From: "Sudeep Vaidya" Subject: RE: [sqr-users] Printing Data Vertically using SQR Date: Mon, 26 Jul 2004 10:37:52 +0530 Peter, This solution is fine, but the text is still not rotated .. The text here is to be rotated by 90 degrees, so that the employee would be able to read his number horizontally, when the cards are stacked in their bins. The number would be read from bottom to top, in the left margin of the card. ^ | 0 | 0 | 3 | 1 Using your suggestion, I can Wrap and break the text, but how to rotate it by 90 degrees ? The digits have to rotated , so as to make the number readable from Bottom to Top. If you have any solution to this , please let me know.I can send you the required output in an image to your Id. Thanks, Sudeep -----Original Message----- From: sqr-users-bounces+sudeep.vaidya=patni.com@sqrug.org [mailto:sqr-users-bounces+sudeep.vaidya=patni.com@sqrug.org]On Behalf Of Peter Burton Sent: Saturday, July 24, 2004 1:24 AM To: 'This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions.' Subject: RE: [sqr-users] Printing Data Vertically using SQR Sudeep, Report: Begin-Report Move 1300 To #E Let $E = Edit(Edit(#E, '9999'), 'R') Print $E (5,1) Wrap 1 4 End-Report Produces: 0 0 3 1 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 Sudeep Vaidya > Sent: Friday, July 23, 2004 9:10 AM > To: sqr-users@sqrug.org > Subject: [sqr-users] Printing Data Vertically using SQR > > > Hi All, > > > Has someone ever done printing of data Vertically on a page. > Ok, let me explain this.. > > We are supposed to print the Timecards for employees.All the > data is printed > Left to Right ( Just as we would expect it to print). > Besides the data being printed Left to Right, we are also > supposed to print > the Employee ID. > The employee Id is to be printed in the Left Margin of the > page, from Bottom > to Top. > > For example the number is 1300 , it would print like > --------> (left to > right) when printed horizontally. > I want to print this like > > ^ > | > | > | > such that 1 appears on the bottom, with 3 on top, with 0 and > the other 0 on > the top. > Basically, the text has to be rotated by 90 degrees. This is > required to > print the Employee Code in a bigger font . The cards are > stacked Vertically, > and hence this number would appear horizontal (in a bigger, > readable font) > to any one looking for his card. > > Because the mail group does not allow attachments, I can't > send any to you. > If you have an idea how to rotate the data by 90 degree, > please let me know > , and I can send you a scanned image. > > Thanks in advance, > > Sudeep > > > > _______________________________________________ > 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+sqrusersarch=sqrug.org@sqrug.org Mon Jul 26 08:38:53 2004 Date: Mon, 26 Jul 2004 08:38:03 -0500 From: Eric Dimick Eastman Subject: Re: [sqr-users] Printing Data Vertically using SQR Sudeep, I just posted an example of what I believe you are trying to do. This uses PostScript to rotate and move the text around. We then converted the PS to PDF using GhostScript. Check out: http://www.ontko.com/sqr/ Look for "Examples" about 1/2 way down the page. Hope this helps, Eric Sudeep Vaidya wrote: > Peter, > > This solution is fine, but the text is still not rotated .. > The text here is to be rotated by 90 degrees, so that the employee would be > able to read his number horizontally, when the cards are stacked in their > bins. > > The number would be read from bottom to top, in the left margin of the card. > > ^ > | 0 > | 0 > | 3 > | 1 > > Using your suggestion, I can Wrap and break the text, but how to rotate it > by 90 degrees ? > The digits have to rotated , so as to make the number readable from Bottom > to Top. > If you have any solution to this , please let me know.I can send you the > required output in an image to your Id. > > Thanks, > > Sudeep > > > > > -----Original Message----- > From: sqr-users-bounces+sudeep.vaidya=patni.com@sqrug.org > [mailto:sqr-users-bounces+sudeep.vaidya=patni.com@sqrug.org]On Behalf Of > Peter Burton > Sent: Saturday, July 24, 2004 1:24 AM > To: 'This list is for discussion about the SQR database reporting > languagefrom Hyperion Solutions.' > Subject: RE: [sqr-users] Printing Data Vertically using SQR > > > Sudeep, > > Report: > > > Begin-Report > Move 1300 To #E > Let $E = Edit(Edit(#E, '9999'), 'R') > Print $E (5,1) Wrap 1 4 > End-Report > > > Produces: > > > 0 > 0 > 3 > 1 > > > 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 Sudeep Vaidya >>Sent: Friday, July 23, 2004 9:10 AM >>To: sqr-users@sqrug.org >>Subject: [sqr-users] Printing Data Vertically using SQR >> >> >>Hi All, >> >> >>Has someone ever done printing of data Vertically on a page. >>Ok, let me explain this.. >> >>We are supposed to print the Timecards for employees.All the >>data is printed >>Left to Right ( Just as we would expect it to print). >>Besides the data being printed Left to Right, we are also >>supposed to print >>the Employee ID. >>The employee Id is to be printed in the Left Margin of the >>page, from Bottom >>to Top. >> >>For example the number is 1300 , it would print like >>--------> (left to >>right) when printed horizontally. >>I want to print this like >> >>^ >>| >>| >>| >>such that 1 appears on the bottom, with 3 on top, with 0 and >>the other 0 on >>the top. >>Basically, the text has to be rotated by 90 degrees. This is >>required to >>print the Employee Code in a bigger font . The cards are >>stacked Vertically, >>and hence this number would appear horizontal (in a bigger, >>readable font) >>to any one looking for his card. >> >>Because the mail group does not allow attachments, I can't >>send any to you. >>If you have an idea how to rotate the data by 90 degree, >>please let me know >>, and I can send you a scanned image. >> >>Thanks in advance, >> >>Sudeep >> >> >> >>_______________________________________________ >>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 > > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Mon Jul 26 05:17:37 2004 From: Peter Burton Date: Mon, 26 Jul 2004 03:15:50 -0700 Subject: RE: [sqr-users] Printing Data Vertically using SQR Sudeep, Rotation of fonts is dependant on the printer format being generated. You will need to look at the desired printer language documentation to see what "PRINT CODE" values need to be issued to accomplish this. I know HP/PCL and Adobe/PostScript supports text rotation. Peter -----Original Message----- From: Sudeep Vaidya [mailto:sudeep.vaidya@patni.com] Sent: Monday, July 26, 2004 1:08 AM To: sqr-users@sqrug.org Cc: Peter Burton Subject: RE: [sqr-users] Printing Data Vertically using SQR Peter, This solution is fine, but the text is still not rotated .. The text here is to be rotated by 90 degrees, so that the employee would be able to read his number horizontally, when the cards are stacked in their bins. The number would be read from bottom to top, in the left margin of the card. ^ | 0 | 0 | 3 | 1 Using your suggestion, I can Wrap and break the text, but how to rotate it by 90 degrees ? The digits have to rotated , so as to make the number readable from Bottom to Top. If you have any solution to this , please let me know.I can send you the required output in an image to your Id. Thanks, Sudeep -----Original Message----- From: sqr-users-bounces+sudeep.vaidya=patni.com@sqrug.org [mailto:sqr-users-bounces+sudeep.vaidya=patni.com@sqrug.org]On Behalf Of Peter Burton Sent: Saturday, July 24, 2004 1:24 AM To: 'This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions.' Subject: RE: [sqr-users] Printing Data Vertically using SQR Sudeep, Report: Begin-Report Move 1300 To #E Let $E = Edit(Edit(#E, '9999'), 'R') Print $E (5,1) Wrap 1 4 End-Report Produces: 0 0 3 1 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 Sudeep Vaidya > Sent: Friday, July 23, 2004 9:10 AM > To: sqr-users@sqrug.org > Subject: [sqr-users] Printing Data Vertically using SQR > > > Hi All, > > > Has someone ever done printing of data Vertically on a page. > Ok, let me explain this.. > > We are supposed to print the Timecards for employees.All the data is > printed Left to Right ( Just as we would expect it to print). > Besides the data being printed Left to Right, we are also supposed to > print the Employee ID. > The employee Id is to be printed in the Left Margin of the page, from > Bottom to Top. > > For example the number is 1300 , it would print like > --------> (left to > right) when printed horizontally. > I want to print this like > > ^ > | > | > | > such that 1 appears on the bottom, with 3 on top, with 0 and the other > 0 on the top. > Basically, the text has to be rotated by 90 degrees. This is required > to print the Employee Code in a bigger font . The cards are stacked > Vertically, and hence this number would appear horizontal (in a > bigger, readable font) to any one looking for his card. > > Because the mail group does not allow attachments, I can't send any > to you. > If you have an idea how to rotate the data by 90 degree, please let me > know , and I can send you a scanned image. > > Thanks in advance, > > Sudeep > > > > _______________________________________________ > 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 ************************************************************************ 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 From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 23 09:08:49 2004 Date: Fri, 23 Jul 2004 10:08:01 -0400 From: "Pink, Michael" Subject: [sqr-users] Bolding a line in a CSV file Has anyone been able to send a cell command to Excel through a CSV file to bold the cell or entire row? Can this be done? Mike. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 23 16:46:59 2004 From: Ray Ontko Date: Fri, 23 Jul 2004 16:44:53 -0500 Subject: Re: [sqr-users] Bolding a line in a CSV file Mike, > Has anyone been able to send a cell command to Excel through a CSV file > to bold the cell or entire row? Can this be done? You can't do it with a CSV file, but you can do it with a SYLK file, which is also supported by most spreadsheet programs. James Womeldorf recently contributed a very nice library of routines, sylk.sqc, to make it easier to create generate output from SQR that can be loaded into an Excel spreadsheet and contain formatted cell content, formulas, etc. Visit: https://www.ontko.com/sqr/sylk.html Ray ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Mon Jul 26 08:42:19 2004 Subject: RE: [sqr-users] Bolding a line in a CSV file Date: Mon, 26 Jul 2004 09:37:10 -0400 From: "Pink, Michael" Thanks, that should work fine. Mike. -----Original Message----- From: sqr-users-bounces+michael.pink=3Dpgnmail.com@sqrug.org [mailto:sqr-users-bounces+michael.pink=3Dpgnmail.com@sqrug.org] On Behalf Of Ray Ontko Sent: Friday, July 23, 2004 5:45 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] Bolding a line in a CSV file Mike, > Has anyone been able to send a cell command to Excel through a CSV file > to bold the cell or entire row? Can this be done? You can't do it with a CSV file, but you can do it with a SYLK file,=20 which is also supported by most spreadsheet programs. James Womeldorf recently contributed a very nice library of=20 routines, sylk.sqc, to make it easier to create generate output=20 from SQR that can be loaded into an Excel spreadsheet and contain=20 formatted cell content, formulas, etc. Visit: https://www.ontko.com/sqr/sylk.html Ray ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.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+sqrusersarch=sqrug.org@sqrug.org Fri Jul 23 16:53:55 2004 Date: Fri, 23 Jul 2004 16:51:34 -0500 From: "Pan, Zhen" Subject: [sqr-users] oracle hint in sqr Hi, I am using SQR Developer 8.1. I wanted to use hint in my sqr =20 BEGIN-SELECT distinct=20=20 /*+ index_join(FA_STU_TERM_STI1)*/ A.PRSN_UNIV_ID=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 a.prsn_prm_full_nm A.ACAD_TERM_CD A.STU_NSLDS_LOAN_YR &A.STU_NSLDS_LOAN_YR1=20=20 ........... =20 when I compile it, it says Error on line 284: (SQR 7740) Invalid &pseudonym or 'TYPE=3D' data-type specified for a begin-select column-variable. Valid types are: CHAR, TEXT, DATE, NUMBER =20 if &A.ACAD_LOAD_IND=3D'F' (SQR 4407) Referenced variables not defined: =20 &a.acad_load_ind =20 This query runs fine in Toad. I inititally thought it was because the spaces in front of the hint, but it gave me errors too. If I run it under Unix box it won't complain but it will run forever. (I suspect it is not taking the hint) Any idea? Thanks a bunch! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 23 17:06:51 2004 Subject: RE: [sqr-users] oracle hint in sqr Date: Fri, 23 Jul 2004 17:06:19 -0500 From: "Pan, Zhen" I delete the & A.STU_NSLDS_LOAN_YR and it is still not working....=20 -----Original Message----- From: sqr-users-bounces+zhpan=3Dindiana.edu@sqrug.org [mailto:sqr-users-bounces+zhpan=3Dindiana.edu@sqrug.org] On Behalf Of Krishna Chennamaneni Sent: Friday, July 23, 2004 5:08 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] oracle hint in sqr Try this BEGIN-SELECT distinct=20=20 /*+ index_join(FA_STU_TERM_STI1)*/ A.PRSN_UNIV_ID=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 a.prsn_prm_full_nm A.ACAD_TERM_CD A.STU_NSLDS_LOAN_YR &StuLoan It should work fine. Krishna -----Original Message----- From: sqr-users-bounces+krishna.chennamaneni=3Djhuapl.edu@sqrug.org [mailto:sqr-users-bounces+krishna.chennamaneni=3Djhuapl.edu@sqrug.org]On Behalf Of Pan, Zhen Sent: Friday, July 23, 2004 5:52 PM To: sqr-users@sqrug.org Subject: [sqr-users] oracle hint in sqr Hi, I am using SQR Developer 8.1. I wanted to use hint in my sqr =20 BEGIN-SELECT distinct=20=20 /*+ index_join(FA_STU_TERM_STI1)*/ A.PRSN_UNIV_ID=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 a.prsn_prm_full_nm A.ACAD_TERM_CD A.STU_NSLDS_LOAN_YR &A.STU_NSLDS_LOAN_YR1=20=20 ........... =20 when I compile it, it says Error on line 284: (SQR 7740) Invalid &pseudonym or 'TYPE=3D' data-type specified for a begin-select column-variable. Valid types are: CHAR, TEXT, DATE, NUMBER =20 if &A.ACAD_LOAD_IND=3D'F' (SQR 4407) Referenced variables not defined: =20 &a.acad_load_ind =20 This query runs fine in Toad. I inititally thought it was because the spaces in front of the hint, but it gave me errors too. If I run it under Unix box it won't complain but it will run forever. (I suspect it is not taking the hint) Any idea? Thanks a bunch! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Fri Jul 23 17:14:16 2004 Date: Fri, 23 Jul 2004 15:11:44 -0700 (PDT) From: Jim McKeever Subject: RE: [sqr-users] oracle hint in sqr Where are you defining &A.ACAD_LOAD_IND? It's not in the select you showed.... "Pan, Zhen" wrote:I delete the & A.STU_NSLDS_LOAN_YR and it is still not working.... -----Original Message----- From: sqr-users-bounces+zhpan=indiana.edu@sqrug.org [mailto:sqr-users-bounces+zhpan=indiana.edu@sqrug.org] On Behalf Of Krishna Chennamaneni Sent: Friday, July 23, 2004 5:08 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] oracle hint in sqr Try this BEGIN-SELECT distinct /*+ index_join(FA_STU_TERM_STI1)*/ A.PRSN_UNIV_ID a.prsn_prm_full_nm A.ACAD_TERM_CD A.STU_NSLDS_LOAN_YR &StuLoan It should work fine. Krishna -----Original Message----- From: sqr-users-bounces+krishna.chennamaneni=jhuapl.edu@sqrug.org [mailto:sqr-users-bounces+krishna.chennamaneni=jhuapl.edu@sqrug.org]On Behalf Of Pan, Zhen Sent: Friday, July 23, 2004 5:52 PM To: sqr-users@sqrug.org Subject: [sqr-users] oracle hint in sqr Hi, I am using SQR Developer 8.1. I wanted to use hint in my sqr BEGIN-SELECT distinct /*+ index_join(FA_STU_TERM_STI1)*/ A.PRSN_UNIV_ID a.prsn_prm_full_nm A.ACAD_TERM_CD A.STU_NSLDS_LOAN_YR &A.STU_NSLDS_LOAN_YR1 ........... when I compile it, it says Error on line 284: (SQR 7740) Invalid &pseudonym or 'TYPE=' data-type specified for a begin-select column-variable. Valid types are: CHAR, TEXT, DATE, NUMBER if &A.ACAD_LOAD_IND='F' (SQR 4407) Referenced variables not defined: &a.acad_load_ind This query runs fine in Toad. I inititally thought it was because the spaces in front of the hint, but it gave me errors too. If I run it under Unix box it won't complain but it will run forever. (I suspect it is not taking the hint) Any idea? Thanks a bunch! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Jim McKeever PeopleSoft Applications Administrator, U.S. Nursing Corporation (800) 726-8773 ext. 1973 --------------------------------- Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 23 17:17:05 2004 Date: Fri, 23 Jul 2004 18:22:20 -0400 From: Krishna Chennamaneni Subject: RE: [sqr-users] oracle hint in sqr Are you sure about the comments on /*+ index_join(FA_STU_TERM_STI1)*/ ? In Begin-Select statement, We generally comment the fields by placing -- before that field. -----Original Message----- From: sqr-users-bounces+krishna.chennamaneni=jhuapl.edu@sqrug.org [mailto:sqr-users-bounces+krishna.chennamaneni=jhuapl.edu@sqrug.org]On Behalf Of Pan, Zhen Sent: Friday, July 23, 2004 6:06 PM To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Subject: RE: [sqr-users] oracle hint in sqr I delete the & A.STU_NSLDS_LOAN_YR and it is still not working.... -----Original Message----- From: sqr-users-bounces+zhpan=indiana.edu@sqrug.org [mailto:sqr-users-bounces+zhpan=indiana.edu@sqrug.org] On Behalf Of Krishna Chennamaneni Sent: Friday, July 23, 2004 5:08 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] oracle hint in sqr Try this BEGIN-SELECT distinct /*+ index_join(FA_STU_TERM_STI1)*/ A.PRSN_UNIV_ID a.prsn_prm_full_nm A.ACAD_TERM_CD A.STU_NSLDS_LOAN_YR &StuLoan It should work fine. Krishna -----Original Message----- From: sqr-users-bounces+krishna.chennamaneni=jhuapl.edu@sqrug.org [mailto:sqr-users-bounces+krishna.chennamaneni=jhuapl.edu@sqrug.org]On Behalf Of Pan, Zhen Sent: Friday, July 23, 2004 5:52 PM To: sqr-users@sqrug.org Subject: [sqr-users] oracle hint in sqr Hi, I am using SQR Developer 8.1. I wanted to use hint in my sqr BEGIN-SELECT distinct /*+ index_join(FA_STU_TERM_STI1)*/ A.PRSN_UNIV_ID a.prsn_prm_full_nm A.ACAD_TERM_CD A.STU_NSLDS_LOAN_YR &A.STU_NSLDS_LOAN_YR1 ........... when I compile it, it says Error on line 284: (SQR 7740) Invalid &pseudonym or 'TYPE=' data-type specified for a begin-select column-variable. Valid types are: CHAR, TEXT, DATE, NUMBER if &A.ACAD_LOAD_IND='F' (SQR 4407) Referenced variables not defined: &a.acad_load_ind This query runs fine in Toad. I inititally thought it was because the spaces in front of the hint, but it gave me errors too. If I run it under Unix box it won't complain but it will run forever. (I suspect it is not taking the hint) Any idea? Thanks a bunch! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Fri Jul 23 16:59:25 2004 Date: Fri, 23 Jul 2004 18:08:09 -0400 From: Krishna Chennamaneni Subject: RE: [sqr-users] oracle hint in sqr Try this BEGIN-SELECT distinct /*+ index_join(FA_STU_TERM_STI1)*/ A.PRSN_UNIV_ID a.prsn_prm_full_nm A.ACAD_TERM_CD A.STU_NSLDS_LOAN_YR &StuLoan It should work fine. Krishna -----Original Message----- From: sqr-users-bounces+krishna.chennamaneni=jhuapl.edu@sqrug.org [mailto:sqr-users-bounces+krishna.chennamaneni=jhuapl.edu@sqrug.org]On Behalf Of Pan, Zhen Sent: Friday, July 23, 2004 5:52 PM To: sqr-users@sqrug.org Subject: [sqr-users] oracle hint in sqr Hi, I am using SQR Developer 8.1. I wanted to use hint in my sqr BEGIN-SELECT distinct /*+ index_join(FA_STU_TERM_STI1)*/ A.PRSN_UNIV_ID a.prsn_prm_full_nm A.ACAD_TERM_CD A.STU_NSLDS_LOAN_YR &A.STU_NSLDS_LOAN_YR1 ........... when I compile it, it says Error on line 284: (SQR 7740) Invalid &pseudonym or 'TYPE=' data-type specified for a begin-select column-variable. Valid types are: CHAR, TEXT, DATE, NUMBER if &A.ACAD_LOAD_IND='F' (SQR 4407) Referenced variables not defined: &a.acad_load_ind This query runs fine in Toad. I inititally thought it was because the spaces in front of the hint, but it gave me errors too. If I run it under Unix box it won't complain but it will run forever. (I suspect it is not taking the hint) Any idea? Thanks a bunch! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Fri Jul 23 17:25:26 2004 Subject: RE: [sqr-users] oracle hint in sqr Date: Fri, 23 Jul 2004 17:23:23 -0500 From: "Pan, Zhen" /*+ index_join(FA_STU_TERM_STI1)*/ is a hint in my SQL so that it could run faster, and it is not comment. To answer Jim, it was a typo, it should be &A.STU_NSLDS_LOAN_YR1 Thanks! -----Original Message----- From: sqr-users-bounces+zhpan=3Dindiana.edu@sqrug.org [mailto:sqr-users-bounces+zhpan=3Dindiana.edu@sqrug.org] On Behalf Of Krishna Chennamaneni Sent: Friday, July 23, 2004 5:22 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] oracle hint in sqr Are you sure about the comments on /*+ index_join(FA_STU_TERM_STI1)*/ ? In Begin-Select statement, We generally comment the fields by placing -- before that field. -----Original Message----- From: sqr-users-bounces+krishna.chennamaneni=3Djhuapl.edu@sqrug.org [mailto:sqr-users-bounces+krishna.chennamaneni=3Djhuapl.edu@sqrug.org]On Behalf Of Pan, Zhen Sent: Friday, July 23, 2004 6:06 PM To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Subject: RE: [sqr-users] oracle hint in sqr I delete the & A.STU_NSLDS_LOAN_YR and it is still not working.... -----Original Message----- From: sqr-users-bounces+zhpan=3Dindiana.edu@sqrug.org [mailto:sqr-users-bounces+zhpan=3Dindiana.edu@sqrug.org] On Behalf Of Krishna Chennamaneni Sent: Friday, July 23, 2004 5:08 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] oracle hint in sqr Try this BEGIN-SELECT distinct /*+ index_join(FA_STU_TERM_STI1)*/ A.PRSN_UNIV_ID a.prsn_prm_full_nm A.ACAD_TERM_CD A.STU_NSLDS_LOAN_YR &StuLoan It should work fine. Krishna -----Original Message----- From: sqr-users-bounces+krishna.chennamaneni=3Djhuapl.edu@sqrug.org [mailto:sqr-users-bounces+krishna.chennamaneni=3Djhuapl.edu@sqrug.org]On Behalf Of Pan, Zhen Sent: Friday, July 23, 2004 5:52 PM To: sqr-users@sqrug.org Subject: [sqr-users] oracle hint in sqr Hi, I am using SQR Developer 8.1. I wanted to use hint in my sqr BEGIN-SELECT distinct /*+ index_join(FA_STU_TERM_STI1)*/ A.PRSN_UNIV_ID a.prsn_prm_full_nm A.ACAD_TERM_CD A.STU_NSLDS_LOAN_YR &A.STU_NSLDS_LOAN_YR1 ........... when I compile it, it says Error on line 284: (SQR 7740) Invalid &pseudonym or 'TYPE=3D' data-type specified for a begin-select column-variable. Valid types are: CHAR, TEXT, DATE, NUMBER if &A.ACAD_LOAD_IND=3D'F' (SQR 4407) Referenced variables not defined: &a.acad_load_ind This query runs fine in Toad. I inititally thought it was because the spaces in front of the hint, but it gave me errors too. If I run it under Unix box it won't complain but it will run forever. (I suspect it is not taking the hint) Any idea? Thanks a bunch! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Fri Jul 23 16:57:42 2004 From: Ray Ontko Date: Fri, 23 Jul 2004 16:55:44 -0500 Subject: [sqr-users] SYLK library available SQR Enthusiasts, Jim Womeldorf and Fastenal Company have recently agreed to distribute their SQR library for creating SYLK files under the terms of the GNU Public License. SYLK (Symbolic Link) files are used by various spreadsheet programs as a means to exchange formatted information. You can use the SYLK library to create output from your SQR program that loads into Microsoft Excel with bolding, italics and other cell formatting, just the way you want it. For information about sylk.sqc, visit: http://www.ontko.com/sqr/sylk.html For other tools, documents, and resources related to SQR, visit: http://www.ontko.com/sqr/ Thanks, Jim and Fastenal, for contributing such a useful tool. We're pleased to host it at the Ray Ontko & Co. website. Ray ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Tue Jul 27 08:14:40 2004 Date: Tue, 27 Jul 2004 15:11:16 +0200 (CEST) From: =?iso-8859-1?q?Nabil?= Subject: [sqr-users] CSV output ftom SQR program Hello, I currently have an Unix SQR program (SQR for PeopleSoft V8.42) that generates CSV output file (done with write commands). When I open this file from Peoplesoft process scheduler, it opens perfectly (semicolomn for delimiter) in Internet Explorer (with Excel plug-in). 1) When I save it to my PC local hard disk and try to double-click, Excel starts but doesn't open it correctly. It seems looking for comma as delimiter without asking any choice. Is anyone aware about this stuff ? 2) Othwerwise, I'd like to know if it's possible to convert an SPF file to a CSV file ? I tried with SQRP but I'm not lucky. I'd appreciate any help. Cheers. Nabil --------------------------------- Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage ! Créez votre Yahoo! Mail Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis.Téléchargez GRATUITEMENT ici ! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Tue Jul 27 08:44:50 2004 Date: Tue, 27 Jul 2004 09:35:44 -0400 From: "Jamie Harris" Subject: Re: [sqr-users] CSV output ftom SQR program Nabil, Excel is confused by what you're doing. CSV stands for comma-separated values, so Excel will only accept a comma as the delimiter.=20=20 If you want Excel to just open the file without any problems, use comma for a delimiter (and .CSV for the extension) or use tab as a delimiter and use .XLS as the extension (that's what I do - Excel opens it just fine).=20=20 You could also look into SYLK (I think) - that is a better solution but more complicated. But I don't know much about it. ----------------------------------------------------- James Harris Junior Systems Programmer/Analyst Information Technology Division Frederick Community College ----------------------------------------------------- >>> cybernaboo@yahoo.fr 7/27/2004 9:11:16 AM >>> Hello, =20 I currently have an Unix SQR program (SQR for PeopleSoft V8.42) that generates CSV output file (done with write commands). =20 When I open this file from Peoplesoft process scheduler, it opens perfectly (semicolomn for delimiter) in Internet Explorer (with Excel plug-in). =20 1) When I save it to my PC local hard disk and try to double-click, Excel starts but doesn't open it correctly. It seems looking for comma as delimiter without asking any choice. Is anyone aware about this stuff ? =20 2) Othwerwise, I'd like to know if it's possible to convert an SPF file to a CSV file ? I tried with SQRP but I'm not lucky. I'd appreciate any help. =20 Cheers. =20 Nabil=20 =09=09 --------------------------------- Cr=E9ez gratuitement votre Yahoo! Mail avec 100 Mo de stockage ! Cr=E9ez votre Yahoo! Mail Le nouveau Yahoo! Messenger est arriv=E9 ! D=E9couvrez toutes les nouveaut=E9s pour dialoguer instantan=E9ment avec vos amis.T=E9l=E9chargez GRATUITEMENT ici ! _______________________________________________ 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+sqrusersarch=sqrug.org@sqrug.org Tue Jul 27 08:20:15 2004 Date: Tue, 27 Jul 2004 15:20:44 +0200 From: LEBLANC Philippe FTC Subject: =?ISO-8859-1?Q?R=E9p.=20:=20[sqr-users]=20CSV=20output=20ftom=20?==?ISO-8859-1?Q?SQR=20program?= Excel does not open correctly .csv file with double-click on it ! You have to open Excel, then whith file/open menu, search for=20 your .csv file to open it; then Excel does open it correctly !!! Anyone should report it to microsoft, i'm to angry for doing so=20 >:-( Cordialement, Philippe LEBLANC France T=E9l=E9com C=E2ble Direction Informatique Cellule Finances & Statistiques Assistance centralis=E9e: 01.55.58.36.00 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Tue Jul 27 08:42:13 2004 From: "Lu, Clint" Subject: =?iso-8859-1?Q?RE=3A_R=E9p=2E_=3A_=5Bsqr-users=5D_CSV_output_f?= =?iso-8859-1?Q?tom_SQR_program?= Date: Tue, 27 Jul 2004 08:32:41 -0500 I have no problem to open correctly .csv file from explore. -----Original Message----- From: LEBLANC Philippe FTC [mailto:p.leblanc@francetelecom.com] Sent: Tuesday, July 27, 2004 8:21 AM To: sqr-users@sqrug.org Subject: R=E9p. : [sqr-users] CSV output ftom SQR program Excel does not open correctly .csv file with double-click on it ! You have to open Excel, then whith file/open menu, search for=20 your .csv file to open it; then Excel does open it correctly !!! Anyone should report it to microsoft, i'm to angry for doing so=20 >:-( Cordialement, Philippe LEBLANC France T=E9l=E9com C=E2ble Direction Informatique Cellule Finances & Statistiques Assistance centralis=E9e: 01.55.58.36.00 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Tue Jul 27 14:29:26 2004 From: "Bryan Brown" Date: Tue, 27 Jul 2004 11:28:16 -0800 Subject: [sqr-users] Round Function Error in SQRW 3 and Oracle 7.3 hi All, I know that this is in the archives, but I can't seem to locate it. Can anyone confirm a problem with the round function when using SQRW 3 and Oracle 7.3? We have a case where a simple round statement returns two different values. round(#Aetna_Ded_Emp_Prem,2) In SQRW 3 / Oracle 7.3: 32.345 = 32.34. round(#Aetna_Ded_Emp_Prem,2) In SQRW 6.2 / Oracle 9i: 32.345 = 32.35 Any insight? Thanks, Bryan bryan_brown@vantageis.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Jul 29 09:27:24 2004 Date: Thu, 29 Jul 2004 16:26:16 +0200 (CEST) From: =?iso-8859-1?q?Nabil?= Subject: [sqr-users] Bold left using spf mode Hi all, Before, I got my sqr program (SQR for PeopleSoft 8.42) creating pdf output file using process scheculer options (WEB/PDF). Now I use SPF option (WEB/SPF) ouput file to generate "manually" pdf output file using commands : - $SQRDIR/sqrp -printer:PD myfile.spf - lp -c -d myfile.spf.lis After this modification, all works perfectly but I left bold attributes. Any idea ? Cheers Nabil --------------------------------- Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage ! Créez votre Yahoo! Mail Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis.Téléchargez GRATUITEMENT ici ! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 30 16:12:55 2004 Date: Fri, 30 Jul 2004 17:11:48 -0400 From: "MacLellan, David" Subject: [sqr-users] SQR 4.3.4 and ORA 9i Does anyone have info on the compatability between SQR 4.3.4 and Oracle 9i...I get the following login error. =20 SQR V4.3.4 Copyright (C) SQRIBE Technologies, 1994-99. All Worldwide Rights Reserved. =20 (SQR 5528) ORACLE ORLON error -3113 in cursor 0: ORA-03113: end-of-file on communication channel (SQR 4701) Cannot logon to the database. =20 I'm certain the the user/pwd is valid...I can connect via SQLPlus during the same host session. =20 =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Fri Jul 30 16:25:20 2004 Subject: RE: [sqr-users] SQR 4.3.4 and ORA 9i Date: Fri, 30 Jul 2004 16:22:49 -0500 From: "Knapp, Richard" 9i requires encryption. Make sure you are encrypting (the same) on both ends. Richard Knapp Database Programmer/Analyst Institutional Research and Planning University of Missouri System 573-882-8856 knappr@umsystem.edu =20 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of MacLellan, David Sent: Friday, July 30, 2004 4:12 PM To: sqr-users@sqrug.org Subject: [sqr-users] SQR 4.3.4 and ORA 9i Does anyone have info on the compatability between SQR 4.3.4 and Oracle 9i...I get the following login error. =20 SQR V4.3.4 Copyright (C) SQRIBE Technologies, 1994-99. All Worldwide Rights Reserved. =20 (SQR 5528) ORACLE ORLON error -3113 in cursor 0: ORA-03113: end-of-file on communication channel (SQR 4701) Cannot logon to the database. =20 I'm certain the the user/pwd is valid...I can connect via SQLPlus during the same host session. =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+sqrusersarch=sqrug.org@sqrug.org Fri Jul 30 16:36:18 2004 From: Peter Burton Date: Fri, 30 Jul 2004 14:35:10 -0700 Subject: RE: [sqr-users] SQR 4.3.4 and ORA 9i David, SQR 4.3.x is only certified to Ocacle 8.1.6. You might be able to connect to Oracle9i but you would have to relink with Oracle 9i libraries which will require that you modify the "sqrmake" script. I would strongly suggest upgrading to a version that is certified with Oracle9i. 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 MacLellan, David > Sent: Friday, July 30, 2004 5:12 PM > To: sqr-users@sqrug.org > Subject: [sqr-users] SQR 4.3.4 and ORA 9i > > > Does anyone have info on the compatability between SQR 4.3.4 > and Oracle > 9i...I get the following login error. > > SQR V4.3.4 > > Copyright (C) SQRIBE Technologies, 1994-99. All Worldwide Rights > Reserved. > > > > (SQR 5528) ORACLE ORLON error -3113 in cursor 0: > > ORA-03113: end-of-file on communication channel > > (SQR 4701) Cannot logon to the database. > > > I'm certain the the user/pwd is valid...I can connect via > SQLPlus during > the same host session. > > > > _______________________________________________ > 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 From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Sun Aug 01 00:00:38 2004 Date: Sun, 1 Aug 2004 00:00:02 -0500 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.21 $ $Date: 2004-03-04 02:47:15-05 $ 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 2003/11/01: o Update subscribe/unsubscribe instructions for new version of list server software. o New URL for "brio-l" mailing list. 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. BrioSQRReport : Brio SQR Report List for discussion of SQR and SQR Developer (formerly called Brio.Report and Report Builder). To join, follow the link above, or send any message to "BrioSQRReport- 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. 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+sqrusersarch=sqrug.org@sqrug.org Sun Aug 01 10:44:02 2004 From: "Krist Dewilde" Date: Sun, 1 Aug 2004 17:52:18 +0200 Subject: [sqr-users] eps Image in PCL file Hi, =20 We=92re currently looking for a possibility to print eps image on a LIS File. The goal is that we geneate lis (PCL) files which are put on a UNIX machine. There are 3 types of finalization possible with these files: * Automatically Print on preprinted (image is already on it) stationery * Automatically Email : in this scenario the PCL file is converted into a PDF file * Automatically Fax: in this scenario the PCL file is converted into a PDF file The problem now is that I do not manage to get an eps file into the PCL. I get a shaded box. Our printer is a HP Laserjet 4200. =20 The only way that I=92m currently succeeding in putting a logo on the PCL is by generating a hpg file and printing that on the PCL. The problem here is that it=92s of a poor quality. =20 Maybe somebody has done this already and can give me some ideas=85 =20 Thanks for the help, =20 Krist Dewilde Mobile +32 (0) 477 612 668 =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Mon Aug 02 09:10:51 2004 From: "Sudeep Vaidya" Date: Mon, 2 Aug 2004 18:54:14 +0530 Subject: [sqr-users] Changing Font-Sizes in SQR Hi All, Can someone please tell me how can I reduce the font-size in a SQR output ? Is it must to declare the Printer in the LayOut section to achieve this ? I want to reduce the font-size to print certain cards and lables, which otherwise, do not fit on the paper in the allocated space. Can someone tell me how can I do this ? Thanks in Advance Sudeep _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Mon Aug 02 09:19:43 2004 Subject: Re: [sqr-users] Changing Font-Sizes in SQR From: "Darshil Mehta" Date: Mon, 2 Aug 2004 19:49:56 +0530 Sudeep, In the beginning of program you have to define begin-program alter-printer font=3 point-size=8 This way you can change the font size. Best regards, Darshil Mehta "Sudeep Vaidya" Sent by: sqr-users-bounces+darshil.mehta=lntinfotech.com@sqrug.org 02/08/2004 06:54 PM Please respond to "This list is for discussion about the SQR database reporting language from Hyperion Solutions." To: cc: Subject: [sqr-users] Changing Font-Sizes in SQR Hi All, Can someone please tell me how can I reduce the font-size in a SQR output ? Is it must to declare the Printer in the LayOut section to achieve this ? I want to reduce the font-size to print certain cards and lables, which otherwise, do not fit on the paper in the allocated space. Can someone tell me how can I do this ? Thanks in Advance Sudeep _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Tue Aug 03 12:02:06 2004 Date: Tue, 3 Aug 2004 10:59:18 -0600 From: "Thompson, Carla" Subject: [sqr-users] Multiple Reports: Begin-Header not Breaking Properly (Using New-Reports) SQR/6.2/UNIX Sun/SunOS 5.6/Oracle 8.1.7/Oct 29 2001 We have an SQR Report that generates separate .pdf files for a Group. We u= se New-Report to specify the new report name to be used when the Group Numb= er Changes.=20 =20=20 I've added "Begin-Header" to create Headers at each page Break, however, th= e reports are not "Breaking" properly. The reports are being generated, ho= wever, the .pdf file name is for Group #1, and the Detail within the report= is for Group #2.=20 I can't figure out how to keep the output file name and internal data infor= mation in sync. Suggestions welcomed... code below. Carla L. Thompson=20 E-mail Carla.Thompson@gwl.com Begin-Program Do Get_Group_Level End-Program BEGIN-PROCEDURE Get_Group_Level ! Select Group Level Information BEGIN-SELECT DISTINCT T_GROUP_EXTRACT_KEY &group_extract_key () on-break print=3Dnever LET $report_name =3D '/reports/grp_ins_by_pol_' || &group_number || '_' ||= datetostr(strtodate(&rpt_end_date,'Month DD, YYYY'),'YYYYMMDD') || '.pdf' New-Report $report_name Do Get_Detail T_GROUP_NUMBER &group_number T_GROUP_USER_DESC &group_user_desc T_GROUP_POLICY_DATE &group_policy_date T_GROUP_DESC &group_desc T_RPT_END_DATE &rpt_end_date FROM TEMP_INS_TABLE END-SELECT END-PROCEDURE !Get_Group_Level BEGIN-PROCEDURE Get_Detail LET #tot_death_benefit =3D 0 LET #tot_cash_value =3D 0 LET #tot_surrender_value =3D 0 LET #tot_prem_paid_to_date =3D 0 BEGIN-SELECT ! Select Detail Records for Group and Total Money Fields Alter-Printer Font=3D4 Point-Size=3D10 T_CONTRACT &policy_number (+10,5,15) T_INSURED_NAME &insured_name (+,69,35) T_DEATH_BENEFIT &death_benefit (,248) edit 9,999,999,99= 9,999.99pf LET #tot_death_benefit =3D #tot_death_benefit + &death_benefit T_TOTAL_ACCT_VAL &cash_value (,350) edit 9,999,999,99= 9,999.99pf LET #tot_cash_value =3D #tot_cash_value + &cash_value T_CASH_SURRENDER &surrender_value (,452) edit 9,999,999,99= 9,999.99pf LET #tot_surrender_value =3D #tot_surrender_value + &surrender_value T_TOTAL_DEPOSITS &prem_paid_to_date (,554) edit 9,999,999,99= 9,999.99pf LET #tot_prem_paid_to_date =3D #tot_prem_paid_to_date + &prem_paid_to_da= te FROM TEMP_INS_TABLE WHERE T_GROUP_EXTRACT_KEY =3D &group_extract_key END-SELECT Do Print_Group_Totals END-PROCEDURE !Get_Detail BEGIN-HEADING 216 !Display_Page_Headers Do Display_Group Do Heading_1 Do Heading_2 END-HEADING !Display_Page_Headers _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Tue Aug 03 12:20:47 2004 Date: Tue, 3 Aug 2004 12:18:31 -0500 (EST) From: Don Mellen Subject: Re: [sqr-users] Multiple Reports: Begin-Header not Breaking Properly (Using New-Reports) Is the detail wrong or is the heading wrong? It sounds to me like you are using "&" variables in your heading procedures, but by the time it fires (the heading fires at new-page and when the report is "closed") those values are for the *next* key. Try saving the values you use in the heading to "$" and "#" variables (remember to declare any that are dates) after the "New-Report". Then use those variables in your heading procedures instead of the "&" versions. HTH, Don On Tue, 3 Aug 2004, Thompson, Carla wrote: > SQR/6.2/UNIX Sun/SunOS 5.6/Oracle 8.1.7/Oct 29 2001 > > We have an SQR Report that generates separate .pdf files for a Group. > We use New-Report to specify the new report name to be used when the > Group Number Changes. > > I've added "Begin-Header" to create Headers at each page Break, however, > the reports are not "Breaking" properly. The reports are being > generated, however, the .pdf file name is for Group #1, and the Detail > within the report is for Group #2. > > I can't figure out how to keep the output file name and internal data > information in sync. > > Suggestions welcomed... code below. > > Carla L. Thompson > E-mail Carla.Thompson@gwl.com > > Begin-Program > Do Get_Group_Level > End-Program > > > BEGIN-PROCEDURE Get_Group_Level > > ! Select Group Level Information > BEGIN-SELECT DISTINCT > T_GROUP_EXTRACT_KEY &group_extract_key () on-break print=never > LET $report_name = '/reports/grp_ins_by_pol_' || &group_number || '_' || datetostr(strtodate(&rpt_end_date,'Month DD, YYYY'),'YYYYMMDD') || '.pdf' > New-Report $report_name > Do Get_Detail > T_GROUP_NUMBER &group_number > T_GROUP_USER_DESC &group_user_desc > T_GROUP_POLICY_DATE &group_policy_date > T_GROUP_DESC &group_desc > T_RPT_END_DATE &rpt_end_date > FROM TEMP_INS_TABLE > END-SELECT > > END-PROCEDURE !Get_Group_Level > > > BEGIN-PROCEDURE Get_Detail > > LET #tot_death_benefit = 0 > LET #tot_cash_value = 0 > LET #tot_surrender_value = 0 > LET #tot_prem_paid_to_date = 0 > > BEGIN-SELECT > ! Select Detail Records for Group and Total Money Fields > Alter-Printer Font=4 Point-Size=10 > T_CONTRACT &policy_number (+10,5,15) > T_INSURED_NAME &insured_name (+,69,35) > T_DEATH_BENEFIT &death_benefit (,248) edit 9,999,999,999,999.99pf > LET #tot_death_benefit = #tot_death_benefit + &death_benefit > T_TOTAL_ACCT_VAL &cash_value (,350) edit 9,999,999,999,999.99pf > LET #tot_cash_value = #tot_cash_value + &cash_value > T_CASH_SURRENDER &surrender_value (,452) edit 9,999,999,999,999.99pf > LET #tot_surrender_value = #tot_surrender_value + &surrender_value > T_TOTAL_DEPOSITS &prem_paid_to_date (,554) edit 9,999,999,999,999.99pf > LET #tot_prem_paid_to_date = #tot_prem_paid_to_date + &prem_paid_to_date > FROM TEMP_INS_TABLE > WHERE T_GROUP_EXTRACT_KEY = &group_extract_key > END-SELECT > > Do Print_Group_Totals > > END-PROCEDURE !Get_Detail > > BEGIN-HEADING 216 !Display_Page_Headers > Do Display_Group > Do Heading_1 > Do Heading_2 > END-HEADING !Display_Page_Headers > > _______________________________________________ > 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+sqrusersarch=sqrug.org@sqrug.org Tue Aug 03 14:22:38 2004 Subject: RE: [sqr-users] Multiple Reports: Begin-Header not Breaking Properly (Using New-Reports) Date: Tue, 3 Aug 2004 13:19:40 -0600 From: "Thompson, Carla" (continued)... The File Name is always One Group Number ahead of the (Heading & Detail) in= formation contained in the report. So, I agree, I would need to do a new-r= eport before the first break, but how do I do that when SQR controls when t= he first row of the Select is extracted?=20 Also, if the report has multiple pages, (ie. 3 pages)... the Group Number c= hanges on the last page to the *Next* Group but the detail of the previous = group hasn't finished printing yet.=20 I'm not sure how to capture the "Group Number". I saw the SAVE verb of the= On-Break... but I don't Break on the Group Number. :/=20 I'm not sure how to control when the Headers are Printed and when the next = Group Number is Read or when the New-Report is generated.=20=20 Suggestions welcomed. Thank you! -----Original Message----- From: sqr-users-bounces+carla.thompson=3Dgwl.com@sqrug.org [mailto:sqr-users-bounces+carla.thompson=3Dgwl.com@sqrug.org]On Behalf Of Bartlett, Dwain Sent: Tuesday, August 03, 2004 11:05 AM To: 'This list is for discussion about the SQR database reporting language from Hyperion Solutions.' Subject: RE: [sqr-users] Multiple Reports: Begin-Header not Breaking Properly (Using New-Reports) You need to do a new-report $report-name before the first break. Dwain Bartlett SABHRS Services Bureau, ITSD HR Systems Analyst (406) 444-0418 dbartlett@state.mt.us -----Original Message----- From: Thompson, Carla [mailto:carla.thompson@gwl.com] Sent: Tuesday, August 03, 2004 10:59 AM To: sqr-users@sqrug.org Subject: [sqr-users] Multiple Reports: Begin-Header not Breaking Properly (Using New-Reports) SQR/6.2/UNIX Sun/SunOS 5.6/Oracle 8.1.7/Oct 29 2001 We have an SQR Report that generates separate .pdf files for a Group. We use New-Report to specify the new report name to be used when the Group Number Changes.=20 =20=20 I've added "Begin-Header" to create Headers at each page Break, however, the reports are not "Breaking" properly. The reports are being generated, however, the .pdf file name is for Group #1, and the Detail within the report is for Group #2.=20 I can't figure out how to keep the output file name and internal data information in sync. Suggestions welcomed... code below. Carla L. Thompson=20 E-mail Carla.Thompson@gwl.com Begin-Program Do Get_Group_Level End-Program BEGIN-PROCEDURE Get_Group_Level ! Select Group Level Information BEGIN-SELECT DISTINCT T_GROUP_EXTRACT_KEY &group_extract_key () on-break print=3Dnever LET $report_name =3D '/reports/grp_ins_by_pol_' || &group_number || '_' || datetostr(strtodate(&rpt_end_date,'Month DD, YYYY'),'YYYYMMDD') || '.pdf' New-Report $report_name Do Get_Detail T_GROUP_NUMBER &group_number T_GROUP_USER_DESC &group_user_desc T_GROUP_POLICY_DATE &group_policy_date T_GROUP_DESC &group_desc T_RPT_END_DATE &rpt_end_date FROM TEMP_INS_TABLE END-SELECT END-PROCEDURE !Get_Group_Level BEGIN-PROCEDURE Get_Detail LET #tot_death_benefit =3D 0 LET #tot_cash_value =3D 0 LET #tot_surrender_value =3D 0 LET #tot_prem_paid_to_date =3D 0 BEGIN-SELECT ! Select Detail Records for Group and Total Money Fields Alter-Printer Font=3D4 Point-Size=3D10 T_CONTRACT &policy_number (+10,5,15) T_INSURED_NAME &insured_name (+,69,35) T_DEATH_BENEFIT &death_benefit (,248) edit 9,999,999,999,999.99pf LET #tot_death_benefit =3D #tot_death_benefit + &death_benefit T_TOTAL_ACCT_VAL &cash_value (,350) edit 9,999,999,999,999.99pf LET #tot_cash_value =3D #tot_cash_value + &cash_value T_CASH_SURRENDER &surrender_value (,452) edit 9,999,999,999,999.99pf LET #tot_surrender_value =3D #tot_surrender_value + &surrender_value T_TOTAL_DEPOSITS &prem_paid_to_date (,554) edit 9,999,999,999,999.99pf LET #tot_prem_paid_to_date =3D #tot_prem_paid_to_date + &prem_paid_to_da= te FROM TEMP_INS_TABLE WHERE T_GROUP_EXTRACT_KEY =3D &group_extract_key END-SELECT Do Print_Group_Totals END-PROCEDURE !Get_Detail BEGIN-HEADING 216 !Display_Page_Headers Do Display_Group Do Heading_1 Do Heading_2 END-HEADING !Display_Page_Headers _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Tue Aug 03 12:05:15 2004 From: "Bartlett, Dwain" Subject: RE: [sqr-users] Multiple Reports: Begin-Header not Breaking Prope rly (Using New-Reports) Date: Tue, 3 Aug 2004 11:04:34 -0600 You need to do a new-report $report-name before the first break. Dwain Bartlett SABHRS Services Bureau, ITSD HR Systems Analyst (406) 444-0418 dbartlett@state.mt.us -----Original Message----- From: Thompson, Carla [mailto:carla.thompson@gwl.com] Sent: Tuesday, August 03, 2004 10:59 AM To: sqr-users@sqrug.org Subject: [sqr-users] Multiple Reports: Begin-Header not Breaking Properly (Using New-Reports) SQR/6.2/UNIX Sun/SunOS 5.6/Oracle 8.1.7/Oct 29 2001 We have an SQR Report that generates separate .pdf files for a Group. We use New-Report to specify the new report name to be used when the Group Number Changes. I've added "Begin-Header" to create Headers at each page Break, however, the reports are not "Breaking" properly. The reports are being generated, however, the .pdf file name is for Group #1, and the Detail within the report is for Group #2. I can't figure out how to keep the output file name and internal data information in sync. Suggestions welcomed... code below. Carla L. Thompson E-mail Carla.Thompson@gwl.com Begin-Program Do Get_Group_Level End-Program BEGIN-PROCEDURE Get_Group_Level ! Select Group Level Information BEGIN-SELECT DISTINCT T_GROUP_EXTRACT_KEY &group_extract_key () on-break print=never LET $report_name = '/reports/grp_ins_by_pol_' || &group_number || '_' || datetostr(strtodate(&rpt_end_date,'Month DD, YYYY'),'YYYYMMDD') || '.pdf' New-Report $report_name Do Get_Detail T_GROUP_NUMBER &group_number T_GROUP_USER_DESC &group_user_desc T_GROUP_POLICY_DATE &group_policy_date T_GROUP_DESC &group_desc T_RPT_END_DATE &rpt_end_date FROM TEMP_INS_TABLE END-SELECT END-PROCEDURE !Get_Group_Level BEGIN-PROCEDURE Get_Detail LET #tot_death_benefit = 0 LET #tot_cash_value = 0 LET #tot_surrender_value = 0 LET #tot_prem_paid_to_date = 0 BEGIN-SELECT ! Select Detail Records for Group and Total Money Fields Alter-Printer Font=4 Point-Size=10 T_CONTRACT &policy_number (+10,5,15) T_INSURED_NAME &insured_name (+,69,35) T_DEATH_BENEFIT &death_benefit (,248) edit 9,999,999,999,999.99pf LET #tot_death_benefit = #tot_death_benefit + &death_benefit T_TOTAL_ACCT_VAL &cash_value (,350) edit 9,999,999,999,999.99pf LET #tot_cash_value = #tot_cash_value + &cash_value T_CASH_SURRENDER &surrender_value (,452) edit 9,999,999,999,999.99pf LET #tot_surrender_value = #tot_surrender_value + &surrender_value T_TOTAL_DEPOSITS &prem_paid_to_date (,554) edit 9,999,999,999,999.99pf LET #tot_prem_paid_to_date = #tot_prem_paid_to_date + &prem_paid_to_date FROM TEMP_INS_TABLE WHERE T_GROUP_EXTRACT_KEY = &group_extract_key END-SELECT Do Print_Group_Totals END-PROCEDURE !Get_Detail BEGIN-HEADING 216 !Display_Page_Headers Do Display_Group Do Heading_1 Do Heading_2 END-HEADING !Display_Page_Headers _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Tue Aug 03 14:26:40 2004 From: "Bartlett, Dwain" Subject: RE: [sqr-users] Multiple Reports: Begin-Header not Breaking Prope rly (Using New-Reports) Date: Tue, 3 Aug 2004 13:26:02 -0600 You may want to put in break logic and not use on-break. Dwain Bartlett SABHRS Services Bureau, ITSD HR Systems Analyst (406) 444-0418 dbartlett@state.mt.us -----Original Message----- From: Thompson, Carla [mailto:carla.thompson@gwl.com] Sent: Tuesday, August 03, 2004 1:20 PM To: This list is for discussion about the SQR database reporting language from Hyperion Solutions. Subject: RE: [sqr-users] Multiple Reports: Begin-Header not Breaking Properly (Using New-Reports) (continued)... The File Name is always One Group Number ahead of the (Heading & Detail) information contained in the report. So, I agree, I would need to do a new-report before the first break, but how do I do that when SQR controls when the first row of the Select is extracted? Also, if the report has multiple pages, (ie. 3 pages)... the Group Number changes on the last page to the *Next* Group but the detail of the previous group hasn't finished printing yet. I'm not sure how to capture the "Group Number". I saw the SAVE verb of the On-Break... but I don't Break on the Group Number. :/ I'm not sure how to control when the Headers are Printed and when the next Group Number is Read or when the New-Report is generated. Suggestions welcomed. Thank you! -----Original Message----- From: sqr-users-bounces+carla.thompson=gwl.com@sqrug.org [mailto:sqr-users-bounces+carla.thompson=gwl.com@sqrug.org]On Behalf Of Bartlett, Dwain Sent: Tuesday, August 03, 2004 11:05 AM To: 'This list is for discussion about the SQR database reporting language from Hyperion Solutions.' Subject: RE: [sqr-users] Multiple Reports: Begin-Header not Breaking Properly (Using New-Reports) You need to do a new-report $report-name before the first break. Dwain Bartlett SABHRS Services Bureau, ITSD HR Systems Analyst (406) 444-0418 dbartlett@state.mt.us -----Original Message----- From: Thompson, Carla [mailto:carla.thompson@gwl.com] Sent: Tuesday, August 03, 2004 10:59 AM To: sqr-users@sqrug.org Subject: [sqr-users] Multiple Reports: Begin-Header not Breaking Properly (Using New-Reports) SQR/6.2/UNIX Sun/SunOS 5.6/Oracle 8.1.7/Oct 29 2001 We have an SQR Report that generates separate .pdf files for a Group. We use New-Report to specify the new report name to be used when the Group Number Changes. I've added "Begin-Header" to create Headers at each page Break, however, the reports are not "Breaking" properly. The reports are being generated, however, the .pdf file name is for Group #1, and the Detail within the report is for Group #2. I can't figure out how to keep the output file name and internal data information in sync. Suggestions welcomed... code below. Carla L. Thompson E-mail Carla.Thompson@gwl.com Begin-Program Do Get_Group_Level End-Program BEGIN-PROCEDURE Get_Group_Level ! Select Group Level Information BEGIN-SELECT DISTINCT T_GROUP_EXTRACT_KEY &group_extract_key () on-break print=never LET $report_name = '/reports/grp_ins_by_pol_' || &group_number || '_' || datetostr(strtodate(&rpt_end_date,'Month DD, YYYY'),'YYYYMMDD') || '.pdf' New-Report $report_name Do Get_Detail T_GROUP_NUMBER &group_number T_GROUP_USER_DESC &group_user_desc T_GROUP_POLICY_DATE &group_policy_date T_GROUP_DESC &group_desc T_RPT_END_DATE &rpt_end_date FROM TEMP_INS_TABLE END-SELECT END-PROCEDURE !Get_Group_Level BEGIN-PROCEDURE Get_Detail LET #tot_death_benefit = 0 LET #tot_cash_value = 0 LET #tot_surrender_value = 0 LET #tot_prem_paid_to_date = 0 BEGIN-SELECT ! Select Detail Records for Group and Total Money Fields Alter-Printer Font=4 Point-Size=10 T_CONTRACT &policy_number (+10,5,15) T_INSURED_NAME &insured_name (+,69,35) T_DEATH_BENEFIT &death_benefit (,248) edit 9,999,999,999,999.99pf LET #tot_death_benefit = #tot_death_benefit + &death_benefit T_TOTAL_ACCT_VAL &cash_value (,350) edit 9,999,999,999,999.99pf LET #tot_cash_value = #tot_cash_value + &cash_value T_CASH_SURRENDER &surrender_value (,452) edit 9,999,999,999,999.99pf LET #tot_surrender_value = #tot_surrender_value + &surrender_value T_TOTAL_DEPOSITS &prem_paid_to_date (,554) edit 9,999,999,999,999.99pf LET #tot_prem_paid_to_date = #tot_prem_paid_to_date + &prem_paid_to_date FROM TEMP_INS_TABLE WHERE T_GROUP_EXTRACT_KEY = &group_extract_key END-SELECT Do Print_Group_Totals END-PROCEDURE !Get_Detail BEGIN-HEADING 216 !Display_Page_Headers Do Display_Group Do Heading_1 Do Heading_2 END-HEADING !Display_Page_Headers _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Tue Aug 03 15:54:49 2004 Date: Tue, 3 Aug 2004 13:53:39 -0700 (PDT) From: subrahmanyam Uppuganti Subject: [sqr-users] Use of Arrays All, Iam having some questions in using the Arrays,would greatly appreciate if some one can clarify the same.I have 11(Eleven) Input files in an sqr and needs to validate the values in the input files with that from the Peoplesoft tables, Iam thinking of using temp tables as I used that before but I need to create 11 temp tables, so is it wise to create 11 Arrays instead? if some can some one tell me the syntax. My program needs to read all the flat files,and needs to validate the values with the data base tables... Ur help is greatly appreciated... Thanks Subbu --------------------------------- Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Tue Aug 03 16:01:21 2004 From: "Bartlett, Dwain" Subject: RE: [sqr-users] Use of Arrays Date: Tue, 3 Aug 2004 14:59:12 -0600 You need to clarify more. Are all of the input files the same format? Dwain Bartlett SABHRS Services Bureau, ITSD HR Systems Analyst (406) 444-0418 dbartlett@state.mt.us -----Original Message----- From: subrahmanyam Uppuganti [mailto:u_subbu_2004@yahoo.com] Sent: Tuesday, August 03, 2004 2:54 PM To: sqr-users@sqrug.org Subject: [sqr-users] Use of Arrays All, Iam having some questions in using the Arrays,would greatly appreciate if some one can clarify the same.I have 11(Eleven) Input files in an sqr and needs to validate the values in the input files with that from the Peoplesoft tables, Iam thinking of using temp tables as I used that before but I need to create 11 temp tables, so is it wise to create 11 Arrays instead? if some can some one tell me the syntax. My program needs to read all the flat files,and needs to validate the values with the data base tables... Ur help is greatly appreciated... Thanks Subbu --------------------------------- Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Tue Aug 03 16:39:15 2004 Date: Tue, 3 Aug 2004 14:36:34 -0700 (PDT) From: subrahmanyam Uppuganti Subject: RE: [sqr-users] Use of Arrays Yes, they are all of the same format with .dat extension... subbu "Bartlett, Dwain" wrote: You need to clarify more. Are all of the input files the same format? Dwain Bartlett SABHRS Services Bureau, ITSD HR Systems Analyst (406) 444-0418 dbartlett@state.mt.us -----Original Message----- From: subrahmanyam Uppuganti [mailto:u_subbu_2004@yahoo.com] Sent: Tuesday, August 03, 2004 2:54 PM To: sqr-users@sqrug.org Subject: [sqr-users] Use of Arrays All, Iam having some questions in using the Arrays,would greatly appreciate if some one can clarify the same.I have 11(Eleven) Input files in an sqr and needs to validate the values in the input files with that from the Peoplesoft tables, Iam thinking of using temp tables as I used that before but I need to create 11 temp tables, so is it wise to create 11 Arrays instead? if some can some one tell me the syntax. My program needs to read all the flat files,and needs to validate the values with the data base tables... Ur help is greatly appreciated... Thanks Subbu --------------------------------- Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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!? New and Improved Yahoo! Mail - 100MB free storage! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Tue Aug 03 16:13:45 2004 Subject: RE: [sqr-users] Use of Arrays Date: Tue, 3 Aug 2004 16:02:38 -0500 From: "Sengupta, Rajib \(Contractor\)" You have to first create the array by using CREATE-ARRAY - e.g: create-array name=3Dbill_by_flds size=3D100=20 field=3Dfld:char=20=20=20=20 then you can use different array coomands like array-add, array-subtract e= tc. Any SQR reference book should have details on the syntax. Thanks, Rajib Sengupta Systems Analyst and Team Lead Peoplesoft Financial Consultant Conagra Business Systems Phone: 402-595-5749 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Tue Aug 03 16:54:00 2004 From: "Bartlett, Dwain" Subject: RE: [sqr-users] Use of Arrays Date: Tue, 3 Aug 2004 15:53:18 -0600 Then I would use arrays. Here is an example of how to build an array. let #f = 0 while #f < #fund-max get $array-fund from fund-totals(#f) fund if $gls9002-fund = $array-fund array-add #gls9002-amt to fund-totals(#f) amount break else if $array-fund = ' ' put $gls9002-fund #gls9002-amt into fund-totals(#f) fund amount break end-if end-if let #f = #f + 1 end-while Dwain Bartlett SABHRS Services Bureau, ITSD HR Systems Analyst (406) 444-0418 dbartlett@state.mt.us -----Original Message----- From: subrahmanyam Uppuganti [mailto:u_subbu_2004@yahoo.com] Sent: Tuesday, August 03, 2004 3:37 PM To: This list is for discussion about the SQR database reporting language from Hyperion Solutions. Subject: RE: [sqr-users] Use of Arrays Yes, they are all of the same format with .dat extension... subbu "Bartlett, Dwain" wrote: You need to clarify more. Are all of the input files the same format? Dwain Bartlett SABHRS Services Bureau, ITSD HR Systems Analyst (406) 444-0418 dbartlett@state.mt.us -----Original Message----- From: subrahmanyam Uppuganti [mailto:u_subbu_2004@yahoo.com] Sent: Tuesday, August 03, 2004 2:54 PM To: sqr-users@sqrug.org Subject: [sqr-users] Use of Arrays All, Iam having some questions in using the Arrays,would greatly appreciate if some one can clarify the same.I have 11(Eleven) Input files in an sqr and needs to validate the values in the input files with that from the Peoplesoft tables, Iam thinking of using temp tables as I used that before but I need to create 11 temp tables, so is it wise to create 11 Arrays instead? if some can some one tell me the syntax. My program needs to read all the flat files,and needs to validate the values with the data base tables... Ur help is greatly appreciated... Thanks Subbu --------------------------------- Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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!? New and Improved Yahoo! Mail - 100MB free storage! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Tue Aug 03 18:37:15 2004 From: "Alexander, Steve" Subject: RE: [sqr-users] Use of Arrays Date: Tue, 3 Aug 2004 16:34:12 -0700 Arrays are great, but using them is more complicated than not using them, so consider whether you really need them. If you are checking the input from files against database tables, you may want to use load-lookup on the tables. But do you need to keep each line of the file in memory after you've checked it? If not, don't put it in an array. -----Original Message----- From: Bartlett, Dwain [mailto:dbartlett@state.mt.us] Sent: Tuesday, August 03, 2004 2:53 PM To: 'This list is for discussion about the SQR database reporting languagef rom Hyperion Solutions.' Subject: RE: [sqr-users] Use of Arrays Then I would use arrays. Here is an example of how to build an array. let #f = 0 while #f < #fund-max get $array-fund from fund-totals(#f) fund if $gls9002-fund = $array-fund array-add #gls9002-amt to fund-totals(#f) amount break else if $array-fund = ' ' put $gls9002-fund #gls9002-amt into fund-totals(#f) fund amount break end-if end-if let #f = #f + 1 end-while Dwain Bartlett SABHRS Services Bureau, ITSD HR Systems Analyst (406) 444-0418 dbartlett@state.mt.us -----Original Message----- From: subrahmanyam Uppuganti [mailto:u_subbu_2004@yahoo.com] Sent: Tuesday, August 03, 2004 3:37 PM To: This list is for discussion about the SQR database reporting language from Hyperion Solutions. Subject: RE: [sqr-users] Use of Arrays Yes, they are all of the same format with .dat extension... subbu "Bartlett, Dwain" wrote: You need to clarify more. Are all of the input files the same format? Dwain Bartlett SABHRS Services Bureau, ITSD HR Systems Analyst (406) 444-0418 dbartlett@state.mt.us -----Original Message----- From: subrahmanyam Uppuganti [mailto:u_subbu_2004@yahoo.com] Sent: Tuesday, August 03, 2004 2:54 PM To: sqr-users@sqrug.org Subject: [sqr-users] Use of Arrays All, Iam having some questions in using the Arrays,would greatly appreciate if some one can clarify the same.I have 11(Eleven) Input files in an sqr and needs to validate the values in the input files with that from the Peoplesoft tables, Iam thinking of using temp tables as I used that before but I need to create 11 temp tables, so is it wise to create 11 Arrays instead? if some can some one tell me the syntax. My program needs to read all the flat files,and needs to validate the values with the data base tables... Ur help is greatly appreciated... Thanks Subbu --------------------------------- Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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!? New and Improved Yahoo! Mail - 100MB free storage! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Wed Aug 04 14:01:26 2004 Date: Wed, 4 Aug 2004 13:58:44 -0500 From: "Borde, Gopal S" Subject: [sqr-users] Unix command in SQR Friends, =20 I am trying to issue following UNIX command in SQR to list names of all *.txt files in a folder. ------ let $com1 =3D'find /ora10/inbound/evoucher -name "*.txt" -exec basename '{' || '}' ";" > /ora10/inbound/evoucher/dan.lis' =20=20 call system using $com1 #s wait =20 However program erred with following message =20 =20 Error on line 49: (SQR 4707) No value found for substitution variable: {} let $com1 =3D'find /ora10/inbound/evoucher -name "*.txt" -exec basename '{}' ";" > /ora10/inbound/evoucher/dan.lis' =20 Error on line 49: (SQR 4008) Unknown function or variable in expression: {}' let $com1 =3D'find /ora10/inbound/evoucher -name "*.txt" -exec basename '{}' ";" > /ora10/inbound/evoucher/dan.lis' =20 Any suggestion to run this command will be appreciated. =20 Thanks. =20 =20 =20 =20 =20 Gopal Borde ITS Dept =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Wed Aug 04 14:21:08 2004 From: "Alexander, Steve" Subject: RE: [sqr-users] Unix command in SQR Date: Wed, 4 Aug 2004 12:18:18 -0700 I think you're missing a quote mark or two, but the immediate problem is the curly brackets { and } on the same line. The compiler looks for curly brackets on the same line before anything else compiles. It will try to substitute text regardless of quote marks. It's looking for a defined constant called ' || ' (including the quotes). -----Original Message----- From: Borde, Gopal S [mailto:gopal-borde@uiowa.edu] Sent: Wednesday, August 04, 2004 11:59 AM To: sqr-users@sqrug.org Subject: [sqr-users] Unix command in SQR Friends, I am trying to issue following UNIX command in SQR to list names of all *.txt files in a folder. ------ let $com1 ='find /ora10/inbound/evoucher -name "*.txt" -exec basename '{' || '}' ";" > /ora10/inbound/evoucher/dan.lis' call system using $com1 #s wait However program erred with following message Error on line 49: (SQR 4707) No value found for substitution variable: {} let $com1 ='find /ora10/inbound/evoucher -name "*.txt" -exec basename '{}' ";" > /ora10/inbound/evoucher/dan.lis' Error on line 49: (SQR 4008) Unknown function or variable in expression: {}' let $com1 ='find /ora10/inbound/evoucher -name "*.txt" -exec basename '{}' ";" > /ora10/inbound/evoucher/dan.lis' Any suggestion to run this command will be appreciated. Thanks. Gopal Borde ITS Dept _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Thu Aug 05 09:13:09 2004 Date: Thu, 5 Aug 2004 07:12:01 -0700 (PDT) From: Dattatraya Shetty Subject: RE: [sqr-users] Unix command in SQR Gopal, Did you run this command on the Unix command line? I think you are also missing a '\' before the ";" HTH Datta. --- "Alexander, Steve" wrote: > I think you're missing a quote mark or two, but the immediate problem > is the > curly brackets { and } on the same line. The compiler looks for > curly > brackets on the same line before anything else compiles. It will try > to > substitute text regardless of quote marks. It's looking for a > defined > constant called ' || ' (including the quotes). > > -----Original Message----- > From: Borde, Gopal S [mailto:gopal-borde@uiowa.edu] > Sent: Wednesday, August 04, 2004 11:59 AM > To: sqr-users@sqrug.org > Subject: [sqr-users] Unix command in SQR > > > Friends, > > > > I am trying to issue following UNIX command in SQR to list names of > all > *.txt files in a folder. > > ------ > > let $com1 ='find /ora10/inbound/evoucher -name "*.txt" -exec basename > '{' || '}' ";" > /ora10/inbound/evoucher/dan.lis' > > > > call system using $com1 #s wait > > > > However program erred with following message > > > > > > Error on line 49: > > (SQR 4707) No value found for substitution variable: {} > > let $com1 ='find /ora10/inbound/evoucher -name "*.txt" -exec basename > '{}' ";" > /ora10/inbound/evoucher/dan.lis' > > > > Error on line 49: > > (SQR 4008) Unknown function or variable in expression: {}' > > let $com1 ='find /ora10/inbound/evoucher -name "*.txt" -exec basename > '{}' ";" > /ora10/inbound/evoucher/dan.lis' > > > > Any suggestion to run this command will be appreciated. > > > > Thanks. > > > > > > > > > > > > Gopal Borde > > ITS Dept > > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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!? Y! Messenger - Communicate in real time. Download now. http://messenger.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Aug 05 09:58:31 2004 Date: Thu, 5 Aug 2004 07:55:21 -0700 (PDT) From: Dattatraya Shetty Subject: RE: [sqr-users] Unix command in SQR Hi Gopal, Did some digging and here is what I came up with the problem is {} are creating an issue. Please see the enclosed sample program I created as a work around. ================== Sample ========================================== begin-program encode <123> into $open encode <125> into $close let $cmd = 'find . -name "*.sqr" -exec basename ' || $open || $close || ' \; > /tmp/tp_out' show $cmd call system using $cmd #s wait end-program ================================================================= this worked like a Charm and when I cat /tmp/tp_out file I have the file names of the sqr files in the current directory. Hope I have answered the question. Datta. --- Dattatraya Shetty wrote: > Gopal, > Did you run this command on the Unix command line? > > I think you are also missing a '\' before the ";" > > HTH > Datta. > --- "Alexander, Steve" wrote: > > > I think you're missing a quote mark or two, but the immediate > problem > > is the > > curly brackets { and } on the same line. The compiler looks for > > curly > > brackets on the same line before anything else compiles. It will > try > > to > > substitute text regardless of quote marks. It's looking for a > > defined > > constant called ' || ' (including the quotes). > > > > -----Original Message----- > > From: Borde, Gopal S [mailto:gopal-borde@uiowa.edu] > > Sent: Wednesday, August 04, 2004 11:59 AM > > To: sqr-users@sqrug.org > > Subject: [sqr-users] Unix command in SQR > > > > > > Friends, > > > > > > > > I am trying to issue following UNIX command in SQR to list names of > > all > > *.txt files in a folder. > > > > ------ > > > > let $com1 ='find /ora10/inbound/evoucher -name "*.txt" -exec > basename > > '{' || '}' ";" > /ora10/inbound/evoucher/dan.lis' > > > > > > > > call system using $com1 #s wait > > > > > > > > However program erred with following message > > > > > > > > > > > > Error on line 49: > > > > (SQR 4707) No value found for substitution variable: {} > > > > let $com1 ='find /ora10/inbound/evoucher -name "*.txt" -exec > basename > > '{}' ";" > /ora10/inbound/evoucher/dan.lis' > > > > > > > > Error on line 49: > > > > (SQR 4008) Unknown function or variable in expression: {}' > > > > let $com1 ='find /ora10/inbound/evoucher -name "*.txt" -exec > basename > > '{}' ";" > /ora10/inbound/evoucher/dan.lis' > > > > > > > > Any suggestion to run this command will be appreciated. > > > > > > > > Thanks. > > > > > > > > > > > > > > > > > > > > > > > > Gopal Borde > > > > ITS Dept > > > > > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > 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!? > Y! Messenger - Communicate in real time. Download now. > http://messenger.yahoo.com > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Wed Aug 04 15:11:47 2004 From: "Chu, Nicholas" Date: Wed, 4 Aug 2004 15:09:43 -0500 Subject: [sqr-users] SQR report performance I was wondering if anybody can let me know what parameters in SQR can be expanded to let it run faster? We have SQR reports that is taking almost 20mins to run depending on the size on the shipment. We are accessing Oracle 9i using SQR V6.1.4 Copyright (C) Brio Technology 1994-2000. All Worldwide Rights Reserved. These are the only 3 that we've set: SUBVARS=250 EXPRESSIONSPACE=2048 SQLSIZE=14096 I wonder what parameters and how much would take care of my problem. Thanks!! Nicholas _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Wed Aug 04 15:40:17 2004 Subject: RE: [sqr-users] SQR report performance Date: Wed, 4 Aug 2004 15:39:12 -0500 From: "Knapp, Richard" Report tuning is, in my experience, not that simple. The SQL queries themselves need to be well tuned. The code needs to be efficient, streamlined, well organized. Don't do anything in a loop 100,000 times that only needs to be done once. That sort of thing. There is no substitute for review of the code by an experienced person. Boilerplate code by novice programmers can get the job done but can almost always be improved. The judicious use of arrays can help big time. Richard Knapp Database Programmer/Analyst Institutional Research and Planning University of Missouri System 573-882-8856 knappr@umsystem.edu =20 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Chu, Nicholas Sent: Wednesday, August 04, 2004 3:10 PM To: 'sqr-users@sqrug.org' Subject: [sqr-users] SQR report performance I was wondering if anybody can let me know what parameters in SQR can be expanded to let it run faster? We have SQR reports that is taking almost 20mins to run depending on the size on the shipment. We are accessing Oracle 9i using=20 SQR V6.1.4 Copyright (C) Brio Technology 1994-2000. All Worldwide Rights Reserved. These are the only 3 that we've set: SUBVARS=3D250 EXPRESSIONSPACE=3D2048 SQLSIZE=3D14096 I wonder what parameters and how much would take care of my problem. Thanks!! Nicholas _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Wed Aug 04 15:51:29 2004 From: Peter Burton Date: Wed, 4 Aug 2004 13:45:08 -0700 Subject: RE: [sqr-users] SQR report performance Nicholas, With that version of SQR I would avoid using LET commands which are doing the same thing as the primitive commands: ADD, SUBTRACT, MULTIPLY, DIVIDE, MOVE. The primitive commands are significantly faster. LET might look prettier but there is significant overhead with that functionality. 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 Chu, Nicholas > Sent: Wednesday, August 04, 2004 4:10 PM > To: 'sqr-users@sqrug.org' > Subject: [sqr-users] SQR report performance > > > I was wondering if anybody can let me know what parameters in > SQR can be > expanded to let it run faster? > > We have SQR reports that is taking almost 20mins to run > depending on the > size on the shipment. > We are accessing Oracle 9i using > > SQR V6.1.4 Copyright (C) Brio Technology 1994-2000. All > Worldwide Rights > Reserved. > > These are the only 3 that we've set: > SUBVARS=250 > EXPRESSIONSPACE=2048 > SQLSIZE=14096 > > I wonder what parameters and how much would take care of my problem. > Thanks!! > > Nicholas > > _______________________________________________ > 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 From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Aug 05 10:49:41 2004 From: "Bryson, Steven" Subject: RE: [sqr-users] SQR report performance Date: Thu, 5 Aug 2004 11:48:14 -0400 Richard, you mention that use of arrays would help performance. How is their performance in comparison to temp tables or is there none? -----Original Message----- From: Knapp, Richard [mailto:KnappR@umsystem.edu] Sent: Wednesday, August 04, 2004 4:39 PM To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Subject: RE: [sqr-users] SQR report performance Report tuning is, in my experience, not that simple. The SQL queries themselves need to be well tuned. The code needs to be efficient, streamlined, well organized. Don't do anything in a loop 100,000 times that only needs to be done once. That sort of thing. There is no substitute for review of the code by an experienced person. Boilerplate code by novice programmers can get the job done but can almost always be improved. The judicious use of arrays can help big time. Richard Knapp Database Programmer/Analyst Institutional Research and Planning University of Missouri System 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 Chu, Nicholas Sent: Wednesday, August 04, 2004 3:10 PM To: 'sqr-users@sqrug.org' Subject: [sqr-users] SQR report performance I was wondering if anybody can let me know what parameters in SQR can be expanded to let it run faster? We have SQR reports that is taking almost 20mins to run depending on the size on the shipment. We are accessing Oracle 9i using SQR V6.1.4 Copyright (C) Brio Technology 1994-2000. All Worldwide Rights Reserved. These are the only 3 that we've set: SUBVARS=250 EXPRESSIONSPACE=2048 SQLSIZE=14096 I wonder what parameters and how much would take care of my problem. Thanks!! Nicholas _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users "The sender believes that this E-mail and any attachments were free of any harmful and malicious code or defects when sent. This message and its attachments could have been infected during transmission. By reading the message and opening any attachments, the recipient accepts full responsibility for taking protective and remedial action regarding the code or such defects. The sender is not liable for any loss or damage arising in any way from this message or its attachments." _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Aug 05 11:23:50 2004 Subject: RE: [sqr-users] SQR report performance Date: Thu, 5 Aug 2004 11:22:40 -0500 From: "Knapp, Richard" I haven't timed the differences so my claim is based on theory and the fact that I have been able to get very good response from arrays. An array is a data structure in memory; a table, temporary or otherwise, is a file structure. Databases (and table accesses) are pretty fast these days but there is always some overhead related to the db structure and file i/o. Often, though, the real table access burden is due to location of the table on a remote machine and the network overhead involved in transferring the data. In truth, some disk i/o (swapping) may be involved with the use of arrays if they are large or not accessed all at once. This last point is something I always pay attention to. If I can load and/or access the array all in one fell swoop, I do. Not always possible. If your program is being executed on a server, even an array will experience network data transfer costs. Kind of tweaky but fun, no? Another reason programmers need to know how it all works. Best, Richard Knapp Database Programmer/Analyst Institutional Research and Planning University of Missouri System 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 Bryson, Steven Sent: Thursday, August 05, 2004 10:48 AM To: 'This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions.' Subject: RE: [sqr-users] SQR report performance Richard, you mention that use of arrays would help performance. How is their performance in comparison to temp tables or is there none? -----Original Message----- From: Knapp, Richard [mailto:KnappR@umsystem.edu] Sent: Wednesday, August 04, 2004 4:39 PM To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Subject: RE: [sqr-users] SQR report performance Report tuning is, in my experience, not that simple. The SQL queries themselves need to be well tuned. The code needs to be efficient, streamlined, well organized. Don't do anything in a loop 100,000 times that only needs to be done once. That sort of thing. There is no substitute for review of the code by an experienced person. Boilerplate code by novice programmers can get the job done but can almost always be improved. The judicious use of arrays can help big time. Richard Knapp Database Programmer/Analyst Institutional Research and Planning University of Missouri System 573-882-8856 knappr@umsystem.edu =20 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Chu, Nicholas Sent: Wednesday, August 04, 2004 3:10 PM To: 'sqr-users@sqrug.org' Subject: [sqr-users] SQR report performance I was wondering if anybody can let me know what parameters in SQR can be expanded to let it run faster? We have SQR reports that is taking almost 20mins to run depending on the size on the shipment. We are accessing Oracle 9i using=20 SQR V6.1.4 Copyright (C) Brio Technology 1994-2000. All Worldwide Rights Reserved. These are the only 3 that we've set: SUBVARS=3D250 EXPRESSIONSPACE=3D2048 SQLSIZE=3D14096 I wonder what parameters and how much would take care of my problem. Thanks!! Nicholas _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users "The sender believes that this E-mail and any attachments were free of any harmful and malicious code or defects when sent. This message and its attachments could have been infected during transmission. By reading the message and opening any attachments, the recipient accepts full responsibility for taking protective and remedial action regarding the code or such defects. The sender is not liable for any loss or damage arising in any way from this message or its attachments." _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Thu Aug 05 11:30:46 2004 From: "Bartlett, Dwain" Subject: RE: [sqr-users] SQR report performance Date: Thu, 5 Aug 2004 10:30:09 -0600 I two have had success with arrays. I have been programming more year then most of you are old. I have done PeopleSoft and Sqr 7+ years. I had one sqr that took over two hours to run if I looped thru the tables. I was able to create arrays and only go thru the tables once and cut the time to less than 2 min. Dwain Bartlett SABHRS Services Bureau, ITSD HR Systems Analyst (406) 444-0418 dbartlett@state.mt.us -----Original Message----- From: Knapp, Richard [mailto:KnappR@umsystem.edu] Sent: Thursday, August 05, 2004 10:23 AM To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Subject: RE: [sqr-users] SQR report performance I haven't timed the differences so my claim is based on theory and the fact that I have been able to get very good response from arrays. An array is a data structure in memory; a table, temporary or otherwise, is a file structure. Databases (and table accesses) are pretty fast these days but there is always some overhead related to the db structure and file i/o. Often, though, the real table access burden is due to location of the table on a remote machine and the network overhead involved in transferring the data. In truth, some disk i/o (swapping) may be involved with the use of arrays if they are large or not accessed all at once. This last point is something I always pay attention to. If I can load and/or access the array all in one fell swoop, I do. Not always possible. If your program is being executed on a server, even an array will experience network data transfer costs. Kind of tweaky but fun, no? Another reason programmers need to know how it all works. Best, Richard Knapp Database Programmer/Analyst Institutional Research and Planning University of Missouri System 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 Bryson, Steven Sent: Thursday, August 05, 2004 10:48 AM To: 'This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions.' Subject: RE: [sqr-users] SQR report performance Richard, you mention that use of arrays would help performance. How is their performance in comparison to temp tables or is there none? -----Original Message----- From: Knapp, Richard [mailto:KnappR@umsystem.edu] Sent: Wednesday, August 04, 2004 4:39 PM To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Subject: RE: [sqr-users] SQR report performance Report tuning is, in my experience, not that simple. The SQL queries themselves need to be well tuned. The code needs to be efficient, streamlined, well organized. Don't do anything in a loop 100,000 times that only needs to be done once. That sort of thing. There is no substitute for review of the code by an experienced person. Boilerplate code by novice programmers can get the job done but can almost always be improved. The judicious use of arrays can help big time. Richard Knapp Database Programmer/Analyst Institutional Research and Planning University of Missouri System 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 Chu, Nicholas Sent: Wednesday, August 04, 2004 3:10 PM To: 'sqr-users@sqrug.org' Subject: [sqr-users] SQR report performance I was wondering if anybody can let me know what parameters in SQR can be expanded to let it run faster? We have SQR reports that is taking almost 20mins to run depending on the size on the shipment. We are accessing Oracle 9i using SQR V6.1.4 Copyright (C) Brio Technology 1994-2000. All Worldwide Rights Reserved. These are the only 3 that we've set: SUBVARS=250 EXPRESSIONSPACE=2048 SQLSIZE=14096 I wonder what parameters and how much would take care of my problem. Thanks!! Nicholas _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users "The sender believes that this E-mail and any attachments were free of any harmful and malicious code or defects when sent. This message and its attachments could have been infected during transmission. By reading the message and opening any attachments, the recipient accepts full responsibility for taking protective and remedial action regarding the code or such defects. The sender is not liable for any loss or damage arising in any way from this message or its attachments." _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Thu Aug 05 12:04:10 2004 From: "Alexander, Steve" Subject: RE: [sqr-users] SQR report performance Date: Thu, 5 Aug 2004 10:00:41 -0700 I agree with Richard and Dwaine, but there is another point to remember - the time you take to load the arrays. Certainly, reading the same thing over and over from an array is faster than reading it over and over again from a networked disk drive. But are you reading the same thing over and over? Or are you reading each thing once, but inefficiently? The slowest part of most SQRs, and the area with the greatest potential for improvement, is the SQL statements. You should strive to to execute the fewest, simplest SQL statements possible. The advantage of an array, or a load-lookup statement, is that you can replace 100,000 single row selections with one selection of 100,000 rows. We could probably give you all sorts of specific advice if you tell us more about the program. -----Original Message----- From: Bartlett, Dwain [mailto:dbartlett@state.mt.us] Sent: Thursday, August 05, 2004 9:30 AM To: 'This list is for discussion about the SQR database reporting languagef rom Hyperion Solutions.' Subject: RE: [sqr-users] SQR report performance I two have had success with arrays. I have been programming more year then most of you are old. I have done PeopleSoft and Sqr 7+ years. I had one sqr that took over two hours to run if I looped thru the tables. I was able to create arrays and only go thru the tables once and cut the time to less than 2 min. Dwain Bartlett SABHRS Services Bureau, ITSD HR Systems Analyst (406) 444-0418 dbartlett@state.mt.us -----Original Message----- From: Knapp, Richard [mailto:KnappR@umsystem.edu] Sent: Thursday, August 05, 2004 10:23 AM To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Subject: RE: [sqr-users] SQR report performance I haven't timed the differences so my claim is based on theory and the fact that I have been able to get very good response from arrays. An array is a data structure in memory; a table, temporary or otherwise, is a file structure. Databases (and table accesses) are pretty fast these days but there is always some overhead related to the db structure and file i/o. Often, though, the real table access burden is due to location of the table on a remote machine and the network overhead involved in transferring the data. In truth, some disk i/o (swapping) may be involved with the use of arrays if they are large or not accessed all at once. This last point is something I always pay attention to. If I can load and/or access the array all in one fell swoop, I do. Not always possible. If your program is being executed on a server, even an array will experience network data transfer costs. Kind of tweaky but fun, no? Another reason programmers need to know how it all works. Best, Richard Knapp Database Programmer/Analyst Institutional Research and Planning University of Missouri System 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 Bryson, Steven Sent: Thursday, August 05, 2004 10:48 AM To: 'This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions.' Subject: RE: [sqr-users] SQR report performance Richard, you mention that use of arrays would help performance. How is their performance in comparison to temp tables or is there none? -----Original Message----- From: Knapp, Richard [mailto:KnappR@umsystem.edu] Sent: Wednesday, August 04, 2004 4:39 PM To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Subject: RE: [sqr-users] SQR report performance Report tuning is, in my experience, not that simple. The SQL queries themselves need to be well tuned. The code needs to be efficient, streamlined, well organized. Don't do anything in a loop 100,000 times that only needs to be done once. That sort of thing. There is no substitute for review of the code by an experienced person. Boilerplate code by novice programmers can get the job done but can almost always be improved. The judicious use of arrays can help big time. Richard Knapp Database Programmer/Analyst Institutional Research and Planning University of Missouri System 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 Chu, Nicholas Sent: Wednesday, August 04, 2004 3:10 PM To: 'sqr-users@sqrug.org' Subject: [sqr-users] SQR report performance I was wondering if anybody can let me know what parameters in SQR can be expanded to let it run faster? We have SQR reports that is taking almost 20mins to run depending on the size on the shipment. We are accessing Oracle 9i using SQR V6.1.4 Copyright (C) Brio Technology 1994-2000. All Worldwide Rights Reserved. These are the only 3 that we've set: SUBVARS=250 EXPRESSIONSPACE=2048 SQLSIZE=14096 I wonder what parameters and how much would take care of my problem. Thanks!! Nicholas _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users "The sender believes that this E-mail and any attachments were free of any harmful and malicious code or defects when sent. This message and its attachments could have been infected during transmission. By reading the message and opening any attachments, the recipient accepts full responsibility for taking protective and remedial action regarding the code or such defects. The sender is not liable for any loss or damage arising in any way from this message or its attachments." _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Thu Aug 05 12:52:55 2004 Subject: Re: [sqr-users] SQR report performance From: bknoch@hinda.com Date: Thu, 5 Aug 2004 12:50:25 -0500 More information would probably help. Is it a single sql statement taking 20 minutes, or several ones? Perhaps one running in a fraction of a second but with several hundred thousand iterations? Is the report returning massive amounts of data? Are your indexes good? Are the statistics updated on the tables? Is the optimizer choosing the right indexes? |---------+--------------------------------------------> | | "Chu, Nicholas" | | | | | | Sent by: | | | sqr-users-bounces+bknoch=hinda.co| | | m@sqrug.org | | | | | | | | | 08/04/2004 03:09 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] SQR report performance | >----------------------------------------------------------------------------------------------| I was wondering if anybody can let me know what parameters in SQR can be expanded to let it run faster? We have SQR reports that is taking almost 20mins to run depending on the size on the shipment. We are accessing Oracle 9i using SQR V6.1.4 Copyright (C) Brio Technology 1994-2000. All Worldwide Rights Reserved. These are the only 3 that we've set: SUBVARS=250 EXPRESSIONSPACE=2048 SQLSIZE=14096 I wonder what parameters and how much would take care of my problem. Thanks!! Nicholas _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users This communication is for the exclusive use of addressee and may contain confidential, proprietary or privileged information which may be used exclusively for its intended purpose. 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+sqrusersarch=sqrug.org@sqrug.org Wed Aug 04 15:48:01 2004 Date: Wed, 4 Aug 2004 15:45:15 -0500 From: "Penny J. Heeren" Subject: [sqr-users] PDF Files created by SQR We are creating several PDF files from various SQR programs with the following code section: declare-report report7 ! Image file report .pdf format printer-type=3Dpd layout=3Dlayout7 end-declare This file is then picked up by another process, and emailed to a recipient. Occasionally, the file received by the user is unable to be opened by Adobe Reader, with an error "Unable to open file, file has been corrupted". If we rerun the SQR program to generate the file again, the emailed file works this time. Since my manager has handled this in the past and not gotten me involved, I haven't had a chance to look at the file before it gets rewritten to see if it's corrupted on our server before it goes out in the email or if it's corrupted by the email/by sending the email/by receiving the email. I've made sure he knows that I want to see the file before it's replaced the next time this happens, as it's entirely possible this isn't an SQR issue, but an email issue... however, he wanted me to ask for feedback from the user group in case someone else has encountered this. Additionally, if the recipient has a Yahoo mail account, that software treats the attached file as part of the body and displays the binary data in the body of the file. I'm 99.9% certain that has nothing to do with SQR nor the content of the file, but the way the file is attached. It's been a problem for some other email programs, but, for example, works fine consistently on Hotmail. The program that actually identifies that there is a file to be emailed and generates the email is a custom application built by a coworker using ASP running on Windows 2000, and interfaces with Microsoft Exchange to create the email from data stored in a flat text file that contains sender, recipient, subject, body, and if there is an attachment, the file path for the attachment file. SQR version is 8.0, running on RedHat Advanced Server Linux box. Has anyone else had issues like this or any ideas of a better way to do this?=20 Penny Heeren DBA/Programmer Analyst Newton Manufacturing Co e-mail: pheeren@newtonmfg.com phone: 641-791-4242 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Wed Aug 04 15:55:04 2004 Subject: RE: [sqr-users] PDF Files created by SQR Date: Wed, 4 Aug 2004 15:51:16 -0500 From: "Knapp, Richard" Is the file being sent as an attachment to all destinations/mailers? Richard Knapp Database Programmer/Analyst Institutional Research and Planning University of Missouri System 573-882-8856 knappr@umsystem.edu =20 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Penny J. Heeren Sent: Wednesday, August 04, 2004 3:45 PM To: sqr-users@sqrug.org Subject: [sqr-users] PDF Files created by SQR We are creating several PDF files from various SQR programs with the following code section: declare-report report7 ! Image file report .pdf format printer-type=3Dpd layout=3Dlayout7 end-declare This file is then picked up by another process, and emailed to a recipient. Occasionally, the file received by the user is unable to be opened by Adobe Reader, with an error "Unable to open file, file has been corrupted". If we rerun the SQR program to generate the file again, the emailed file works this time. Since my manager has handled this in the past and not gotten me involved, I haven't had a chance to look at the file before it gets rewritten to see if it's corrupted on our server before it goes out in the email or if it's corrupted by the email/by sending the email/by receiving the email. I've made sure he knows that I want to see the file before it's replaced the next time this happens, as it's entirely possible this isn't an SQR issue, but an email issue... however, he wanted me to ask for feedback from the user group in case someone else has encountered this. Additionally, if the recipient has a Yahoo mail account, that software treats the attached file as part of the body and displays the binary data in the body of the file. I'm 99.9% certain that has nothing to do with SQR nor the content of the file, but the way the file is attached. It's been a problem for some other email programs, but, for example, works fine consistently on Hotmail. The program that actually identifies that there is a file to be emailed and generates the email is a custom application built by a coworker using ASP running on Windows 2000, and interfaces with Microsoft Exchange to create the email from data stored in a flat text file that contains sender, recipient, subject, body, and if there is an attachment, the file path for the attachment file. SQR version is 8.0, running on RedHat Advanced Server Linux box. Has anyone else had issues like this or any ideas of a better way to do this?=20 Penny Heeren DBA/Programmer Analyst Newton Manufacturing Co e-mail: pheeren@newtonmfg.com phone: 641-791-4242 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Wed Aug 04 16:00:01 2004 Subject: RE: [sqr-users] PDF Files created by SQR Date: Wed, 4 Aug 2004 15:58:53 -0500 From: "Hins, Thomas D. \(HSC\)" I just wrote an SQR and from Unix I email files to different users. The tr= ouble is I hardcoded the email addresses, I didn't like that but I would ha= ve liked to make a small table and load the filename, email address to rece= ive it and retrieve it from there each time but didn't take the time to do = that. That way I could just update the table and not change the sqr, add r= ecepients if I want etc. Here is the email code I used. I'll probably change it in the future to us= e a table to get who receives the different files. You are also suppose to= be able to have a subj line, etc and I found I could have a subject line a= nd no attachment or an attachment and no subject line, played around for aw= hile and couldn't get both to work if someone else has experience and wants= to share that would be appreciated. Positive changes are also invited, cod= e below is subject to your own testing for your environment...=20=20=20 Begin-REPORT do Init-DateTime do Get-Current-DateTime do STDAPI-Init Let $ReportID =3D 'OUFNDCK' do Open-File-Logic do Init-REPORT do Get-Rpt-Dates do Process-Main do stdapi-term=20=20=20=20=20 Display $Asoftoday Close 10=20=20 Close 20 Close 30 Do Email-File do Reset end-REPORT begin-procedure Init-Report ! Let $filedate =3D SUBSTR($Asoftoday,1,2)||substr($Asoftoday,4,3)||substr= ($Asoftoday,8,4) Let $File1 =3D $ftpout||'badsprd.dat' let $File2 =3D $ftpout||'Badempearns.dat' let $File3 =3D $ftpout||'Badgrants.dat' #debug display $file1 SHOW 'OUTFILE IS ' $FILE1 Open $File1 as 10 for-writing record =3D 120:vary=20 Open $File2 as 20 for-writing record =3D 187:vary Open $File3 as 30 for-writing record =3D 187:vary =20=20=20 if $prcs_process_instance =3D '' ! No Prompt end-if =20=20 =20=20 end-procedure Begin-Procedure Email-File IF #Inactivated > 0 let $system =3D 'uuencode '|| $FILE1 ||' '|| $FILE1 ||'| mail xxx1@x= xxx.edu' show 'system variable is ' $system=20 CALL SYSTEM USING $system #unix_status=20 let $system =3D 'uuencode '|| $FILE1 ||' '|| $FILE1 ||'| mail xxx2@= xxxx.edu' show 'system variable is ' $system=20 CALL SYSTEM USING $system #unix_status=20 End-if IF #BAD_EMP_EARNS > 0 let $system =3D 'uuencode '|| $FILE2 ||' '|| $FILE2 || '| mail xxx1@x= xxx.edu' show 'system variable is ' $system=20 CALL SYSTEM USING $system #unix_status let $system =3D 'uuencode '|| $FILE2 ||' '|| $FILE2 || '| mail xxx2@x= xxx.edu' show 'system variable is ' $system=20 CALL SYSTEM USING $system #unix_status let $system =3D 'uuencode '|| $FILE2 ||' '|| $FILE2 || '| mail xxx3@= xxxx.edu' show 'system variable is ' $system=20 CALL SYSTEM USING $system #unix_status let $system =3D 'uuencode '|| $FILE2 ||' '|| $FILE2 || '| mail xxx4@= xxxx.edu' show 'system variable is ' $system=20 CALL SYSTEM USING $system #unix_status End-if=20 IF #Bad_Emp_Grants > 0 let $system =3D 'uuencode '|| $FILE3 ||' '|| $FILE3 || '| mail xxx1@x= xxx.edu' show 'system variable is ' $system=20 CALL SYSTEM USING $system #unix_status let $system =3D 'uuencode '|| $FILE3 ||' '|| $FILE3 || '| mail xxx2@x= xxx.edu' show 'system variable is ' $system=20 CALL SYSTEM USING $system #unix_status let $system =3D 'uuencode '|| $FILE3 ||' '|| $FILE3 || '| mail xxx3@x= xxx@ouhsc.edu' show 'system variable is ' $system=20 CALL SYSTEM USING $system #unix_status let $system =3D 'uuencode '|| $FILE3 ||' '|| $FILE3 || '| mail xxx4@= xxxx.edu' show 'system variable is ' $system=20 CALL SYSTEM USING $system #unix_status End-if=20 Tom Hins Information Technology - Application Solutions University of Oklahoma Health Sciences Center P.O. Box 26901 Oklahoma City, OK 73190 Phone:(405) 271-2262 Ext. 50213 Fax: (405) 271-2352 (The information transmitted is intended only for the person or entity to w= hich it is addressed and may contain confidential and/or privileged materia= l. If you are not the intended recipient of this message you are hereby not= ified that any use, review, retransmission, dissemination, distribution, re= production or any action taken in reliance upon this message is prohibited.= If you received this in error, please contact the sender and delete the ma= terial from any computer. Any views expressed in this message are those of = the individual sender and may not necessarily reflect the views of the comp= any.) -----Original Message----- From: sqr-users-bounces+thomas-hins=3Douhsc.edu@sqrug.org [mailto:sqr-users-bounces+thomas-hins=3Douhsc.edu@sqrug.org]On Behalf Of Penny J. Heeren Sent: Wednesday, August 04, 2004 3:45 PM To: sqr-users@sqrug.org Subject: [sqr-users] PDF Files created by SQR We are creating several PDF files from various SQR programs with the following code section: declare-report report7 ! Image file report .pdf format printer-type=3Dpd layout=3Dlayout7 end-declare This file is then picked up by another process, and emailed to a recipient. Occasionally, the file received by the user is unable to be opened by Adobe Reader, with an error "Unable to open file, file has been corrupted". If we rerun the SQR program to generate the file again, the emailed file works this time. Since my manager has handled this in the past and not gotten me involved, I haven't had a chance to look at the file before it gets rewritten to see if it's corrupted on our server before it goes out in the email or if it's corrupted by the email/by sending the email/by receiving the email. I've made sure he knows that I want to see the file before it's replaced the next time this happens, as it's entirely possible this isn't an SQR issue, but an email issue... however, he wanted me to ask for feedback from the user group in case someone else has encountered this. Additionally, if the recipient has a Yahoo mail account, that software treats the attached file as part of the body and displays the binary data in the body of the file. I'm 99.9% certain that has nothing to do with SQR nor the content of the file, but the way the file is attached. It's been a problem for some other email programs, but, for example, works fine consistently on Hotmail. The program that actually identifies that there is a file to be emailed and generates the email is a custom application built by a coworker using ASP running on Windows 2000, and interfaces with Microsoft Exchange to create the email from data stored in a flat text file that contains sender, recipient, subject, body, and if there is an attachment, the file path for the attachment file. SQR version is 8.0, running on RedHat Advanced Server Linux box. Has anyone else had issues like this or any ideas of a better way to do this?=20 Penny Heeren DBA/Programmer Analyst Newton Manufacturing Co e-mail: pheeren@newtonmfg.com phone: 641-791-4242 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Wed Aug 04 22:14:49 2004 Date: Wed, 04 Aug 2004 20:13:12 -0700 From: "Meenu Jhigan" Subject: RE: [sqr-users] PDF Files created by SQR This is a multi-part message in MIME format... --=_Part_46678f13$c76a$4e4f$876c$5db3e5d5e2fb Content-Type: text/plain I use a table to store email addresses amongst other fields on the table and use an application engine program that has peoplecode to generate emails for everyone in the table. This table is part of certain process and is deleted and filled with new rows everytime we run the process. Peoplecode uses sendmail function that allows you to enter from , to , subject, text ,attachment - everything that an email has. This procedure also requires SMTP settings on the Unix and NT servers. This is a bit different approach from using sqr but is a good one to use if your aim is to just send emails with some details. We are using this for almost 3 years now and it runs a few times in a week and works great. Hope this helps. Meenu >>> Thomas-Hins@ouhsc.edu 8/4/2004 1:58:53 PM >>> I just wrote an SQR and from Unix I email files to different users. The trouble is I hardcoded the email addresses, I didn't like that but I would have liked to make a small table and load the filename, email address to receive it and retrieve it from there each time but didn't take the time to do that. That way I could just update the table and not change the sqr, add recepients if I want etc. Here is the email code I used. I'll probably change it in the future to use a table to get who receives the different files. You are also suppose to be able to have a subj line, etc and I found I could have a subject line and no attachment or an attachment and no subject line, played around for awhile and couldn't get both to work if someone else has experience and wants to share that would be appreciated. Positive changes are also invited, code below is subject to your own testing for your environment... Begin-REPORT do Init-DateTime do Get-Current-DateTime do STDAPI-Init Let $ReportID = 'OUFNDCK' do Open-File-Logic do Init-REPORT do Get-Rpt-Dates do Process-Main do stdapi-term Display $Asoftoday Close 10 Close 20 Close 30 Do Email-File do Reset end-REPORT begin-procedure Init-Report ! Let $filedate = SUBSTR($Asoftoday,1,2)||substr($Asoftoday,4,3)||substr($Asoftoday,8,4) Let $File1 = $ftpout||'badsprd.dat' let $File2 = $ftpout||'Badempearns.dat' let $File3 = $ftpout||'Badgrants.dat' #debug display $file1 SHOW 'OUTFILE IS ' $FILE1 Open $File1 as 10 for-writing record = 120:vary Open $File2 as 20 for-writing record = 187:vary Open $File3 as 30 for-writing record = 187:vary if $prcs_process_instance = '' ! No Prompt end-if end-procedure Begin-Procedure Email-File IF #Inactivated > 0 let $system = 'uuencode '|| $FILE1 ||' '|| $FILE1 ||'| mail xxx1@xxxx.edu' show 'system variable is ' $system CALL SYSTEM USING $system #unix_status let $system = 'uuencode '|| $FILE1 ||' '|| $FILE1 ||'| mail xxx2@xxxx.edu' show 'system variable is ' $system CALL SYSTEM USING $system #unix_status End-if IF #BAD_EMP_EARNS > 0 let $system = 'uuencode '|| $FILE2 ||' '|| $FILE2 || '| mail xxx1@xxxx.edu' show 'system variable is ' $system CALL SYSTEM USING $system #unix_status let $system = 'uuencode '|| $FILE2 ||' '|| $FILE2 || '| mail xxx2@xxxx.edu' show 'system variable is ' $system CALL SYSTEM USING $system #unix_status let $system = 'uuencode '|| $FILE2 ||' '|| $FILE2 || '| mail xxx3@xxxx.edu' show 'system variable is ' $system CALL SYSTEM USING $system #unix_status let $system = 'uuencode '|| $FILE2 ||' '|| $FILE2 || '| mail xxx4@xxxx.edu' show 'system variable is ' $system CALL SYSTEM USING $system #unix_status End-if IF #Bad_Emp_Grants > 0 let $system = 'uuencode '|| $FILE3 ||' '|| $FILE3 || '| mail xxx1@xxxx.edu' show 'system variable is ' $system CALL SYSTEM USING $system #unix_status let $system = 'uuencode '|| $FILE3 ||' '|| $FILE3 || '| mail xxx2@xxxx.edu' show 'system variable is ' $system CALL SYSTEM USING $system #unix_status let $system = 'uuencode '|| $FILE3 ||' '|| $FILE3 || '| mail xxx3@xxxx@ouhsc.edu' show 'system variable is ' $system CALL SYSTEM USING $system #unix_status let $system = 'uuencode '|| $FILE3 ||' '|| $FILE3 || '| mail xxx4@xxxx.edu' show 'system variable is ' $system CALL SYSTEM USING $system #unix_status End-if Tom Hins Information Technology - Application Solutions University of Oklahoma Health Sciences Center P.O. Box 26901 Oklahoma City, OK 73190 Phone:(405) 271-2262 Ext. 50213 Fax: (405) 271-2352 (The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the intended recipient of this message you are hereby notified that any use, review, retransmission, dissemination, distribution, reproduction or any action taken in reliance upon this message is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of the company.) -----Original Message----- This message scanned for viruses and SPAM by GWGuardian at SCU (MGW1) --=_Part_46678f13$c76a$4e4f$876c$5db3e5d5e2fb Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: AUTOMATIC WARNING Here was an embedded message of 'message/rfc822' MIME type. It has been automatically discarded before sending the whole message to the list, since it didn't contain any(more) textual part. --=_Part_46678f13$c76a$4e4f$876c$5db3e5d5e2fb 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 --=_Part_46678f13$c76a$4e4f$876c$5db3e5d5e2fb-- From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Aug 05 08:23:58 2004 Subject: Re: [sqr-users] PDF Files created by SQR From: bknoch@hinda.com Date: Thu, 5 Aug 2004 08:22:43 -0500 We've been having some problems with the PDF output from SQR as well. In our case, we generate a PDF file, then our fax software converts it to a TIF format and faxes it out. In some cases, the conversion fails even though we can open the PDF file in Adobe and view it. My coworker ran the PDF through some kind of optimizer, and then the TIF file could be generated. We think there are some extra characters or some kind of funky ones inside the PDF that causes this. |---------+--------------------------------------------> | | "Penny J. Heeren" | | | | | | Sent by: | | | sqr-users-bounces+bknoch=hinda.co| | | m@sqrug.org | | | | | | | | | 08/04/2004 03:45 PM | | | Please respond to "This list is | | | for discussion about the SQR | | | database reporting language | | | from Hyperion Solutions." | | | | |---------+--------------------------------------------> >----------------------------------------------------------------------------------------------| | | | To: | | cc: | | Subject: [sqr-users] PDF Files created by SQR | >----------------------------------------------------------------------------------------------| We are creating several PDF files from various SQR programs with the following code section: declare-report report7 ! Image file report .pdf format printer-type=pd layout=layout7 end-declare This file is then picked up by another process, and emailed to a recipient. Occasionally, the file received by the user is unable to be opened by Adobe Reader, with an error "Unable to open file, file has been corrupted". If we rerun the SQR program to generate the file again, the emailed file works this time. Since my manager has handled this in the past and not gotten me involved, I haven't had a chance to look at the file before it gets rewritten to see if it's corrupted on our server before it goes out in the email or if it's corrupted by the email/by sending the email/by receiving the email. I've made sure he knows that I want to see the file before it's replaced the next time this happens, as it's entirely possible this isn't an SQR issue, but an email issue... however, he wanted me to ask for feedback from the user group in case someone else has encountered this. Additionally, if the recipient has a Yahoo mail account, that software treats the attached file as part of the body and displays the binary data in the body of the file. I'm 99.9% certain that has nothing to do with SQR nor the content of the file, but the way the file is attached. It's been a problem for some other email programs, but, for example, works fine consistently on Hotmail. The program that actually identifies that there is a file to be emailed and generates the email is a custom application built by a coworker using ASP running on Windows 2000, and interfaces with Microsoft Exchange to create the email from data stored in a flat text file that contains sender, recipient, subject, body, and if there is an attachment, the file path for the attachment file. SQR version is 8.0, running on RedHat Advanced Server Linux box. Has anyone else had issues like this or any ideas of a better way to do this? Penny Heeren DBA/Programmer Analyst Newton Manufacturing Co e-mail: pheeren@newtonmfg.com phone: 641-791-4242 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users This communication is for the exclusive use of addressee and may contain confidential, proprietary or privileged information which may be used exclusively for its intended purpose. 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+sqrusersarch=sqrug.org@sqrug.org Thu Aug 05 11:10:48 2004 Date: Thu, 05 Aug 2004 11:08:26 -0500 From: Eric Dimick Eastman Subject: Re: [sqr-users] PDF Files created by SQR Penny and others in this thread, Your problems sound similar to one I had quite a while ago. They are tricky to debug because the symptom only happens occasionally. If I recall correctly, the problem was that our automatic processing of the PDF started before SQR was completely done generating the file. If you are running the SQR with the "-printer:pd" the final rendering of the PDF file seems to happen asynchronously. Try running the SQR with the "-nolis" option and then explicitly calling sqrp to generate the PDF file. Hope this helps, Eric Penny J. Heeren wrote: > We are creating several PDF files from various SQR programs with the > following code section: > > declare-report report7 ! Image file report .pdf format > printer-type=pd > layout=layout7 > end-declare > > This file is then picked up by another process, and emailed to a > recipient. Occasionally, the file received by the user is unable to be > opened by Adobe Reader, with an error "Unable to open file, file has > been corrupted". If we rerun the SQR program to generate the file again, > the emailed file works this time. Since my manager has handled this in > the past and not gotten me involved, I haven't had a chance to look at > the file before it gets rewritten to see if it's corrupted on our server > before it goes out in the email or if it's corrupted by the email/by > sending the email/by receiving the email. I've made sure he knows that I > want to see the file before it's replaced the next time this happens, as > it's entirely possible this isn't an SQR issue, but an email issue... > however, he wanted me to ask for feedback from the user group in case > someone else has encountered this. > > Additionally, if the recipient has a Yahoo mail account, that software > treats the attached file as part of the body and displays the binary > data in the body of the file. I'm 99.9% certain that has nothing to do > with SQR nor the content of the file, but the way the file is attached. > It's been a problem for some other email programs, but, for example, > works fine consistently on Hotmail. The program that actually identifies > that there is a file to be emailed and generates the email is a custom > application built by a coworker using ASP running on Windows 2000, and > interfaces with Microsoft Exchange to create the email from data stored > in a flat text file that contains sender, recipient, subject, body, and > if there is an attachment, the file path for the attachment file. > > SQR version is 8.0, running on RedHat Advanced Server Linux box. > > Has anyone else had issues like this or any ideas of a better way to do > this? > > Penny Heeren > DBA/Programmer Analyst > Newton Manufacturing Co > e-mail: pheeren@newtonmfg.com > phone: 641-791-4242 > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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+sqrusersarch=sqrug.org@sqrug.org Wed Aug 04 16:10:14 2004 From: Kaz.Narayanan@averydennison.com Date: Wed, 4 Aug 2004 14:01:59 -0700 Subject: [sqr-users] Fetch out of sequence in an SQR Hi All, I get a ORA-01002: fetch out of sequence error in an SQR program. Apparently this happens because, there is a rollback statement inside a begin-select loop. Is it possible to avoid this error? Thanks Regards KM 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+sqrusersarch=sqrug.org@sqrug.org Wed Aug 04 16:17:40 2004 Date: Wed, 04 Aug 2004 16:17:05 -0500 From: Eric Dimick Eastman Subject: Re: [sqr-users] Fetch out of sequence in an SQR KM Narayanan, You can't have a commit or rollback statement inside a begin-select loop. The begin-select loop opens an Oracle cursor. Commit and rollback close all open cursors on that connection. You may have to select the data you need into a temporary file or array if you really need to do commits/rollbacks while processing. Hope this helps, Eric Kaz.Narayanan@averydennison.com wrote: > > Hi All, > > I get a > > ORA-01002: fetch out of sequence > > error in an SQR program. Apparently this happens because, there is a > rollback statement inside a > begin-select loop. > > Is it possible to avoid this error? > > Thanks > > Regards > KM 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+sqrusersarch=sqrug.org@sqrug.org Wed Aug 04 16:32:10 2004 From: "the dragon" Subject: RE: [sqr-users] Fetch out of sequence in an SQR Date: Wed, 04 Aug 2004 16:29:39 -0500 take out the rollback?? 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. "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) ----Original Message Follows---- Hi All, I get a ORA-01002: fetch out of sequence error in an SQR program. Apparently this happens because, there is a rollback statement inside a begin-select loop. Is it possible to avoid this error? Thanks Regards KM 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+sqrusersarch=sqrug.org@sqrug.org Thu Aug 05 08:29:48 2004 Subject: FW: [sqr-users] PDF Files created by SQR Date: Thu, 5 Aug 2004 08:28:46 -0500 From: "Penny J. Heeren" Actually this is pretty similar to how we USED to send our emails using UUENCODE. We didn't have anything hard-coded, but would instead populate everything from various values in tables or based on certain logic. However, we were having issues when the attachments weren't always getting the 'close' (crlf . crlf ?) indication, so the recipients email server kept waiting for the last piece of the email to indicate that it had the whole file and would time out. Wouldn't happen all of the time, but about 10% of the time we would get a response back from the other email server that the email 'timed out' and did not get delivered after a couple of days. Since then, we simply created a text file with the header and body of the email and a line 'attachement file:' with it's path. And the ASP email program we're using opens the file, and creates the email with the attachment and sends it. Now we've got about a 99% success rate with only a few issues with a 'corrupt' PDF. -----Original Message----- From: Hins, Thomas D. (HSC) [mailto:Thomas-Hins@ouhsc.edu]=20 Sent: Wednesday, August 04, 2004 3:59 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] PDF Files created by SQR I just wrote an SQR and from Unix I email files to different users. The trouble is I hardcoded the email addresses, I didn't like that but I would have liked to make a small table and load the filename, email address to receive it and retrieve it from there each time but didn't take the time to do that. That way I could just update the table and not change the sqr, add recepients if I want etc. Here is the email code I used. I'll probably change it in the future to use a table to get who receives the different files. You are also suppose to be able to have a subj line, etc and I found I could have a subject line and no attachment or an attachment and no subject line, played around for awhile and couldn't get both to work if someone else has experience and wants to share that would be appreciated. Positive changes are also invited, code below is subject to your own testing for your environment...=20=20=20 Begin-REPORT do Init-DateTime do Get-Current-DateTime do STDAPI-Init Let $ReportID =3D 'OUFNDCK' do Open-File-Logic do Init-REPORT do Get-Rpt-Dates do Process-Main do stdapi-term=20=20=20=20=20 Display $Asoftoday Close 10=20=20 Close 20 Close 30 Do Email-File do Reset end-REPORT begin-procedure Init-Report ! Let $filedate =3D SUBSTR($Asoftoday,1,2)||substr($Asoftoday,4,3)||substr($Asoftoday,8,4) Let $File1 =3D $ftpout||'badsprd.dat' let $File2 =3D $ftpout||'Badempearns.dat' let $File3 =3D $ftpout||'Badgrants.dat' #debug display $file1 SHOW 'OUTFILE IS ' $FILE1 Open $File1 as 10 for-writing record =3D 120:vary=20 Open $File2 as 20 for-writing record =3D 187:vary Open $File3 as 30 for-writing record =3D 187:vary =20=20=20 if $prcs_process_instance =3D '' ! No Prompt end-if =20=20 =20=20 end-procedure Begin-Procedure Email-File IF #Inactivated > 0 let $system =3D 'uuencode '|| $FILE1 ||' '|| $FILE1 ||'| mail xxx1@xxxx.edu' show 'system variable is ' $system=20 CALL SYSTEM USING $system #unix_status=20 let $system =3D 'uuencode '|| $FILE1 ||' '|| $FILE1 ||'| mail xxx2@xxxx.edu' show 'system variable is ' $system=20 CALL SYSTEM USING $system #unix_status=20 End-if IF #BAD_EMP_EARNS > 0 let $system =3D 'uuencode '|| $FILE2 ||' '|| $FILE2 || '| mail xxx1@xxxx.edu' show 'system variable is ' $system=20 CALL SYSTEM USING $system #unix_status let $system =3D 'uuencode '|| $FILE2 ||' '|| $FILE2 || '| mail xxx2@xxxx.edu' show 'system variable is ' $system=20 CALL SYSTEM USING $system #unix_status let $system =3D 'uuencode '|| $FILE2 ||' '|| $FILE2 || '| mail xxx3@xxxx.edu' show 'system variable is ' $system=20 CALL SYSTEM USING $system #unix_status let $system =3D 'uuencode '|| $FILE2 ||' '|| $FILE2 || '| mail xxx4@xxxx.edu' show 'system variable is ' $system=20 CALL SYSTEM USING $system #unix_status End-if=20 IF #Bad_Emp_Grants > 0 let $system =3D 'uuencode '|| $FILE3 ||' '|| $FILE3 || '| mail xxx1@xxxx.edu' show 'system variable is ' $system=20 CALL SYSTEM USING $system #unix_status let $system =3D 'uuencode '|| $FILE3 ||' '|| $FILE3 || '| mail xxx2@xxxx.edu' show 'system variable is ' $system=20 CALL SYSTEM USING $system #unix_status let $system =3D 'uuencode '|| $FILE3 ||' '|| $FILE3 || '| mail xxx3@xxxx@ouhsc.edu' show 'system variable is ' $system=20 CALL SYSTEM USING $system #unix_status let $system =3D 'uuencode '|| $FILE3 ||' '|| $FILE3 || '| mail xxx4@xxxx.edu' show 'system variable is ' $system=20 CALL SYSTEM USING $system #unix_status End-if=20 Tom Hins Information Technology - Application Solutions University of Oklahoma Health Sciences Center P.O. Box 26901 Oklahoma City, OK 73190 Phone:(405) 271-2262 Ext. 50213 Fax: (405) 271-2352 (The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the intended recipient of this message you are hereby notified that any use, review, retransmission, dissemination, distribution, reproduction or any action taken in reliance upon this message is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of the company.) -----Original Message----- From: sqr-users-bounces+thomas-hins=3Douhsc.edu@sqrug.org [mailto:sqr-users-bounces+thomas-hins=3Douhsc.edu@sqrug.org]On Behalf Of Penny J. Heeren Sent: Wednesday, August 04, 2004 3:45 PM To: sqr-users@sqrug.org Subject: [sqr-users] PDF Files created by SQR We are creating several PDF files from various SQR programs with the following code section: declare-report report7 ! Image file report .pdf format printer-type=3Dpd layout=3Dlayout7 end-declare This file is then picked up by another process, and emailed to a recipient. Occasionally, the file received by the user is unable to be opened by Adobe Reader, with an error "Unable to open file, file has been corrupted". If we rerun the SQR program to generate the file again, the emailed file works this time. Since my manager has handled this in the past and not gotten me involved, I haven't had a chance to look at the file before it gets rewritten to see if it's corrupted on our server before it goes out in the email or if it's corrupted by the email/by sending the email/by receiving the email. I've made sure he knows that I want to see the file before it's replaced the next time this happens, as it's entirely possible this isn't an SQR issue, but an email issue... however, he wanted me to ask for feedback from the user group in case someone else has encountered this. Additionally, if the recipient has a Yahoo mail account, that software treats the attached file as part of the body and displays the binary data in the body of the file. I'm 99.9% certain that has nothing to do with SQR nor the content of the file, but the way the file is attached. It's been a problem for some other email programs, but, for example, works fine consistently on Hotmail. The program that actually identifies that there is a file to be emailed and generates the email is a custom application built by a coworker using ASP running on Windows 2000, and interfaces with Microsoft Exchange to create the email from data stored in a flat text file that contains sender, recipient, subject, body, and if there is an attachment, the file path for the attachment file. SQR version is 8.0, running on RedHat Advanced Server Linux box. Has anyone else had issues like this or any ideas of a better way to do this?=20 Penny Heeren DBA/Programmer Analyst Newton Manufacturing Co e-mail: pheeren@newtonmfg.com phone: 641-791-4242 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Thu Aug 05 08:32:58 2004 Subject: FW: [sqr-users] PDF Files created by SQR Date: Thu, 5 Aug 2004 08:32:02 -0500 From: "Penny J. Heeren" We are creating individual emails containing order confirmation, or request for approval for an order, or acknowledgement of receiving approval for an order, or even invoices for orders via email. We create the PDF for an attachment, then create the text file containing the file and path and send it to the specific recipient for that file. We create approximately 250 individual emails throughout the day. -----Original Message----- From: Knapp, Richard [mailto:KnappR@umsystem.edu]=20 Sent: Wednesday, August 04, 2004 3:51 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] PDF Files created by SQR Is the file being sent as an attachment to all destinations/mailers? Richard Knapp Database Programmer/Analyst Institutional Research and Planning University of Missouri System 573-882-8856 knappr@umsystem.edu =20 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Penny J. Heeren Sent: Wednesday, August 04, 2004 3:45 PM To: sqr-users@sqrug.org Subject: [sqr-users] PDF Files created by SQR We are creating several PDF files from various SQR programs with the following code section: declare-report report7 ! Image file report .pdf format printer-type=3Dpd layout=3Dlayout7 end-declare This file is then picked up by another process, and emailed to a recipient. Occasionally, the file received by the user is unable to be opened by Adobe Reader, with an error "Unable to open file, file has been corrupted". If we rerun the SQR program to generate the file again, the emailed file works this time. Since my manager has handled this in the past and not gotten me involved, I haven't had a chance to look at the file before it gets rewritten to see if it's corrupted on our server before it goes out in the email or if it's corrupted by the email/by sending the email/by receiving the email. I've made sure he knows that I want to see the file before it's replaced the next time this happens, as it's entirely possible this isn't an SQR issue, but an email issue... however, he wanted me to ask for feedback from the user group in case someone else has encountered this. Additionally, if the recipient has a Yahoo mail account, that software treats the attached file as part of the body and displays the binary data in the body of the file. I'm 99.9% certain that has nothing to do with SQR nor the content of the file, but the way the file is attached. It's been a problem for some other email programs, but, for example, works fine consistently on Hotmail. The program that actually identifies that there is a file to be emailed and generates the email is a custom application built by a coworker using ASP running on Windows 2000, and interfaces with Microsoft Exchange to create the email from data stored in a flat text file that contains sender, recipient, subject, body, and if there is an attachment, the file path for the attachment file. SQR version is 8.0, running on RedHat Advanced Server Linux box. Has anyone else had issues like this or any ideas of a better way to do this?=20 Penny Heeren DBA/Programmer Analyst Newton Manufacturing Co e-mail: pheeren@newtonmfg.com phone: 641-791-4242 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Thu Aug 05 08:57:07 2004 Date: Thu, 05 Aug 2004 09:54:17 -0400 From: "Jessie Dickenson" Subject: [sqr-users] UI component to open a File dialog. I have a specific requirement for my users. My reporting application is run through a Citrix server & the users want to export the report to an excel spreadsheet. I have the code that does the excel export. But since I hard-code the path (& I absolutely detest hard-coding) to point to C:, the file is getting written to the Citrix server's virtual local drive. Is it at all possible to provide some sort of an UI component that would enable me to provide a File-dialog? That way, they can choose where the export needs to go to. If you know any other workaround to this problem, I would appreciate your help. Thanks in advance. Jessie _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Aug 05 10:23:59 2004 Date: Thu, 5 Aug 2004 10:21:18 -0500 From: "Hlavenka, Mark" Subject: [sqr-users] DB Link problem I've created a database link to another database and am trying to pull data from that database in my SQR. My syntax is: begin-select a.po_id a.resource_id from PS_BSC_CLD_TBL@FTEST8 a end-select When I run this, I get the following error: (SQR 5528) ORACLE OCIStmtExecute error 3113 in cursor 6: ORA-03113: end-of-file on communication channel Error on line 328: (SQR 3723) Problem executing cursor. SQR for PeopleSoft: Program Aborting. (SQR 5528) ORACLE OCITransRollback error 3114 in cursor 0: ORA-03114: not connected to ORACLE (SQR 5528) ORACLE OCITransCommit error 3114 in cursor 0: ORA-03114: not connected to ORACLE I can run this select statement just fine via a SQL query tool. Anyone have any suggestions? Thanks for your help. Mark Hlavenka _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Aug 05 10:30:29 2004 Subject: RE: [sqr-users] DB Link problem Date: Thu, 5 Aug 2004 10:29:26 -0500 From: "Hins, Thomas D. \(HSC\)" Does your link name include @FTEST8? Whenever I have had a link to another= database I can just call the table name as described in the link and it wo= rks fine. For example our HR has links to Financials but we named the tabl= e OU_FIN_Ledger_KK the Fin telling us it is from Financials. I am guessing = the @ may be messing up when ran from SQL.=20=20 Tom Hins Information Technology - Application Solutions University of Oklahoma Health Sciences Center P.O. Box 26901 Oklahoma City, OK 73190 Phone:(405) 271-2262 Ext. 50213 Fax: (405) 271-2352 (The information transmitted is intended only for the person or entity to w= hich it is addressed and may contain confidential and/or privileged materia= l. If you are not the intended recipient of this message you are hereby not= ified that any use, review, retransmission, dissemination, distribution, re= production or any action taken in reliance upon this message is prohibited.= If you received this in error, please contact the sender and delete the ma= terial from any computer. Any views expressed in this message are those of = the individual sender and may not necessarily reflect the views of the comp= any.) -----Original Message----- From: sqr-users-bounces+thomas-hins=3Douhsc.edu@sqrug.org [mailto:sqr-users-bounces+thomas-hins=3Douhsc.edu@sqrug.org]On Behalf Of Hlavenka, Mark Sent: Thursday, August 05, 2004 10:21 AM To: sqr-users@sqrug.org Subject: [sqr-users] DB Link problem I've created a database link to another database and am trying to pull data from that database in my SQR. My syntax is: begin-select a.po_id a.resource_id from PS_BSC_CLD_TBL@FTEST8 a end-select When I run this, I get the following error: (SQR 5528) ORACLE OCIStmtExecute error 3113 in cursor 6: ORA-03113: end-of-file on communication channel Error on line 328: (SQR 3723) Problem executing cursor. SQR for PeopleSoft: Program Aborting. (SQR 5528) ORACLE OCITransRollback error 3114 in cursor 0: ORA-03114: not connected to ORACLE (SQR 5528) ORACLE OCITransCommit error 3114 in cursor 0: ORA-03114: not connected to ORACLE I can run this select statement just fine via a SQL query tool. Anyone have any suggestions? Thanks for your help. Mark Hlavenka _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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+sqrusersarch=sqrug.org@sqrug.org Thu Aug 05 10:42:53 2004 Subject: Re: [sqr-users] DB Link problem From: Kaz.Narayanan@averydennison.com Date: Thu, 5 Aug 2004 08:36:27 -0700 Hi, Ensure that the SYSADM password for the both instances are same. Thanks Regards KM Narayanan "Hlavenka, Mark" @sqrug.org on 08/05/2004 08:21:18 AM Please respond to "This list is for discussion about the SQR database reporting language from Hyperion Solutions." Sent by: sqr-users-bounces+kaz.narayanan=averydennison.com@sqrug.org To: cc: Subject: [sqr-users] DB Link problem I've created a database link to another database and am trying to pull data from that database in my SQR. My syntax is: begin-select a.po_id a.resource_id from PS_BSC_CLD_TBL@FTEST8 a end-select When I run this, I get the following error: (SQR 5528) ORACLE OCIStmtExecute error 3113 in cursor 6: ORA-03113: end-of-file on communication channel Error on line 328: (SQR 3723) Problem executing cursor. SQR for PeopleSoft: Program Aborting. (SQR 5528) ORACLE OCITransRollback error 3114 in cursor 0: ORA-03114: not connected to ORACLE (SQR 5528) ORACLE OCITransCommit error 3114 in cursor 0: ORA-03114: not connected to ORACLE I can run this select statement just fine via a SQL query tool. Anyone have any suggestions? Thanks for your help. Mark Hlavenka _______________________________________________ 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+sqrusersarch=sqrug.org@sqrug.org Thu Aug 05 14:28:10 2004 From: "Miller, Danika" Date: Thu, 5 Aug 2004 15:25:36 -0400 Subject: [sqr-users] Oracle/SQR Error?? Hello - I have an SQR report that is executed by entering specific input values on a run control page. The report has many possible variations of input variables. The report runs fine with certain input variables and not for others. This is the error that appears when the report isn't working properly. (SQR 5528) ORACLE OCIStmtFetch error 1406 in cursor 4: ORA-01406: fetched column value was truncated Error on line 574: (SQR 3725) Bad return fetching row from database. SQR for PeopleSoft: Program Aborting. What exactly does this error mean? What do my input variables have to do with this error? And how can I avoid receiving this error again? Any help would be greatly appreciated!!!! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces+sqrusersarch=sqrug.org@sqrug.org Thu Aug 05 14:33:15 2004 From: "Bartlett, Dwain" Subject: RE: [sqr-users] Oracle/SQR Error?? Date: Thu, 5 Aug 2004 13:32:36 -0600 Can you send the statements, I think I know what is wrong, but without the statements I am not sure. Dwain Bartlett SABHRS Services Bureau, ITSD HR Systems Analyst (406) 444-0418 dbartlett@state.mt.us -----Original Message----- From: Miller, Danika [mailto:MillerD2@ndu.edu] Sent: Thursday, August 05, 2004 1:26 PM To: 'sqr-users@sqrug.org' Subject: [sqr-users] Oracle/SQR Error?? Hello - I have an SQR report that is executed by entering specific input values on a run control page. The report has many possible variations of input variables. The report runs fine with certain input variables and not for others. This is the error that appears when the report isn't working properly. (SQR 5528) ORACLE OCIStmtFetch error 1406 in cursor 4: ORA-01406: fetched column value was truncated Error on line 574: (SQR 3725) Bad return fetching row from