From owner-sqr-users@list.iex.net Mon Oct 1 00:06:20 2001 Date: Mon, 1 Oct 2001 00:00:02 -0500 From: Nathan Stratton Treadway Subject: Monthly sqr-users Hints Posting sqr-users Mailing List Hints and Guidelines Nathan Stratton Treadway, Ray Ontko & Co. (nathant@ontko.com) $Revision: 1.9 $ $Date: 2001-06-17 13:23:18-04 $ This document gathers in one location information about the sqr-users mail list. Directions for common list-server commands (including unsubscribing) are given, as are guidelines for list usage. ______________________________________________________________________ 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. Basic List Server Commands 3.1 Subscribing to the List 3.2 Unsubscribing from the List 3.3 Digests 3.4 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 2001/01/26: o Announce new sqr-jobs mailing list; Job Announcements section updated to reflect this new 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 Brio Technology (and to other products in the Brio.Report line). Note: SQR used to be published by SQRIBE Technologies, which was merged into Brio Technology on August 3, 1999. 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.com/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-2001 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 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. rm-users : ReportMart 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.com". 3. Basic List Server Commands Note: The list used to be hosted on usa.net , but the list-hosting service was moved to list.iex.net . The old addresses for the list, list server, and list owner no longer work. A few basic list server commands are listed below. Send these commands as the only line in the body (not the subject line) of an e- mail message sent to "listserv@list.iex.net". 3.1. Subscribing to the List To subscribe to the mailing list, the command is subscribe sqr-users Your Name Note that you do not need to provide your e-mail address as it is taken from your message's header. You will be e-mailed a confirmation number, which you must then send back to the list server software before the command goes into effect. 3.2. Unsubscribing from the List To unsubscribe, the command is simply unsubscribe sqr-users Once again, you will need to confirm your command before it goes into effect. 3.3. Digests Once you are subscribed, you can request to get your messages in digest form (one large message containing all of the posts made each day) by sending the command set sqr-users digests 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. Use "nodigests" instead of "digests" to restore normal distribution. 3.4. Problems If the above commands do not work, please contact the list manager at "sqr-users-request@list.iex.net". (Do not send a message to the list itself -- no one there can help you with your problem!) Please include a copy of the error message you received from the list server. 4. Posting to the sqr-users List In order to post to the mailing list, you must be subscribed to it (see directions above). 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 in reply from other subscribers.) 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.) 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. 4.2. Posting a Message Once you are subscribed, you can post to the list by sending a message to "sqr-users@list.iex.net". 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 Brio product and version number o Operating system 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. To find out your version 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 version number listed here is the one under which this copy of SQR was compiled, so you'll still need to include your own information. 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.) In particular, in order to prevent mail loops, the list server will not accept messages that contain From:, Sender:, etc. lines pointing back to the sqr-users list, even if these lines are quoted (i.e. with ">" characters). Be sure to delete these from your reply message before sending it. 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. From owner-sqr-users@list.iex.net Mon Oct 1 07:46:43 2001 Date: Mon, 1 Oct 2001 05:41:30 -0700 From: sathya ananth Subject: sqr ini and fonts I am using Brio portal windows 95 and Oracle 8i database. The sqr.ini file does not list section for fonts and in the command line I am using -printer:wp. I am using the Declare-Printer command and font = 5. I am not able to get the font I would like for the report. I am wondering if the font in the Declare-Printer sould also be listed in the INI file. If yes, why the sqr.ini file is created without [Fonts] section. Thanks. Sathya Ananth __________________________________________________ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com From owner-sqr-users@list.iex.net Mon Oct 1 09:52:32 2001 Date: Mon, 1 Oct 2001 10:37:55 -0400 From: Debra Robarge Subject: Re: sqr ini and fonts Hi Sathya, The font would need to be listed in the SQR.ini file. However, by default, upon installation the fonts section should of been installed. If your ini file does not include the fonts, you will need to add them. I've included the actual code below of the initial install for you to add. As long as the printer you are printing to recognizes this font, which it should being Times New Roman, (but still verify that) and you have put the font in the ini file you should be all set. [Fonts] ; The following are SQR predefined font styles. ; The numbers on the left are associated with font styles on the right. ; Users may define their own associations between font_numbers and font ; styles using the font_numbers 900 thru 999. ; ; Notes: ; ; - If SQR does not find a particular font a substitute is used. ; - If a font style (fixed or proportional) is defined inside SQR, ; its style will override the setting in this file. ; - Proportional is assumed if the second field begins with the character 'p'. ; (i.e., "4=3DArial,p" would equate to "4=3DArial,proportional") ; - Bold is assumed if a third parameter is supplied. ; 3=3DCourier New,fixed 300=3DCourier New,fixed,bold 4=3DArial,proportional 400=3DArial,proportional,bold 5=3DTimes New Roman,proportional 500=3DTimes New Roman,proportional,bold 6=3DAvantGarde,proportional 8=3DPalatino,proportional 800=3DPalatino,proportional,bold 11=3DSymbol,symbol 900=3Dunknown,proportional 901=3DMS Shell Dlg,proportional 902=3D,proportional 903=3D@SimSun,proportional 904=3D@Batang,proportional [PDF Fonts] ;Font Path =3D Directory where the .afm files reside. Default is SQRDIR 3=3DCourier 300=3DCourier-Bold 4=3DHelvetica 400=3DHelvetica-Bold 5=3DTimes-Roman 500=3DTimes-Bold 11=3DSymbol 12=3DZapfDingbats 30=3DCourier-Oblique 3000=3DCourier-BoldOblique 31=3DHelvetica-Oblique 3100=3DHelvetica-BoldOblique 32=3DTimes-Italic 3200=3DTimes-BoldItalic Hope that helps. Debra A. Robarge Software Instructor and Consultant Strafford Technology, Inc. drobarge@strafford.com www.strafford.com www.briotraining.com -----Original Message----- From: sathya ananth [mailto:sathyaananth@YAHOO.COM] Sent: Monday, October 01, 2001 8:42 AM To: SQR-USERS@list.iex.net Subject: sqr ini and fonts I am using Brio portal windows 95 and Oracle 8i database. The sqr.ini file does not list section for fonts and in the command line I am using -printer:wp. I am using the Declare-Printer command and font =3D 5. I am not able to get the font I would like for the report. I am wondering if the font in the Declare-Printer sould also be listed in the INI file. If yes, why the sqr.ini file is created without [Fonts] section. Thanks. Sathya Ananth __________________________________________________ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com From owner-sqr-users@list.iex.net Mon Oct 1 07:59:17 2001 Date: Mon, 1 Oct 2001 08:46:06 -0400 From: Linda Combs Subject: Re: How to eliminate blank line ? Have you eliminated the data as the source of the problem? We use Empac and have found that an embedded carriage return/line feed sometimes causes this in our sqr reports. Date: Fri, 28 Sep 2001 10:07:24 -0400 From: "Turner, Ivan" Subject: Re: How to eliminate blank line ? MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" The first thing I would look at is if the program is using the page-size statement. If so, I would remove it. -----Original Message----- From: Altair Costa [mailto:altair@ALBRAS.NET] Sent: Thursday, September 27, 2001 12:37 PM To: SQR-USERS@list.iex.net Subject: Re: How to eliminate blank line ? Thank you Arun I tried it, but I didn't get success. look the attached file with a example. look at the fifth block. Altair Costa From owner-sqr-users@list.iex.net Mon Oct 1 09:09:19 2001 Date: Mon, 1 Oct 2001 09:45:35 -0400 From: "Gordon, Darrell R." Subject: Extraneous Rows Inserted in SQR Hello all - We are running PeopleSoft HR 7.5, People Tools 7.58 - with Informix 9.21HC5, and Unix 11.0 I am having a problem with an SQR that is selecting rows that I have inserted in the program. Here is my select: FROM PS_JOB J, PS_PERSONAL_DATA PD, PS_EMPLOYMENT EMP WHERE J.EFFDT = (SELECT MAX(J1.EFFDT) FROM PS_JOB J1 WHERE J1.EMPLID = J.EMPLID AND J1.EMPL_RCDN = J.EMPL_RCDN AND J1.EFFDT <= $Process_Date) AND J.EFFSEQ = (SELECT MAX(J2.EFFSEQ) FROM PS_JOB J2 WHERE J2.EMPLID = J.EMPLID AND J2.EMPL_RCDN = J.EMPL_RCDN AND J2.EFFDT = J.EFFDT) AND J.EMPL_STATUS IN ('A', 'L', 'P', 'S') AND J.REG_TEMP IN ('R', 'T') AND J.FULL_PART_TIME IN ('F', 'P') AND J.EMPL_CLASS = 'A' AND J.SAL_ADMIN_PLAN = 'CMA' AND PD.EMPLID = J.EMPLID AND PD.PER_STATUS = 'E' AND EMP.EMPLID = J.EMPLID AND EMP.EMPL_RCDN = J.EMPL_RCDN In the above example, process_date is '2001-10-01'. Based on my Select, I may insert a row with an effective date of 2001-10-01. If one already exists, I increment the sequence # to avoid an error on a duplicate key. One of the LAST steps in the SQR is to perform the COMMIT (after selecting/inserting rows). The problem is my Select is arbitrarily retrieving some of the rows I have just inserted. When it does, it inserts another row (with an incremented sequence #). There is no rhyme or reason or pattern. Sometimes it may insert 1 or up to 5 extraneous rows. We have a workaround - storing the EMPLID in a temporary variable (Temp_Emplid), adding an ORDER BY J.EMPLID and selecting where J.EMPLID is > than Temp_Emplid. Has anyone else experienced this problem ?? Darrell Gordon III WDW Information Technologies tie-line: 8-264-1972 voice: 407-560-1972 fax: 407-560-6562 "This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please immediately notify us by calling (407) 560-1972. Thank you." From owner-sqr-users@list.iex.net Mon Oct 1 10:52:55 2001 Date: Mon, 1 Oct 2001 08:46:08 -0700 From: Arjan Hoornstra Subject: Re: Extraneous Rows Inserted in SQR I have had a similar problem with the update of a row selected by SQR. I can describe the problem which applies for Sybase, don't know how much applies for or can be translated to Informix. The problem is that, if you insert an extra row, it will go to a datapage. The sqr-select creates a cursor on the table. Now if you add a row to the bottom of the table (depending on index) it will be selected in the end by the sqr-cursor. If you insert it at the head of the table, the cursor has passed this page already so it will not be selected again. Then, if you do an insert, the page on which the row is inserted may be split because the extra row must fit between 2 existing rows. This results in a different number and order of pages which can be selected or reselected by the cursor. So the simple advice is: never place your sqr-cursor on the table you wish to insert or update, or never do an insert or update on the table your sqr-cursor is placed on. You should either: - place the table you need in a temporary table where you put the cursor on, insert/update the original - or store your inserts/updates in a temporary table which you all execute after the cursor is finished. Hope this helps... Arjan --- "Gordon, Darrell R." wrote: > Hello all - > > We are running PeopleSoft HR 7.5, People Tools 7.58 - with Informix > 9.21HC5, and Unix 11.0 I am having a problem with an SQR that is > selecting > rows that I have inserted in the program. Here is my select: > > FROM PS_JOB J, > PS_PERSONAL_DATA PD, > PS_EMPLOYMENT EMP > WHERE J.EFFDT = (SELECT MAX(J1.EFFDT) > FROM PS_JOB J1 > WHERE J1.EMPLID = J.EMPLID > AND J1.EMPL_RCDN = J.EMPL_RCDN > AND J1.EFFDT <= $Process_Date) > AND J.EFFSEQ = (SELECT MAX(J2.EFFSEQ) > FROM PS_JOB J2 > WHERE J2.EMPLID = J.EMPLID > AND J2.EMPL_RCDN = J.EMPL_RCDN > AND J2.EFFDT = J.EFFDT) > AND J.EMPL_STATUS IN ('A', 'L', 'P', 'S') > AND J.REG_TEMP IN ('R', 'T') > AND J.FULL_PART_TIME IN ('F', 'P') > AND J.EMPL_CLASS = 'A' > AND J.SAL_ADMIN_PLAN = 'CMA' > AND PD.EMPLID = J.EMPLID > AND PD.PER_STATUS = 'E' > AND EMP.EMPLID = J.EMPLID > AND EMP.EMPL_RCDN = J.EMPL_RCDN > > In the above example, process_date is '2001-10-01'. Based on my > Select, I > may insert a row with an effective date of 2001-10-01. If one > already > exists, I increment the sequence # to avoid an error on a duplicate > key. > One of the LAST steps in the SQR is to perform the COMMIT (after > selecting/inserting rows). > > The problem is my Select is arbitrarily retrieving some of the rows I > have > just inserted. When it does, it inserts another row (with an > incremented > sequence #). There is no rhyme or reason or pattern. Sometimes it > may > insert 1 or up to 5 extraneous rows. > > We have a workaround - storing the EMPLID in a temporary variable > (Temp_Emplid), adding an ORDER BY J.EMPLID and selecting where > J.EMPLID is > > than Temp_Emplid. > > Has anyone else experienced this problem ?? > > > > Darrell Gordon III > WDW Information Technologies > tie-line: 8-264-1972 > voice: 407-560-1972 > fax: 407-560-6562 > "This communication is confidential, intended only for the named > recipient(s) above and may contain trade secrets or other information > that > is exempt from disclosure under applicable law. Any use, > dissemination, > distribution or copying of this communication by anyone other than > the named > recipient(s) is strictly prohibited. If you have received this > communication > in error, please immediately notify us by calling (407) 560-1972. > Thank > you." __________________________________________________ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com From owner-sqr-users@list.iex.net Mon Oct 1 10:52:48 2001 Date: Mon, 1 Oct 2001 15:50:32 +0000 From: Elvis Pressly Subject: Re: Extraneous Rows Inserted in SQR I assumed that you are inserting new rows in PS_JOB. Since JOB is a table with multiple keys, I would make my select statements according to the placement of the keys such as 1. Emplid 2. Empl_RCD# 3. Effdt and 4. Effseq. In your select statement you did not include the EMPL_RCD# as the first order of select since I also assumed you are reading JOB as ordered by EMPLID. What I would do is create a procedure to read JOB (just like your select statements) except I will order it by Emplid, Empl_Rcd# desc, Effdt desc, Effseq desc. This way I will always have the latest rows as the first record being read. To avoid reading the subsequent rows, I will have to control the reading of rows within the same EMPLID: Eample: Begin-Procedure Read-Job let $OldEmplid = ' ' let #test = 0 begin-select [Your field selection here] TEST: If #test = 0 move 1 to # test move &EMPLID to $OldEmplid [Do you regular processing here like adding rows] else if &emplid = $OldEmplid goto BYPASS else Move 0 to #test goto TEST end-if end-if BYPASS: >From [Your tables here] where ???? Order by emplid, empl_rcd# desc, effdt desc, effseq desc. end-select end-procedure _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From owner-sqr-users@list.iex.net Mon Oct 1 09:09:14 2001 Date: Mon, 1 Oct 2001 09:55:42 -0400 From: Patricia Stanley Subject: Re: Calling an SQR from an SQR This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_6832E6F6.9DFCD329 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I finally got a successful call to an SQR from an SQR. Here's my next = dilemma. Is there a way to pass the userid/password from the calling SQR = to the SQR being called. Thanks for the help in advance! >>> andrew.rivers@CWCOM.NET 09/30/01 07:41AM >>> Patricia call system '..\sqrwtPath\sqrwt.exe ..\sqrProgramPath\yourSRQprogram= .sqt databaseConnectionString parm1 param2' Note: Only one string is passed to the system. databaseConnectString may be database dependant: databaseName userName password Oracle: databaseName/password@userName If you do not need to pass any parameters then omit param1, param2, etc. Andrew ----- Original Message -----=20 From: Patricia Stanley To: Sent: Monday, September 24, 2001 4:31 PM Subject: Calling an SQR from an SQR I have written a homegrown SQR and would like it to call a Peoplesoft SQR = that is delivered with their Mass Change capabilty. How do I do this? --=_6832E6F6.9DFCD329 Content-Type: text/plain Content-Disposition: attachment; filename="Patricia Stanley.vcf" BEGIN:VCARD VERSION:2.1 X-GWTYPE:USER FN:Patricia Stanley ORG:;Information Systems TEL;PREF;FAX:315.443.2376 EMAIL;WORK;PREF;NGW:pjstanle@syr.edu N:Stanley;Patricia X-GWUSERID:pjstanle END:VCARD --=_6832E6F6.9DFCD329-- From owner-sqr-users@list.iex.net Tue Oct 2 12:50:50 2001 Date: Mon, 1 Oct 2001 18:35:18 +0100 From: Andrew Rivers Subject: Re: Calling an SQR from an SQR Patricia Yes. See the statement in my first email below: call system '... databaseConnectionString ... ' =20 Assume: database name: yourDB user name: yourUN your password: yourPW Using these values, the databaseConnectionString within the string that = is passed to the system call will be, for Oracle: yourDB/yourPW@yourUN or yourDB yourUN yourPW or something similar... I think that the database connection string is database dependent. You can also pass other parameter, e.g. parm1 param2 etc.- see below: You could hard code the database string in the first instance. Alternatively, you could hold the database connection string in a field = in the database, or make a user/database selection (and concatenate the = various strings returned ) to get the required database connection = string in the calling sqt routine . Andrew ----- Original Message -----=20 From: Patricia Stanley To: Sent: Monday, October 01, 2001 2:55 PM Subject: Re: Calling an SQR from an SQR I finally got a successful call to an SQR from an SQR. Here's my next = dilemma. Is there a way to pass the userid/password from the calling = SQR to the SQR being called. Thanks for the help in advance! >>> andrew.rivers@CWCOM.NET 09/30/01 07:41AM >>> Patricia call system '..\sqrwtPath\sqrwt.exe = ..\sqrProgramPath\yourSRQprogram.sqt databaseConnectionString parm1 = param2' Note: Only one string is passed to the system. databaseConnectString may be database dependant: databaseName userName password Oracle: databaseName/password@userName If you do not need to pass any parameters then omit param1, param2, etc. Andrew ----- Original Message -----=20 From: Patricia Stanley To: Sent: Monday, September 24, 2001 4:31 PM Subject: Calling an SQR from an SQR I have written a homegrown SQR and would like it to call a Peoplesoft = SQR that is delivered with their Mass Change capabilty. How do I do = this? From owner-sqr-users@list.iex.net Mon Oct 1 13:01:35 2001 Date: Mon, 1 Oct 2001 10:33:37 -0700 From: M J Subject: SQR Hi folks: Questions about SQRs. What is the difference between # and $. When should each of them be used? TIA __________________________________________________ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com From owner-sqr-users@list.iex.net Mon Oct 1 13:14:51 2001 Date: Mon, 1 Oct 2001 14:03:26 -0400 From: "Vallabhu, Bindu" Subject: Re: SQR # variable is one that carries numbers and $ variable carry character values. # variable should be used when you want to do some calculations. -----Original Message----- From: M J [mailto:mjmaxima@YAHOO.COM] Sent: 10/01/2001 1:34 PM To: SQR-USERS@list.iex.net Subject: SQR Hi folks: Questions about SQRs. What is the difference between # and $. When should each of them be used? TIA __________________________________________________ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com From owner-sqr-users@list.iex.net Mon Oct 1 13:19:26 2001 Date: Mon, 1 Oct 2001 14:04:52 -0400 From: Bruce Kelling Subject: Re: SQR # is used to store a number variable $ is used to store a text or date variable like let #Number_Variable = 10 let $Text_Variable = 'The Answer' SQR will convert data type to another, but in answer to second question, use according to your needs. Typically use #Numbers for calculations, and $Text for printing. Bruce -----Original Message----- From: M J [mailto:mjmaxima@YAHOO.COM] Sent: Monday, October 01, 2001 1:34 PM To: SQR-USERS@list.iex.net Subject: SQR Hi folks: Questions about SQRs. What is the difference between # and $. When should each of them be used? TIA From owner-sqr-users@list.iex.net Mon Oct 1 13:17:03 2001 Date: Mon, 1 Oct 2001 11:05:01 -0700 From: Rachael Beatty Subject: Re: SQR --0__=7FL81CsyWxVx7AISWnMxd6jrVd3fulw9AjDgaMV45dMGbYlez5mC8pP9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 7bit # represents a floating point number unless defined as an interger $ is a string variable Rachael > -----Original Message----- > From: "M J" @INTERNET > Sent: Monday, October 01, 2001 10:34 AM > To: SQR-USERS@list.iex.net > Subject: SQR > > > Hi folks: > > Questions about SQRs. What is the difference between > # and $. When should each of them be used? > TIA > > > > __________________________________________________ > Do You Yahoo!? > Listen to your Yahoo! Mail messages from any phone. > http://phone.yahoo.com > (See attached file: C.DTF) --0__=7FL81CsyWxVx7AISWnMxd6jrVd3fulw9AjDgaMV45dMGbYlez5mC8pP9 Content-Type: application/octet-stream; name=C.DTF Content-Disposition: attachment; filename=C.DTF Content-Transfer-Encoding: base64 eJ8+IjwSAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQWAAwAOAAAA0QcKAAEACwAFAAEAAQD1AAEggAMADgAAANEHCgAB AAsAAgA6AAEAKwEBCYABACEAAABGMzAyQzU3NDkzQjZENTExQUM0MzAwMDBFODY3QzBFRgAQBwEE gAEACAAAAFJFOiBTUVIA5wEBDYAEAAIAAAACAAIAAQOQBgAkCgAAOAAAAAMAA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JFUlVOTEVTU0RFRklORURBU0FOSU5URVJHRVIk SVNBU1RSSU5HVkFSSUFCTEVSQUNIQUVMLS0tLS1PUklHSU5BTE1FU1NBRwAAAAACAX8AAQAAAEEA AAA8RUQ2N0ZENzAwQTM1RDQxMUFDMjQwMDA0QUM0Qzk1RTMwM0UxMDkwRUBsYXhoaG14czAxLmhp bHRvbi5jb20+AAAAAKEyAgKQBgAOAAAAAgAEAQAA/////wAAAAADBAIQgAEAFAAAAFVudGl0bGVk IEF0dGFjaG1lbnQAcgcCEoADAA4AAADRBwoAAQALAAQAOwABAC4BAhOAAwAOAAAA0QcKAAEACwAE ADsAAQAuAQIFkAYAzA4AAA0AAAADACEOAAAAAAMACzcEAQAAAwAgDk4OAAADAPcPAAAAAAIBEGgB AAAADgAAAAAAAAAAAAAAAAAAAAAAAABAAAcwUMPhlaNKwQFAAAgwUMPhlaNKwQEDAAU3BgAAAAIB AjcBAAAAAAAAAB4AATABAAAAAQAAAAAAAAACAQo3AQAAAAsAAAAqhkiG9xQDCgMCAQACAfkPAQAA ABAAAABZMI+JgbbVEbqrAASsTKV3DQABNwEAAAAQDgAACwAAAAAAAADAAAAAAAAARtDPEeChsRrh AAAAAAAAAAAAAAAAAAAAAD4AAwD+/wkABgAAAAAAAAAAAAAAAQAAAAEAAAAAAAAAABAAAAIAAAAB AAAA/v///wAAAAAAAAAA//////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////f///wQAAAD+ ////BQAAAP7////+//////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////9SAG8AbwB0ACAA RQBuAHQAcgB5AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFgAF AP//////////AgAAABYDAAAAAAAAwAAAAAAAAEYAAAAAAAAAAAAAAADAODeho0rBAQMAAABAAgAA AAAAAAEATwBsAGUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAKAAIB////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAABQAAAAAAAAAAgBPAGwAZQBQAHIAZQBzADAAMAAwAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAgEBAAAAAwAAAP////8AAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAgAEAAAAAAAADAE0AYQBpAGwAUwB0AHIAZQBhAG0AAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAACAf////8EAAAA/////wAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAMAAAAAAAAAP7///8CAAAAAwAA AAQAAAAFAAAABgAAAP7////+/////v////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////AQAAAgAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////8I AAAABAAAAAEAAAD/////AgAAAAAAAADMOgAAaQAAAFABAAAoAAAAOQIAAAQAAAABAAEAAAAAACAB AADEDgAAxA4AAAAAAAAAAAAAAAAAAP///wD///////////////////////////////////////// /////////////////////////////////////////////////////4AAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAYD///////////////////////////////////////////////////////// /////////////////////////////////////4BOQU5JAAAAAAEAAADPOgAAagAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABSAGkAYwBoAEUAZABp AHQARgBsAGEAZwBzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAACAP// /////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAMAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///////////////8AAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///////////////wAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAEAAAAAAAQAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlrs= --0__=7FL81CsyWxVx7AISWnMxd6jrVd3fulw9AjDgaMV45dMGbYlez5mC8pP9-- From owner-sqr-users@list.iex.net Mon Oct 1 13:18:47 2001 Date: Mon, 1 Oct 2001 14:09:26 -0400 From: Debra Robarge Subject: Re: SQR # indicates a numeric variable or is used in #define to declare contants called substitution variables in your program. $ indicates either a String or Date variable. By default, SQR will recognize $ as a string variable. This is why it is required to declare $date variables in SQR; SQR needs to be told explicitly when a $ variable is a date. Debra A. Robarge Software Instructor and Consultant Strafford Technology, Inc. drobarge@strafford.com (603) 434-2550 X 229 www.strafford.com www.briotraining.com -----Original Message----- From: M J [mailto:mjmaxima@YAHOO.COM] Sent: Monday, October 01, 2001 1:34 PM To: SQR-USERS@list.iex.net Subject: SQR Hi folks: Questions about SQRs. What is the difference between # and $. When should each of them be used? TIA __________________________________________________ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com From owner-sqr-users@list.iex.net Mon Oct 1 13:20:12 2001 Date: Mon, 1 Oct 2001 13:14:36 -0500 From: "Hins, Thomas D." Subject: Re: SQR MJ, # is used for a numeric and $ is used for assigning a text variable. Use them accordingly. -----Original Message----- From: M J [mailto:mjmaxima@YAHOO.COM] Sent: Monday, October 01, 2001 12:34 PM To: SQR-USERS@list.iex.net Subject: SQR Hi folks: Questions about SQRs. What is the difference between # and $. When should each of them be used? TIA __________________________________________________ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com From owner-sqr-users@list.iex.net Mon Oct 1 13:20:31 2001 Date: Mon, 1 Oct 2001 11:14:59 -0700 From: "Thorburn, David, ITD" Subject: Re: SQR Oh Puhleeeeeeeze! -----Original Message----- From: M J [mailto:mjmaxima@YAHOO.COM] Sent: Monday, October 01, 2001 10:34 AM To: SQR-USERS@list.iex.net Subject: SQR Hi folks: Questions about SQRs. What is the difference between # and $. When should each of them be used? TIA __________________________________________________ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com From owner-sqr-users@list.iex.net Mon Oct 1 13:39:19 2001 Date: Mon, 1 Oct 2001 11:35:23 -0700 From: Rachael Beatty Subject: Re: SQR --0__=C8uyblucQjzUi3HgAiKnpUsqLmwI9FRsG9jT9v10EvzUSDLOnPsi3hbg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 7bit Oh, forgot to mention that there are some reserved words that can be preceded with # such as #debug to be used with the debug feature of SQR. Rachael > -----Original Message----- > From: "M J" @INTERNET > Sent: Monday, October 01, 2001 10:34 AM > To: SQR-USERS@list.iex.net > Subject: SQR > > > Hi folks: > > Questions about SQRs. What is the difference between > # and $. When should each of them be used? > TIA > > > > __________________________________________________ > Do You Yahoo!? > Listen to your Yahoo! Mail messages from any phone. > http://phone.yahoo.com > (See attached file: C.DTF) --0__=C8uyblucQjzUi3HgAiKnpUsqLmwI9FRsG9jT9v10EvzUSDLOnPsi3hbg Content-Type: application/octet-stream; name=C.DTF Content-Disposition: attachment; filename=C.DTF Content-Transfer-Encoding: base64 eJ8+IhESAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQWAAwAOAAAA0QcKAAEACwAjABcAAQApAQEggAMADgAAANEHCgAB AAsAIQAOAAEAHgEBCYABACEAAAAwRTBBQzU3NDkzQjZENTExQUM0MzAwMDBFODY3QzBFRgAbBwEE gAEACAAAAFJFOiBTUVIA5wEBDYAEAAIAAAACAAIAAQOQBgA8CgAAOAAAAAMAAIAIIAYAAAAAAMAA AAAAAABGAAAAAFKFAADwEwAAHgABgAggBgAAAAAAwAAAAAAAAEYAAAAAVIUAAAEAAAAEAAAAOC41 AAsAAoAIIAYAAAAAAMAAAAAAAABGAAAAAAaFAAAAAAAAAwADgAggBgAAAAAAwAAAAAAAAEYAAAAA AYUAAAAAAAALAASACCAGAAAAAADAAAAAAAAARgAAAAADhQAAAAAAAAsABYAIIAYAAAAAAMAAAAAA AABGAAAAAA6FAAAAAAAAAwAGgAggBgAAAAAAwAAAAAAAAEYAAAAAEIUAAAAAAAADAAeACCAGAAAA AADAAAAAAAAARgAAAAARhQAAAAAAAAsAD4AIIAYAAAAAAMAAAAAAAABGAAAAABSFAAAAAAAAAwAI gAggBgAAAAAAwAAAAAAAAEYAAAAAGIUAAAAAAAAeAAmACCAGAAAAAADAAAAAAAAARgAAAAA2hQAA AQAAAAEAAAAAAAAAHgAKgAggBgAAAAAAwAAAAAAAAEYAAAAAN4UAAAEAAAABAAAAAAAAAB4AC4AI IAYAAAAAAMAAAAAAAABGAAAAADiFAAABAAAAAQAAAAAAAAALABGACCAGAAAAAAD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DCgMCAQACAfkPAQAAABAAAAAWKd7dl7bVEbqrAASsTKV3DQABNwEAAAAQDgAA CwAAAAAAAADAAAAAAAAARtDPEeChsRrhAAAAAAAAAAAAAAAAAAAAAD4AAwD+/wkABgAAAAAAAAAA AAAAAQAAAAEAAAAAAAAAABAAAAIAAAABAAAA/v///wAAAAAAAAAA//////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////f///wQAAAD+////BQAAAP7////+//////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////9SAG8AbwB0ACAARQBuAHQAcgB5AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAFgAFAP//////////AgAAABYDAAAAAAAAwAAAAAAAAEYAAAAA AAAAAAAAAADwngYZqErBAQMAAABAAgAAAAAAAAEATwBsAGUAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAIB////////////////AAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAgBPAGwAZQBQAHIAZQBz ADAAMAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAgEBAAAA AwAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAgAEAAAAAAAAD AE0AYQBpAGwAUwB0AHIAZQBhAG0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAGAACAf////8EAAAA/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAcAAAAMAAAAAAAAAP7///8CAAAAAwAAAAQAAAAFAAAABgAAAP7////+/////v////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////AQAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAP////8IAAAABAAAAAEAAAD/////AgAAAAAAAADMOgAAaQAAAFAB AAAoAAAAOQIAAAQAAAABAAEAAAAAACABAADEDgAAxA4AAAAAAAAAAAAAAAAAAP///wD///////// //////////////////////////////////////////////////////////////////////////// /////////4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYD///////////////////////// /////////////////////////////////////////////////////////////////////4BOQU5J AAAAAAEAAADPOgAAagAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAABSAGkAYwBoAEUAZABpAHQARgBsAGEAZwBzAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAHAACAP///////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAgAAAAMA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAADrs= --0__=C8uyblucQjzUi3HgAiKnpUsqLmwI9FRsG9jT9v10EvzUSDLOnPsi3hbg-- From owner-sqr-users@list.iex.net Tue Oct 2 08:07:20 2001 Date: Tue, 2 Oct 2001 12:53:53 +0000 From: Jill Hughes Subject: XML I've heard that SQR version 6.0 is 'XML-enabled' from the SQR user group and the Brio web site says SQR has: "Comprehensive XML read and write capabilities" and "Supports numerous report output formats including HTML, XML, WML, paper, text, postscript, email, FAX, PDF, SPF, and others" but there seems to be no information anywhere in the Brio Reports documentation or anywhere on the web to say how it can produce XML files. Does SQR have special commands/procedures to do it or do you just have to write the tags to your output file explicitly? Can anyone tell me any further info about it or point me to a website, please? _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From owner-sqr-users@list.iex.net Tue Oct 2 10:57:04 2001 Date: Tue, 2 Oct 2001 11:55:32 -0400 From: Scott Barnes Subject: SQR-HTLM Font Question? I have SQR 4.3 running on NT and Oracle 8i. I am using the Printer:HT command because I can't get the Printer:EH to work. I want my report not to be in a fixed font. I can not figure how to get the tag out of the htm report I am producing. No matter what I do in the set up: this code above appears in the html code. I tried taking font out and I tried to change the font to 2 which would fit the report in the Browser window better. I tried an alter-printer to change the font to TimesNewRoman. Nothing works. I need some help! Declare-layout default Orientation=Portrait max-columns=135 max-lines=260 char-width=6 TOP-MARGIN=.4 LEFT-MARGIN=.5 !bottom-margin = .25 !.8 End-Declare Declare-printer default-hp font = 2 point-size= 12 pitch = 5 End-Declare Thanks Scotty ---------- Scott A Barnes Programmer/Analyst Wesleyan University North College 860-685-2807 ---------- From owner-sqr-users@list.iex.net Tue Oct 2 16:47:54 2001 Date: Tue, 2 Oct 2001 17:44:53 -0400 From: Kevin Kroen Subject: SQR/Oracle Error We had some reports set up with a stored procedure that returned values in the following format: (DD-Mon-YYYY, DD-Mon-YYYY) We added a new option that in certain instances the stored procedure would return: (DD-Mon-YYYY HH:MI:SS, DD-Mon-YYYY HH:MI:SS) We ran the new stored procedure in an SQL Client and it worked properly. When I run this through SQR, I get the following error: (SQR 5528) ORACLE OEXEC error -6502 in cursor 1: ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at line 1 Error on line XX: (SQR 3735) Could not execute SQL. SQR: Program Aborting. This is how the SP is called: let $date_stor_proc = 'rpt.storprocedurename' begin-sql begin $business_date := [$date_stor_proc]($option);; end;; end-sql We tried having the function only return (DD-Mon-YYYY HH, DD-Mon-YYYY HH) and it worked with no problem, so I tend to think this problem in on the Brio side with the $business_date string. We are using SQR 6.0 going against an Oracle DB on Solaris. Any ideas? Kevin Kroen ========================================================================= This message is intended for the named addressee(s) only and contains information that may be confidential, non-public or legally privileged. If you are not the intended recipient, you must not copy this message or attachment or disclose the contents to any other person. If you received this email in error, please contact the sender and permanently delete the email and any attachments. Unless expressly stated, opinions in this email are those of the individual sender and not of FX Alliance, LLC or its affiliates. ========================================================================= From owner-sqr-users@list.iex.net Tue Oct 2 17:29:26 2001 Date: Tue, 2 Oct 2001 16:28:07 -0600 From: "O'Dorisio, Steve" Subject: Re: SQR/Oracle Error Can you change your database function to a database stored procedure where you can specify the return variable? Example: let $date_stor_proc = 'rpt.storprocedurename' begin-sql begin [$date_stor_proc]($option,$return_variable);; end;; end-sql You can even use "$return_variable" directly, without having to move it to another variable. Or you can move it to another variable if you would prefer (ex. let $business_date = $return_variable). Here is an example of how we are using stored procedures (dynamically): ----------------------------------------------------------------- MOVE 1 TO #in_input MOVE 'test_function' TO $xxx begin-sql begin [$xxx](#in_input, $return_test);; end;; end-sql show $return_test Here is the code from my test_function: ---------------------------------------- CREATE OR REPLACE PROCEDURE test_function( in_input IN number, return_var OUT varchar2) AS BEGIN IF in_input = 1 THEN return_var:= 'A'; ELSIF in_input = 2 THEN return_var := 'B'; ELSE return_var := 'C'; END IF; END test_function; GOOD LUCK, Steve -----Original Message----- From: Kevin Kroen [mailto:kevin.kroen@FXALL.COM] Sent: Tuesday, October 02, 2001 3:45 PM To: SQR-USERS@list.iex.net Subject: SQR/Oracle Error We had some reports set up with a stored procedure that returned values in the following format: (DD-Mon-YYYY, DD-Mon-YYYY) We added a new option that in certain instances the stored procedure would return: (DD-Mon-YYYY HH:MI:SS, DD-Mon-YYYY HH:MI:SS) We ran the new stored procedure in an SQL Client and it worked properly. When I run this through SQR, I get the following error: (SQR 5528) ORACLE OEXEC error -6502 in cursor 1: ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at line 1 Error on line XX: (SQR 3735) Could not execute SQL. SQR: Program Aborting. This is how the SP is called: let $date_stor_proc = 'rpt.storprocedurename' begin-sql begin $business_date := [$date_stor_proc]($option);; end;; end-sql We tried having the function only return (DD-Mon-YYYY HH, DD-Mon-YYYY HH) and it worked with no problem, so I tend to think this problem in on the Brio side with the $business_date string. We are using SQR 6.0 going against an Oracle DB on Solaris. Any ideas? Kevin Kroen ========================================================================= This message is intended for the named addressee(s) only and contains information that may be confidential, non-public or legally privileged. If you are not the intended recipient, you must not copy this message or attachment or disclose the contents to any other person. If you received this email in error, please contact the sender and permanently delete the email and any attachments. Unless expressly stated, opinions in this email are those of the individual sender and not of FX Alliance, LLC or its affiliates. ========================================================================= From owner-sqr-users@list.iex.net Wed Oct 3 10:16:35 2001 Date: Wed, 3 Oct 2001 11:10:35 -0400 From: Kevin Kroen Subject: Re: SQR/Oracle Error That works... I still think the original problem with the function assignment is a bug, but at least this is a workaround. Thanks! Kevin Kroen -----Original Message----- From: O'Dorisio, Steve [mailto:Steven.O'Dorisio@MMS.GOV] Sent: Tuesday, October 02, 2001 6:28 PM To: SQR-USERS@list.iex.net Subject: Re: SQR/Oracle Error Can you change your database function to a database stored procedure where you can specify the return variable? Example: let $date_stor_proc = 'rpt.storprocedurename' begin-sql begin [$date_stor_proc]($option,$return_variable);; end;; end-sql You can even use "$return_variable" directly, without having to move it to another variable. Or you can move it to another variable if you would prefer (ex. let $business_date = $return_variable). Here is an example of how we are using stored procedures (dynamically): ----------------------------------------------------------------- MOVE 1 TO #in_input MOVE 'test_function' TO $xxx begin-sql begin [$xxx](#in_input, $return_test);; end;; end-sql show $return_test Here is the code from my test_function: ---------------------------------------- CREATE OR REPLACE PROCEDURE test_function( in_input IN number, return_var OUT varchar2) AS BEGIN IF in_input = 1 THEN return_var:= 'A'; ELSIF in_input = 2 THEN return_var := 'B'; ELSE return_var := 'C'; END IF; END test_function; GOOD LUCK, Steve -----Original Message----- From: Kevin Kroen [mailto:kevin.kroen@FXALL.COM] Sent: Tuesday, October 02, 2001 3:45 PM To: SQR-USERS@list.iex.net Subject: SQR/Oracle Error We had some reports set up with a stored procedure that returned values in the following format: (DD-Mon-YYYY, DD-Mon-YYYY) We added a new option that in certain instances the stored procedure would return: (DD-Mon-YYYY HH:MI:SS, DD-Mon-YYYY HH:MI:SS) We ran the new stored procedure in an SQL Client and it worked properly. When I run this through SQR, I get the following error: (SQR 5528) ORACLE OEXEC error -6502 in cursor 1: ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at line 1 Error on line XX: (SQR 3735) Could not execute SQL. SQR: Program Aborting. This is how the SP is called: let $date_stor_proc = 'rpt.storprocedurename' begin-sql begin $business_date := [$date_stor_proc]($option);; end;; end-sql We tried having the function only return (DD-Mon-YYYY HH, DD-Mon-YYYY HH) and it worked with no problem, so I tend to think this problem in on the Brio side with the $business_date string. We are using SQR 6.0 going against an Oracle DB on Solaris. Any ideas? Kevin Kroen ========================================================================= This message is intended for the named addressee(s) only and contains information that may be confidential, non-public or legally privileged. If you are not the intended recipient, you must not copy this message or attachment or disclose the contents to any other person. If you received this email in error, please contact the sender and permanently delete the email and any attachments. Unless expressly stated, opinions in this email are those of the individual sender and not of FX Alliance, LLC or its affiliates. ========================================================================= ========================================================================= This message is intended for the named addressee(s) only and contains information that may be confidential, non-public or legally privileged. If you are not the intended recipient, you must not copy this message or attachment or disclose the contents to any other person. If you received this email in error, please contact the sender and permanently delete the email and any attachments. Unless expressly stated, opinions in this email are those of the individual sender and not of FX Alliance, LLC or its affiliates. ========================================================================= From owner-sqr-users@list.iex.net Tue Oct 2 17:19:57 2001 Date: Tue, 2 Oct 2001 15:10:49 -0700 From: Allen Cunningham Subject: debug sqr error? sqr version 4.3.4 database Oracle I get the following error when running sqr: Error on line 1612: (SQR 4702) Line found outside paragraph. Since SQC's are included how can I know if this is the correct line where the error is occuring?? From owner-sqr-users@list.iex.net Tue Oct 2 17:33:35 2001 Date: Tue, 2 Oct 2001 15:31:17 -0700 From: laura lopez Subject: Re: debug sqr error? Allen, when the error is in the SQC, it actually tells you. I'd tell you: 'error in the include file... line ....' The error you're getting is because you have a procedure that does not begin or end with the keywords: "BEGIN-procedure ..." or "end-procedure ..." check your code on that line (1612) and make sure you do have those keywords if it is the beginning or end of a procedure. Hope that helps! Good luck! Laura. > -----Original Message----- > From: Allen Cunningham [SMTP:allen.cunningham@SONOMA.EDU] > Sent: Tuesday, October 02, 2001 3:11 PM > To: SQR-USERS@list.iex.net > Subject: debug sqr error? > > sqr version 4.3.4 > database Oracle > > I get the following error when running sqr: > Error on line 1612: > (SQR 4702) Line found outside paragraph. > > Since SQC's are included how can I know if this is the correct line where > the error is occuring?? From owner-sqr-users@list.iex.net Tue Oct 2 17:51:17 2001 Date: Tue, 2 Oct 2001 15:46:12 -0700 From: Allen Cunningham Subject: Re: debug sqr error? Actually the error is occuring on the next to last line of the sqr, just before the last comment line, see below. Also, this sqr runs fine on the client, but bombs on the server. #Include 'songetdb.sqc' !Custom - Get Database Name (THIS IS LINE 1612) !---------------------------- End of Program -------------------------- Also, so anytime I see an error on a line number, it will be pointing to the sqr itself? Not to included sqc code that has been brought in to the sqr? ac -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of laura lopez Sent: Tuesday, October 02, 2001 3:31 PM To: SQR-USERS@list.iex.net Subject: Re: debug sqr error? Allen, when the error is in the SQC, it actually tells you. I'd tell you: 'error in the include file... line ....' The error you're getting is because you have a procedure that does not begin or end with the keywords: "BEGIN-procedure ..." or "end-procedure ..." check your code on that line (1612) and make sure you do have those keywords if it is the beginning or end of a procedure. Hope that helps! Good luck! Laura. > -----Original Message----- > From: Allen Cunningham [SMTP:allen.cunningham@SONOMA.EDU] > Sent: Tuesday, October 02, 2001 3:11 PM > To: SQR-USERS@list.iex.net > Subject: debug sqr error? > > sqr version 4.3.4 > database Oracle > > I get the following error when running sqr: > Error on line 1612: > (SQR 4702) Line found outside paragraph. > > Since SQC's are included how can I know if this is the correct line where > the error is occuring?? From owner-sqr-users@list.iex.net Tue Oct 2 18:02:31 2001 Date: Tue, 2 Oct 2001 15:58:06 -0700 From: Rachael Beatty Subject: Re: debug sqr error? --0__=AwA7lehJXuSxCk7G5cQo39okwQO7xUG5jkh1pXb6usq3YwzSSSylOnJH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 7bit I have seen this before, but cannot remember what it was. Validate that you have all your if's and end-ifs and also all the begin procedure and end-procedure. Lastly, validate that you do not have anything in the first column of your sql statements. Rachael > -----Original Message----- > From: "Allen Cunningham" @INTERNET > Sent: Tuesday, October 02, 2001 3:46 PM > To: SQR-USERS@list.iex.net > Subject: Re: debug sqr error? > > > Actually the error is occuring on the next to last line of the sqr, just > before the last comment line, see below. Also, this sqr runs fine on the > client, but bombs on the server. > > #Include 'songetdb.sqc' !Custom - Get Database Name (THIS IS LINE 1612) > !---------------------------- End of Program -------------------------- > > Also, so anytime I see an error on a line number, it will be pointing to > the > sqr itself? Not to included sqc code that has been brought in to the sqr? > > ac > > > -----Original Message----- > From: Discussion of SQR, Brio Technology's database reporting language > [mailto:SQR-USERS@list.iex.net]On Behalf Of laura lopez > Sent: Tuesday, October 02, 2001 3:31 PM > To: SQR-USERS@list.iex.net > Subject: Re: debug sqr error? > > > Allen, when the error is in the SQC, it actually tells you. I'd tell you: > 'error in the include file... line ....' > > The error you're getting is because you have a procedure that does not > begin > or end with the keywords: "BEGIN-procedure ..." or "end-procedure ..." > check your code on that line (1612) and make sure you do have those > keywords > if it is the beginning or end of a procedure. > > Hope that helps! > > Good luck! > > Laura. > > > -----Original Message----- > > From: Allen Cunningham [SMTP:allen.cunningham@SONOMA.EDU] > > Sent: Tuesday, October 02, 2001 3:11 PM > > To: SQR-USERS@list.iex.net > > Subject: debug sqr error? > > > > sqr version 4.3.4 > > database Oracle > > > > I get the following error when running sqr: > > Error on line 1612: > > (SQR 4702) Line found outside paragraph. > > > > Since SQC's are included how can I know if this is the correct line > where > > the error is occuring?? > (See attached file: C.DTF) --0__=AwA7lehJXuSxCk7G5cQo39okwQO7xUG5jkh1pXb6usq3YwzSSSylOnJH Content-Type: application/octet-stream; name=C.DTF Content-Disposition: attachment; filename=C.DTF Content-Transfer-Encoding: base64 eJ8+IjQWAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQWAAwAOAAAA0QcKAAIADwA6AAYAAgA1AQEggAMADgAAANEHCgAC AA8ANwAzAAIAXwEBCYABACEAAABFNzRGMDE4RDg4QjdENTExQUM0MzAwMDBFODY3QzBFRgAqBwEE gAEAFQAAAFJFOiBkZWJ1ZyBzcXIgZXJyb3I/APcGAQ2ABAACAAAAAgACAAEDkAYA4A0AADgAAAAD AACACCAGAAAAAADAAAAAAAAARgAAAABShQAA8BMAAB4AAYAIIAYAAAAAAMAAAAAAAABGAAAAAFSF AAABAAAABAAAADguNQALAAKACCAGAAAAAADAAAAAAAAARgAAAAAGhQAAAAAAAAMAA4AIIAYAAAAA AMAAAAAAAABGAAAAAAGFAAAAAAAACwAEgAggBgAAAAAAwAAAAAAAAEYAAAAAA4UAAAAAAAALAAWA CCAGAAAAAADAAAAAAAA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xCVVRDQU5OT1RSRU1FTUJFUldIQVRJVFdBU1ZBTElEQVRFVEhB VFlPVUhBVkVBTExZT1VSSUZTQU5ERU5ELUlGU0FOREFMU09BTExUSEVCRQAAAAACAX8AAQAAAEEA AAA8RUQ2N0ZENzAwQTM1RDQxMUFDMjQwMDA0QUM0Qzk1RTMwM0UxMDkyNEBsYXhoaG14czAxLmhp bHRvbi5jb20+AAAAAJqiAgKQBgAOAAAAAgDOAQAA/////wAAAADNBAIQgAEAFAAAAFVudGl0bGVk IEF0dGFjaG1lbnQAcgcCEoADAA4AAADRBwoAAgAPADoABQACADQBAhOAAwAOAAAA0QcKAAIADwA6 AAUAAgA0AQIFkAYAzA4AAA0AAAADACEOAAAAAAMACzfOAQAAAwAgDk4OAAADAPcPAAAAAAIBEGgB AAAADgAAAAAAAAAAAAAAAAAAAAAAAABAAAcw4O8kspVLwQFAAAgw4O8kspVLwQEDAAU3BgAAAAIB AjcBAAAAAAAAAB4AATABAAAAAQAAAAAAAAACAQo3AQAAAAsAAAAqhkiG9xQDCgMCAQACAfkPAQAA ABAAAADfmM/SgLfVEbqrAASsTKV3DQABNwEAAAAQDgAACwAAAAAAAADAAAAAAAAARtDPEeChsRrh AAAAAAAAAAAAAAAAAAAAAD4AAwD+/wkABgAAAAAAAAAAAAAAAQAAAAEAAAAAAAAAABAAAAIAAAAB AAAA/v///wAAAAAAAAAA//////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////f///wQAAAD+ ////BQAAAP7////+//////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////9SAG8AbwB0ACAA RQBuAHQAcgB5AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFgAF AP//////////AgAAABYDAAAAAAAAwAAAAAAAAEYAAAAAAAAAAAAAAACwe3H1lUvBAQMAAABAAgAA AAAAAAEATwBsAGUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAKAAIB////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAABQAAAAAAAAAAgBPAGwAZQBQAHIAZQBzADAAMAAwAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAgEBAAAAAwAAAP////8AAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAgAEAAAAAAAADAE0AYQBpAGwAUwB0AHIAZQBhAG0AAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAACAf////8EAAAA/////wAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAMAAAAAAAAAP7///8CAAAAAwAA AAQAAAAFAAAABgAAAP7////+/////v////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////AQAAAgAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////8I AAAABAAAAAEAAAD/////AgAAAAAAAADMOgAAaQAAAFABAAAoAAAAOQIAAAQAAAABAAEAAAAAACAB AADEDgAAxA4AAAAAAAAAAAAAAAAAAP///wD///////////////////////////////////////// /////////////////////////////////////////////////////4AAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAYD///////////////////////////////////////////////////////// /////////////////////////////////////4BOQU5JAAAAAAEAAADPOgAAagAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABSAGkAYwBoAEUAZABp AHQARgBsAGEAZwBzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAACAP// /////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAMAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///////////////8AAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///////////////wAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAEAAAAAAAQAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqb4= --0__=AwA7lehJXuSxCk7G5cQo39okwQO7xUG5jkh1pXb6usq3YwzSSSylOnJH-- From owner-sqr-users@list.iex.net Tue Oct 2 18:16:29 2001 Date: Tue, 2 Oct 2001 16:11:52 -0700 From: Allen Cunningham Subject: Re: debug sqr error? Thanks Rachael, I'll check it out, but again it runs fine on the client and the error only occurs when running on the server, which is what I don't understand. ac -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Rachael Beatty Sent: Tuesday, October 02, 2001 3:58 PM To: SQR-USERS@list.iex.net Subject: Re: debug sqr error? I have seen this before, but cannot remember what it was. Validate that you have all your if's and end-ifs and also all the begin procedure and end-procedure. Lastly, validate that you do not have anything in the first column of your sql statements. Rachael > -----Original Message----- > From: "Allen Cunningham" @INTERNET > Sent: Tuesday, October 02, 2001 3:46 PM > To: SQR-USERS@list.iex.net > Subject: Re: debug sqr error? > > > Actually the error is occuring on the next to last line of the sqr, just > before the last comment line, see below. Also, this sqr runs fine on the > client, but bombs on the server. > > #Include 'songetdb.sqc' !Custom - Get Database Name (THIS IS LINE 1612) > !---------------------------- End of Program -------------------------- > > Also, so anytime I see an error on a line number, it will be pointing to > the > sqr itself? Not to included sqc code that has been brought in to the sqr? > > ac > > > -----Original Message----- > From: Discussion of SQR, Brio Technology's database reporting language > [mailto:SQR-USERS@list.iex.net]On Behalf Of laura lopez > Sent: Tuesday, October 02, 2001 3:31 PM > To: SQR-USERS@list.iex.net > Subject: Re: debug sqr error? > > > Allen, when the error is in the SQC, it actually tells you. I'd tell you: > 'error in the include file... line ....' > > The error you're getting is because you have a procedure that does not > begin > or end with the keywords: "BEGIN-procedure ..." or "end-procedure ..." > check your code on that line (1612) and make sure you do have those > keywords > if it is the beginning or end of a procedure. > > Hope that helps! > > Good luck! > > Laura. > > > -----Original Message----- > > From: Allen Cunningham [SMTP:allen.cunningham@SONOMA.EDU] > > Sent: Tuesday, October 02, 2001 3:11 PM > > To: SQR-USERS@list.iex.net > > Subject: debug sqr error? > > > > sqr version 4.3.4 > > database Oracle > > > > I get the following error when running sqr: > > Error on line 1612: > > (SQR 4702) Line found outside paragraph. > > > > Since SQC's are included how can I know if this is the correct line > where > > the error is occuring?? > (See attached file: C.DTF) From owner-sqr-users@list.iex.net Tue Oct 2 20:35:48 2001 Date: Tue, 2 Oct 2001 18:32:12 -0700 From: Arun Kumar Subject: Re: debug sqr error? Allen, Did you make sure that all the Search paths are fine on the Server. If the search path to include file are missing you would get this error. And you wont get this error on your client m/c where the search path are defined properly. Hope this helps --- Allen Cunningham wrote: > Thanks Rachael, I'll check it out, but again it runs > fine on the client and > the error only occurs when running on the server, > which is what I don't > understand. > > ac > > -----Original Message----- > From: Discussion of SQR, Brio Technology's database > reporting language > [mailto:SQR-USERS@list.iex.net]On Behalf Of Rachael > Beatty > Sent: Tuesday, October 02, 2001 3:58 PM > To: SQR-USERS@list.iex.net > Subject: Re: debug sqr error? > > > > > > I have seen this before, but cannot remember what it > was. Validate that you > have all your if's and end-ifs and also all the > begin procedure and > end-procedure. > Lastly, validate that you do not have anything in > the first column of your > sql statements. > > Rachael > > > -----Original Message----- > > From: "Allen Cunningham" > @INTERNET > > Sent: Tuesday, October 02, 2001 3:46 PM > > To: SQR-USERS@list.iex.net > > Subject: Re: debug sqr error? > > > > > > Actually the error is occuring on the next to last > line of the sqr, just > > before the last comment line, see below. Also, > this sqr runs fine on the > > client, but bombs on the server. > > > > #Include 'songetdb.sqc' !Custom - Get Database > Name (THIS IS LINE 1612) > > !---------------------------- End of Program > -------------------------- > > > > Also, so anytime I see an error on a line number, > it will be pointing to > > the > > sqr itself? Not to included sqc code that has been > brought in to the sqr? > > > > ac > > > > > > -----Original Message----- > > From: Discussion of SQR, Brio Technology's > database reporting language > > [mailto:SQR-USERS@list.iex.net]On Behalf Of laura > lopez > > Sent: Tuesday, October 02, 2001 3:31 PM > > To: SQR-USERS@list.iex.net > > Subject: Re: debug sqr error? > > > > > > Allen, when the error is in the SQC, it actually > tells you. I'd tell you: > > 'error in the include file... line ....' > > > > The error you're getting is because you have a > procedure that does not > > begin > > or end with the keywords: "BEGIN-procedure ..." or > "end-procedure ..." > > check your code on that line (1612) and make sure > you do have those > > keywords > > if it is the beginning or end of a procedure. > > > > Hope that helps! > > > > Good luck! > > > > Laura. > > > > > -----Original Message----- > > > From: Allen Cunningham > [SMTP:allen.cunningham@SONOMA.EDU] > > > Sent: Tuesday, October 02, 2001 3:11 PM > > > To: SQR-USERS@list.iex.net > > > Subject: debug sqr error? > > > > > > sqr version 4.3.4 > > > database Oracle > > > > > > I get the following error when running sqr: > > > Error on line 1612: > > > (SQR 4702) Line found outside paragraph. > > > > > > Since SQC's are included how can I know if this > is the correct line > > where > > > the error is occuring?? > > > > (See attached file: C.DTF) __________________________________________________ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com From owner-sqr-users@list.iex.net Wed Oct 3 11:03:31 2001 Date: Wed, 3 Oct 2001 09:00:14 -0700 From: Allen Cunningham Subject: Re: debug sqr error? -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Arun Kumar Sent: Tuesday, October 02, 2001 6:32 PM To: SQR-USERS@list.iex.net Subject: Re: debug sqr error? Arun - On the server all sqr's and sqc's are in the same dir. I am starting to think it's a problems with our ASP who hosts the databases at a remote location, and they might not have set things up correctly. I am sending off a help desk ticket to check on it. Thanks for the response. ac Allen, Did you make sure that all the Search paths are fine on the Server. If the search path to include file are missing you would get this error. And you wont get this error on your client m/c where the search path are defined properly. Hope this helps --- Allen Cunningham wrote: > Thanks Rachael, I'll check it out, but again it runs > fine on the client and > the error only occurs when running on the server, > which is what I don't > understand. > > ac > > -----Original Message----- > From: Discussion of SQR, Brio Technology's database > reporting language > [mailto:SQR-USERS@list.iex.net]On Behalf Of Rachael > Beatty > Sent: Tuesday, October 02, 2001 3:58 PM > To: SQR-USERS@list.iex.net > Subject: Re: debug sqr error? > > > > > > I have seen this before, but cannot remember what it > was. Validate that you > have all your if's and end-ifs and also all the > begin procedure and > end-procedure. > Lastly, validate that you do not have anything in > the first column of your > sql statements. > > Rachael > > > -----Original Message----- > > From: "Allen Cunningham" > @INTERNET > > Sent: Tuesday, October 02, 2001 3:46 PM > > To: SQR-USERS@list.iex.net > > Subject: Re: debug sqr error? > > > > > > Actually the error is occuring on the next to last > line of the sqr, just > > before the last comment line, see below. Also, > this sqr runs fine on the > > client, but bombs on the server. > > > > #Include 'songetdb.sqc' !Custom - Get Database > Name (THIS IS LINE 1612) > > !---------------------------- End of Program > -------------------------- > > > > Also, so anytime I see an error on a line number, > it will be pointing to > > the > > sqr itself? Not to included sqc code that has been > brought in to the sqr? > > > > ac > > > > > > -----Original Message----- > > From: Discussion of SQR, Brio Technology's > database reporting language > > [mailto:SQR-USERS@list.iex.net]On Behalf Of laura > lopez > > Sent: Tuesday, October 02, 2001 3:31 PM > > To: SQR-USERS@list.iex.net > > Subject: Re: debug sqr error? > > > > > > Allen, when the error is in the SQC, it actually > tells you. I'd tell you: > > 'error in the include file... line ....' > > > > The error you're getting is because you have a > procedure that does not > > begin > > or end with the keywords: "BEGIN-procedure ..." or > "end-procedure ..." > > check your code on that line (1612) and make sure > you do have those > > keywords > > if it is the beginning or end of a procedure. > > > > Hope that helps! > > > > Good luck! > > > > Laura. > > > > > -----Original Message----- > > > From: Allen Cunningham > [SMTP:allen.cunningham@SONOMA.EDU] > > > Sent: Tuesday, October 02, 2001 3:11 PM > > > To: SQR-USERS@list.iex.net > > > Subject: debug sqr error? > > > > > > sqr version 4.3.4 > > > database Oracle > > > > > > I get the following error when running sqr: > > > Error on line 1612: > > > (SQR 4702) Line found outside paragraph. > > > > > > Since SQC's are included how can I know if this > is the correct line > > where > > > the error is occuring?? > > > > (See attached file: C.DTF) __________________________________________________ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com From owner-sqr-users@list.iex.net Tue Oct 2 18:31:26 2001 Date: Tue, 2 Oct 2001 16:28:47 -0700 From: laura lopez Subject: Re: debug sqr error? Allen, according to my SQR book that error: (SQR 4702) Line found outside paragraph - means the following: "All commands must be within BEGIN-... END-statements. Correct the source code". Sometimes it is true that it may have an error in the main sql so make sure that is ok. Make sure the versions you are testing on the client and on the server is the exact same version. I know it may sound silly but it's happened before! Good luck! LL > -----Original Message----- > From: Allen Cunningham [SMTP:allen.cunningham@SONOMA.EDU] > Sent: Tuesday, October 02, 2001 3:46 PM > To: SQR-USERS@list.iex.net > Subject: Re: debug sqr error? > > Actually the error is occuring on the next to last line of the sqr, just > before the last comment line, see below. Also, this sqr runs fine on the > client, but bombs on the server. > > #Include 'songetdb.sqc' !Custom - Get Database Name (THIS IS LINE 1612) > !---------------------------- End of Program -------------------------- > > Also, so anytime I see an error on a line number, it will be pointing to > the > sqr itself? Not to included sqc code that has been brought in to the sqr? > > ac > > > -----Original Message----- > From: Discussion of SQR, Brio Technology's database reporting language > [mailto:SQR-USERS@list.iex.net]On Behalf Of laura lopez > Sent: Tuesday, October 02, 2001 3:31 PM > To: SQR-USERS@list.iex.net > Subject: Re: debug sqr error? > > > Allen, when the error is in the SQC, it actually tells you. I'd tell you: > 'error in the include file... line ....' > > The error you're getting is because you have a procedure that does not > begin > or end with the keywords: "BEGIN-procedure ..." or "end-procedure ..." > check your code on that line (1612) and make sure you do have those > keywords > if it is the beginning or end of a procedure. > > Hope that helps! > > Good luck! > > Laura. > > > -----Original Message----- > > From: Allen Cunningham [SMTP:allen.cunningham@SONOMA.EDU] > > Sent: Tuesday, October 02, 2001 3:11 PM > > To: SQR-USERS@list.iex.net > > Subject: debug sqr error? > > > > sqr version 4.3.4 > > database Oracle > > > > I get the following error when running sqr: > > Error on line 1612: > > (SQR 4702) Line found outside paragraph. > > > > Since SQC's are included how can I know if this is the correct line > where > > the error is occuring?? From owner-sqr-users@list.iex.net Thu Oct 4 10:21:57 2001 Date: Thu, 4 Oct 2001 11:15:03 -0400 From: "Risman, Mark" Subject: Re: debug sqr error? Allen, Check to see that this #include line is in the right spot. I believe that whatever is inside the included file will show up in the calling SQR, exactly in place of the "#include" statement; the compiler replaced the #include statement with the file and then compiles the whole thing. If you do something like this, for example: BEGIN-PROCEDURE . . . #include 'xyz.sqc' . . . END-PROCEDURE and your sqc has: BEGIN-PROCEDURE . . . END-PROCEDURE then the final version would look like this BEGIN-PROCEDURE . . . BEGIN-PROCEDURE . . . END-PROCEDURE . . . END-PROCEDURE and the compiler would get confused and you'll get an error kind of like the one you saw. hope this helps, - Mark -----Original Message----- From: Allen Cunningham [mailto:allen.cunningham@SONOMA.EDU] Sent: Tuesday, October 02, 2001 6:46 PM To: SQR-USERS@list.iex.net Subject: Re: debug sqr error? Actually the error is occuring on the next to last line of the sqr, just before the last comment line, see below. Also, this sqr runs fine on the client, but bombs on the server. #Include 'songetdb.sqc' !Custom - Get Database Name (THIS IS LINE 1612) !---------------------------- End of Program -------------------------- Also, so anytime I see an error on a line number, it will be pointing to the sqr itself? Not to included sqc code that has been brought in to the sqr? ac -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of laura lopez Sent: Tuesday, October 02, 2001 3:31 PM To: SQR-USERS@list.iex.net Subject: Re: debug sqr error? Allen, when the error is in the SQC, it actually tells you. I'd tell you: 'error in the include file... line ....' The error you're getting is because you have a procedure that does not begin or end with the keywords: "BEGIN-procedure ..." or "end-procedure ..." check your code on that line (1612) and make sure you do have those keywords if it is the beginning or end of a procedure. Hope that helps! Good luck! Laura. > -----Original Message----- > From: Allen Cunningham [SMTP:allen.cunningham@SONOMA.EDU] > Sent: Tuesday, October 02, 2001 3:11 PM > To: SQR-USERS@list.iex.net > Subject: debug sqr error? > > sqr version 4.3.4 > database Oracle > > I get the following error when running sqr: > Error on line 1612: > (SQR 4702) Line found outside paragraph. > > Since SQC's are included how can I know if this is the correct line where > the error is occuring?? Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. From owner-sqr-users@list.iex.net Thu Oct 4 10:57:30 2001 Date: Thu, 4 Oct 2001 08:53:29 -0700 From: Allen Cunningham Subject: Re: debug sqr error? Hi Mark - Thanks for the input, but I ended up finding the problem. Here is a post-mortem of the problem: Somehow a single control char got introduced into the sqr text file, at the very bottom past the last '#include'. It showed up like a small box in a text editor. The sqr ran fine on the client, becuase Win NT doesn't care about such things, but on the unix server it did care, and generated the error of finding a command outside of a begin-end block. ac -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Risman, Mark Sent: Thursday, October 04, 2001 8:15 AM To: SQR-USERS@list.iex.net Subject: Re: debug sqr error? Allen, Check to see that this #include line is in the right spot. I believe that whatever is inside the included file will show up in the calling SQR, exactly in place of the "#include" statement; the compiler replaced the #include statement with the file and then compiles the whole thing. If you do something like this, for example: BEGIN-PROCEDURE . . . #include 'xyz.sqc' . . . END-PROCEDURE and your sqc has: BEGIN-PROCEDURE . . . END-PROCEDURE then the final version would look like this BEGIN-PROCEDURE . . . BEGIN-PROCEDURE . . . END-PROCEDURE . . . END-PROCEDURE and the compiler would get confused and you'll get an error kind of like the one you saw. hope this helps, - Mark -----Original Message----- From: Allen Cunningham [mailto:allen.cunningham@SONOMA.EDU] Sent: Tuesday, October 02, 2001 6:46 PM To: SQR-USERS@list.iex.net Subject: Re: debug sqr error? Actually the error is occuring on the next to last line of the sqr, just before the last comment line, see below. Also, this sqr runs fine on the client, but bombs on the server. #Include 'songetdb.sqc' !Custom - Get Database Name (THIS IS LINE 1612) !---------------------------- End of Program -------------------------- Also, so anytime I see an error on a line number, it will be pointing to the sqr itself? Not to included sqc code that has been brought in to the sqr? ac -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of laura lopez Sent: Tuesday, October 02, 2001 3:31 PM To: SQR-USERS@list.iex.net Subject: Re: debug sqr error? Allen, when the error is in the SQC, it actually tells you. I'd tell you: 'error in the include file... line ....' The error you're getting is because you have a procedure that does not begin or end with the keywords: "BEGIN-procedure ..." or "end-procedure ..." check your code on that line (1612) and make sure you do have those keywords if it is the beginning or end of a procedure. Hope that helps! Good luck! Laura. > -----Original Message----- > From: Allen Cunningham [SMTP:allen.cunningham@SONOMA.EDU] > Sent: Tuesday, October 02, 2001 3:11 PM > To: SQR-USERS@list.iex.net > Subject: debug sqr error? > > sqr version 4.3.4 > database Oracle > > I get the following error when running sqr: > Error on line 1612: > (SQR 4702) Line found outside paragraph. > > Since SQC's are included how can I know if this is the correct line where > the error is occuring?? Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. From owner-sqr-users@list.iex.net Wed Oct 3 07:45:54 2001 Date: Wed, 3 Oct 2001 08:42:22 -0400 From: Steve Rogers Subject: Creating multiple reports on mainframe Good morning all - We are running PeopleSoft DB2 for MVS, version 7.51. All of our SQR's are processed using the mainframe as our server. I am attempting to create two different reports from the same SQR. I used the DECLARE-REPORT options according to the SQR server Language Reference. When I attempt to run the SQR, I am receiving the following error - (SQR 6002) Cannot open the printer file: DDN:SQROUT.SPF (13): Improper function argument It appears as if the the SQROUT DD name is automatically receiving the .SPF suffix, which MVS can't seem to process. Does anyone know how to resolve this problem? thanks, Steve From owner-sqr-users@list.iex.net Wed Oct 3 08:03:51 2001 Date: Wed, 3 Oct 2001 09:59:15 -0300 From: Peter Clark Subject: Re: Creating multiple reports on mainframe It would be more helpful if we knew what version of SQR you are on rather than what version of PeopleSoft. I believe there is a multiple reports command line flag in the later versions of SQR (-MR) that might be helpful to you ... but then, it all depends on your version of SQR. >>> Steve Rogers 2001/10/03 9:42:22 am >>> Good morning all - We are running PeopleSoft DB2 for MVS, version 7.51. All of our SQR's are processed using the mainframe as our server. I am attempting to create two different reports from the same SQR. I used the DECLARE-REPORT options according to the SQR server Language Reference. When I attempt to run the SQR, I am receiving the following error - (SQR 6002) Cannot open the printer file: DDN:SQROUT.SPF (13): Improper function argument It appears as if the the SQROUT DD name is automatically receiving the .SPF suffix, which MVS can't seem to process. Does anyone know how to resolve this problem? thanks, Steve From owner-sqr-users@list.iex.net Wed Oct 3 08:57:11 2001 Date: Wed, 3 Oct 2001 09:53:04 -0400 From: Steve Rogers Subject: Re: Creating multiple reports on mainframe Peter, Thank you for responding. I believe that our SQR version is 4.1.7.3. thanks, steve Peter Clark on 10/03/2001 08:59:15 AM Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Steve Rogers/North/KayBee) Subject: Re: Creating multiple reports on mainframe It would be more helpful if we knew what version of SQR you are on rather than what version of PeopleSoft. I believe there is a multiple reports command line flag in the later versions of SQR (-MR) that might be helpful to you ... but then, it all depends on your version of SQR. >>> Steve Rogers 2001/10/03 9:42:22 am >>> Good morning all - We are running PeopleSoft DB2 for MVS, version 7.51. All of our SQR's are processed using the mainframe as our server. I am attempting to create two different reports from the same SQR. I used the DECLARE-REPORT options according to the SQR server Language Reference. When I attempt to run the SQR, I am receiving the following error - (SQR 6002) Cannot open the printer file: DDN:SQROUT.SPF (13): Improper function argument It appears as if the the SQROUT DD name is automatically receiving the .SPF suffix, which MVS can't seem to process. Does anyone know how to resolve this problem? thanks, Steve From owner-sqr-users@list.iex.net Wed Oct 3 09:19:04 2001 Date: Wed, 3 Oct 2001 11:13:07 -0300 From: Peter Clark Subject: Re: Creating multiple reports on mainframe Steve, There was a discussion just a few days ago on multiple reports on the PeopleSoft-Fans listserve. You may want to refer to the solutions offered there under the heading "SQR With Multiple Reports". I suspect you may be out of luck with the -MR flag since you are on such an old version of SQR, but there was a PeopleSoft resolution number mentioned that might be of help. Good luck. http://groups.yahoo.com/group/peoplesoft-fans/ >>> Steve Rogers 2001/10/03 10:53:04 am >>> Peter, Thank you for responding. I believe that our SQR version is 4.1.7.3. thanks, steve Peter Clark on 10/03/2001 08:59:15 AM Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Steve Rogers/North/KayBee) Subject: Re: Creating multiple reports on mainframe It would be more helpful if we knew what version of SQR you are on rather than what version of PeopleSoft. I believe there is a multiple reports command line flag in the later versions of SQR (-MR) that might be helpful to you ... but then, it all depends on your version of SQR. >>> Steve Rogers 2001/10/03 9:42:22 am >>> Good morning all - We are running PeopleSoft DB2 for MVS, version 7.51. All of our SQR's are processed using the mainframe as our server. I am attempting to create two different reports from the same SQR. I used the DECLARE-REPORT options according to the SQR server Language Reference. When I attempt to run the SQR, I am receiving the following error - (SQR 6002) Cannot open the printer file: DDN:SQROUT.SPF (13): Improper function argument It appears as if the the SQROUT DD name is automatically receiving the .SPF suffix, which MVS can't seem to process. Does anyone know how to resolve this problem? thanks, Steve From owner-sqr-users@list.iex.net Wed Oct 3 10:05:20 2001 Date: Wed, 3 Oct 2001 11:02:50 -0400 From: Cindy Chen Subject: Re: Creating multiple reports on mainframe Hi Steve, You need : 1. in the member of your parmlib, make sure you have flags: -FRPT1 -FRPT2 .... 2. then in your JCL, you will need to have ddname RPT1 and RPT2 which point to a pre-allocated PDS, ex., //RPT1 dd dsn=your.pds(myrpt1)... //RPT2 dd dsn=your.pds(myrpt2)... HTH Cindy At 08:42 AM 10/3/2001 -0400, you wrote: > Good morning all - > > We are running PeopleSoft DB2 for MVS, version 7.51. All of our > SQR's are >processed using the mainframe as our server. I am attempting to create two >different reports from the same SQR. I used the DECLARE-REPORT options >according to the SQR server Language Reference. When I attempt to run the >SQR, >I am receiving the following error - > >(SQR 6002) Cannot open the printer file: DDN:SQROUT.SPF >(13): Improper function argument > > It appears as if the the SQROUT DD name is automatically receiving > the .SPF >suffix, which MVS can't seem to process. > > Does anyone know how to resolve this problem? > > thanks, > Steve From owner-sqr-users@list.iex.net Wed Oct 3 10:16:34 2001 Date: Wed, 3 Oct 2001 11:09:26 -0400 From: Ed Mahoney Subject: Re: Creating multiple reports on mainframe I'm not sure if this applies to V4.1.7.3, but it does seem to apply to V6.1.4 delivered with PeopleSoft 8.13. You will need to have the SQROUT directed to a file instead of SYSOUT=. The name of the SPF file is built from the SQROUT file name and it can't use SYSOUT= to build the SPF file name. Ed Mahoney UnumProvident Corporation Chattanooga Office - 3S (423) 755-1572 |--------+------------------------> | | Steve Rogers | | | | | | Sent by: | | | "Discussion of| | | SQR, Brio | | | Technology's | | | database | | | reporting | | | language" | | | | | | | | | | | | 10/03/2001 | | | 08:42 AM | | | Please respond| | | to sqr-users | | | | |--------+------------------------> >----------------------------------------------------------------------------| | | | To: SQR-USERS@list.iex.net | | cc: | | Subject: Creating multiple reports on mainframe | >----------------------------------------------------------------------------| Good morning all - We are running PeopleSoft DB2 for MVS, version 7.51. All of our SQR's are processed using the mainframe as our server. I am attempting to create two different reports from the same SQR. I used the DECLARE-REPORT options according to the SQR server Language Reference. When I attempt to run the SQR, I am receiving the following error - (SQR 6002) Cannot open the printer file: DDN:SQROUT.SPF (13): Improper function argument It appears as if the the SQROUT DD name is automatically receiving the .SPF suffix, which MVS can't seem to process. Does anyone know how to resolve this problem? thanks, Steve From owner-sqr-users@list.iex.net Wed Oct 3 10:18:47 2001 Date: Wed, 3 Oct 2001 11:14:56 -0400 From: "Ballesty, Lorraine" Subject: Re: Creating multiple reports on mainframe Steve - I encountered a similar problem a while back, but instead of an error message, the additional reports were being sent to unix 'Never-Never Land'. It turned out that while SQR supports multiple report functionality, PeopleSoft did not. What I think is happening to you is that the default names for the additional reports are not compatible with your system's naming conventions. I got around my particular problem by calling each new report in the beginning of the program, and then deliberately setting the output file, thereby bypassing the default output file ($sqr-report). It's little lengthy, but the following had to happen: !SQR: MultipleReports.sqr ! Set up and write to 3 separate output reports !************************************************************** begin-setup !declare report names and formats used !------------------------------------- declare-report interface_errors ! error report end-declare declare-report Summary_Rpt ! summary report end-declare declare-report Detail_Rpt ! detail report end-declare end-setup !Do the following in your initialization phase to attach !the report output names to the correct reports. You !CANNOT write to any of these reports until this is done. !*********************************************************** begin-procedure init-program use-report interface_errors !This first call sets the value of $sqr-report !i.e., $sqr-report = '\bin\output\MultipleReports.lis' !Use this variable to set the value of the next output report use-report Summary_Rpt new-report '\bin\output\MultipleReports1.lis' use-report Detail_Rpt new-report '\bin\output\MultipleReports2.lis' end-procedure !Now call each report as you need it with the 'use-report' command !***************************************************************** begin-procedure Process-Main use-report interface_errors !perform processing.... use-report Summary_Rpt !perform processing... !etc.... end-procedure I don't know if the problem you're having is exactly the same, but please feel free to contact me with questions. Hope this helps! Lorraine Ballesty, Analyst/Programmer Lead HRIS, Information Technology Services University of Rochester phone: (716) 273-2606 pager: (716) 220-0803 e-mail: LBallesty@ACS.Rochester.edu > -----Original Message----- > From: Steve Rogers [SMTP:srogers@KBTOYS.COM] > Sent: Wednesday, October 03, 2001 9:53 AM > To: SQR-USERS@list.iex.net > Subject: Re: Creating multiple reports on mainframe > > Peter, > > Thank you for responding. I believe that our SQR version is 4.1.7.3. > > thanks, > steve > > > > > Peter Clark on 10/03/2001 08:59:15 AM > > Please respond to sqr-users@list.iex.net > > To: SQR-USERS@list.iex.net > cc: (bcc: Steve Rogers/North/KayBee) > > Subject: Re: Creating multiple reports on mainframe > > > > It would be more helpful if we knew what version of SQR you are on rather > than > what version of PeopleSoft. I believe there is a multiple reports command > line > flag in the later versions of SQR (-MR) that might be helpful to you ... > but > then, it all depends on your version of SQR. > > >>> Steve Rogers 2001/10/03 9:42:22 am >>> > Good morning all - > > We are running PeopleSoft DB2 for MVS, version 7.51. All of our > SQR's are > processed using the mainframe as our server. I am attempting to create > two > different reports from the same SQR. I used the DECLARE-REPORT options > according to the SQR server Language Reference. When I attempt to run the > SQR, > I am receiving the following error - > > (SQR 6002) Cannot open the printer file: DDN:SQROUT.SPF > (13): Improper function argument > > It appears as if the the SQROUT DD name is automatically receiving > the .SPF > suffix, which MVS can't seem to process. > > Does anyone know how to resolve this problem? > > thanks, > Steve From owner-sqr-users@list.iex.net Wed Oct 3 10:48:24 2001 Date: Wed, 3 Oct 2001 11:44:26 -0400 From: Steve Rogers Subject: Re: Creating multiple reports on mainframe Cindy, Thank you very much for responding. I would just like to clarify a few things- -When you mention the member of your parmlib, are you referring to - - the Config Manager SQR flag settings in PeopleSoft - the SQRPARMS member, which in our environment looks like this - DSN SYSTEM(DHP2) RUN PROG(SQR) - PLAN(DBCALLS) - LIB('SYS3.PSOFT.SQR.LOAD') - PARMS('DDN:SQRIN DSN/PSOFTPRD -FDDN:SQROUT -P:HP -S - -IDDN:SQRINC( -TBZ -MDDN:MAXIN') END - something else? - We typically run our SQR's from PeopleSoft using shell JCL, which defaults the print file to a DDNAME of SYSOUT. We do have a few SQR's that we don't run from PeopleSoft. They are run on the mainframe as stand alone jobs. If we need to use "custom" DDNAMES for the multiple reports, then I assume I will have to create a new stand alone job, with it's own JCL. I don't see how I could do this using the shell JCL. Is this what you had in mind, or am I missing something? Thanks again for your help. This is the first time we have attempted this. It could be quite helpful now and in the future. Steve Cindy Chen on 10/03/2001 11:02:50 AM Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Steve Rogers/North/KayBee) Subject: Re: Creating multiple reports on mainframe Hi Steve, You need : 1. in the member of your parmlib, make sure you have flags: -FRPT1 -FRPT2 .... 2. then in your JCL, you will need to have ddname RPT1 and RPT2 which point to a pre-allocated PDS, ex., //RPT1 dd dsn=your.pds(myrpt1)... //RPT2 dd dsn=your.pds(myrpt2)... HTH Cindy At 08:42 AM 10/3/2001 -0400, you wrote: > Good morning all - > > We are running PeopleSoft DB2 for MVS, version 7.51. All of our > SQR's are >processed using the mainframe as our server. I am attempting to create two >different reports from the same SQR. I used the DECLARE-REPORT options >according to the SQR server Language Reference. When I attempt to run the >SQR, >I am receiving the following error - > >(SQR 6002) Cannot open the printer file: DDN:SQROUT.SPF >(13): Improper function argument > > It appears as if the the SQROUT DD name is automatically receiving > the .SPF >suffix, which MVS can't seem to process. > > Does anyone know how to resolve this problem? > > thanks, > Steve From owner-sqr-users@list.iex.net Wed Oct 3 13:14:58 2001 Date: Wed, 3 Oct 2001 14:12:23 -0400 From: Cindy Chen Subject: Re: Creating multiple reports on mainframe Steve, I was assuming that you ran the report from a stand alone JCL job. The parm member I meant is the SQRPARMS like the one you have in your mail. Instead of -FDDN:SYSOUT you would have -FRPT1 -RPT2 (here RPT1 and RPT2 should match the DDNAME you have in JCL pointing to the preallocated PDS and should match the name in your DECLARE-REPORT RPT1 in your program). We ended up creating one parm member which has -FP1 -FP2 -FP3 -FP4 -FP5 , and that give us the flexibility of using the same parm member without having to recreate that for each program. But then each of our multiple report program need to use report name as P1, P2, etc., and we don't have much choice about the report names because of the constraint of the command line length. if we have a program that generates only 3 reports, we would still need to define as many (in this case, P1 - P5) declare-report as the -F in the SQRPARMS. Same rule applies for JCL. ex., the JCL might look like : //P1 DD DISP=SHR,DSN=PROD.UGL.REPORT(RPT01) //P2 DD DISP=SHR,DSN=PROD.UGL.REPORT(RPT02) //P3 DD DISP=SHR,DSN=PROD.UGL.REPORT(RPT03) //P4 DD DUMMY //P5 DD DUMMY our SQR is 4.1.7.3 same as yours. We don't have multiple report program run from PeopleSoft , but I think you will need a special shell JCL (or JCLs) for multiple report programs to run in MVS server. HTH. -Cindy At 11:44 AM 10/3/2001 -0400, you wrote: >Cindy, > > Thank you very much for responding. I would just like to clarify a few >things- > > -When you mention the member of your parmlib, are you referring to - > - the Config Manager SQR flag settings in PeopleSoft > - the SQRPARMS member, which in our environment looks like this - > > DSN SYSTEM(DHP2) > RUN PROG(SQR) - > PLAN(DBCALLS) - > LIB('SYS3.PSOFT.SQR.LOAD') - > PARMS('DDN:SQRIN DSN/PSOFTPRD -FDDN:SQROUT -P:HP -S - > -IDDN:SQRINC( -TBZ -MDDN:MAXIN') > END > > - something else? > > - We typically run our SQR's from PeopleSoft using shell JCL, which >defaults the print file to a DDNAME of SYSOUT. We do have a few >SQR's that >we don't run from PeopleSoft. They are run on the mainframe as stand alone >jobs. If we need to use "custom" DDNAMES for the multiple reports, >then >I assume I will have to create a new stand alone job, with it's >own JCL. >I don't see how I could do this using the shell JCL. Is this what you had in >mind, or am I missing something? > > Thanks again for your help. This is the first time we have > attempted this. >It could be quite helpful now and in the future. > > Steve > > > > > >Cindy Chen on 10/03/2001 11:02:50 AM > >Please respond to sqr-users@list.iex.net > >To: SQR-USERS@list.iex.net >cc: (bcc: Steve Rogers/North/KayBee) > >Subject: Re: Creating multiple reports on mainframe > > > >Hi Steve, > > You need : >1. in the member of your parmlib, make sure you have flags: > -FRPT1 -FRPT2 .... >2. then in your JCL, you will need to have ddname RPT1 and RPT2 which point >to a pre-allocated PDS, ex., > //RPT1 dd dsn=your.pds(myrpt1)... > //RPT2 dd dsn=your.pds(myrpt2)... > >HTH > >Cindy >At 08:42 AM 10/3/2001 -0400, you wrote: > > Good morning all - > > > > We are running PeopleSoft DB2 for MVS, version 7.51. All of our > > SQR's are > >processed using the mainframe as our server. I am attempting to create two > >different reports from the same SQR. I used the DECLARE-REPORT options > >according to the SQR server Language Reference. When I attempt to run the > >SQR, > >I am receiving the following error - > > > >(SQR 6002) Cannot open the printer file: DDN:SQROUT.SPF > >(13): Improper function argument > > > > It appears as if the the SQROUT DD name is automatically receiving > > the .SPF > >suffix, which MVS can't seem to process. > > > > Does anyone know how to resolve this problem? > > > > thanks, > > Steve From owner-sqr-users@list.iex.net Wed Oct 3 09:00:36 2001 Date: Wed, 3 Oct 2001 14:57:07 +0100 From: "Maheshwari, Amit" Subject: How to restrict any user from modifying or viewing my reports ' s ource code I have written floated this query earlier also but couldn't follow it up. Here is my problem, I am running my report from Reportbuilder.Whenever I make a new report from reportbuilder, the following files are generated by default --> (if file name is rep1) rep1.htm rep1.log rep1.spf rep1.sqr rep1.srm rep1.xml Now if a user ,unknown to the query and reports, wants to run a report on a database, which file should he click on? I am assuming that rep1.srm is the one he should be clicking.By default the reportbuilder gets opened.Now the whole code is visible to the user.Is there any way out by which just the generated report comes up and not the code as well!!! Please let me have your valuable suggestion. Thanks amit ***************************************************************************** This message is confidential and for use by the addressee only. If you are not the intended recipient, you must not use, disclose, distribute, copy, print, or rely on this message. Please notify the sender by return email and then delete the message from your computer. Royal Skandia accepts no responsibility for changes made to this message after it was sent nor for any loss or damage from receipt or use. Royal Skandia Life Assurance Limited - a member of the Skandia Group of Companies - Reg No: 24916 Isle of Man - Registered Office: Skandia House, Finch Road, Douglas, Isle of Man IM99 1NU, British Isles - Regulated by the Personal Investment Authority for UK Investment Business - Member of the Association of International Life Offices. Internet: http://www.royalskandia.com ***************************************************************************** From owner-sqr-users@list.iex.net Wed Oct 3 09:10:36 2001 Date: Wed, 3 Oct 2001 10:07:18 -0400 From: "Vallabhu, Bindu" Subject: Re: How to restrict any user from modifying or viewing my reports ' s ource code Try rep1.htm and rep1.spf. -----Original Message----- From: Maheshwari, Amit [mailto:Amit.Maheshwari@ROYALSKANDIA.COM] Sent: 10/03/2001 9:57 AM To: SQR-USERS@list.iex.net Subject: How to restrict any user from modifying or viewing my reports ' s ource code I have written floated this query earlier also but couldn't follow it up. Here is my problem, I am running my report from Reportbuilder.Whenever I make a new report from reportbuilder, the following files are generated by default --> (if file name is rep1) rep1.htm rep1.log rep1.spf rep1.sqr rep1.srm rep1.xml Now if a user ,unknown to the query and reports, wants to run a report on a database, which file should he click on? I am assuming that rep1.srm is the one he should be clicking.By default the reportbuilder gets opened.Now the whole code is visible to the user.Is there any way out by which just the generated report comes up and not the code as well!!! Please let me have your valuable suggestion. Thanks amit **************************************************************************** * This message is confidential and for use by the addressee only. If you are not the intended recipient, you must not use, disclose, distribute, copy, print, or rely on this message. Please notify the sender by return email and then delete the message from your computer. Royal Skandia accepts no responsibility for changes made to this message after it was sent nor for any loss or damage from receipt or use. Royal Skandia Life Assurance Limited - a member of the Skandia Group of Companies - Reg No: 24916 Isle of Man - Registered Office: Skandia House, Finch Road, Douglas, Isle of Man IM99 1NU, British Isles - Regulated by the Personal Investment Authority for UK Investment Business - Member of the Association of International Life Offices. Internet: http://www.royalskandia.com **************************************************************************** * From owner-sqr-users@list.iex.net Wed Oct 3 09:33:33 2001 Date: Wed, 3 Oct 2001 15:28:23 +0100 From: "Maheshwari, Amit" Subject: Re: How to restrict any user from modifying or viewing my reports ' s ource code But these are just the static image of the report build some time back.I want the latest picture of my database! -----Original Message----- From: Vallabhu, Bindu [mailto:Bindu.Vallabhu@STAPLES.COM] Sent: 03 October 2001 15:07 To: SQR-USERS@list.iex.net Subject: Re: How to restrict any user from modifying or viewing my reports ' s ource code Try rep1.htm and rep1.spf. -----Original Message----- From: Maheshwari, Amit [mailto:Amit.Maheshwari@ROYALSKANDIA.COM] Sent: 10/03/2001 9:57 AM To: SQR-USERS@list.iex.net Subject: How to restrict any user from modifying or viewing my reports ' s ource code I have written floated this query earlier also but couldn't follow it up. Here is my problem, I am running my report from Reportbuilder.Whenever I make a new report from reportbuilder, the following files are generated by default --> (if file name is rep1) rep1.htm rep1.log rep1.spf rep1.sqr rep1.srm rep1.xml Now if a user ,unknown to the query and reports, wants to run a report on a database, which file should he click on? I am assuming that rep1.srm is the one he should be clicking.By default the reportbuilder gets opened.Now the whole code is visible to the user.Is there any way out by which just the generated report comes up and not the code as well!!! Please let me have your valuable suggestion. Thanks amit **************************************************************************** * This message is confidential and for use by the addressee only. If you are not the intended recipient, you must not use, disclose, distribute, copy, print, or rely on this message. Please notify the sender by return email and then delete the message from your computer. Royal Skandia accepts no responsibility for changes made to this message after it was sent nor for any loss or damage from receipt or use. Royal Skandia Life Assurance Limited - a member of the Skandia Group of Companies - Reg No: 24916 Isle of Man - Registered Office: Skandia House, Finch Road, Douglas, Isle of Man IM99 1NU, British Isles - Regulated by the Personal Investment Authority for UK Investment Business - Member of the Association of International Life Offices. Internet: http://www.royalskandia.com **************************************************************************** * ***************************************************************************** This message is confidential and for use by the addressee only. If you are not the intended recipient, you must not use, disclose, distribute, copy, print, or rely on this message. Please notify the sender by return email and then delete the message from your computer. Royal Skandia accepts no responsibility for changes made to this message after it was sent nor for any loss or damage from receipt or use. Royal Skandia Life Assurance Limited - a member of the Skandia Group of Companies - Reg No: 24916 Isle of Man - Registered Office: Skandia House, Finch Road, Douglas, Isle of Man IM99 1NU, British Isles - Regulated by the Personal Investment Authority for UK Investment Business - Member of the Association of International Life Offices. Internet: http://www.royalskandia.com ***************************************************************************** From owner-sqr-users@list.iex.net Wed Oct 3 10:12:42 2001 Date: Wed, 3 Oct 2001 11:09:22 -0400 From: "Vallabhu, Bindu" Subject: Re: How to restrict any user from modifying or viewing my reports ' s ource code I am sorry - i got your question wrong. Are you using the Brio Portal? -----Original Message----- From: Maheshwari, Amit [mailto:Amit.Maheshwari@ROYALSKANDIA.COM] Sent: 10/03/2001 10:28 AM To: SQR-USERS@list.iex.net Subject: Re: How to restrict any user from modifying or viewing my reports ' s ource code But these are just the static image of the report build some time back.I want the latest picture of my database! -----Original Message----- From: Vallabhu, Bindu [mailto:Bindu.Vallabhu@STAPLES.COM] Sent: 03 October 2001 15:07 To: SQR-USERS@list.iex.net Subject: Re: How to restrict any user from modifying or viewing my reports ' s ource code Try rep1.htm and rep1.spf. -----Original Message----- From: Maheshwari, Amit [mailto:Amit.Maheshwari@ROYALSKANDIA.COM] Sent: 10/03/2001 9:57 AM To: SQR-USERS@list.iex.net Subject: How to restrict any user from modifying or viewing my reports ' s ource code I have written floated this query earlier also but couldn't follow it up. Here is my problem, I am running my report from Reportbuilder.Whenever I make a new report from reportbuilder, the following files are generated by default --> (if file name is rep1) rep1.htm rep1.log rep1.spf rep1.sqr rep1.srm rep1.xml Now if a user ,unknown to the query and reports, wants to run a report on a database, which file should he click on? I am assuming that rep1.srm is the one he should be clicking.By default the reportbuilder gets opened.Now the whole code is visible to the user.Is there any way out by which just the generated report comes up and not the code as well!!! Please let me have your valuable suggestion. Thanks amit **************************************************************************** * This message is confidential and for use by the addressee only. If you are not the intended recipient, you must not use, disclose, distribute, copy, print, or rely on this message. Please notify the sender by return email and then delete the message from your computer. Royal Skandia accepts no responsibility for changes made to this message after it was sent nor for any loss or damage from receipt or use. Royal Skandia Life Assurance Limited - a member of the Skandia Group of Companies - Reg No: 24916 Isle of Man - Registered Office: Skandia House, Finch Road, Douglas, Isle of Man IM99 1NU, British Isles - Regulated by the Personal Investment Authority for UK Investment Business - Member of the Association of International Life Offices. Internet: http://www.royalskandia.com **************************************************************************** * **************************************************************************** * This message is confidential and for use by the addressee only. If you are not the intended recipient, you must not use, disclose, distribute, copy, print, or rely on this message. Please notify the sender by return email and then delete the message from your computer. Royal Skandia accepts no responsibility for changes made to this message after it was sent nor for any loss or damage from receipt or use. Royal Skandia Life Assurance Limited - a member of the Skandia Group of Companies - Reg No: 24916 Isle of Man - Registered Office: Skandia House, Finch Road, Douglas, Isle of Man IM99 1NU, British Isles - Regulated by the Personal Investment Authority for UK Investment Business - Member of the Association of International Life Offices. Internet: http://www.royalskandia.com **************************************************************************** * From owner-sqr-users@list.iex.net Wed Oct 3 10:37:17 2001 Date: Wed, 3 Oct 2001 16:31:47 +0100 From: "Maheshwari, Amit" Subject: Re: How to restrict any user from modifying or viewing my reports ' s ource code I am using Brio Report Builder! -----Original Message----- From: Vallabhu, Bindu [mailto:Bindu.Vallabhu@STAPLES.COM] Sent: 03 October 2001 16:09 To: SQR-USERS@list.iex.net Subject: Re: How to restrict any user from modifying or viewing my reports ' s ource code I am sorry - i got your question wrong. Are you using the Brio Portal? -----Original Message----- From: Maheshwari, Amit [mailto:Amit.Maheshwari@ROYALSKANDIA.COM] Sent: 10/03/2001 10:28 AM To: SQR-USERS@list.iex.net Subject: Re: How to restrict any user from modifying or viewing my reports ' s ource code But these are just the static image of the report build some time back.I want the latest picture of my database! -----Original Message----- From: Vallabhu, Bindu [mailto:Bindu.Vallabhu@STAPLES.COM] Sent: 03 October 2001 15:07 To: SQR-USERS@list.iex.net Subject: Re: How to restrict any user from modifying or viewing my reports ' s ource code Try rep1.htm and rep1.spf. -----Original Message----- From: Maheshwari, Amit [mailto:Amit.Maheshwari@ROYALSKANDIA.COM] Sent: 10/03/2001 9:57 AM To: SQR-USERS@list.iex.net Subject: How to restrict any user from modifying or viewing my reports ' s ource code I have written floated this query earlier also but couldn't follow it up. Here is my problem, I am running my report from Reportbuilder.Whenever I make a new report from reportbuilder, the following files are generated by default --> (if file name is rep1) rep1.htm rep1.log rep1.spf rep1.sqr rep1.srm rep1.xml Now if a user ,unknown to the query and reports, wants to run a report on a database, which file should he click on? I am assuming that rep1.srm is the one he should be clicking.By default the reportbuilder gets opened.Now the whole code is visible to the user.Is there any way out by which just the generated report comes up and not the code as well!!! Please let me have your valuable suggestion. Thanks amit **************************************************************************** * This message is confidential and for use by the addressee only. If you are not the intended recipient, you must not use, disclose, distribute, copy, print, or rely on this message. Please notify the sender by return email and then delete the message from your computer. Royal Skandia accepts no responsibility for changes made to this message after it was sent nor for any loss or damage from receipt or use. Royal Skandia Life Assurance Limited - a member of the Skandia Group of Companies - Reg No: 24916 Isle of Man - Registered Office: Skandia House, Finch Road, Douglas, Isle of Man IM99 1NU, British Isles - Regulated by the Personal Investment Authority for UK Investment Business - Member of the Association of International Life Offices. Internet: http://www.royalskandia.com **************************************************************************** * **************************************************************************** * This message is confidential and for use by the addressee only. If you are not the intended recipient, you must not use, disclose, distribute, copy, print, or rely on this message. Please notify the sender by return email and then delete the message from your computer. Royal Skandia accepts no responsibility for changes made to this message after it was sent nor for any loss or damage from receipt or use. Royal Skandia Life Assurance Limited - a member of the Skandia Group of Companies - Reg No: 24916 Isle of Man - Registered Office: Skandia House, Finch Road, Douglas, Isle of Man IM99 1NU, British Isles - Regulated by the Personal Investment Authority for UK Investment Business - Member of the Association of International Life Offices. Internet: http://www.royalskandia.com **************************************************************************** * ***************************************************************************** This message is confidential and for use by the addressee only. If you are not the intended recipient, you must not use, disclose, distribute, copy, print, or rely on this message. Please notify the sender by return email and then delete the message from your computer. Royal Skandia accepts no responsibility for changes made to this message after it was sent nor for any loss or damage from receipt or use. Royal Skandia Life Assurance Limited - a member of the Skandia Group of Companies - Reg No: 24916 Isle of Man - Registered Office: Skandia House, Finch Road, Douglas, Isle of Man IM99 1NU, British Isles - Regulated by the Personal Investment Authority for UK Investment Business - Member of the Association of International Life Offices. Internet: http://www.royalskandia.com ***************************************************************************** From owner-sqr-users@list.iex.net Wed Oct 3 10:08:44 2001 Date: Wed, 3 Oct 2001 16:03:20 +0100 From: "Maheshwari, Amit" Subject: Making Pie Chart Can somebody give me an example of how to make and print a pie chart through SQR code? Thanks Amit Maheshwari Royal Skandia Life Assurance Limited, Isle of Man Tel: 44 (0)1624 632155 (direct) Tel: 44 (0)1624 611611 (switchboard) Fax: 44 (0)1624 632153 Email Amit.Maheshwari@royalskandia.com ***************************************************************************** This message is confidential and for use by the addressee only. If you are not the intended recipient, you must not use, disclose, distribute, copy, print, or rely on this message. Please notify the sender by return email and then delete the message from your computer. Royal Skandia accepts no responsibility for changes made to this message after it was sent nor for any loss or damage from receipt or use. Royal Skandia Life Assurance Limited - a member of the Skandia Group of Companies - Reg No: 24916 Isle of Man - Registered Office: Skandia House, Finch Road, Douglas, Isle of Man IM99 1NU, British Isles - Regulated by the Personal Investment Authority for UK Investment Business - Member of the Association of International Life Offices. Internet: http://www.royalskandia.com ***************************************************************************** From owner-sqr-users@list.iex.net Wed Oct 3 13:38:52 2001 Date: Wed, 3 Oct 2001 14:36:10 -0400 From: "Fromen, Paul V" Subject: Join with expressions? Hello everyone, In the GUI version for SQR workbench (4.1.1) is it possible to join two tables using an expression like substring on one side of the join? I know I can do it once the SQR code is created, but am stumped as to how it's done in the GUI report builder. If not, was this added in a newer version? Thanks, Paul From owner-sqr-users@list.iex.net Thu Oct 4 09:27:31 2001 Date: Thu, 4 Oct 2001 16:13:50 +0200 From: Wilhelm Schulze-Messing Subject: How do you use Multicharts? Hi I'm currently trying to create a chart with 2 Y axis'. I'm using 2 arrays (one for Y1 and one for Y2), but I can't get it to work properly. It only draws the one arrays' data. Should I use the arrays differently? Only use one array? Am I missing some other setting? I can't find any help on how to use the Multichart functionality. Any input, or even better, an example would be appreciated. create-array name=AxisY1 size=100 field=cast:char field=left:number create-array name=AxisY2 size=100 field=right:number ... ! Populate arrays..... ... print-chart testChart (15, 20) type=bar data-array = AxisY1 data-array-column-count = 2 data-array-row-count = #Count y2-type=line y2-data-array = AxisY2 y2-data-array-column-count = 1 y2-data-array-row-count = #Count Oracle 7.3.4 SQR 6.1.3 Unix 11.... Thank You Wilhelm From owner-sqr-users@list.iex.net Thu Oct 4 11:26:15 2001 Date: Thu, 4 Oct 2001 11:13:02 -0500 From: "Zimmerman, James" Subject: Changing Line-size(spacing) in mid-report SQR V4.3.4 Is it possible to change line spacing in mid report? I need to print multiple lines of small legal text for a Bill of Lading report confined to a small boxes within the form. By using the alter-printer command (Alter-Printer Font=4 Point-Size=5) and changing the point size I'm able to get the neccessary characters on each line within the box but the line spacing stays at the default (12 pt I think). I need to be able to get the lines closer together to get all the text(lines) in the boxes. I'm printing to a HP PostScript printer. Thanks in advance. Jim From owner-sqr-users@list.iex.net Thu Oct 4 22:33:19 2001 Date: Fri, 5 Oct 2001 12:52:04 +0930 From: Nikki Gaertner Subject: Printing of Accents in SQR Hello SQRUG Subscribers I am having a problem printing accented characters in SQR 4.3. I am printing using the following setup: declare printer ! Declare printer characteristics. type = POSTSCRIPT orientation = portrait top-margin = 0.10 left-margin = 0.2 font = 5 point-size = 7 line-size = 11 An example of my problem is printing of the name Française Liberté. The name displays correctly with the accented characters in the sqr.log file and the .lis file, however, when printed the name displays like: Fran aise LibertØ Any insights into why this would be happening would be a great help! Thanks. Nikki From owner-sqr-users@list.iex.net Fri Oct 5 02:39:15 2001 Date: Fri, 5 Oct 2001 00:39:21 -0700 From: Franck Masson Subject: Re: Printing of Accents in SQR Nikki, You have to edit the file post_iso.str in the bin or binw directory of sqr. and uncomment the line that correspond to french. then 2 options : a)in your sqr code you make reference to this new file in your declare-printer section startup_file post_french.str b)rename your new file in postscri.str regards Franck, -----Original Message----- From: Nikki Gaertner [mailto:nikki.gaertner@ADELAIDE.EDU.AU] Sent: vendredi 5 octobre 2001 05:22 To: SQR-USERS@list.iex.net Subject: Printing of Accents in SQR Hello SQRUG Subscribers I am having a problem printing accented characters in SQR 4.3. I am printing using the following setup: declare printer ! Declare printer characteristics. type = POSTSCRIPT orientation = portrait top-margin = 0.10 left-margin = 0.2 font = 5 point-size = 7 line-size = 11 An example of my problem is printing of the name Française Liberté. The name displays correctly with the accented characters in the sqr.log file and the .lis file, however, when printed the name displays like: Fran aise LibertØ Any insights into why this would be happening would be a great help! Thanks. Nikki From owner-sqr-users@list.iex.net Fri Oct 5 03:38:59 2001 Date: Fri, 5 Oct 2001 09:35:02 +0100 From: "Maheshwari, Amit" Subject: Runtime error with Charts in SQR Hi all, This is the first time I am using Charts in SQR.I am facing a runtime error.The platform is UNIX. Here is my code : !************************* Begin-Setup create-array name=a1 size=12 field=amount:number End-Setup Begin-Procedure Main Let #i =0 Let #k =0 Let #j =100 while #i < 11 Let #j = #j+100 Let a1.amount(#i) = #j Let #i=#i +1 Let #k =#i end-while while #k > 0 Let #L = a1.amount(#k) Let #k =#k -1 end-while print-chart (15, 20) title= 'Green City Store Sales' sub-title= '(Second Quarter)' chart-size= (50, 28) type= pie data-array= a1 data-array-column-count= 1 data-array-row-count= 7 3d-effects= yes fill= color End-Procedure !************************* The runtime error is : *** Internal Coding Error *** (SQR 6352) INTERNAL: Unsupported option/request (0) in (nGetActualValue). SQRT: Program Aborting. !************************* I might be using this charts option incorrectly.Can someone help me in this. Thanks in advance amit ***************************************************************************** This message is confidential and for use by the addressee only. If you are not the intended recipient, you must not use, disclose, distribute, copy, print, or rely on this message. Please notify the sender by return email and then delete the message from your computer. Royal Skandia accepts no responsibility for changes made to this message after it was sent nor for any loss or damage from receipt or use. Royal Skandia Life Assurance Limited - a member of the Skandia Group of Companies - Reg No: 24916 Isle of Man - Registered Office: Skandia House, Finch Road, Douglas, Isle of Man IM99 1NU, British Isles - Regulated by the Personal Investment Authority for UK Investment Business - Member of the Association of International Life Offices. Internet: http://www.royalskandia.com ***************************************************************************** From owner-sqr-users@list.iex.net Fri Oct 5 10:44:54 2001 Date: Fri, 5 Oct 2001 16:39:57 +0100 From: "Maheshwari, Amit" Subject: Re: Runtime error with Charts in SQR Resending the original mail............... please help! -----Original Message----- From: Maheshwari, Amit Sent: 05 October 2001 09:35 To: SQR-USERS@list.iex.net Subject: Runtime error with Charts in SQR Hi all, This is the first time I am using Charts in SQR.I am facing a runtime error.The platform is UNIX. Here is my code : !************************* Begin-Setup create-array name=a1 size=12 field=amount:number End-Setup Begin-Procedure Main Let #i =0 Let #k =0 Let #j =100 while #i < 11 Let #j = #j+100 Let a1.amount(#i) = #j Let #i=#i +1 Let #k =#i end-while while #k > 0 Let #L = a1.amount(#k) Let #k =#k -1 end-while print-chart (15, 20) title= 'Green City Store Sales' sub-title= '(Second Quarter)' chart-size= (50, 28) type= pie data-array= a1 data-array-column-count= 1 data-array-row-count= 7 3d-effects= yes fill= color End-Procedure !************************* The runtime error is : *** Internal Coding Error *** (SQR 6352) INTERNAL: Unsupported option/request (0) in (nGetActualValue). SQRT: Program Aborting. !************************* I might be using this charts option incorrectly.Can someone help me in this. Thanks in advance amit **************************************************************************** * This message is confidential and for use by the addressee only. If you are not the intended recipient, you must not use, disclose, distribute, copy, print, or rely on this message. Please notify the sender by return email and then delete the message from your computer. Royal Skandia accepts no responsibility for changes made to this message after it was sent nor for any loss or damage from receipt or use. Royal Skandia Life Assurance Limited - a member of the Skandia Group of Companies - Reg No: 24916 Isle of Man - Registered Office: Skandia House, Finch Road, Douglas, Isle of Man IM99 1NU, British Isles - Regulated by the Personal Investment Authority for UK Investment Business - Member of the Association of International Life Offices. Internet: http://www.royalskandia.com **************************************************************************** * ***************************************************************************** This message is confidential and for use by the addressee only. If you are not the intended recipient, you must not use, disclose, distribute, copy, print, or rely on this message. Please notify the sender by return email and then delete the message from your computer. Royal Skandia accepts no responsibility for changes made to this message after it was sent nor for any loss or damage from receipt or use. Royal Skandia Life Assurance Limited - a member of the Skandia Group of Companies - Reg No: 24916 Isle of Man - Registered Office: Skandia House, Finch Road, Douglas, Isle of Man IM99 1NU, British Isles - Regulated by the Personal Investment Authority for UK Investment Business - Member of the Association of International Life Offices. Internet: http://www.royalskandia.com ***************************************************************************** From owner-sqr-users@list.iex.net Fri Oct 5 10:04:12 2001 Date: Fri, 5 Oct 2001 09:48:10 -0500 From: Les Brugere Subject: ODBC in SQRs Hello, I'm attempting to access a DB2 database using the ODBC command as follows: BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR Z.ROW_IDENT &Z.ROW_IDENT FROM DBATEST.FIT_HR_PROF_CHGS Z END-SELECT The IBM DB2 ODBC DRIVER is installed and the DSN is called FIDTFSRL. The platform is NT/SQL Server. I continue to recieve this error: (SQR 1303) Error in SQL (perhaps missing &name after expression): SELECT ROW_IDENT FROM DBATEST.FIT_HR_PROF_CHGS (SQR 1304) Check SELECT columns, expressions and 'where' clause for syntax. SQR: Program Aborting. I also used the following 2 variations of the code resulting in the same error as above: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR ROW_IDENT &Z.ROW_IDENT FROM DBATEST.FIT_HR_PROF_CHGS END-SELECT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR ROW_IDENT FROM DBATEST.FIT_HR_PROF_CHGS END-SELECT Any thoughts are greatly appreciated! Thanks, Les From owner-sqr-users@list.iex.net Fri Oct 5 10:48:22 2001 Date: Fri, 5 Oct 2001 10:34:11 -0500 From: Kristy Engelkes Subject: Re: ODBC in SQRs I am not sure if this is your problem or not but when I use a connection string, I include single quotes around it. For example, -DB'DSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR' I am not sure if this will correct the error you are getting but thought I would pass along the observation. Les Brugere @list.iex.net> on 10/05/2001 09:48:10 AM Please respond to sqr-users@list.iex.net Sent by: "Discussion of SQR, Brio Technology's database reporting language" To: SQR-USERS@list.iex.net cc: Subject: ODBC in SQRs Hello, I'm attempting to access a DB2 database using the ODBC command as follows: BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR Z.ROW_IDENT &Z.ROW_IDENT FROM DBATEST.FIT_HR_PROF_CHGS Z END-SELECT The IBM DB2 ODBC DRIVER is installed and the DSN is called FIDTFSRL. The platform is NT/SQL Server. I continue to recieve this error: (SQR 1303) Error in SQL (perhaps missing &name after expression): SELECT ROW_IDENT FROM DBATEST.FIT_HR_PROF_CHGS (SQR 1304) Check SELECT columns, expressions and 'where' clause for syntax. SQR: Program Aborting. I also used the following 2 variations of the code resulting in the same error as above: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR ROW_IDENT &Z.ROW_IDENT FROM DBATEST.FIT_HR_PROF_CHGS END-SELECT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR ROW_IDENT FROM DBATEST.FIT_HR_PROF_CHGS END-SELECT Any thoughts are greatly appreciated! Thanks, Les From owner-sqr-users@list.iex.net Fri Oct 5 11:18:41 2001 Date: Fri, 5 Oct 2001 16:15:33 +0000 From: Elvis Pressly Subject: Re: ODBC in SQRs It has to be something like this: BEGIN-SELECT -DB'DSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR' You can also read the SQR manual for more information. >From: Les Brugere >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: ODBC in SQRs >Date: Fri, 5 Oct 2001 09:48:10 -0500 > >Hello, > >I'm attempting to access a DB2 database using the ODBC command as follows: > >BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR >Z.ROW_IDENT &Z.ROW_IDENT >FROM DBATEST.FIT_HR_PROF_CHGS Z >END-SELECT > >The IBM DB2 ODBC DRIVER is installed and the DSN is called FIDTFSRL. The >platform is NT/SQL Server. > >I continue to recieve this error: > >(SQR 1303) Error in SQL (perhaps missing &name after expression): >SELECT ROW_IDENT FROM DBATEST.FIT_HR_PROF_CHGS >(SQR 1304) Check SELECT columns, expressions and 'where' clause for syntax. > >SQR: Program Aborting. > >I also used the following 2 variations of the code resulting in the same >error >as above: > >!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! >BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR >ROW_IDENT &Z.ROW_IDENT >FROM DBATEST.FIT_HR_PROF_CHGS >END-SELECT > >!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! >BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR >ROW_IDENT >FROM DBATEST.FIT_HR_PROF_CHGS >END-SELECT > >Any thoughts are greatly appreciated! > >Thanks, >Les _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From owner-sqr-users@list.iex.net Fri Oct 5 11:30:41 2001 Date: Fri, 5 Oct 2001 11:26:13 -0500 From: Les Brugere Subject: Re: ODBC in SQRs Elvis, Thank you for the tip. I did try the ticks but I am still getting the same error. Do you know if there are environment variables that must be setup within the SQR for MVS/DB2/AS400 or within a delivered SQC? Thanks again, Les Elvis Pressly on 10/05/2001 11:15:33 AM Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Les Brugere/Systems/ais) Subject: Re: ODBC in SQRs It has to be something like this: BEGIN-SELECT -DB'DSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR' You can also read the SQR manual for more information. >From: Les Brugere >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: ODBC in SQRs >Date: Fri, 5 Oct 2001 09:48:10 -0500 > >Hello, > >I'm attempting to access a DB2 database using the ODBC command as follows: > >BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR >Z.ROW_IDENT &Z.ROW_IDENT >FROM DBATEST.FIT_HR_PROF_CHGS Z >END-SELECT > >The IBM DB2 ODBC DRIVER is installed and the DSN is called FIDTFSRL. The >platform is NT/SQL Server. > >I continue to recieve this error: > >(SQR 1303) Error in SQL (perhaps missing &name after expression): >SELECT ROW_IDENT FROM DBATEST.FIT_HR_PROF_CHGS >(SQR 1304) Check SELECT columns, expressions and 'where' clause for syntax. > >SQR: Program Aborting. > >I also used the following 2 variations of the code resulting in the same >error >as above: > >!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! >BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR >ROW_IDENT &Z.ROW_IDENT >FROM DBATEST.FIT_HR_PROF_CHGS >END-SELECT > >!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! >BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR >ROW_IDENT >FROM DBATEST.FIT_HR_PROF_CHGS >END-SELECT > >Any thoughts are greatly appreciated! > >Thanks, >Les _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From owner-sqr-users@list.iex.net Fri Oct 5 12:35:35 2001 Date: Fri, 5 Oct 2001 17:26:08 +0000 From: Elvis Pressly Subject: Re: ODBC in SQRs I assumed that your database reside in AS400 then you really do not need to use -DB connectivity unless you want to get a table from different database. Your DSN should already been configured thru ODBC admin using client access ODBC driver (for AS400) or any ODBC driver suited for a particular platform like ORACLE. One thing I notice in your select statement is the FROM DBATEST.FIT_HR_PROF_CHGS <<< Can please explain to me what DBATEST is? >From: Les Brugere >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: ODBC in SQRs >Date: Fri, 5 Oct 2001 11:26:13 -0500 > >Elvis, > >Thank you for the tip. > >I did try the ticks but I am still getting the same error. > >Do you know if there are environment variables that must be setup within >the SQR >for MVS/DB2/AS400 or within a delivered SQC? > >Thanks again, >Les > > > > >Elvis Pressly on 10/05/2001 11:15:33 AM > >Please respond to sqr-users@list.iex.net > >To: SQR-USERS@list.iex.net >cc: (bcc: Les Brugere/Systems/ais) > >Subject: Re: ODBC in SQRs > > > >It has to be something like this: > >BEGIN-SELECT -DB'DSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR' > >You can also read the SQR manual for more information. > > > >From: Les Brugere > >Reply-To: sqr-users@list.iex.net > >To: SQR-USERS@list.iex.net > >Subject: ODBC in SQRs > >Date: Fri, 5 Oct 2001 09:48:10 -0500 > > > >Hello, > > > >I'm attempting to access a DB2 database using the ODBC command as >follows: > > > >BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR > >Z.ROW_IDENT &Z.ROW_IDENT > >FROM DBATEST.FIT_HR_PROF_CHGS Z > >END-SELECT > > > >The IBM DB2 ODBC DRIVER is installed and the DSN is called FIDTFSRL. >The > >platform is NT/SQL Server. > > > >I continue to recieve this error: > > > >(SQR 1303) Error in SQL (perhaps missing &name after expression): > >SELECT ROW_IDENT FROM DBATEST.FIT_HR_PROF_CHGS > >(SQR 1304) Check SELECT columns, expressions and 'where' clause for >syntax. > > > >SQR: Program Aborting. > > > >I also used the following 2 variations of the code resulting in the same > >error > >as above: > > > >!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > > >BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR > >ROW_IDENT &Z.ROW_IDENT > >FROM DBATEST.FIT_HR_PROF_CHGS > >END-SELECT > > > >!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > > >BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR > >ROW_IDENT > >FROM DBATEST.FIT_HR_PROF_CHGS > >END-SELECT > > > >Any thoughts are greatly appreciated! > > > >Thanks, > >Les > > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From owner-sqr-users@list.iex.net Fri Oct 5 13:37:33 2001 Date: Fri, 5 Oct 2001 14:23:03 -0400 From: "Schelske, Steve K." Subject: Re: ODBC in SQRs I agree with Elvis. I don't think you should need to specify the -DB. In terms of your problem, I believe each column name must be on a separate line in starting in column 1 in a BEGIN-SELECT. -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Elvis Pressly Sent: Friday, October 05, 2001 1:26 PM To: SQR-USERS@list.iex.net Subject: Re: ODBC in SQRs I assumed that your database reside in AS400 then you really do not need to use -DB connectivity unless you want to get a table from different database. Your DSN should already been configured thru ODBC admin using client access ODBC driver (for AS400) or any ODBC driver suited for a particular platform like ORACLE. One thing I notice in your select statement is the FROM DBATEST.FIT_HR_PROF_CHGS <<< Can please explain to me what DBATEST is? >From: Les Brugere >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: ODBC in SQRs >Date: Fri, 5 Oct 2001 11:26:13 -0500 > >Elvis, > >Thank you for the tip. > >I did try the ticks but I am still getting the same error. > >Do you know if there are environment variables that must be setup within >the SQR >for MVS/DB2/AS400 or within a delivered SQC? > >Thanks again, >Les > > > > >Elvis Pressly on 10/05/2001 11:15:33 AM > >Please respond to sqr-users@list.iex.net > >To: SQR-USERS@list.iex.net >cc: (bcc: Les Brugere/Systems/ais) > >Subject: Re: ODBC in SQRs > > > >It has to be something like this: > >BEGIN-SELECT -DB'DSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR' > >You can also read the SQR manual for more information. > > > >From: Les Brugere > >Reply-To: sqr-users@list.iex.net > >To: SQR-USERS@list.iex.net > >Subject: ODBC in SQRs > >Date: Fri, 5 Oct 2001 09:48:10 -0500 > > > >Hello, > > > >I'm attempting to access a DB2 database using the ODBC command as >follows: > > > >BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR > >Z.ROW_IDENT &Z.ROW_IDENT > >FROM DBATEST.FIT_HR_PROF_CHGS Z > >END-SELECT > > > >The IBM DB2 ODBC DRIVER is installed and the DSN is called FIDTFSRL. >The > >platform is NT/SQL Server. > > > >I continue to recieve this error: > > > >(SQR 1303) Error in SQL (perhaps missing &name after expression): > >SELECT ROW_IDENT FROM DBATEST.FIT_HR_PROF_CHGS > >(SQR 1304) Check SELECT columns, expressions and 'where' clause for >syntax. > > > >SQR: Program Aborting. > > > >I also used the following 2 variations of the code resulting in the same > >error > >as above: > > > >!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > > >BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR > >ROW_IDENT &Z.ROW_IDENT > >FROM DBATEST.FIT_HR_PROF_CHGS > >END-SELECT > > > >!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > > >BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR > >ROW_IDENT > >FROM DBATEST.FIT_HR_PROF_CHGS > >END-SELECT > > > >Any thoughts are greatly appreciated! > > > >Thanks, > >Les > > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From owner-sqr-users@list.iex.net Fri Dec 21 11:09:36 2001 Date: Wed, 19 Dec 2001 09:22:34 -0800 From: Sarat Subject: SQRW not working Hello, I being a programmer run SQRs from SQRW. All of a sudden it is not working. I haven’t changed any path, settings etc. SQR shows up in the title bar but I do not see any prompt screen. I use this screen to pass paramaeters/values in the program and it also displays some basic show statements. Windows Task Manager indicates SQR as ‘Not Responding’. A log and error files are created with 0 KB in PSTemp directory. Nothing else happens. This is the text/path in SQRW’s properties. Target: P:\hr750\sqrbinw\SQRW.EXE -ip:\HR750\user\sqr\;p:\hr750\sqr\ p:\HR750\user\dev\bend816.sqr ?HR75dev/sc/mypassword -oc:\pstemp\sqr.log -ec:\pstemp\sqr.err -fc:\pstemp\ -mp:\hr750\sqr\allmaxes.max -ZIFp:\hr750\sqr\pssqr.ini -B1 Can anyone explain what could have gone wrong? Thanks. Sarat __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com From owner-sqr-users@list.iex.net Fri Dec 21 11:56:21 2001 Date: Fri, 21 Dec 2001 10:23:30 -0600 From: "Hins, Thomas D." Subject: Re: SQRW not working Sarat, I am not sure but it sounds like a similar thing that happens when you upgrade your machine to Windows 2000 sp2 and SQRW can't write to c:\temp any longer. I would check the paths and make sure you have write capabilities to the directories. Then if you have made any changes to the sqr I would check the code in those changes to see if you have missed a quote or something. Someone with more experience may help you more than this. Tom -----Original Message----- From: Sarat [mailto:sjyotsna@YAHOO.COM] Sent: Wednesday, December 19, 2001 11:23 AM To: SQR-USERS@list.iex.net Subject: SQRW not working Hello, I being a programmer run SQRs from SQRW. All of a sudden it is not working. I haven't changed any path, settings etc. SQR shows up in the title bar but I do not see any prompt screen. I use this screen to pass paramaeters/values in the program and it also displays some basic show statements. Windows Task Manager indicates SQR as 'Not Responding'. A log and error files are created with 0 KB in PSTemp directory. Nothing else happens. This is the text/path in SQRW's properties. Target: P:\hr750\sqrbinw\SQRW.EXE -ip:\HR750\user\sqr\;p:\hr750\sqr\ p:\HR750\user\dev\bend816.sqr ?HR75dev/sc/mypassword -oc:\pstemp\sqr.log -ec:\pstemp\sqr.err -fc:\pstemp\ -mp:\hr750\sqr\allmaxes.max -ZIFp:\hr750\sqr\pssqr.ini -B1 Can anyone explain what could have gone wrong? Thanks. Sarat __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com From owner-sqr-users@list.iex.net Fri Dec 21 12:56:37 2001 Date: Fri, 21 Dec 2001 09:09:28 -0800 From: Allen Cunningham Subject: Re: SQRW not working Try this pattern, matching all spaces: P:\fs761\sqrbinw\BINW\sqrw.exe -ip:\fs758\sqr\ -mp:\fs761\sqr\allmaxes.max - fc:\temp\ -zifp:\fs761\sqr\pssqr.ini -oc:\temp\sqr.log -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Sarat Sent: Wednesday, December 19, 2001 9:23 AM To: SQR-USERS@list.iex.net Subject: SQRW not working Hello, I being a programmer run SQRs from SQRW. All of a sudden it is not working. I haven t changed any path, settings etc. SQR shows up in the title bar but I do not see any prompt screen. I use this screen to pass paramaeters/values in the program and it also displays some basic show statements. Windows Task Manager indicates SQR as Not Responding . A log and error files are created with 0 KB in PSTemp directory. Nothing else happens. This is the text/path in SQRW s properties. Target: P:\hr750\sqrbinw\SQRW.EXE -ip:\HR750\user\sqr\;p:\hr750\sqr\ p:\HR750\user\dev\bend816.sqr ?HR75dev/sc/mypassword -oc:\pstemp\sqr.log -ec:\pstemp\sqr.err -fc:\pstemp\ -mp:\hr750\sqr\allmaxes.max -ZIFp:\hr750\sqr\pssqr.ini -B1 Can anyone explain what could have gone wrong? Thanks. Sarat __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com From owner-sqr-users@list.iex.net Fri Oct 5 14:17:50 2001 Date: Fri, 5 Oct 2001 14:13:58 -0500 From: Les Brugere Subject: Re: ODBC in SQRs Elvis, We are on SQL Server and I am trying use ODBC to Select data from a DB2 database. DBATEST is the database owner in DB2. I need it in order for a Select to run on DB2. The part for the error below that confounds me is the reference to a "&name". Its as if the compiler is expecting an SQR column defined when it is optional. When I add an SQR column (e.g. &Z.ROW_IDENT) I get the same error. Also, I've verified that my ROW_IDENT field is the correct field. I even tried adding a WHERE clause. Is there something that needs to defined in the SQR or SQCs beside the reference to ODBC in the Begin-Select? Or do Begin-Selects require a unique syntax for DB2? ERROR SQR 1303) Error in SQL (perhaps missing &name after expression): SELECT ROW_IDENT FROM DBATEST.FIT_HR_PROF_CHGS (SQR 1304) Check SELECT columns, expressions and 'where' clause for syntax. Thanks again, Les Elvis Pressly on 10/05/2001 12:26:08 PM Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Les Brugere/Systems/ais) Subject: Re: ODBC in SQRs I assumed that your database reside in AS400 then you really do not need to use -DB connectivity unless you want to get a table from different database. Your DSN should already been configured thru ODBC admin using client access ODBC driver (for AS400) or any ODBC driver suited for a particular platform like ORACLE. One thing I notice in your select statement is the FROM DBATEST.FIT_HR_PROF_CHGS <<< Can please explain to me what DBATEST is? >From: Les Brugere >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: ODBC in SQRs >Date: Fri, 5 Oct 2001 11:26:13 -0500 > >Elvis, > >Thank you for the tip. > >I did try the ticks but I am still getting the same error. > >Do you know if there are environment variables that must be setup within >the SQR >for MVS/DB2/AS400 or within a delivered SQC? > >Thanks again, >Les > > > > >Elvis Pressly on 10/05/2001 11:15:33 AM > >Please respond to sqr-users@list.iex.net > >To: SQR-USERS@list.iex.net >cc: (bcc: Les Brugere/Systems/ais) > >Subject: Re: ODBC in SQRs > > > >It has to be something like this: > >BEGIN-SELECT -DB'DSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR' > >You can also read the SQR manual for more information. > > > >From: Les Brugere > >Reply-To: sqr-users@list.iex.net > >To: SQR-USERS@list.iex.net > >Subject: ODBC in SQRs > >Date: Fri, 5 Oct 2001 09:48:10 -0500 > > > >Hello, > > > >I'm attempting to access a DB2 database using the ODBC command as >follows: > > > >BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR > >Z.ROW_IDENT &Z.ROW_IDENT > >FROM DBATEST.FIT_HR_PROF_CHGS Z > >END-SELECT > > > >The IBM DB2 ODBC DRIVER is installed and the DSN is called FIDTFSRL. >The > >platform is NT/SQL Server. > > > >I continue to recieve this error: > > > >(SQR 1303) Error in SQL (perhaps missing &name after expression): > >SELECT ROW_IDENT FROM DBATEST.FIT_HR_PROF_CHGS > >(SQR 1304) Check SELECT columns, expressions and 'where' clause for >syntax. > > > >SQR: Program Aborting. > > > >I also used the following 2 variations of the code resulting in the same > >error > >as above: > > > >!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > > >BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR > >ROW_IDENT &Z.ROW_IDENT > >FROM DBATEST.FIT_HR_PROF_CHGS > >END-SELECT > > > >!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > > >BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR > >ROW_IDENT > >FROM DBATEST.FIT_HR_PROF_CHGS > >END-SELECT > > > >Any thoughts are greatly appreciated! > > > >Thanks, > >Les > > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From owner-sqr-users@list.iex.net Fri Oct 5 14:29:19 2001 Date: Fri, 5 Oct 2001 15:23:58 -0400 From: "Schelske, Steve K." Subject: Re: ODBC in SQRs I think I looked at your SQL too quickly. There is only one column in your select. Sorry. -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Schelske, Steve K. Sent: Friday, October 05, 2001 2:23 PM To: SQR-USERS@list.iex.net Subject: Re: ODBC in SQRs I agree with Elvis. I don't think you should need to specify the -DB. In terms of your problem, I believe each column name must be on a separate line in starting in column 1 in a BEGIN-SELECT. -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Elvis Pressly Sent: Friday, October 05, 2001 1:26 PM To: SQR-USERS@list.iex.net Subject: Re: ODBC in SQRs I assumed that your database reside in AS400 then you really do not need to use -DB connectivity unless you want to get a table from different database. Your DSN should already been configured thru ODBC admin using client access ODBC driver (for AS400) or any ODBC driver suited for a particular platform like ORACLE. One thing I notice in your select statement is the FROM DBATEST.FIT_HR_PROF_CHGS <<< Can please explain to me what DBATEST is? >From: Les Brugere >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: ODBC in SQRs >Date: Fri, 5 Oct 2001 11:26:13 -0500 > >Elvis, > >Thank you for the tip. > >I did try the ticks but I am still getting the same error. > >Do you know if there are environment variables that must be setup within >the SQR >for MVS/DB2/AS400 or within a delivered SQC? > >Thanks again, >Les > > > > >Elvis Pressly on 10/05/2001 11:15:33 AM > >Please respond to sqr-users@list.iex.net > >To: SQR-USERS@list.iex.net >cc: (bcc: Les Brugere/Systems/ais) > >Subject: Re: ODBC in SQRs > > > >It has to be something like this: > >BEGIN-SELECT -DB'DSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR' > >You can also read the SQR manual for more information. > > > >From: Les Brugere > >Reply-To: sqr-users@list.iex.net > >To: SQR-USERS@list.iex.net > >Subject: ODBC in SQRs > >Date: Fri, 5 Oct 2001 09:48:10 -0500 > > > >Hello, > > > >I'm attempting to access a DB2 database using the ODBC command as >follows: > > > >BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR > >Z.ROW_IDENT &Z.ROW_IDENT > >FROM DBATEST.FIT_HR_PROF_CHGS Z > >END-SELECT > > > >The IBM DB2 ODBC DRIVER is installed and the DSN is called FIDTFSRL. >The > >platform is NT/SQL Server. > > > >I continue to recieve this error: > > > >(SQR 1303) Error in SQL (perhaps missing &name after expression): > >SELECT ROW_IDENT FROM DBATEST.FIT_HR_PROF_CHGS > >(SQR 1304) Check SELECT columns, expressions and 'where' clause for >syntax. > > > >SQR: Program Aborting. > > > >I also used the following 2 variations of the code resulting in the same > >error > >as above: > > > >!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > > >BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR > >ROW_IDENT &Z.ROW_IDENT > >FROM DBATEST.FIT_HR_PROF_CHGS > >END-SELECT > > > >!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > > >BEGIN-SELECT -DBDSN=FIDTFSRL;UID=WPUSTST;PWD=PSHR > >ROW_IDENT > >FROM DBATEST.FIT_HR_PROF_CHGS > >END-SELECT > > > >Any thoughts are greatly appreciated! > > > >Thanks, > >Les > > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From owner-sqr-users@list.iex.net Fri Oct 5 14:49:15 2001 Date: Fri, 5 Oct 2001 19:46:22 +0000 From: Elvis Pressly Subject: Re: ODBC in SQRs Les, I getting quite confused here. I need more clarification because I believe the error is coming out of your "FROM" clause. Do not always believe what the error messages says because sometimes they are misleading. 1. Are you using DB2 UDB or simply DB2/400 in AS400? 2. Is this the first time you are going to connect to AS400? 3. Are proper profiles in AS400 created? like connect Id and owners,,etc..? 4. Does both your AS400 and client PC has Client Access product? are they both on the same service pack? 5. Using an SQL tools (like SQLPlus) can you connect to AS400? 6. What is your client PC? 95 97 98 NT 2000 ? 7. What version of SQR you are using? I asked you this because I have been writing SQRs to connect to different platforms(sometimes three at the same time) and never had a problem as long as setups at both ends are satisfied. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From owner-sqr-users@list.iex.net Fri Oct 5 16:24:12 2001 Date: Fri, 5 Oct 2001 16:20:27 -0500 From: Les Brugere Subject: Re: ODBC in SQRs Elvis, Here are the anwers to your questions. Are items 3, 4, and 5 mandatory for this to work? Thanks again, Les 1. Are you using DB2 UDB or simply DB2/400 in AS400? We have DB2 UDB 2. Is this the first time you are going to connect to AS400? NO 3. Are proper profiles in AS400 created? like connect Id and owners,,etc..? NO 4.Does both your AS400 and client PC has Client Access product? NO are they both on the same service pack? NO 5. Using an SQL tools (like SQLPlus) can you connect to AS400? No. Have unsuccessfully tried from SQL Server using: Select * from OPENQUERY(WUMVS2,'SELECT * FROM DBATEST.FIT_DEPT_INFO') 6. What is your client PC? 95 97 98 NT 2000 ? NT 4.0 7. What version of SQR you are using? V6.1.4 Elvis Pressly on 10/05/2001 02:46:22 PM Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Les Brugere/Systems/ais) Subject: Re: ODBC in SQRs Les, I getting quite confused here. I need more clarification because I believe the error is coming out of your "FROM" clause. Do not always believe what the error messages says because sometimes they are misleading. 1. Are you using DB2 UDB or simply DB2/400 in AS400? 2. Is this the first time you are going to connect to AS400? 3. Are proper profiles in AS400 created? like connect Id and owners,,etc..? 4. Does both your AS400 and client PC has Client Access product? are they both on the same service pack? 5. Using an SQL tools (like SQLPlus) can you connect to AS400? 6. What is your client PC? 95 97 98 NT 2000 ? 7. What version of SQR you are using? I asked you this because I have been writing SQRs to connect to different platforms(sometimes three at the same time) and never had a problem as long as setups at both ends are satisfied. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From owner-sqr-users@list.iex.net Mon Oct 8 09:21:13 2001 Date: Mon, 8 Oct 2001 14:19:00 +0000 From: Elvis Pressly Subject: Re: ODBC in SQRs YES for 3 & 4. You will need SQLTalk for 5 (call Centura.com). >From: Les Brugere >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: ODBC in SQRs >Date: Fri, 5 Oct 2001 16:20:27 -0500 > >Elvis, > >Here are the anwers to your questions. Are items 3, 4, and 5 mandatory >for >this to work? Thanks again, Les > >1. Are you using DB2 UDB or simply DB2/400 in AS400? >We have DB2 UDB > >2. Is this the first time you are going to connect to AS400? >NO > >3. Are proper profiles in AS400 created? like connect Id and > owners,,etc..? >NO > >4.Does both your AS400 and client PC has Client Access product? >NO > are they both on the same service pack? >NO > >5. Using an SQL tools (like SQLPlus) can you connect to AS400? >No. Have unsuccessfully tried from SQL Server using: Select * from >OPENQUERY(WUMVS2,'SELECT * FROM DBATEST.FIT_DEPT_INFO') > >6. What is your client PC? 95 97 98 NT 2000 ? >NT 4.0 > >7. What version of SQR you are using? >V6.1.4 > > > > >Elvis Pressly on 10/05/2001 02:46:22 PM > >Please respond to sqr-users@list.iex.net > >To: SQR-USERS@list.iex.net >cc: (bcc: Les Brugere/Systems/ais) > >Subject: Re: ODBC in SQRs > > > >Les, > >I getting quite confused here. I need more clarification because >I believe the error is coming out of your "FROM" clause. Do not >always believe what the error messages says because sometimes they >are misleading. > >1. Are you using DB2 UDB or simply DB2/400 in AS400? >2. Is this the first time you are going to connect to AS400? >3. Are proper profiles in AS400 created? like connect Id and > owners,,etc..? >4. Does both your AS400 and client PC has Client Access product? > are they both on the same service pack? >5. Using an SQL tools (like SQLPlus) can you connect to AS400? >6. What is your client PC? 95 97 98 NT 2000 ? >7. What version of SQR you are using? > > >I asked you this because I have been writing SQRs to connect to >different platforms(sometimes three at the same time) and never >had a problem as long as setups at both ends are satisfied. > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From owner-sqr-users@list.iex.net Mon Oct 8 15:23:08 2001 Date: Mon, 8 Oct 2001 15:18:06 -0500 From: Les Brugere Subject: Re: ODBC in SQRs Elvis, We have found success! The problem was with the password. I used the DBAs login and the ODBC to DB2 via SQL Server proved successful. The tricky thing was that the ODBC connection ocurred with my Login but I did not have the rights to Select the table. As a result the error masked itself as a problem with the Select, Column, Where and &name. Thank you for help Elvis, Kristy Engelkes, Steve Schelske, and Nigel Ho! Les Elvis Pressly on 10/08/2001 09:19:00 AM Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Les Brugere/Systems/ais) Subject: Re: ODBC in SQRs YES for 3 & 4. You will need SQLTalk for 5 (call Centura.com). >From: Les Brugere >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: ODBC in SQRs >Date: Fri, 5 Oct 2001 16:20:27 -0500 > >Elvis, > >Here are the anwers to your questions. Are items 3, 4, and 5 mandatory >for >this to work? Thanks again, Les > >1. Are you using DB2 UDB or simply DB2/400 in AS400? >We have DB2 UDB > >2. Is this the first time you are going to connect to AS400? >NO > >3. Are proper profiles in AS400 created? like connect Id and > owners,,etc..? >NO > >4.Does both your AS400 and client PC has Client Access product? >NO > are they both on the same service pack? >NO > >5. Using an SQL tools (like SQLPlus) can you connect to AS400? >No. Have unsuccessfully tried from SQL Server using: Select * from >OPENQUERY(WUMVS2,'SELECT * FROM DBATEST.FIT_DEPT_INFO') > >6. What is your client PC? 95 97 98 NT 2000 ? >NT 4.0 > >7. What version of SQR you are using? >V6.1.4 > > > > >Elvis Pressly on 10/05/2001 02:46:22 PM > >Please respond to sqr-users@list.iex.net > >To: SQR-USERS@list.iex.net >cc: (bcc: Les Brugere/Systems/ais) > >Subject: Re: ODBC in SQRs > > > >Les, > >I getting quite confused here. I need more clarification because >I believe the error is coming out of your "FROM" clause. Do not >always believe what the error messages says because sometimes they >are misleading. > >1. Are you using DB2 UDB or simply DB2/400 in AS400? >2. Is this the first time you are going to connect to AS400? >3. Are proper profiles in AS400 created? like connect Id and > owners,,etc..? >4. Does both your AS400 and client PC has Client Access product? > are they both on the same service pack? >5. Using an SQL tools (like SQLPlus) can you connect to AS400? >6. What is your client PC? 95 97 98 NT 2000 ? >7. What version of SQR you are using? > > >I asked you this because I have been writing SQRs to connect to >different platforms(sometimes three at the same time) and never >had a problem as long as setups at both ends are satisfied. > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From owner-sqr-users@list.iex.net Tue Oct 23 03:56:01 2001 Date: Tue, 23 Oct 2001 09:53:55 +0100 From: Alan Heslop Subject: Re: ODBC in SQRs -----Original Message----- From: Elvis Pressly [mailto:elvisdman@HOTMAIL.COM] Sent: 08 October 2001 15:19 To: SQR-USERS@list.iex.net Subject: Re: ODBC in SQRs YES for 3 & 4. You will need SQLTalk for 5 (call Centura.com). >From: Les Brugere >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: ODBC in SQRs >Date: Fri, 5 Oct 2001 16:20:27 -0500 > >Elvis, > >Here are the anwers to your questions. Are items 3, 4, and 5 mandatory >for >this to work? Thanks again, Les > >1. Are you using DB2 UDB or simply DB2/400 in AS400? >We have DB2 UDB > >2. Is this the first time you are going to connect to AS400? >NO > >3. Are proper profiles in AS400 created? like connect Id and > owners,,etc..? >NO > >4.Does both your AS400 and client PC has Client Access product? >NO > are they both on the same service pack? >NO > >5. Using an SQL tools (like SQLPlus) can you connect to AS400? >No. Have unsuccessfully tried from SQL Server using: Select * from >OPENQUERY(WUMVS2,'SELECT * FROM DBATEST.FIT_DEPT_INFO') > >6. What is your client PC? 95 97 98 NT 2000 ? >NT 4.0 > >7. What version of SQR you are using? >V6.1.4 > > > > >Elvis Pressly on 10/05/2001 02:46:22 PM > >Please respond to sqr-users@list.iex.net > >To: SQR-USERS@list.iex.net >cc: (bcc: Les Brugere/Systems/ais) > >Subject: Re: ODBC in SQRs > > > >Les, > >I getting quite confused here. I need more clarification because >I believe the error is coming out of your "FROM" clause. Do not >always believe what the error messages says because sometimes they >are misleading. > >1. Are you using DB2 UDB or simply DB2/400 in AS400? >2. Is this the first time you are going to connect to AS400? >3. Are proper profiles in AS400 created? like connect Id and > owners,,etc..? >4. Does both your AS400 and client PC has Client Access product? > are they both on the same service pack? >5. Using an SQL tools (like SQLPlus) can you connect to AS400? >6. What is your client PC? 95 97 98 NT 2000 ? >7. What version of SQR you are using? > > >I asked you this because I have been writing SQRs to connect to >different platforms(sometimes three at the same time) and never >had a problem as long as setups at both ends are satisfied. > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From owner-sqr-users@list.iex.net Fri Oct 5 10:40:11 2001 Date: Fri, 5 Oct 2001 10:37:07 -0500 From: "Ross, Steven" Subject: Memory limit on variables Does anyone know what the upper memory limit on variables is in SQR? = I'm outputting a string to a file...the string may contain the text and = printer commands for up to three documents...which are at least one page, but = could be as many as 5 pages long...each. So...how big can my string be? Thanks, Steven Ross Applications Developer/Analyst sross@kcm.org =A0 From owner-sqr-users@list.iex.net Mon Oct 8 08:40:33 2001 Date: Mon, 8 Oct 2001 09:27:10 -0400 From: Brian Steinberg-New York Subject: Printing euro symbol from SQR We are running SQR 4.3.4 from Peoplesoft on an NT server. We have not been able to print the euro symbol from an SQR, and Peoplesoft stated that we'd need their consultants to do custom work. Has anyone figured out a way to it? Thanks! ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please delete it and notify the sender. ********************************************************************** From owner-sqr-users@list.iex.net Mon Oct 8 08:51:40 2001 Date: Mon, 8 Oct 2001 15:49:03 +0200 From: "Kloprogge,F.J.M. (Frank)" Subject: Re: Printing euro symbol from SQR Hi, there should'nt be a problem. I used Word to enter the symbol EUR in a document, copied this to a sqr-program. In the editor you only see a rectangular shape. Keep in mind however that this symbol may not be in all the available fonts Frank Kloprogge Fontys ICT-Services DBA PeopleSoft 08778-78710 -----Oorspronkelijk bericht----- Van: Brian Steinberg-New York [mailto:BSteinberg@RUSSELLREYNOLDS.COM] Verzonden: maandag 8 oktober 2001 15:27 Aan: SQR-USERS@LIST.IEX.NET Onderwerp: Printing euro symbol from SQR We are running SQR 4.3.4 from Peoplesoft on an NT server. We have not been able to print the euro symbol from an SQR, and Peoplesoft stated that we'd need their consultants to do custom work. Has anyone figured out a way to it? Thanks! ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please delete it and notify the sender. ********************************************************************** From owner-sqr-users@list.iex.net Mon Oct 8 09:26:53 2001 Date: Mon, 8 Oct 2001 15:27:02 +0100 From: Brian Smith Subject: Date Mask Warnings When I run SQR under the Brio Report Builder, I can disable the Y2K Date-mask warnings by a checkbox in the Preferences dialog. However, this has no effect when SQRW is run from the command line, and is not documented as a command-line switch. Is there one, or any other mechanism to achieve this? Brian Smith ***IMPORTANT*** The information in this mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Tempo Ltd or any of its affiliates. "NB Kahn and AV Lomas were appointed Joint Administrators of Tempo Holdings Limited and certain subsidiaries on 24th September 2001 by order of the court to manage the affairs and business of the Company without personal liability. NB Kahn and A V Lomas are licensed to act as Insolvency Practitioners by the Institute of Chartered Accountants in England and Wales." From owner-sqr-users@list.iex.net Mon Oct 8 09:31:33 2001 Date: Mon, 8 Oct 2001 10:29:11 -0400 From: Debra Robarge Subject: Re: Date Mask Warnings In your SQR.ini file, change the following default setting to false: outputTwoDigitYearWarningMsg=false Debra A. Robarge Software Instructor and Consultant Strafford Technology, Inc. drobarge@strafford.com (603) 434-2550 X 229 www.strafford.com www.briotraining.com -----Original Message----- From: Brian Smith [mailto:BSmith@TEMPO.CO.UK] Sent: Monday, October 08, 2001 10:27 AM To: SQR-USERS@list.iex.net Subject: Date Mask Warnings When I run SQR under the Brio Report Builder, I can disable the Y2K Date-mask warnings by a checkbox in the Preferences dialog. However, this has no effect when SQRW is run from the command line, and is not documented as a command-line switch. Is there one, or any other mechanism to achieve this? Brian Smith ***IMPORTANT*** The information in this mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Tempo Ltd or any of its affiliates. "NB Kahn and AV Lomas were appointed Joint Administrators of Tempo Holdings Limited and certain subsidiaries on 24th September 2001 by order of the court to manage the affairs and business of the Company without personal liability. NB Kahn and A V Lomas are licensed to act as Insolvency Practitioners by the Institute of Chartered Accountants in England and Wales." From owner-sqr-users@list.iex.net Mon Oct 8 09:47:27 2001 Date: Mon, 8 Oct 2001 15:47:33 +0100 From: Brian Smith Subject: Re: Date Mask Warnings I've tried that to no avail - I'm running on Win2k Pro. I've also tried adding that value to my HKCU registry (HKCU\Software\Brio Technology\6.0\General), but it still doesn't work. Brian -----Original Message----- From: Debra Robarge [mailto:drobarge@STRAFFORD.COM] Sent: Monday, 08 October 2001 15:29 To: SQR-USERS@list.iex.net Subject: Re: Date Mask Warnings In your SQR.ini file, change the following default setting to false: outputTwoDigitYearWarningMsg=false Debra A. Robarge Software Instructor and Consultant Strafford Technology, Inc. drobarge@strafford.com (603) 434-2550 X 229 www.strafford.com www.briotraining.com -----Original Message----- From: Brian Smith [mailto:BSmith@TEMPO.CO.UK] Sent: Monday, October 08, 2001 10:27 AM To: SQR-USERS@list.iex.net Subject: Date Mask Warnings When I run SQR under the Brio Report Builder, I can disable the Y2K Date-mask warnings by a checkbox in the Preferences dialog. However, this has no effect when SQRW is run from the command line, and is not documented as a command-line switch. Is there one, or any other mechanism to achieve this? Brian Smith ***IMPORTANT*** The information in this mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Tempo Ltd or any of its affiliates. "NB Kahn and AV Lomas were appointed Joint Administrators of Tempo Holdings Limited and certain subsidiaries on 24th September 2001 by order of the court to manage the affairs and business of the Company without personal liability. NB Kahn and A V Lomas are licensed to act as Insolvency Practitioners by the Institute of Chartered Accountants in England and Wales." ***IMPORTANT*** The information in this mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Tempo Ltd or any of its affiliates. "NB Kahn and AV Lomas were appointed Joint Administrators of Tempo Holdings Limited and certain subsidiaries on 24th September 2001 by order of the court to manage the affairs and business of the Company without personal liability. NB Kahn and A V Lomas are licensed to act as Insolvency Practitioners by the Institute of Chartered Accountants in England and Wales." From owner-sqr-users@list.iex.net Tue Oct 9 06:12:20 2001 Date: Tue, 9 Oct 2001 11:59:16 +0100 From: "Paul O'Riordan" Subject: Setting Variable Procedure Names Hi there all, I'm new to this list and decided to post a question. Does anyone know if it is possible to assign a Value to a variable and then call that veriable as a procedure: for example, in my error-handling I want to display all of the variables that I was trying to insert or update when I caused and error. I have created a "Show" procedure for each of my Insert procedures but I don't want to hard-code the search for which procedure erred out. (Laziness). Also each procedure is seperate and unique so it is not as if I can pass parameters "Do show_procedure($whatever)". Below is what I want to do, sort of, but it doesn't work. Has anyone tried anything similar and succeeded? If #sql-status = -9 !Duplicates on insert Else Show 'Error in Procedure : ' $proc Show 'SQL-Error = ' $Sql-Error Show 'SQL-Status = ' #SQL-Status Let $procedure = 'Show_' || $proc Do $procedure End-if Thanks and regards, Paul ------------------------------- 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. From owner-sqr-users@list.iex.net Tue Oct 9 06:26:51 2001 Date: Tue, 9 Oct 2001 07:20:40 -0400 From: Peter Burton Subject: Re: Setting Variable Procedure Names Paul, What you want to do (dynamic procedures) cannot be done with SQR. Peter Alan Burton, A.S.E. -----Original Message----- From: Paul O'Riordan [mailto:Paul_O'Riordan@AVERYDENNISON.COM] Sent: Tuesday, October 09, 2001 6:59 AM To: SQR-USERS@list.iex.net Subject: Setting Variable Procedure Names Hi there all, I'm new to this list and decided to post a question. Does anyone know if it is possible to assign a Value to a variable and then call that veriable as a procedure: for example, in my error-handling I want to display all of the variables that I was trying to insert or update when I caused and error. I have created a "Show" procedure for each of my Insert procedures but I don't want to hard-code the search for which procedure erred out. (Laziness). Also each procedure is seperate and unique so it is not as if I can pass parameters "Do show_procedure($whatever)". Below is what I want to do, sort of, but it doesn't work. Has anyone tried anything similar and succeeded? If #sql-status = -9 !Duplicates on insert Else Show 'Error in Procedure : ' $proc Show 'SQL-Error = ' $Sql-Error Show 'SQL-Status = ' #SQL-Status Let $procedure = 'Show_' || $proc Do $procedure End-if Thanks and regards, Paul ------------------------------- 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. From owner-sqr-users@list.iex.net Tue Oct 9 06:39:10 2001 Date: Tue, 9 Oct 2001 12:31:44 +0100 From: "Paul O'Riordan" Subject: Re: Setting Variable Procedure Names Thanks Peter, I thought as much but was hoping otherwise. Regards, Paul From owner-sqr-users@list.iex.net Tue Oct 9 06:34:43 2001 Date: Tue, 9 Oct 2001 13:32:54 +0200 From: "Kloprogge,F.J.M. (Frank)" Subject: Re: Setting Variable Procedure Names One way could be to build the insert-command into a variable i.e. let $values='1,''' | sysdate ........ insert into [$table] values ($values) Then you only have to show $values in your error-procedure Frank Kloprogge Fontys ICT-Services DBA PeopleSoft 08778-78710 -----Oorspronkelijk bericht----- Van: Paul O'Riordan [mailto:Paul_O'Riordan@AVERYDENNISON.COM] Verzonden: dinsdag 9 oktober 2001 12:59 Aan: SQR-USERS@LIST.IEX.NET Onderwerp: Setting Variable Procedure Names Hi there all, I'm new to this list and decided to post a question. Does anyone know if it is possible to assign a Value to a variable and then call that veriable as a procedure: for example, in my error-handling I want to display all of the variables that I was trying to insert or update when I caused and error. I have created a "Show" procedure for each of my Insert procedures but I don't want to hard-code the search for which procedure erred out. (Laziness). Also each procedure is seperate and unique so it is not as if I can pass parameters "Do show_procedure($whatever)". Below is what I want to do, sort of, but it doesn't work. Has anyone tried anything similar and succeeded? If #sql-status = -9 !Duplicates on insert Else Show 'Error in Procedure : ' $proc Show 'SQL-Error = ' $Sql-Error Show 'SQL-Status = ' #SQL-Status Let $procedure = 'Show_' || $proc Do $procedure End-if Thanks and regards, Paul ------------------------------- 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. From owner-sqr-users@list.iex.net Tue Oct 9 06:41:45 2001 Date: Tue, 9 Oct 2001 12:39:06 +0100 From: "Paul O'Riordan" Subject: Re: Setting Variable Procedure Names --0__=80256AE0003FE0A68f9e8a93df938690918c80256AE0003FE0A6 Content-type: text/plain; charset=us-ascii I like that, 1 procedure for them all - potentially terrible for maintenance though! Thanks for the reply Paul "Kloprogge,F.J.M. (Frank)" @list.iex.net> on 09/10/2001 12:32:54 Please respond to sqr-users@list.iex.net Sent by: "Discussion of SQR, Brio Technology's database reporting language" To: SQR-USERS@list.iex.net cc: Subject: Re: Setting Variable Procedure Names One way could be to build the insert-command into a variable i.e. let $values='1,''' | sysdate ........ insert into [$table] values ($values) Then you only have to show $values in your error-procedure Frank Kloprogge Fontys ICT-Services DBA PeopleSoft 08778-78710 -----Oorspronkelijk bericht----- Van: Paul O'Riordan [mailto:Paul_O'Riordan@AVERYDENNISON.COM] Verzonden: dinsdag 9 oktober 2001 12:59 Aan: SQR-USERS@LIST.IEX.NET Onderwerp: Setting Variable Procedure Names Hi there all, I'm new to this list and decided to post a question. Does anyone know if it is possible to assign a Value to a variable and then call that veriable as a procedure: for example, in my error-handling I want to display all of the variables that I was trying to insert or update when I caused and error. I have created a "Show" procedure for each of my Insert procedures but I don't want to hard-code the search for which procedure erred out. (Laziness). Also each procedure is seperate and unique so it is not as if I can pass parameters "Do show_procedure($whatever)". Below is what I want to do, sort of, but it doesn't work. Has anyone tried anything similar and succeeded? If #sql-status = -9 !Duplicates on insert Else Show 'Error in Procedure : ' $proc Show 'SQL-Error = ' $Sql-Error Show 'SQL-Status = ' #SQL-Status Let $procedure = 'Show_' || $proc Do $procedure End-if Thanks and regards, Paul ------------------------------- 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. --0__=80256AE0003FE0A68f9e8a93df938690918c80256AE0003FE0A6 Content-type: application/octet-stream; name="$RFC822.eml" Content-Disposition: attachment; filename="$RFC822.eml" Content-transfer-encoding: base64 UmVjZWl2ZWQ6IGZyb20gYXZlcnktY3AubWdhYS5hdmVyeWRlbm5pc29uLmNvbSAoWzE0NC45My4x MjUuMTJdKQ0KICAgICAgICAgIGJ5IHNtdHAtMjAtY29uLmF2ZXJ5ZGVubmlzb24uY29tIChMb3R1 cyBEb21pbm8gUmVsZWFzZSA1LjAuOCkNCiAgICAgICAgICB3aXRoIFNNVFAgaWQgMjAwMTEwMDkw NzMwNTg1MzoyMTQxMTE4IDsNCiAgICAgICAgICBUdWUsIDkgT2N0IDIwMDEgMDc6MzA6NTggLTA0 MDAgDQpSZWNlaXZlZDogZnJvbSBsaXN0LmlleC5uZXQgKGxpc3QuaWV4Lm5ldCBbMTkyLjE1Ni4x OTYuMTVdKQ0KCWJ5IGxpc3QuaWV4Lm5ldCAoOC4xMS4xLzguMTEuMSkgd2l0aCBFU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0t LS0tLS0tLS0tLS0tLS0tLS0tDQpUaGUgaW5mb3JtYXRpb24gdHJhbnNtaXR0ZWQgaXMgaW50ZW5k ZWQgb25seSBmb3IgdGhlIHBlcnNvbiBvciBlbnRpdHkgdG8NCndoaWNoIGl0IGlzIGFkZHJlc3Nl ZCBhbmQgbWF5IGNvbnRhaW4gY29uZmlkZW50aWFsIGFuZC9vciBwcml2aWxlZ2VkDQptYXRlcmlh bC4gIEFueSByZXZpZXcsIHJldHJhbnNtaXNzaW9uLCBkaXNzZW1pbmF0aW9uIG9yIG90aGVyIHVz ZSBvZiwgb3INCnRha2luZyBvZiBhbnkgYWN0aW9uIGluIHJlbGlhbmNlIHVwb24sIHRoaXMgaW5m b3JtYXRpb24gYnkgcGVyc29ucyBvcg0KZW50aXRpZXMgb3RoZXIgdGhhbiB0aGUgaW50ZW5kZWQg cmVjaXBpZW50IGlzIHByb2hpYml0ZWQuICBJZiB5b3UgcmVjZWl2ZWQNCnRoaXMgaW4gZXJyb3Is IHBsZWFzZSBjb250YWN0IHRoZSBzZW5kZXIgYW5kIGRlbGV0ZSB0aGUgbWF0ZXJpYWwgZnJvbSBh bnkNCmNvbXB1dGVyLg0K --0__=80256AE0003FE0A68f9e8a93df938690918c80256AE0003FE0A6-- From owner-sqr-users@list.iex.net Tue Oct 9 10:38:20 2001 Date: Tue, 9 Oct 2001 10:35:25 -0500 From: Ray Ontko Subject: Re: Setting Variable Procedure Names Paul, Here is a solution that you might find acceptable. The basic approach is to add a "dispatch" procedure. Instead of: Do $procedure you would say: Do dispatch( $procedure ) where "dispatch", looks like this: begin-procedure dispatch( $procedure ) lowercase $procedure evaluate $procedure when = 'show_fred' do show_fred break when = 'show_wilma' do show_wilma break when = 'show_barney' do show_barney break when = 'show_betty' do show_betty break when-other show 'unknown procedure: show_' $procedure move 1 to #_return-status stop quiet end-evaluate end-procedure ! dispatch This isn't much worse than what you were hoping for. Since you have to add the new show_XXX procedure anyway, you just need to add a few lines to the dispatch procedure for each new show. Also, note that if you needed to pass parameters to the procedures, and they all take the same parameters, you can easily add them to the dispatch procedure and pass them along to the individual called procedures. Hope this helps. Ray > Hi there all, > I'm new to this list and decided to post a question. Does anyone know > if it is possible to assign a Value to a variable and then call that > veriable as a procedure: > for example, in my error-handling I want to display all of the variables > that I was trying to insert or update when I caused and error. I have > created a "Show" procedure for each of my Insert procedures but I don't > want to hard-code the search for which procedure erred out. (Laziness). > Also each procedure is seperate and unique so it is not as if I can pass > parameters > "Do show_procedure($whatever)". Below is what I want to do, sort of, but > it doesn't work. Has anyone tried anything similar and succeeded? > > If #sql-status = -9 > !Duplicates on insert > Else > Show 'Error in Procedure : ' $proc > Show 'SQL-Error = ' $Sql-Error > Show 'SQL-Status = ' #SQL-Status > Let $procedure = 'Show_' || $proc > Do $procedure > End-if > > Thanks and regards, > Paul > > > ------------------------------- > 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. > ---------------------------------------------------------------------- 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/ From owner-sqr-users@list.iex.net Tue Oct 9 11:28:28 2001 Date: Tue, 9 Oct 2001 18:25:55 +0200 From: "Kloprogge,F.J.M. (Frank)" Subject: Re: Setting Variable Procedure Names Hi Paul, there is a second method. but I have to warn you. It's very tricky and ... If you get the idea, it's fine. Otherwise it's something to try and understand because this could be a lot of fun. I use this method to extract data for exporting them to different other programs and some programs to test data-integrity on the database. In the last case I created a panel on wich you can enter multiple simple queries that are being fired at the database by means of just one sqr. (we're running about 600 different tests..) So: In your program you could do this ... ... let $tablename='MYDATA' do insert-data if $myerror='YESYES' ! the only 2 lines you need extra in do error-routine ! your program end-if ... ... begin-procedure error-routine do create tmp-table let $tablename='TMP_' || $tablename do insert-data do show-data stop end-procedure begin-procedure create-tmp-tbl let $tmp='TMP_' $table_name ! the next sql-block should be changed to be dynamic too. ! you have to analyze the table as shown further below ! to create a where clause that generates no rows so ! you just get the structure ! or use a dynamic create-statement begin-sql create table [$tmp] as select * from [$tablename] end-sql end-procedure begin-procedure insert-data begin-sql on-error=set-flag insert into [$tablename] values (vsafgag, wrtw, ... ... ) end-sql end-procedure begin-procedure set-flag let $myerror='YESYES' end-procedure And now this is the tricky part. The next part is fictious, it depends on the database It's just to show you the way it works. begin-procedure show-data let $column='' begin-select column_name column_type column_length evaluate column_type when ='char' let $column=$column || ' rpad(' || &column_name || ',' || column_length || ','' ''),' ! i.e. rpad(address,30,' '), break when='num' let $column=$column || ' to_char(' || &column_name || '),' ! i.e. to_char(number), break when='date' ...... from [$tablename] end-select begin-select [$column] &column print $sql-error (+1,1) print ' in table ' () print $tablename () print &column (+1,1) from [$tablename] end-select end-procedure Frank Kloprogge Fontys ICT-Services DBA PeopleSoft 08778-78710 -----Oorspronkelijk bericht----- Van: Paul O'Riordan [mailto:Paul_O'Riordan@AVERYDENNISON.COM] Verzonden: dinsdag 9 oktober 2001 13:39 Aan: SQR-USERS@LIST.IEX.NET Onderwerp: Re: Setting Variable Procedure Names I like that, 1 procedure for them all - potentially terrible for maintenance though! Thanks for the reply Paul "Kloprogge,F.J.M. (Frank)" @list.iex.net> on 09/10/2001 12:32:54 Please respond to sqr-users@list.iex.net Sent by: "Discussion of SQR, Brio Technology's database reporting language" To: SQR-USERS@list.iex.net cc: Subject: Re: Setting Variable Procedure Names One way could be to build the insert-command into a variable i.e. let $values='1,''' | sysdate ........ insert into [$table] values ($values) Then you only have to show $values in your error-procedure Frank Kloprogge Fontys ICT-Services DBA PeopleSoft 08778-78710 -----Oorspronkelijk bericht----- Van: Paul O'Riordan [mailto:Paul_O'Riordan@AVERYDENNISON.COM] Verzonden: dinsdag 9 oktober 2001 12:59 Aan: SQR-USERS@LIST.IEX.NET Onderwerp: Setting Variable Procedure Names Hi there all, I'm new to this list and decided to post a question. Does anyone know if it is possible to assign a Value to a variable and then call that veriable as a procedure: for example, in my error-handling I want to display all of the variables that I was trying to insert or update when I caused and error. I have created a "Show" procedure for each of my Insert procedures but I don't want to hard-code the search for which procedure erred out. (Laziness). Also each procedure is seperate and unique so it is not as if I can pass parameters "Do show_procedure($whatever)". Below is what I want to do, sort of, but it doesn't work. Has anyone tried anything similar and succeeded? If #sql-status = -9 !Duplicates on insert Else Show 'Error in Procedure : ' $proc Show 'SQL-Error = ' $Sql-Error Show 'SQL-Status = ' #SQL-Status Let $procedure = 'Show_' || $proc Do $procedure End-if Thanks and regards, Paul ------------------------------- 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. From owner-sqr-users@list.iex.net Tue Oct 9 14:47:32 2001 Date: Tue, 9 Oct 2001 15:32:47 -0400 From: Pavan Krishnamurthy Subject: Questions Hi, I have a few of questions that I would like to ask.....I just started using BrioReport Builder 6.1.3(Build 90) with Oracle 8i as the database and I have run into the following issues : 1) Is there a way that we could use cursors in an SQR program. Could someone explain with some examples ? 2) The report that I creating has about 8 columns. The records are a part of this report only if the value of a a certain column within the database is more than a pre specified value and this is something which I have already done. The second part to this is that we need to display the value of the same field above as on the previous business day and two business days prior to the current report generation date. Is there a way I can do this ? 3) How can I use functions within SQR ? Can someone explain with examples ? 4) Can I have nested Begin-Selects ? Any help on the above questions would be really appreciated. Thanks and regards, Pavan From owner-sqr-users@list.iex.net Tue Oct 9 15:14:40 2001 Date: Tue, 9 Oct 2001 14:12:03 -0600 From: Russ Wulfson Subject: Re: Questions The beauty of SQR is that you don't have to directly handle a cursor. The Begin-Select takes care of the cursor. You nest Begin-Selects by inserting a Do . In the next procedure you have another Begin-Select. Assuming that the previous day's value and the previous two day's value are selectable from the database, you just pass those values to another variable and print them. Here's a brief example of how to get the data. Begin-Procedure Get-First-Value Begin-Select Value let $First_value = &Value Do Get-Second-Value Do Get-Third-Value Do Print-Values from table where date = today End-Select End-Procedure Get-First-Value Begin-Procedure Get-Second-Value Begin-Select Value let $Second_value = &Value from table where date = yesterday End-Select End-Procedure Get-Second-Value Begin-Procedure Get-Third-Value Begin-Select Value let $Third_value = &Value from table where date = day before yesterday End-Select End-Procedure Get-Third-Value Hope this helps From owner-sqr-users@list.iex.net Tue Oct 9 15:16:57 2001 Date: Tue, 9 Oct 2001 15:14:30 -0500 From: Ray Ontko Subject: Re: Questions Pavan, 1) A begin-select IS a cursor. 2) Use an if statement. 3) There are not functions, but there are procedures. See begin-procedure in the manual. 4) You can't nest begin-select, but you can call a procedure from a begin-select using "do". The procedure you call can have begin-select statements in it. There are lots of sample programs in the manual. The list serv has an archive where you may find some useful examples: http://www.sqrug.com/sqr-users/ You may also wish to visit our site: http://www.ontko.com/sqr/ Ray > Hi, > > I have a few of questions that I would like to ask.....I just started using > BrioReport Builder 6.1.3(Build 90) with Oracle 8i as the database and I > have run into the following issues : > > 1) Is there a way that we could use cursors in an SQR program. Could > someone explain with some examples ? > 2) The report that I creating has about 8 columns. The records are a part > of this report only if the value of a a certain column within the database > is more than a pre specified value and this is something which I have > already done. The second part to this is that we need to display the value > of the same field above as on the previous business day and two business > days prior to the current report generation date. Is there a way I can do > this ? > 3) How can I use functions within SQR ? Can someone explain with examples ? > 4) Can I have nested Begin-Selects ? > > Any help on the above questions would be really appreciated. > > Thanks and regards, > Pavan > ---------------------------------------------------------------------- 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/ From owner-sqr-users@list.iex.net Wed Oct 10 07:19:53 2001 Date: Wed, 10 Oct 2001 08:16:31 -0400 From: Pavan Krishnamurthy Subject: Re: Questions Hi Russ, Thanks for that explanation. That would really help me...I am attaching the code that I have written, please let me know how I can implement what you have suggested here : begin-heading 6 print 'Excess Balance Report' (+1,50) BOLD box SHADE print 'Fund' (+2,1) print 'Fund Name' (,9) print 'Currency' (,40) print 'Tolerance USD' (,50) print 'Excess Bank' (,65) print 'Bank Balance' (,80) print 'Bank Balance' (,95) print 'GPS Balance' (,110) print 'Number ' (+1,1) print 'equivalent' (,50) print 'Balance Today' (,65) print 'T-1 day' (,80) print 'T-2 day' (,95) print 'Today' (,110) print '=' (+1,1,120) fill print '' (+1,1,120) fill end-heading Begin-Program Begin-select a.fund_nbr (+1,1) a.fund_name (,9) b.curr_code (,40) '$' || a.excess_amt_usd (,50) b.curr_code || ' ' ||b.bal_amt (,65) b.curr_code || ' ' ||b.bal_amt (,80) -> This should be the previous day's value b.curr_code || ' ' ||b.bal_amt (,95) -> This should be the value 2 days prior to the current date b.curr_code || ' ' ||b.bal_amt (,110) next-listing from ucm_fund a, ucm_bal b, pp_fx_rate c where b.fund_nbr=a.fund_nbr and b.curr_code <> 'USD' and b.bal_type_id=500 and b.source_ind='B' and a.fund_sub_type_id=5 and c.crrncy_cd=b.curr_code and a.excess_amt_usd < b.bal_amt*c.fx_mult_rate End-select End-Program Could you please let me know ? Thanks, Pavan The beauty of SQR is that you don't have to directly handle a cursor. The Begin-Select takes care of the cursor. You nest Begin-Selects by inserting a Do . In the next procedure you have another Begin-Select. Assuming that the previous day's value and the previous two day's value are selectable from the database, you just pass those values to another variable and print them. Here's a brief example of how to get the data. Begin-Procedure Get-First-Value Begin-Select Value let $First_value = &Value Do Get-Second-Value Do Get-Third-Value Do Print-Values from table where date = today End-Select End-Procedure Get-First-Value Begin-Procedure Get-Second-Value Begin-Select Value let $Second_value = &Value from table where date = yesterday End-Select End-Procedure Get-Second-Value Begin-Procedure Get-Third-Value Begin-Select Value let $Third_value = &Value from table where date = day before yesterday End-Select End-Procedure Get-Third-Value Hope this helps From owner-sqr-users@list.iex.net Wed Oct 10 08:52:39 2001 Date: Wed, 10 Oct 2001 07:49:57 -0600 From: Russ Wulfson Subject: Re: Questions Pavan - As much as I would like to keep sending you code snippets, I really don't have the time. But this might still help. Is there a date field in any of the tables your pulling from that tells you if its today's data , yesterday's data, etc.? If so, remove the second and third set of currency codes and balance amounts and put them each into their own procedure and selects and pass them to variables. Call these procedures from within the original Begin-Select within the procedure Begin-Program. Then use the print command in your Begin-Program to print out all the data. Russ From owner-sqr-users@list.iex.net Wed Oct 10 10:06:37 2001 Date: Wed, 10 Oct 2001 10:59:42 -0400 From: Praveen Gopu Subject: BRIO Report Builder How much BRIO REPORT.BUILDER costs and can we use the tool to generate code and run it against 4.3.2? We would like to use this product to generate the code with lot of graphics like shading, different fonts and boxes etc and write the logic afterwards. I would really appreciate any insights on this subjec. Thanks, Praveen From owner-sqr-users@list.iex.net Wed Oct 10 13:33:28 2001 Date: Wed, 10 Oct 2001 11:27:59 -0700 From: Tejas Saraiya Subject: Re: BRIO Report Builder Praveen, I'm currently using BRB in a similar manner. I use it to generate the layout of my report (boxes, fonts, positioning), as well as CSV and XML files. I then take the generated code and customize it (for me that mostly means adding HTML tags). The end result is pretty solid. The major problem i have encountered in doing this is that if I make a change to the layout I have to match that change in my customized version and if the change is major, duplicating the change can be difficult (particularly because BRB uses absolute positioning and the order the code is generated in can change after a change is made to the layout). BRB also has the capability to insert code segments in certain places through the Source view in the application itself. For me that feature was not flexible enough. I'm not sure how much BRB costs or if it generates 4.3.2 code (I use it for 6.1.3). HTH, Tejas -----Original Message----- From: Praveen Gopu [mailto:Praveen.Gopu@AXACS.COM] Sent: Wednesday, October 10, 2001 8:00 AM To: SQR-USERS@list.iex.net Subject: BRIO Report Builder How much BRIO REPORT.BUILDER costs and can we use the tool to generate code and run it against 4.3.2? We would like to use this product to generate the code with lot of graphics like shading, different fonts and boxes etc and write the logic afterwards. I would really appreciate any insights on this subjec. Thanks, Praveen From owner-sqr-users@list.iex.net Wed Oct 10 11:16:10 2001 Date: Wed, 10 Oct 2001 10:02:18 -0600 From: Curtis Whitman Subject: SQR: cannot logon to the database Please help, I'm new at this so please bare with me. I am getting the following error when running a sqr program (SQR 5528) ORACLE ORLON error 376 in cursor 0: (SQR 4701) Cannot logon to the database. Any ideas what is causing this and what are the sqr errors 5528 and 4701? From owner-sqr-users@list.iex.net Wed Oct 10 11:29:20 2001 Date: Wed, 10 Oct 2001 16:29:29 +0000 From: Brian Utter Subject: Re: SQR: cannot logon to the database Bare with you, huh? You'll have to take me to dinner first. Curtis Whitman wrote: > Please help, I'm new at this so please bare with me. I am getting the > following error when running a sqr program > > (SQR 5528) ORACLE ORLON error 376 in cursor 0: > > (SQR 4701) Cannot logon to the database. > > Any ideas what is causing this and what are the sqr errors 5528 and 4701? From owner-sqr-users@list.iex.net Wed Oct 10 12:36:20 2001 Date: Wed, 10 Oct 2001 13:18:26 -0400 From: Rick_Creel@AONCONS.COM Subject: Re: SQR: cannot logon to the database The times that I've gotten the 4701 error was because of an incorrect TNSnames.ora file. Curtis Whitman on 10/10/2001 12:02:18 PM Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Rick Creel/IT/Aon Consulting) Subject: SQR: cannot logon to the database Please help, I'm new at this so please bare with me. I am getting the following error when running a sqr program (SQR 5528) ORACLE ORLON error 376 in cursor 0: (SQR 4701) Cannot logon to the database. Any ideas what is causing this and what are the sqr errors 5528 and 4701? From owner-sqr-users@list.iex.net Wed Oct 10 12:37:54 2001 Date: Wed, 10 Oct 2001 13:34:19 -0400 From: Joe Johnson Subject: Re: SQR: cannot logon to the database Curtis, I'm using an SQR version 4 Language Reference book: (SQR 5528) is an ODBC SQL error - ORACLE ORLON error 376 in cursor 0: means the routine named ORLON has a (Oracle?) error #376 in the SQR cursor number 1 - there should be an error message from the database as well. (SQR 4701)means that either the logon/connection information passed to the database is incorrect or the database server is unavailable. You might want to start by looking for an additional error message tied to SQR 5528 and then checking your connection to the database - via SQL-Plus or running another SQR. HTH, Joe Johnson Curtis Whitman cc: (bcc: Joe Johnson/AGConsult) Sent by: Subject: SQR: cannot logon to the database "Discussion of SQR, Brio Technology's database reporting language" 10/10/2001 12:02 PM Please respond to sqr-users Please help, I'm new at this so please bare with me. I am getting the following error when running a sqr program (SQR 5528) ORACLE ORLON error 376 in cursor 0: (SQR 4701) Cannot logon to the database. Any ideas what is causing this and what are the sqr errors 5528 and 4701? From owner-sqr-users@list.iex.net Wed Oct 10 17:09:21 2001 Date: Wed, 10 Oct 2001 15:07:18 -0700 From: laura lopez Subject: Problem with include Hi everyone! I have a problem running an sqr. When I try to run it from PeopleSoft, first of all I get the msdos prompt file (which is very weird, we never get that) and in it it says: (SQR4731) Cannot open the #INCLUDE file: 'setenv.sqc' (2) No such a file or directory SQR: Program Aborting Now, that include is there for sure, and we run all other reports fine..... does anybody have a clue ? Thank you!!!!!! _______________________ Laura López Extension: 1018 Direct Line: (510) 346 - 4518 From owner-sqr-users@list.iex.net Wed Oct 10 18:34:58 2001 Date: Wed, 10 Oct 2001 17:23:03 -0600 From: Raj Amoli Subject: Re: Problem with include Laura: Just check the SQR flags in configuration manager and make sure -i%PSSQR1%(or the path where .sqc files are located) is included in SQR flags. Raj >From: laura lopez >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Problem with include >Date: Wed, 10 Oct 2001 15:07:18 -0700 >MIME-Version: 1.0 >Received: from [192.156.196.15] by hotmail.com (3.2) with ESMTP id >MHotMailBD8E1A11002040043709C09CC40FB8210; Wed, 10 Oct 2001 15:43:35 -0700 >Received: from list.iex.net (list.iex.net [192.156.196.15])by list.iex.net >(8.11.1/8.11.1) with ESMTP id f9ALvWx16329;Wed, 10 Oct 2001 15:57:32 -0600 >(MDT) >Received: from LIST.IEX.NET by LIST.IEX.NET (LISTSERV-TCP/IP release 1.8d) >with spool id 744419 for SQR-USERS@LIST.IEX.NET; Wed, 10 Oct 2001 >15:57:30 -0600 >Received: from geneva.trinetgroup.com ([208.185.137.60]) by list.iex.net > (8.11.1/8.11.1) with ESMTP id f9ALvSx16321 for >; Wed, 10 Oct 2001 15:57:29 -0600 (MDT) >Received: by geneva.trinetgroup.com with Internet Mail Service >(5.5.2653.19) id ; Wed, 10 Oct 2001 15:07:21 -0700 >From owner-sqr-users@list.iex.net Wed, 10 Oct 2001 15:43:53 -0700 >X-Mailer: Internet Mail Service (5.5.2653.19) >X-MIME-Autoconverted: from quoted-printable to 8bit by list.iex.net id > f9ALvTx16322 >Message-ID: ><8E98039C6658D51182AE00508B91A2BA0113A1F2@geneva.trinetgroup.com> >Sender: "Discussion of SQR, Brio Technology's database >reporting language" > >Hi everyone! > >I have a problem running an sqr. When I try to run it from PeopleSoft, >first of all I get the msdos prompt file (which is very weird, we never get >that) and in it it says: > (SQR4731) Cannot open the #INCLUDE file: 'setenv.sqc' > (2) No such a file or directory > > SQR: Program Aborting > >Now, that include is there for sure, and we run all other reports fine..... >does anybody have a clue ? > >Thank you!!!!!! > >_______________________ >Laura López >Extension: 1018 >Direct Line: (510) 346 - 4518 _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From owner-sqr-users@list.iex.net Wed Oct 10 22:44:19 2001 Date: Wed, 10 Oct 2001 20:41:03 -0700 From: laura lopez Subject: Re: Problem with include Actually Raj, it seems this worked fine in one database and not in another so after doing a comparison I realized one of them had an SQR flag set to None and on the other one to Override - so it couldn't find the sqc.... weird! Thanks! Laura > -----Original Message----- > From: Raj Amoli [SMTP:rajkamoli@HOTMAIL.COM] > Sent: Wednesday, October 10, 2001 4:23 PM > To: SQR-USERS@list.iex.net > Subject: Re: Problem with include > > Laura: > Just check the SQR flags in configuration manager and make sure > -i%PSSQR1%(or the path where .sqc files are located) is included in SQR > flags. > > Raj > > > >From: laura lopez > >Reply-To: sqr-users@list.iex.net > >To: SQR-USERS@list.iex.net > >Subject: Problem with include > >Date: Wed, 10 Oct 2001 15:07:18 -0700 > >MIME-Version: 1.0 > >Received: from [192.156.196.15] by hotmail.com (3.2) with ESMTP id > >MHotMailBD8E1A11002040043709C09CC40FB8210; Wed, 10 Oct 2001 15:43:35 > -0700 > >Received: from list.iex.net (list.iex.net [192.156.196.15])by > list.iex.net > >(8.11.1/8.11.1) with ESMTP id f9ALvWx16329;Wed, 10 Oct 2001 15:57:32 > -0600 > >(MDT) > >Received: from LIST.IEX.NET by LIST.IEX.NET (LISTSERV-TCP/IP release > 1.8d) > >with spool id 744419 for SQR-USERS@LIST.IEX.NET; Wed, 10 Oct > 2001 > >15:57:30 -0600 > >Received: from geneva.trinetgroup.com ([208.185.137.60]) by list.iex.net > > (8.11.1/8.11.1) with ESMTP id f9ALvSx16321 for > >; Wed, 10 Oct 2001 15:57:29 -0600 (MDT) > >Received: by geneva.trinetgroup.com with Internet Mail Service > >(5.5.2653.19) id ; Wed, 10 Oct 2001 15:07:21 -0700 > >From owner-sqr-users@list.iex.net Wed, 10 Oct 2001 15:43:53 -0700 > >X-Mailer: Internet Mail Service (5.5.2653.19) > >X-MIME-Autoconverted: from quoted-printable to 8bit by list.iex.net id > > f9ALvTx16322 > >Message-ID: > ><8E98039C6658D51182AE00508B91A2BA0113A1F2@geneva.trinetgroup.com> > >Sender: "Discussion of SQR, Brio Technology's database > >reporting language" > > > >Hi everyone! > > > >I have a problem running an sqr. When I try to run it from PeopleSoft, > >first of all I get the msdos prompt file (which is very weird, we never > get > >that) and in it it says: > > (SQR4731) Cannot open the #INCLUDE file: 'setenv.sqc' > > (2) No such a file or directory > > > > SQR: Program Aborting > > > >Now, that include is there for sure, and we run all other reports > fine..... > >does anybody have a clue ? > > > >Thank you!!!!!! > > > >_______________________ > >Laura López > >Extension: 1018 > >Direct Line: (510) 346 - 4518 > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From owner-sqr-users@list.iex.net Thu Oct 11 14:51:20 2001 Date: Thu, 11 Oct 2001 15:47:27 -0400 From: "Turner, Ivan" Subject: Everything You Always Wanted to Know About .CSV but Were Afraid t o Ask I never thought I would need to use a .CSV file so aI always deleted the CSV messages. Now I have questions. Can I specify a csv file and format in DECLARE-REPORT? Can I specify a csv file and format in an OPEN stmt? If so, how? Ivan C. Turner Qwest Communications Intl., Inc. From owner-sqr-users@list.iex.net Thu Oct 11 19:44:22 2001 Date: Thu, 11 Oct 2001 20:37:49 -0400 From: Joe Johnson Subject: Re: Everything You Always Wanted to Know About .CSV but Were Afraid t o Ask Ivan, A great book to have is SQR in PeopleSoft by Landres and Landres -- a whole chapter on reading from and writing to flat files. Joe Johnson Bruce Kelling cc: (bcc: Joe Johnson/AGConsult) Sent by: "Discussion of SQR, Subject: Re: Everything You Always Wanted to Know About .CSV but Were Brio Technology's database Afra id t o Ask reporting language" 10/11/2001 05:16 PM Please respond to sqr-users No Declare Report, No Print Statements. Look for a sample program to clone, and focus on how to open the file and how to write to the file. example Open c:\temp\myfile.csv as 1 for-writing record=1000 status= #Open1 Instead of print statements Write 1 from $Variable:10 ',':1 $Variable:50 ',':1 Each time you write to file = 1 line and so on. Bruce -----Original Message----- From: Turner, Ivan [mailto:Ivan.Turner@QWEST.COM] Sent: Thursday, October 11, 2001 5:09 PM To: SQR-USERS@list.iex.net Subject: Re: Everything You Always Wanted to Know About .CSV but Were Afra id t o Ask I want to write a file that the end user can open in Excel. Can I specify a csv file format in an OPEN statement? Or can I specify a csv format and file extension in DECLARE-REPORT and use PRINT statments? -----Original Message----- From: Weaver, Judith R [mailto:WeaverJR@USAFOO.UNITEDSPACEALLIANCE.COM] Sent: Thursday, October 11, 2001 4:35 PM To: SQR-USERS@list.iex.net Subject: Re: Everything You Always Wanted to Know About .CSV but Were Afra id t o Ask Ivan I don't believe that it's necessary (or possible)to delare or specify a .csv file. The attributes that determine whether a .csv file is recognized as such by software such as Microsoft's Excel is to write out comma delimited records to a file name .csv. To read a comma delimited file using SQR, simply OPEN the file for READING and READ each record into a $variable and then UNSTRING this $variable by ',' into receiving $variables. -----Original Message----- From: Turner, Ivan [mailto:Ivan.Turner@QWEST.COM] Sent: Thursday, October 11, 2001 4:13 PM To: SQR-USERS@list.iex.net Subject: Re: Everything You Always Wanted to Know About .CSV but Were Afra id t o Ask If I can't specify it there, where do I specify it? -----Original Message----- From: Turner, Ivan [mailto:Ivan.Turner@QWEST.COM] Sent: Thursday, October 11, 2001 3:47 PM To: SQR-USERS@list.iex.net Subject: Everything You Always Wanted to Know About .CSV but Were Afraid t o Ask I never thought I would need to use a .CSV file so aI always deleted the CSV messages. Now I have questions. Can I specify a csv file and format in DECLARE-REPORT? Can I specify a csv file and format in an OPEN stmt? If so, how? Ivan C. Turner Qwest Communications Intl., Inc. From owner-sqr-users@list.iex.net Thu Oct 11 15:15:35 2001 Date: Thu, 11 Oct 2001 16:13:04 -0400 From: "Turner, Ivan" Subject: Re: Everything You Always Wanted to Know About .CSV but Were Afra id t o Ask If I can't specify it there, where do I specify it? -----Original Message----- From: Turner, Ivan [mailto:Ivan.Turner@QWEST.COM] Sent: Thursday, October 11, 2001 3:47 PM To: SQR-USERS@list.iex.net Subject: Everything You Always Wanted to Know About .CSV but Were Afraid t o Ask I never thought I would need to use a .CSV file so aI always deleted the CSV messages. Now I have questions. Can I specify a csv file and format in DECLARE-REPORT? Can I specify a csv file and format in an OPEN stmt? If so, how? Ivan C. Turner Qwest Communications Intl., Inc. From owner-sqr-users@list.iex.net Thu Oct 11 15:25:43 2001 Date: Thu, 11 Oct 2001 16:23:08 -0400 From: "Beller, Jay" Subject: Re: Everything You Always Wanted to Know About .CSV but Were Afra id t o Ask Please search at http://www.sqrug.com/sqr-users/ for more info - you'll get 295 hits and the rest of us won't need to read the same stuff again. -----Original Message----- From: Turner, Ivan [mailto:Ivan.Turner@QWEST.COM] Sent: Thursday, October 11, 2001 4:13 PM To: SQR-USERS@list.iex.net Subject: Re: Everything You Always Wanted to Know About .CSV but Were Afra id t o Ask If I can't specify it there, where do I specify it? -----Original Message----- From: Turner, Ivan [mailto:Ivan.Turner@QWEST.COM] Sent: Thursday, October 11, 2001 3:47 PM To: SQR-USERS@list.iex.net Subject: Everything You Always Wanted to Know About .CSV but Were Afraid t o Ask I never thought I would need to use a .CSV file so aI always deleted the CSV messages. Now I have questions. Can I specify a csv file and format in DECLARE-REPORT? Can I specify a csv file and format in an OPEN stmt? If so, how? Ivan C. Turner Qwest Communications Intl., Inc. From owner-sqr-users@list.iex.net Thu Oct 11 15:38:19 2001 Date: Thu, 11 Oct 2001 16:35:07 -0400 From: "Weaver, Judith R" Subject: Re: Everything You Always Wanted to Know About .CSV but Were Afra id t o Ask Ivan I don't believe that it's necessary (or possible)to delare or specify a .csv file. The attributes that determine whether a .csv file is recognized as such by software such as Microsoft's Excel is to write out comma delimited records to a file name .csv. To read a comma delimited file using SQR, simply OPEN the file for READING and READ each record into a $variable and then UNSTRING this $variable by ',' into receiving $variables. -----Original Message----- From: Turner, Ivan [mailto:Ivan.Turner@QWEST.COM] Sent: Thursday, October 11, 2001 4:13 PM To: SQR-USERS@list.iex.net Subject: Re: Everything You Always Wanted to Know About .CSV but Were Afra id t o Ask If I can't specify it there, where do I specify it? -----Original Message----- From: Turner, Ivan [mailto:Ivan.Turner@QWEST.COM] Sent: Thursday, October 11, 2001 3:47 PM To: SQR-USERS@list.iex.net Subject: Everything You Always Wanted to Know About .CSV but Were Afraid t o Ask I never thought I would need to use a .CSV file so aI always deleted the CSV messages. Now I have questions. Can I specify a csv file and format in DECLARE-REPORT? Can I specify a csv file and format in an OPEN stmt? If so, how? Ivan C. Turner Qwest Communications Intl., Inc. From owner-sqr-users@list.iex.net Thu Oct 11 16:12:48 2001 Date: Thu, 11 Oct 2001 15:09:09 -0600 From: "Turner, Ivan" Subject: Re: Everything You Always Wanted to Know About .CSV but Were Afra id t o Ask I want to write a file that the end user can open in Excel. Can I specify a csv file format in an OPEN statement? Or can I specify a csv format and file extension in DECLARE-REPORT and use PRINT statments? -----Original Message----- From: Weaver, Judith R [mailto:WeaverJR@USAFOO.UNITEDSPACEALLIANCE.COM] Sent: Thursday, October 11, 2001 4:35 PM To: SQR-USERS@list.iex.net Subject: Re: Everything You Always Wanted to Know About .CSV but Were Afra id t o Ask Ivan I don't believe that it's necessary (or possible)to delare or specify a .csv file. The attributes that determine whether a .csv file is recognized as such by software such as Microsoft's Excel is to write out comma delimited records to a file name .csv. To read a comma delimited file using SQR, simply OPEN the file for READING and READ each record into a $variable and then UNSTRING this $variable by ',' into receiving $variables. -----Original Message----- From: Turner, Ivan [mailto:Ivan.Turner@QWEST.COM] Sent: Thursday, October 11, 2001 4:13 PM To: SQR-USERS@list.iex.net Subject: Re: Everything You Always Wanted to Know About .CSV but Were Afra id t o Ask If I can't specify it there, where do I specify it? -----Original Message----- From: Turner, Ivan [mailto:Ivan.Turner@QWEST.COM] Sent: Thursday, October 11, 2001 3:47 PM To: SQR-USERS@list.iex.net Subject: Everything You Always Wanted to Know About .CSV but Were Afraid t o Ask I never thought I would need to use a .CSV file so aI always deleted the CSV messages. Now I have questions. Can I specify a csv file and format in DECLARE-REPORT? Can I specify a csv file and format in an OPEN stmt? If so, how? Ivan C. Turner Qwest Communications Intl., Inc. From owner-sqr-users@list.iex.net Thu Oct 11 16:22:16 2001 Date: Thu, 11 Oct 2001 17:16:22 -0400 From: Bruce Kelling Subject: Re: Everything You Always Wanted to Know About .CSV but Were Afra id t o Ask No Declare Report, No Print Statements. Look for a sample program to clone, and focus on how to open the file and how to write to the file. example Open c:\temp\myfile.csv as 1 for-writing record=1000 status= #Open1 Instead of print statements Write 1 from $Variable:10 ',':1 $Variable:50 ',':1 Each time you write to file = 1 line and so on. Bruce -----Original Message----- From: Turner, Ivan [mailto:Ivan.Turner@QWEST.COM] Sent: Thursday, October 11, 2001 5:09 PM To: SQR-USERS@list.iex.net Subject: Re: Everything You Always Wanted to Know About .CSV but Were Afra id t o Ask I want to write a file that the end user can open in Excel. Can I specify a csv file format in an OPEN statement? Or can I specify a csv format and file extension in DECLARE-REPORT and use PRINT statments? -----Original Message----- From: Weaver, Judith R [mailto:WeaverJR@USAFOO.UNITEDSPACEALLIANCE.COM] Sent: Thursday, October 11, 2001 4:35 PM To: SQR-USERS@list.iex.net Subject: Re: Everything You Always Wanted to Know About .CSV but Were Afra id t o Ask Ivan I don't believe that it's necessary (or possible)to delare or specify a .csv file. The attributes that determine whether a .csv file is recognized as such by software such as Microsoft's Excel is to write out comma delimited records to a file name .csv. To read a comma delimited file using SQR, simply OPEN the file for READING and READ each record into a $variable and then UNSTRING this $variable by ',' into receiving $variables. -----Original Message----- From: Turner, Ivan [mailto:Ivan.Turner@QWEST.COM] Sent: Thursday, October 11, 2001 4:13 PM To: SQR-USERS@list.iex.net Subject: Re: Everything You Always Wanted to Know About .CSV but Were Afra id t o Ask If I can't specify it there, where do I specify it? -----Original Message----- From: Turner, Ivan [mailto:Ivan.Turner@QWEST.COM] Sent: Thursday, October 11, 2001 3:47 PM To: SQR-USERS@list.iex.net Subject: Everything You Always Wanted to Know About .CSV but Were Afraid t o Ask I never thought I would need to use a .CSV file so aI always deleted the CSV messages. Now I have questions. Can I specify a csv file and format in DECLARE-REPORT? Can I specify a csv file and format in an OPEN stmt? If so, how? Ivan C. Turner Qwest Communications Intl., Inc. From owner-sqr-users@list.iex.net Mon Oct 15 09:12:55 2001 Date: Mon, 15 Oct 2001 10:09:37 -0400 From: Scott Eubank Subject: I have a problem. Here is the error I am getting. I cannot find any info as to what a SQR 2001 error is, I cant find any error listing anywhere. (any help there would be good) -------------------------------------------------------------- Error on line 52: (SQR 2001) Could not find procedure: 'report'. Errors were found in the program file. SQR: Program Aborting. -------------------------------------------------------------- !!!!!!!!!!!! CODE in error !!!!!!!!!!!!!!!!!!!!!!!!!!! !******************************************* #include 'setenv.sqc' !Set environment !******************************************* BEGIN-REPORT #DEBUGB DISPLAY ' Begin Report ' MOVE 'REPORT' to $ReportID MOVE 'PEOPLESOFT TO REPORT' to $ReportTitle Show ' ' Show $ReportID Show $ReportTitle let $dt = edit(datenow(),'HH:MI:SS PM') Show ' START TIME :' $dt Show ' ' ! THIS IS LINE 52 ! ! do Define-Prcs-Vars do Get-Run-Control-Parms do Get-Current-DateTime if #prcs_process_instance = 0 let $Proc_Scheduler = 'N' else let $Proc_Scheduler = 'Y' show 'PROC-SCHEDULER' end-if move 1 to #Payroll_File move 2 to #Location_File do Init-Report !?! do Stdapi-Term END-REPORT From owner-sqr-users@list.iex.net Mon Oct 15 09:25:19 2001 Date: Mon, 15 Oct 2001 10:22:39 -0400 From: "Hood Louise (app1lxh)" Subject: Re: I have a problem. Scott, Per SQR language ref manual: 2001 Could not find procedure Check for a misspelled procedure name. -----Original Message----- From: Scott Eubank [mailto:SEUBANK@ADVANCEAUTOPARTS.COM] Sent: Monday, October 15, 2001 10:10 AM To: SQR-USERS@list.iex.net Subject: I have a problem. Here is the error I am getting. I cannot find any info as to what a SQR 2001 error is, I cant find any error listing anywhere. (any help there would be good) -------------------------------------------------------------- Error on line 52: (SQR 2001) Could not find procedure: 'report'. Errors were found in the program file. SQR: Program Aborting. -------------------------------------------------------------- !!!!!!!!!!!! CODE in error !!!!!!!!!!!!!!!!!!!!!!!!!!! !******************************************* #include 'setenv.sqc' !Set environment !******************************************* BEGIN-REPORT #DEBUGB DISPLAY ' Begin Report ' MOVE 'REPORT' to $ReportID MOVE 'PEOPLESOFT TO REPORT' to $ReportTitle Show ' ' Show $ReportID Show $ReportTitle let $dt = edit(datenow(),'HH:MI:SS PM') Show ' START TIME :' $dt Show ' ' ! THIS IS LINE 52 ! ! do Define-Prcs-Vars do Get-Run-Control-Parms do Get-Current-DateTime if #prcs_process_instance = 0 let $Proc_Scheduler = 'N' else let $Proc_Scheduler = 'Y' show 'PROC-SCHEDULER' end-if move 1 to #Payroll_File move 2 to #Location_File do Init-Report !?! do Stdapi-Term END-REPORT From owner-sqr-users@list.iex.net Mon Oct 15 10:08:46 2001 Date: Mon, 15 Oct 2001 15:29:58 +0100 From: "Paul O'Riordan" Subject: Re: I have a problem. --0__=80256AE6004F5B238f9e8a93df938690918c80256AE6004F5B23 Content-type: text/plain; charset=us-ascii Could also be a procedure called from within an sqc. The error might be line 52 in the sqc - whichever one it is. Regards, Paul "Hood Louise (app1lxh)" @list.iex.net> on 15/10/2001 15:22:39 Please respond to sqr-users@list.iex.net Sent by: "Discussion of SQR, Brio Technology's database reporting language" To: SQR-USERS@list.iex.net cc: Subject: Re: I have a problem. Scott, Per SQR language ref manual: 2001 Could not find procedure Check for a misspelled procedure name. -----Original Message----- From: Scott Eubank [mailto:SEUBANK@ADVANCEAUTOPARTS.COM] Sent: Monday, October 15, 2001 10:10 AM To: SQR-USERS@list.iex.net Subject: I have a problem. Here is the error I am getting. I cannot find any info as to what a SQR 2001 error is, I cant find any error listing anywhere. (any help there would be good) -------------------------------------------------------------- Error on line 52: (SQR 2001) Could not find procedure: 'report'. Errors were found in the program file. SQR: Program Aborting. -------------------------------------------------------------- !!!!!!!!!!!! CODE in error !!!!!!!!!!!!!!!!!!!!!!!!!!! !******************************************* #include 'setenv.sqc' !Set environment !******************************************* BEGIN-REPORT #DEBUGB DISPLAY ' Begin Report ' MOVE 'REPORT' to $ReportID MOVE 'PEOPLESOFT TO REPORT' to $ReportTitle Show ' ' Show $ReportID Show $ReportTitle let $dt = edit(datenow(),'HH:MI:SS PM') Show ' START TIME :' $dt Show ' ' ! THIS IS LINE 52 ! ! do Define-Prcs-Vars do Get-Run-Control-Parms do Get-Current-DateTime if #prcs_process_instance = 0 let $Proc_Scheduler = 'N' else let $Proc_Scheduler = 'Y' show 'PROC-SCHEDULER' end-if move 1 to #Payroll_File move 2 to #Location_File do Init-Report !?! do Stdapi-Term END-REPORT --0__=80256AE6004F5B238f9e8a93df938690918c80256AE6004F5B23 Content-type: application/octet-stream; name="$RFC822.eml" Content-Disposition: attachment; filename="$RFC822.eml" Content-transfer-encoding: base64 UmVjZWl2ZWQ6IGZyb20gYXZlcnktY3AubWdhYS5hdmVyeWRlbm5pc29uLmNvbSAoWzE0NC45My4x MjUuMTJdKQ0KICAgICAgICAgIGJ5IHNtdHAtMjAtY29uLmF2ZXJ5ZGVubmlzb24uY29tIChMb3R1 cyBEb21pbm8gUmVsZWFzZSA1LjAuOCkNCiAgICAgICAgICB3aXRoIFNNVFAgaWQgMjAwMTEwMTUx MDIwNDgyOTo2Mzc2NSA7DQogICAgICA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yAnDQoNCiAgICAgICAgICAgICAgICAhIFRISVMgSVMgTElORSA1MiAgIQ0KISBkbyBEZWZp bmUtUHJjcy1WYXJzDQogZG8gR2V0LVJ1bi1Db250cm9sLVBhcm1zDQogZG8gR2V0LUN1cnJlbnQt RGF0ZVRpbWUNCg0KICBpZiAjcHJjc19wcm9jZXNzX2luc3RhbmNlID0gMA0KICAgICBsZXQgJFBy b2NfU2NoZWR1bGVyID0gJ04nDQogIGVsc2UNCiAgICAgbGV0ICRQcm9jX1NjaGVkdWxlciA9ICdZ Jw0KICAgICBzaG93ICdQUk9DLVNDSEVEVUxFUicNCiAgZW5kLWlmDQoNCg0KDQogIG1vdmUgMSB0 byAjUGF5cm9sbF9GaWxlDQogIG1vdmUgMiB0byAjTG9jYXRpb25fRmlsZQ0KDQogIGRvIEluaXQt UmVwb3J0DQoNCg0KICAgIT8hICBkbyBTdGRhcGktVGVybQ0KDQoNCkVORC1SRVBPUlQNCg== --0__=80256AE6004F5B238f9e8a93df938690918c80256AE6004F5B23-- From owner-sqr-users@list.iex.net Mon Oct 15 09:32:44 2001 Date: Mon, 15 Oct 2001 10:30:36 -0400 From: "Johnson, Dan" Subject: Re: I have a problem. What version of SQR are you using. The "begin-report" command was phased out around ver. 4. This might be your problem. Try using "begin-program" instead. Good luck. -----Original Message----- From: Scott Eubank Sent: Monday, October 15, 2001 10:10 AM To: Subject: I have a problem. Here is the error I am getting. I cannot find any info as to what a SQR 2001 error is, I cant find any error listing anywhere. (any help there would be good) -------------------------------------------------------------- Error on line 52: (SQR 2001) Could not find procedure: 'report'. Errors were found in the program file. SQR: Program Aborting. -------------------------------------------------------------- !!!!!!!!!!!! CODE in error !!!!!!!!!!!!!!!!!!!!!!!!!!! !******************************************* #include 'setenv.sqc' !Set environment !******************************************* BEGIN-REPORT #DEBUGB DISPLAY ' Begin Report ' MOVE 'REPORT' to $ReportID MOVE 'PEOPLESOFT TO REPORT' to $ReportTitle Show ' ' Show $ReportID Show $ReportTitle let $dt = edit(datenow(),'HH:MI:SS PM') Show ' START TIME :' $dt Show ' ' ! THIS IS LINE 52 ! ! do Define-Prcs-Vars do Get-Run-Control-Parms do Get-Current-DateTime if #prcs_process_instance = 0 let $Proc_Scheduler = 'N' else let $Proc_Scheduler = 'Y' show 'PROC-SCHEDULER' end-if move 1 to #Payroll_File move 2 to #Location_File do Init-Report !?! do Stdapi-Term END-REPORT From owner-sqr-users@list.iex.net Mon Oct 15 09:41:31 2001 Date: Mon, 15 Oct 2001 14:38:40 +0000 From: Elvis Pressly Subject: Re: I have a problem. Check any misspelled procedure name. >From: Scott Eubank >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: I have a problem. >Date: Mon, 15 Oct 2001 10:09:37 -0400 > >Here is the error I am getting. I cannot find any info as to what a SQR >2001 >error is, I cant find any error listing anywhere. (any help there would be >good) > >-------------------------------------------------------------- >Error on line 52: > (SQR 2001) Could not find procedure: 'report'. > >Errors were found in the program file. > >SQR: Program Aborting. >-------------------------------------------------------------- > >!!!!!!!!!!!! CODE in error !!!!!!!!!!!!!!!!!!!!!!!!!!! > >!******************************************* >#include 'setenv.sqc' !Set environment >!******************************************* >BEGIN-REPORT >#DEBUGB DISPLAY ' Begin Report ' > > MOVE 'REPORT' to $ReportID > MOVE 'PEOPLESOFT TO REPORT' to $ReportTitle > Show ' ' > Show $ReportID > Show $ReportTitle > let $dt = edit(datenow(),'HH:MI:SS PM') > Show ' START TIME :' $dt > Show ' ' > > ! THIS IS LINE 52 ! >! do Define-Prcs-Vars > do Get-Run-Control-Parms > do Get-Current-DateTime > > if #prcs_process_instance = 0 > let $Proc_Scheduler = 'N' > else > let $Proc_Scheduler = 'Y' > show 'PROC-SCHEDULER' > end-if > > > > move 1 to #Payroll_File > move 2 to #Location_File > > do Init-Report > > > !?! do Stdapi-Term > > >END-REPORT _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From owner-sqr-users@list.iex.net Mon Oct 15 09:46:17 2001 Date: Mon, 15 Oct 2001 11:41:09 -0300 From: Peter Clark Subject: Re: I have a problem. Scott, Line numbers are not always accurately reported. I would check the "do Get-Run-Control-Parms" statement. Is the procedure name spelled correctly? Is the procedure in an #include file and the file #include'd? >>> "Hood Louise (app1lxh)" 2001/10/15 11:22:39 am >>> Scott, Per SQR language ref manual: 2001 Could not find procedure Check for a misspelled procedure name. -----Original Message----- From: Scott Eubank [mailto:SEUBANK@ADVANCEAUTOPARTS.COM] Sent: Monday, October 15, 2001 10:10 AM To: SQR-USERS@list.iex.net Subject: I have a problem. Here is the error I am getting. I cannot find any info as to what a SQR 2001 error is, I cant find any error listing anywhere. (any help there would be good) -------------------------------------------------------------- Error on line 52: (SQR 2001) Could not find procedure: 'report'. Errors were found in the program file. SQR: Program Aborting. -------------------------------------------------------------- !!!!!!!!!!!! CODE in error !!!!!!!!!!!!!!!!!!!!!!!!!!! !******************************************* #include 'setenv.sqc' !Set environment !******************************************* BEGIN-REPORT #DEBUGB DISPLAY ' Begin Report ' MOVE 'REPORT' to $ReportID MOVE 'PEOPLESOFT TO REPORT' to $ReportTitle Show ' ' Show $ReportID Show $ReportTitle let $dt = edit(datenow(),'HH:MI:SS PM') Show ' START TIME :' $dt Show ' ' ! THIS IS LINE 52 ! ! do Define-Prcs-Vars do Get-Run-Control-Parms do Get-Current-DateTime if #prcs_process_instance = 0 let $Proc_Scheduler = 'N' else let $Proc_Scheduler = 'Y' show 'PROC-SCHEDULER' end-if move 1 to #Payroll_File move 2 to #Location_File do Init-Report !?! do Stdapi-Term END-REPORT From owner-sqr-users@list.iex.net Mon Oct 15 09:47:04 2001 Date: Mon, 15 Oct 2001 11:42:53 -0300 From: Peter Clark Subject: Re: I have a problem. backward compatability means that "begin-report" is still supported (although highly not recommended) ... to the best of my knowledge :-) >>> "Johnson, Dan" 2001/10/15 11:30:36 am >>> What version of SQR are you using. The "begin-report" command was phased out around ver. 4. This might be your problem. Try using "begin-program" instead. Good luck. -----Original Message----- From: Scott Eubank Sent: Monday, October 15, 2001 10:10 AM To: Subject: I have a problem. Here is the error I am getting. I cannot find any info as to what a SQR 2001 error is, I cant find any error listing anywhere. (any help there would be good) -------------------------------------------------------------- Error on line 52: (SQR 2001) Could not find procedure: 'report'. Errors were found in the program file. SQR: Program Aborting. -------------------------------------------------------------- !!!!!!!!!!!! CODE in error !!!!!!!!!!!!!!!!!!!!!!!!!!! !******************************************* #include 'setenv.sqc' !Set environment !******************************************* BEGIN-REPORT #DEBUGB DISPLAY ' Begin Report ' MOVE 'REPORT' to $ReportID MOVE 'PEOPLESOFT TO REPORT' to $ReportTitle Show ' ' Show $ReportID Show $ReportTitle let $dt = edit(datenow(),'HH:MI:SS PM') Show ' START TIME :' $dt Show ' ' ! THIS IS LINE 52 ! ! do Define-Prcs-Vars do Get-Run-Control-Parms do Get-Current-DateTime if #prcs_process_instance = 0 let $Proc_Scheduler = 'N' else let $Proc_Scheduler = 'Y' show 'PROC-SCHEDULER' end-if move 1 to #Payroll_File move 2 to #Location_File do Init-Report !?! do Stdapi-Term END-REPORT From owner-sqr-users@list.iex.net Mon Oct 15 10:56:48 2001 Date: Mon, 15 Oct 2001 11:56:53 -0400 From: Scott Eubank Subject: Re: I have a problem. Thanks every one .. I had an OLD SQC in my program and it wasnt working well -----Original Message----- From: Paul O'Riordan [mailto:Paul_O'Riordan@AVERYDENNISON.COM] Sent: Monday, October 15, 2001 10:30 AM To: SQR-USERS@list.iex.net Subject: Re: I have a problem. Could also be a procedure called from within an sqc. The error might be line 52 in the sqc - whichever one it is. Regards, Paul "Hood Louise (app1lxh)" @list.iex.net> on 15/10/2001 15:22:39 Please respond to sqr-users@list.iex.net Sent by: "Discussion of SQR, Brio Technology's database reporting language" To: SQR-USERS@list.iex.net cc: Subject: Re: I have a problem. Scott, Per SQR language ref manual: 2001 Could not find procedure Check for a misspelled procedure name. -----Original Message----- From: Scott Eubank [mailto:SEUBANK@ADVANCEAUTOPARTS.COM] Sent: Monday, October 15, 2001 10:10 AM To: SQR-USERS@list.iex.net Subject: I have a problem. Here is the error I am getting. I cannot find any info as to what a SQR 2001 error is, I cant find any error listing anywhere. (any help there would be good) -------------------------------------------------------------- Error on line 52: (SQR 2001) Could not find procedure: 'report'. Errors were found in the program file. SQR: Program Aborting. -------------------------------------------------------------- !!!!!!!!!!!! CODE in error !!!!!!!!!!!!!!!!!!!!!!!!!!! !******************************************* #include 'setenv.sqc' !Set environment !******************************************* BEGIN-REPORT #DEBUGB DISPLAY ' Begin Report ' MOVE 'REPORT' to $ReportID MOVE 'PEOPLESOFT TO REPORT' to $ReportTitle Show ' ' Show $ReportID Show $ReportTitle let $dt = edit(datenow(),'HH:MI:SS PM') Show ' START TIME :' $dt Show ' ' ! THIS IS LINE 52 ! ! do Define-Prcs-Vars do Get-Run-Control-Parms do Get-Current-DateTime if #prcs_process_instance = 0 let $Proc_Scheduler = 'N' else let $Proc_Scheduler = 'Y' show 'PROC-SCHEDULER' end-if move 1 to #Payroll_File move 2 to #Location_File do Init-Report !?! do Stdapi-Term END-REPORT From owner-sqr-users@list.iex.net Mon Oct 15 10:12:02 2001 Date: Mon, 15 Oct 2001 10:09:33 -0500 From: Sarah Moore Subject: negative zero Is there a quick and easy way to change -0.00 to 0.00 (result field from add) ? I'm having trouble identifying the -0.0 value within the field to change it to a positive... From owner-sqr-users@list.iex.net Mon Oct 15 10:20:04 2001 Date: Mon, 15 Oct 2001 11:17:28 -0400 From: Rick_Creel@AONCONS.COM Subject: Re: negative zero Could you multiply it by -1 ? Or, could you use the absolute value (ABS) function? Sarah Moore on 10/15/2001 11:09:33 AM Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Rick Creel/IT/Aon Consulting) Subject: negative zero Is there a quick and easy way to change -0.00 to 0.00 (result field from add) ? I'm having trouble identifying the -0.0 value within the field to change it to a positive... From owner-sqr-users@list.iex.net Mon Oct 15 10:27:12 2001 Date: Mon, 15 Oct 2001 10:24:50 -0500 From: Bob Helm Subject: Re: negative zero unless I misunderstand the question, you could do this: let #result_num = abs(#result_num) B The Programmer formerly known as Bob Mediware Information Systems Inc. (913) 307-1045 Bob.Helm@Mediware.com -----Original Message----- From: Sarah Moore [mailto:smoore@NWTC.TEC.WI.US] Sent: Monday, October 15, 2001 10:10 AM To: SQR-USERS@list.iex.net Subject: negative zero Is there a quick and easy way to change -0.00 to 0.00 (result field from add) ? I'm having trouble identifying the -0.0 value within the field to change it to a positive... From owner-sqr-users@list.iex.net Mon Oct 15 10:38:16 2001 Date: Mon, 15 Oct 2001 11:36:07 -0400 From: "Ballesty, Lorraine" Subject: Re: negative zero I've never heard of getting a negative zero, but as long as you know the value is actually 0, try multiplying it by itself. (A positive times a positive equals a positive, and a negative times a negative equals a positive!) > -----Original Message----- > From: Sarah Moore [SMTP:smoore@NWTC.TEC.WI.US] > Sent: Monday, October 15, 2001 11:10 AM > To: SQR-USERS@list.iex.net > Subject: negative zero > > Is there a quick and easy way to change -0.00 to 0.00 (result field from > add) ? I'm having trouble identifying the -0.0 value within the field to > change it to a positive... From owner-sqr-users@list.iex.net Mon Oct 15 11:07:46 2001 Date: Mon, 15 Oct 2001 11:00:47 -0500 From: Ray Ontko Subject: Re: negative zero The problem is actually that it's a very small number close to zero. Try: LET #x = round( #x , 2 ) Ray > I've never heard of getting a negative zero, but as long as you know the > value is actually 0, try multiplying it by itself. > > (A positive times a positive equals a positive, and a negative times a > negative equals a positive!) > > > -----Original Message----- > > From: Sarah Moore [SMTP:smoore@NWTC.TEC.WI.US] > > Sent: Monday, October 15, 2001 11:10 AM > > To: SQR-USERS@list.iex.net > > Subject: negative zero > > > > Is there a quick and easy way to change -0.00 to 0.00 (result field from > > add) ? I'm having trouble identifying the -0.0 value within the field to > > change it to a positive... > ---------------------------------------------------------------------- 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/ From owner-sqr-users@list.iex.net Mon Oct 15 10:45:41 2001 Date: Mon, 15 Oct 2001 10:43:48 -0500 From: Sarah Moore Subject: Re: negative zero Well the problem is that I may have a valid negative number i.e: -123.00, therefore I wouldn't want to always change it to a postive. I tried the abs function and it didn't do anything. I also tried encoding a negative sign and a zero, and doing a find for each. The finds work, but for some reason do not work if I embed if statements (if $neg = 'y' and $zero = 'y'). Rick_Creel@AON CONS.COM To: SQR-USERS@list.iex.net Sent by: cc: "Discussion of Subject: Re: negative zero SQR, Brio Technology's database reporting language" 10/15/01 10:17 AM Please respond to sqr-users Could you multiply it by -1 ? Or, could you use the absolute value (ABS) function? Sarah Moore on 10/15/2001 11:09:33 AM Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Rick Creel/IT/Aon Consulting) Subject: negative zero Is there a quick and easy way to change -0.00 to 0.00 (result field from add) ? I'm having trouble identifying the -0.0 value within the field to change it to a positive... From owner-sqr-users@list.iex.net Mon Oct 15 11:24:53 2001 Date: Mon, 15 Oct 2001 10:50:53 -0500 From: Karen Gunderson Subject: Re: negative zero Sarah, Are you just checking to see if you have a negative number? If so, you could just check if your value is less than zero (ex. If x < 0) If the value is negative, you could then use the ABS function to change it from a negative to a positive number (ex. let y = ABS(x)) Karen. Karen Gunderson Project Manager Division of Information Technology (DOIT) University of Wisconsin-Madison 608/265-9370 -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Sarah Moore Sent: Monday, October 15, 2001 10:44 AM To: SQR-USERS@list.iex.net Subject: Re: negative zero Well the problem is that I may have a valid negative number i.e: -123.00, therefore I wouldn't want to always change it to a postive. I tried the abs function and it didn't do anything. I also tried encoding a negative sign and a zero, and doing a find for each. The finds work, but for some reason do not work if I embed if statements (if $neg = 'y' and $zero = 'y'). Rick_Creel@AON CONS.COM To: SQR-USERS@list.iex.net Sent by: cc: "Discussion of Subject: Re: negative zero SQR, Brio Technology's database reporting language" 10/15/01 10:17 AM Please respond to sqr-users Could you multiply it by -1 ? Or, could you use the absolute value (ABS) function? Sarah Moore on 10/15/2001 11:09:33 AM Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Rick Creel/IT/Aon Consulting) Subject: negative zero Is there a quick and easy way to change -0.00 to 0.00 (result field from add) ? I'm having trouble identifying the -0.0 value within the field to change it to a positive... From owner-sqr-users@list.iex.net Mon Oct 15 10:56:04 2001 Date: Mon, 15 Oct 2001 11:51:41 -0400 From: Kevin Kroen Subject: Re: negative zero You get a negative 0 if you print out a value with an edit mask that rounds to certain number (so if x=-0.004444 and you print with an edit mask 9.99, it will print -0.00) Using an abs function when you print is the simplest way to get around this (or the more convulted way would be to check if the number is less than 0, if it is, multiply by -1, print it, and then change it back if its be used for a column total). Kevin Kroeen -----Original Message----- From: Ballesty, Lorraine [mailto:lorraine.ballesty@ROCHESTER.EDU] Sent: Monday, October 15, 2001 11:36 AM To: SQR-USERS@list.iex.net Subject: Re: negative zero I've never heard of getting a negative zero, but as long as you know the value is actually 0, try multiplying it by itself. (A positive times a positive equals a positive, and a negative times a negative equals a positive!) > -----Original Message----- > From: Sarah Moore [SMTP:smoore@NWTC.TEC.WI.US] > Sent: Monday, October 15, 2001 11:10 AM > To: SQR-USERS@list.iex.net > Subject: negative zero > > Is there a quick and easy way to change -0.00 to 0.00 (result field from > add) ? I'm having trouble identifying the -0.0 value within the field to > change it to a positive... ========================================================================= This message is intended for the named addressee(s) only and contains information that may be confidential, non-public or legally privileged. If you are not the intended recipient, you must not copy this message or attachment or disclose the contents to any other person. If you received this email in error, please contact the sender and permanently delete the email and any attachments. Unless expressly stated, opinions in this email are those of the individual sender and not of FX Alliance, LLC or its affiliates. ========================================================================= From owner-sqr-users@list.iex.net Mon Oct 15 11:06:06 2001 Date: Mon, 15 Oct 2001 11:53:23 -0400 From: Robert Huber Subject: Re: negative zero Perhaps you could share with us why this is a concern, and under what circumstances it occurs. -----Original Message----- From: Sarah Moore [mailto:smoore@NWTC.TEC.WI.US] Sent: Monday, October 15, 2001 11:10 AM To: SQR-USERS@list.iex.net Subject: negative zero Is there a quick and easy way to change -0.00 to 0.00 (result field from add) ? I'm having trouble identifying the -0.0 value within the field to change it to a positive... From owner-sqr-users@list.iex.net Mon Oct 15 11:10:36 2001 Date: Mon, 15 Oct 2001 16:53:55 +0100 From: "Paul O'Riordan" Subject: Re: negative zero Maybe by restructuring the way you add? instead of "Add #variable to #total" use "let #total = #total + #variable", or vise vearse. I dunno - maybe I'm clutching at straws here. Sarah Moore @list.iex.net> on 15/10/2001 16:43:48 Please respond to sqr-users@list.iex.net Sent by: "Discussion of SQR, Brio Technology's database reporting language" To: SQR-USERS@list.iex.net cc: Subject: Re: negative zero Well the problem is that I may have a valid negative number i.e: -123.00, therefore I wouldn't want to always change it to a postive. I tried the abs function and it didn't do anything. I also tried encoding a negative sign and a zero, and doing a find for each. The finds work, but for some reason do not work if I embed if statements (if $neg = 'y' and $zero = 'y'). Rick_Creel@AON CONS.COM To: SQR-USERS@list.iex.net Sent by: cc: "Discussion of Subject: Re: negative zero SQR, Brio Technology's database reporting language" 10/15/01 10:17 AM Please respond to sqr-users Could you multiply it by -1 ? Or, could you use the absolute value (ABS) function? Sarah Moore on 10/15/2001 11:09:33 AM Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Rick Creel/IT/Aon Consulting) Subject: negative zero Is there a quick and easy way to change -0.00 to 0.00 (result field from add) ? I'm having trouble identifying the -0.0 value within the field to change it to a positive... From owner-sqr-users@list.iex.net Mon Oct 15 12:02:33 2001 Date: Mon, 15 Oct 2001 10:59:05 -0500 From: Bob Helm Subject: Re: negative zero Strange. This is lengthy, but maybe you could convert it to a string, then look at the first one (or two) characters? -----Original Message----- From: Sarah Moore [mailto:smoore@NWTC.TEC.WI.US] Sent: Monday, October 15, 2001 10:44 AM To: SQR-USERS@list.iex.net Subject: Re: negative zero Well the problem is that I may have a valid negative number i.e: -123.00, therefore I wouldn't want to always change it to a postive. I tried the abs function and it didn't do anything. I also tried encoding a negative sign and a zero, and doing a find for each. The finds work, but for some reason do not work if I embed if statements (if $neg = 'y' and $zero = 'y'). Rick_Creel@AON CONS.COM To: SQR-USERS@list.iex.net Sent by: cc: "Discussion of Subject: Re: negative zero SQR, Brio Technology's database reporting language" 10/15/01 10:17 AM Please respond to sqr-users Could you multiply it by -1 ? Or, could you use the absolute value (ABS) function? Sarah Moore on 10/15/2001 11:09:33 AM Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Rick Creel/IT/Aon Consulting) Subject: negative zero Is there a quick and easy way to change -0.00 to 0.00 (result field from add) ? I'm having trouble identifying the -0.0 value within the field to change it to a positive... From owner-sqr-users@list.iex.net Mon Oct 15 11:22:27 2001 Date: Mon, 15 Oct 2001 11:00:01 -0500 From: Sarah Moore Subject: Re: negative zero I thought of that too, but I can't identify a -0 value. Checking for 0 does not find -0 (because it's less than 0). Neither does -0.00 or 0.00-. I'm probably overlooking something really simple, but what? "Ballesty, Lorraine" cc: Sent by: "Discussion of Subject: Re: negative zero SQR, Brio Technology's database reporting language" 10/15/01 10:36 AM Please respond to sqr-users I've never heard of getting a negative zero, but as long as you know the value is actually 0, try multiplying it by itself. (A positive times a positive equals a positive, and a negative times a negative equals a positive!) > -----Original Message----- > From: Sarah Moore [SMTP:smoore@NWTC.TEC.WI.US] > Sent: Monday, October 15, 2001 11:10 AM > To: SQR-USERS@list.iex.net > Subject: negative zero > > Is there a quick and easy way to change -0.00 to 0.00 (result field from > add) ? I'm having trouble identifying the -0.0 value within the field to > change it to a positive... From owner-sqr-users@list.iex.net Mon Oct 15 12:09:35 2001 Date: Mon, 15 Oct 2001 09:05:25 -0700 From: "Lynds,Rick" Subject: Re: negative zero I think what you have is a number like "-0.001". I did a (very) little test and got the results you described. What you may consider is rounding your number to 2 decimals i.e. let #amt = round(#amt, 2) it that would not mess up further calculations (or do it just before printing). HTH Rick Lynds Metropolitan Water District Well the problem is that I may have a valid negative number i.e: -123.00, therefore I wouldn't want to always change it to a postive. I tried the abs function and it didn't do anything. I also tried encoding a negative sign and a zero, and doing a find for each. The finds work, but for some reason do not work if I embed if statements (if $neg = 'y' and $zero = 'y'). From owner-sqr-users@list.iex.net Mon Oct 15 11:53:52 2001 Date: Mon, 15 Oct 2001 12:23:48 -0400 From: Sam Spritzer Subject: Re: negative zero Although it may be a very small number, I am wondering if there are enough rows of data with something in it that could give false results. I do recall a problem in Oracle 7 where the floating decimal wasn't always precise and somewhere around the 19th decimal position, there was something other than zero. Just my two cents (precisely!) Sam >>> rayo@ONTKO.COM 10/15/01 12:18 PM >>> The problem is actually that it's a very small number close to zero. Try: LET #x = round( #x , 2 ) Ray > I've never heard of getting a negative zero, but as long as you know the > value is actually 0, try multiplying it by itself. > > (A positive times a positive equals a positive, and a negative times a > negative equals a positive!) > > > -----Original Message----- > > From: Sarah Moore [SMTP:smoore@NWTC.TEC.WI.US] > > Sent: Monday, October 15, 2001 11:10 AM > > To: SQR-USERS@list.iex.net > > Subject: negative zero > > > > Is there a quick and easy way to change -0.00 to 0.00 (result field from > > add) ? I'm having trouble identifying the -0.0 value within the field to > > change it to a positive... > ---------------------------------------------------------------------- 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/ From owner-sqr-users@list.iex.net Mon Oct 15 11:27:47 2001 Date: Mon, 15 Oct 2001 12:25:24 -0400 From: Rick_Creel@AONCONS.COM Subject: Re: negative zero I tend to agree with Kevin, that the negative zero must be the result of using an edit mask. I ran the following test code and could not get a negative zero to display. !************************************************************************** begin-program move 123.000456 to #amt1 let #amt2 = #amt1 * -1 show #amt1 ' ' #amt2 add 123.000456 to #amt2 show #amt1 ' ' #amt2 let $amt = edit(#amt2, '9999.99') show $amt end-program !************************************************************************** This is the log file: 123.000456 -123.000456 123.000456 0.000000 0.00 =============================================================== Now, if I change the amount added such that it does not equal zero & rerun the code: begin-program move 123.000456 to #amt1 let #amt2 = #amt1 * -1 show #amt1 ' ' #amt2 add 123.000000 to #amt2 show #amt1 ' ' #amt2 let $amt = edit(#amt2, '9999.99') show $amt end-program !************************************************************************** Here is the log file with a negative zero: 123.000456 -123.000456 123.000456 -0.000456 -0.00 Kevin Kroen on 10/15/2001 11:51:41 AM Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Rick Creel/IT/Aon Consulting) Subject: Re: negative zero You get a negative 0 if you print out a value with an edit mask that rounds to certain number (so if x=-0.004444 and you print with an edit mask 9.99, it will print -0.00) Using an abs function when you print is the simplest way to get around this (or the more convulted way would be to check if the number is less than 0, if it is, multiply by -1, print it, and then change it back if its be used for a column total). Kevin Kroeen -----Original Message----- From: Ballesty, Lorraine [mailto:lorraine.ballesty@ROCHESTER.EDU] Sent: Monday, October 15, 2001 11:36 AM To: SQR-USERS@list.iex.net Subject: Re: negative zero I've never heard of getting a negative zero, but as long as you know the value is actually 0, try multiplying it by itself. (A positive times a positive equals a positive, and a negative times a negative equals a positive!) > -----Original Message----- > From: Sarah Moore [SMTP:smoore@NWTC.TEC.WI.US] > Sent: Monday, October 15, 2001 11:10 AM > To: SQR-USERS@list.iex.net > Subject: negative zero > > Is there a quick and easy way to change -0.00 to 0.00 (result field from > add) ? I'm having trouble identifying the -0.0 value within the field to > change it to a positive... ========================================================================= This message is intended for the named addressee(s) only and contains information that may be confidential, non-public or legally privileged. If you are not the intended recipient, you must not copy this message or attachment or disclose the contents to any other person. If you received this email in error, please contact the sender and permanently delete the email and any attachments. Unless expressly stated, opinions in this email are those of the individual sender and not of FX Alliance, LLC or its affiliates. ========================================================================= From owner-sqr-users@list.iex.net Mon Oct 15 11:37:41 2001 Date: Mon, 15 Oct 2001 11:27:38 -0500 From: Ray Ontko Subject: Re: negative zero This is not a problem with Oracle 7. This is fundamental to how SQR handles numbers which are NOT declared as DECIMAL. By default, numbers are created a "double", which means that almost all fractional values are handled as repeating binary fractions. In binary land, 0.5 and 0.25 are EXACT fractions, while 0.1, 0.2, 0.3 are actually repeating binary values. When you add up a pile of them or multiply them by their reciprocal, you may not get what you wanted. A similar thing happens in decimal land but for different values: 0.33333 * 3 = 0.99999, not 1.0. SO, I always make sure to round before printing or comparing such values. Starting with version 4 of sqr, you can also declare your numeric variables using DECLARE-VARIABLE and specify DECIMAL or INTEGER instead of FLOAT. Ray > Although it may be a very small number, I am wondering if there are enough rows of data with something in it that could give false results. I do recall a problem in Oracle 7 where the floating decimal wasn't always precise and somewhere around the 19th decimal position, there was something other than zero. > Just my two cents (precisely!) > Sam > > >>> rayo@ONTKO.COM 10/15/01 12:18 PM >>> > The problem is actually that it's a very small number close to zero. > Try: > > LET #x = round( #x , 2 ) > > Ray > > > I've never heard of getting a negative zero, but as long as you know the > > value is actually 0, try multiplying it by itself. > > > > (A positive times a positive equals a positive, and a negative times a > > negative equals a positive!) > > > > > -----Original Message----- > > > From: Sarah Moore [SMTP:smoore@NWTC.TEC.WI.US] > > > Sent: Monday, October 15, 2001 11:10 AM > > > To: SQR-USERS@list.iex.net > > > Subject: negative zero > > > > > > Is there a quick and easy way to change -0.00 to 0.00 (result field from > > > add) ? I'm having trouble identifying the -0.0 value within the field to > > > change it to a positive... > > > > ---------------------------------------------------------------------- > 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/ > ---------------------------------------------------------------------- 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/ From owner-sqr-users@list.iex.net Mon Oct 15 12:01:16 2001 Date: Mon, 15 Oct 2001 11:49:57 -0500 From: "Wendel, Robbi" Subject: Re: negative zero Are you rounding to a specific decimal? I ask because instead of -0 you may actually have -0.0000123. -----Original Message----- From: Sarah Moore [mailto:smoore@NWTC.TEC.WI.US] Sent: Monday, October 15, 2001 10:10 AM To: SQR-USERS@list.iex.net Subject: negative zero Is there a quick and easy way to change -0.00 to 0.00 (result field from add) ? I'm having trouble identifying the -0.0 value within the field to change it to a positive... From owner-sqr-users@list.iex.net Mon Oct 15 11:51:37 2001 Date: Mon, 15 Oct 2001 12:55:15 -0400 From: Sam Spritzer Subject: Re: negative zero Ray, Thanks for clarifying. Sam >>> rayo@ONTKO.COM 10/15/01 12:27PM >>> This is not a problem with Oracle 7. This is fundamental to how SQR handles numbers which are NOT declared as DECIMAL. By default, numbers are created a "double", which means that almost all fractional values are handled as repeating binary fractions. In binary land, 0.5 and 0.25 are EXACT fractions, while 0.1, 0.2, 0.3 are actually repeating binary values. When you add up a pile of them or multiply them by their reciprocal, you may not get what you wanted. A similar thing happens in decimal land but for different values: 0.33333 * 3 = 0.99999, not 1.0. SO, I always make sure to round before printing or comparing such values. Starting with version 4 of sqr, you can also declare your numeric variables using DECLARE-VARIABLE and specify DECIMAL or INTEGER instead of FLOAT. Ray > Although it may be a very small number, I am wondering if there are enough rows of data with something in it that could give false results. I do recall a problem in Oracle 7 where the floating decimal wasn't always precise and somewhere around the 19th decimal position, there was something other than zero. > Just my two cents (precisely!) > Sam > > >>> rayo@ONTKO.COM 10/15/01 12:18 PM >>> > The problem is actually that it's a very small number close to zero. > Try: > > LET #x = round( #x , 2 ) > > Ray > > > I've never heard of getting a negative zero, but as long as you know the > > value is actually 0, try multiplying it by itself. > > > > (A positive times a positive equals a positive, and a negative times a > > negative equals a positive!) > > > > > -----Original Message----- > > > From: Sarah Moore [SMTP:smoore@NWTC.TEC.WI.US] > > > Sent: Monday, October 15, 2001 11:10 AM > > > To: SQR-USERS@list.iex.net > > > Subject: negative zero > > > > > > Is there a quick and easy way to change -0.00 to 0.00 (result field from > > > add) ? I'm having trouble identifying the -0.0 value within the field to > > > change it to a positive... > > > > ---------------------------------------------------------------------- > 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/ > ---------------------------------------------------------------------- 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/ From owner-sqr-users@list.iex.net Mon Oct 15 13:14:47 2001 Date: Mon, 15 Oct 2001 13:12:43 -0500 From: Sarah Moore Subject: Re: negative zero Rounding took care of the problem. Thanks to all for your suggestions. "Lynds,Rick" cc: Sent by: Subject: Re: negative zero "Discussion of SQR, Brio Technology's database reporting language" 10/15/01 11:05 AM Please respond to sqr-users I think what you have is a number like "-0.001". I did a (very) little test and got the results you described. What you may consider is rounding your number to 2 decimals i.e. let #amt = round(#amt, 2) it that would not mess up further calculations (or do it just before printing). HTH Rick Lynds Metropolitan Water District Well the problem is that I may have a valid negative number i.e: -123.00, therefore I wouldn't want to always change it to a postive. I tried the abs function and it didn't do anything. I also tried encoding a negative sign and a zero, and doing a find for each. The finds work, but for some reason do not work if I embed if statements (if $neg = 'y' and $zero = 'y'). From owner-sqr-users@list.iex.net Mon Oct 15 10:53:22 2001 Date: Mon, 15 Oct 2001 23:52:32 -0400 From: Stephen Keen Subject: Re: negative zero let $result1 = #result if substr($result1,1,4) = '0.00' the substr x,x may need to be adjusted you got it end-if it -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Sarah Moore Sent: Monday, October 15, 2001 11:10 AM To: SQR-USERS@list.iex.net Subject: negative zero Is there a quick and easy way to change -0.00 to 0.00 (result field from add) ? I'm having trouble identifying the -0.0 value within the field to change it to a positive... From owner-sqr-users@list.iex.net Mon Oct 15 15:53:46 2001 Date: Mon, 15 Oct 2001 14:51:57 -0600 From: Curtis Whitman Subject: Workbench problem Has anyone seen this type of error with Workbench? I can connect to the database via File, Logon Database and can see the tables and field names. But then I try to run the report I get the following error. Please let me know of any thoughts you may have. From owner-sqr-users@list.iex.net Tue Oct 16 08:07:16 2001 Date: Tue, 16 Oct 2001 06:02:06 -0700 From: geetha kethireddy Subject: Re: Workbench problem What is the error? Geetha --- Curtis Whitman wrote: > Has anyone seen this type of error with Workbench? > I can connect to the > database via File, Logon Database and can see the > tables and field names. > But then I try to run the report I get the following > error. Please let me > know of any thoughts you may have. __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com From owner-sqr-users@list.iex.net Tue Oct 16 08:32:30 2001 Date: Tue, 16 Oct 2001 09:29:55 -0400 From: Scott Eubank Subject: freaky SQR/SQL problem when run from the CLIENT. background: database , server: DB2, RS/6000 client : win2000 sqr 4.3.4 problem: I have an SQL statement that I created and then ran in DB2 command center and retrieved results. I then moved the Query to an SQR (yes my syntax is correct). the DBA monitored the process and noticed it turned into a Cartesian join, he cut out the SQL and emailed it to me.... IT WAS NOTHING LIKE WHAT I HAD SUBMITTED... It seemed like the Query Optimizer had modified the Query trying to make it more efficient and hosed it up in the process. ( We had a similar problem last week, when we ran the query directly on the RS6000 DB Server it ran fine, but in client mode would corrupt) QUESTION: Have any of you encountered this problem before? NOTE: I have enclosed my SQL for information purpose's, I am not interested in ways to tune it. I am interested in what is happening and why? My DBA is a little confused as I am. Doesn't make sense to me whats happening. !=========================================================================== == ! actual Query !=========================================================================== == Begin-SELECT A.EMPLID , NID.National_ID, A.LOCATION, A.JOB_ENTRY_DT, A.COMPANY, A.EMPL_TYPE, A.ACTION, A.ACTION_REASON, B.NAME, B.ADDRESS1, B.ADDRESS2, B.CITY, B.STATE, B.POSTAL, B.EMPLID, E.ERNCD, E.COMPANY, E.BALANCE_ID, E.BALANCE_YEAR, E.BALANCE_PERIOD, E.BALANCE_QTR, E.GRS_YTD, E.HRS_YTD FROM PS_JOB A, PS_PERSONAL_DATA B, PS_EARNINGS_BAL E, PS_PERS_NID NID WHERE A.EMPLID = B.EMPLID AND A.EMPLID = E.EMPLID AND A.EMPLID = NID.EMPLID AND ( A.EFFDT = (SELECT MAX(A_ED.EFFDT) FROM PS_JOB A_ED WHERE A.EMPLID = A_ED.EMPLID AND A.EMPL_RCD# = A_ED.EMPL_RCD# AND A_ED.EFFDT <= CURRENT DATE) AND A.EFFSEQ = (SELECT MAX(A_ES.EFFSEQ) FROM PS_JOB A_ES WHERE A.EMPLID = A_ES.EMPLID AND A.EMPL_RCD# = A_ES.EMPL_RCD# AND A.EFFDT = A_ES.EFFDT)) AND E.BALANCE_YEAR = 2001 AND E.ERNCD = '401' AND E.BALANCE_PERIOD = ( Select max(E2.BALANCE_PERIOD) from PS_EARNINGS_BAL E2 WHERE A.EMPLID = E2.EMPLID) end-select ============================================================================ ===== ============================================================================ ===== RESULTS from DBA monitoring TOOL ============================================================================ ===== SELECT A.EMPLID , NID.NATIONAL_ID , E.ERNCD , E.COMPANY , E.BALANCE_ID , E.BALANCE_YEAR , E.BALANCE_PERIOD , E.BALANCE_QTR , A.LOCATION , A.JOB_ENTRY_DT , A.COMPANY , A.EMPL_TYPE , A.ACTION , A.ACTION_REASON , B.NAME , B.ADDRESS1 , B.ADDRESS2 , B.CITY , B.STATE , B.POSTAL , B.EMPLID , E.GRS_YTD , E.HRS_YTD , A."EFFDT" , A."EFFSEQ" , A."EMPL_RCD#" , E."EMPLID" , E."SPCL_BALANCE" , NID."COUNTRY" , NID."EMPLID" , NID."NATIONAL_ID_TYPE" FROM "HRDEV".PS_JOB A , "HRDEV".PS_PERS_NID NID , "HRDEV".PS_EARNINGS_BAL E , "HRDEV".PS_PERSONAL_DATA B WHERE ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) From owner-sqr-users@list.iex.net Tue Oct 16 10:09:44 2001 Date: Tue, 16 Oct 2001 10:02:05 -0400 From: "Hood Louise (app1lxh)" Subject: Re: freaky SQR/SQL problem when run from the CLIENT. Scott, I'm not sure if these are the cause of the problem, but there were three things I noticed: 1. lose the commas after each data column in your list of begin-select items--they don't need to be there (this is probably not the cause, though). 2. on the following, is there actually a space in the current date name or a typo in email? AND ( A.EFFDT = (SELECT MAX(A_ED.EFFDT) FROM PS_JOB A_ED WHERE A.EMPLID = A_ED.EMPLID AND A.EMPL_RCD# = A_ED.EMPL_RCD# AND A_ED.EFFDT <= CURRENT DATE) 3. on the last WHERE criteria with a sub-select, instead of AND E.BALANCE_PERIOD = ( Select max(E2.BALANCE_PERIOD) from PS_EARNINGS_BAL E2 WHERE A.EMPLID = E2.EMPLID) why not use: AND E.BALANCE_PERIOD = ( Select max(E2.BALANCE_PERIOD) from PS_EARNINGS_BAL E2 WHERE E.EMPLID = E2.EMPLID) This may not make any difference, but it may be a good place to start. HTH, Louise -----Original Message----- From: Scott Eubank [mailto:SEUBANK@ADVANCEAUTOPARTS.COM] Sent: Tuesday, October 16, 2001 9:30 AM To: SQR-USERS@list.iex.net Subject: freaky SQR/SQL problem when run from the CLIENT. background: database , server: DB2, RS/6000 client : win2000 sqr 4.3.4 problem: I have an SQL statement that I created and then ran in DB2 command center and retrieved results. I then moved the Query to an SQR (yes my syntax is correct). the DBA monitored the process and noticed it turned into a Cartesian join, he cut out the SQL and emailed it to me.... IT WAS NOTHING LIKE WHAT I HAD SUBMITTED... It seemed like the Query Optimizer had modified the Query trying to make it more efficient and hosed it up in the process. ( We had a similar problem last week, when we ran the query directly on the RS6000 DB Server it ran fine, but in client mode would corrupt) QUESTION: Have any of you encountered this problem before? NOTE: I have enclosed my SQL for information purpose's, I am not interested in ways to tune it. I am interested in what is happening and why? My DBA is a little confused as I am. Doesn't make sense to me whats happening. !=========================================================================== == ! actual Query !=========================================================================== == Begin-SELECT A.EMPLID , NID.National_ID, A.LOCATION, A.JOB_ENTRY_DT, A.COMPANY, A.EMPL_TYPE, A.ACTION, A.ACTION_REASON, B.NAME, B.ADDRESS1, B.ADDRESS2, B.CITY, B.STATE, B.POSTAL, B.EMPLID, E.ERNCD, E.COMPANY, E.BALANCE_ID, E.BALANCE_YEAR, E.BALANCE_PERIOD, E.BALANCE_QTR, E.GRS_YTD, E.HRS_YTD FROM PS_JOB A, PS_PERSONAL_DATA B, PS_EARNINGS_BAL E, PS_PERS_NID NID WHERE A.EMPLID = B.EMPLID AND A.EMPLID = E.EMPLID AND A.EMPLID = NID.EMPLID AND ( A.EFFDT = (SELECT MAX(A_ED.EFFDT) FROM PS_JOB A_ED WHERE A.EMPLID = A_ED.EMPLID AND A.EMPL_RCD# = A_ED.EMPL_RCD# AND A_ED.EFFDT <= CURRENT DATE) AND A.EFFSEQ = (SELECT MAX(A_ES.EFFSEQ) FROM PS_JOB A_ES WHERE A.EMPLID = A_ES.EMPLID AND A.EMPL_RCD# = A_ES.EMPL_RCD# AND A.EFFDT = A_ES.EFFDT)) AND E.BALANCE_YEAR = 2001 AND E.ERNCD = '401' AND E.BALANCE_PERIOD = ( Select max(E2.BALANCE_PERIOD) from PS_EARNINGS_BAL E2 WHERE A.EMPLID = E2.EMPLID) end-select ============================================================================ ===== ============================================================================ ===== RESULTS from DBA monitoring TOOL ============================================================================ ===== SELECT A.EMPLID , NID.NATIONAL_ID , E.ERNCD , E.COMPANY , E.BALANCE_ID , E.BALANCE_YEAR , E.BALANCE_PERIOD , E.BALANCE_QTR , A.LOCATION , A.JOB_ENTRY_DT , A.COMPANY , A.EMPL_TYPE , A.ACTION , A.ACTION_REASON , B.NAME , B.ADDRESS1 , B.ADDRESS2 , B.CITY , B.STATE , B.POSTAL , B.EMPLID , E.GRS_YTD , E.HRS_YTD , A."EFFDT" , A."EFFSEQ" , A."EMPL_RCD#" , E."EMPLID" , E."SPCL_BALANCE" , NID."COUNTRY" , NID."EMPLID" , NID."NATIONAL_ID_TYPE" FROM "HRDEV".PS_JOB A , "HRDEV".PS_PERS_NID NID , "HRDEV".PS_EARNINGS_BAL E , "HRDEV".PS_PERSONAL_DATA B WHERE ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) From owner-sqr-users@list.iex.net Tue Oct 16 09:57:51 2001 Date: Tue, 16 Oct 2001 10:52:14 -0400 From: George Jansen Subject: Re: freaky SQR/SQL problem when run from the CLIENT. It seems far more likely that it is DB2 fooling with the SQL. If you run your SQR with the -S flag, what does it show the cursor as? If you dig through your database theory books, you'll see that a join _is_ a restriction of a Cartesian product. It seems an odd and inefficient way to get there, though. Is it possible that your optimizer is running with bogus statistics? In the Oracle world, that's what I'd look for; I don't know how DB2 works. And what is the actual access path being used? >>> SEUBANK@ADVANCEAUTOPARTS.COM 10/16/01 09:29AM >>> background: database , server: DB2, RS/6000 client : win2000 sqr 4.3.4 problem: I have an SQL statement that I created and then ran in DB2 command center and retrieved results. I then moved the Query to an SQR (yes my syntax is correct). the DBA monitored the process and noticed it turned into a Cartesian join, he cut out the SQL and emailed it to me.... IT WAS NOTHING LIKE WHAT I HAD SUBMITTED... It seemed like the Query Optimizer had modified the Query trying to make it more efficient and hosed it up in the process. ( We had a similar problem last week, when we ran the query directly on the RS6000 DB Server it ran fine, but in client mode would corrupt) QUESTION: Have any of you encountered this problem before? NOTE: I have enclosed my SQL for information purpose's, I am not interested in ways to tune it. I am interested in what is happening and why? My DBA is a little confused as I am. Doesn't make sense to me whats happening. !=========================================================================== == ! actual Query !=========================================================================== == Begin-SELECT A.EMPLID , NID.National_ID, A.LOCATION, A.JOB_ENTRY_DT, A.COMPANY, A.EMPL_TYPE, A.ACTION, A.ACTION_REASON, B.NAME, B.ADDRESS1, B.ADDRESS2, B.CITY, B.STATE, B.POSTAL, B.EMPLID, E.ERNCD, E.COMPANY, E.BALANCE_ID, E.BALANCE_YEAR, E.BALANCE_PERIOD, E.BALANCE_QTR, E.GRS_YTD, E.HRS_YTD FROM PS_JOB A, PS_PERSONAL_DATA B, PS_EARNINGS_BAL E, PS_PERS_NID NID WHERE A.EMPLID = B.EMPLID AND A.EMPLID = E.EMPLID AND A.EMPLID = NID.EMPLID AND ( A.EFFDT = (SELECT MAX(A_ED.EFFDT) FROM PS_JOB A_ED WHERE A.EMPLID = A_ED.EMPLID AND A.EMPL_RCD# = A_ED.EMPL_RCD# AND A_ED.EFFDT <= CURRENT DATE) AND A.EFFSEQ = (SELECT MAX(A_ES.EFFSEQ) FROM PS_JOB A_ES WHERE A.EMPLID = A_ES.EMPLID AND A.EMPL_RCD# = A_ES.EMPL_RCD# AND A.EFFDT = A_ES.EFFDT)) AND E.BALANCE_YEAR = 2001 AND E.ERNCD = '401' AND E.BALANCE_PERIOD = ( Select max(E2.BALANCE_PERIOD) from PS_EARNINGS_BAL E2 WHERE A.EMPLID = E2.EMPLID) end-select ============================================================================ ===== ============================================================================ ===== RESULTS from DBA monitoring TOOL ============================================================================ ===== SELECT A.EMPLID , NID.NATIONAL_ID , E.ERNCD , E.COMPANY , E.BALANCE_ID , E.BALANCE_YEAR , E.BALANCE_PERIOD , E.BALANCE_QTR , A.LOCATION , A.JOB_ENTRY_DT , A.COMPANY , A.EMPL_TYPE , A.ACTION , A.ACTION_REASON , B.NAME , B.ADDRESS1 , B.ADDRESS2 , B.CITY , B.STATE , B.POSTAL , B.EMPLID , E.GRS_YTD , E.HRS_YTD , A."EFFDT" , A."EFFSEQ" , A."EMPL_RCD#" , E."EMPLID" , E."SPCL_BALANCE" , NID."COUNTRY" , NID."EMPLID" , NID."NATIONAL_ID_TYPE" FROM "HRDEV".PS_JOB A , "HRDEV".PS_PERS_NID NID , "HRDEV".PS_EARNINGS_BAL E , "HRDEV".PS_PERSONAL_DATA B WHERE ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) From owner-sqr-users@list.iex.net Tue Oct 16 10:21:35 2001 Date: Tue, 16 Oct 2001 15:16:49 -0000 From: "Maculsay, Gary R" Subject: Re: freaky SQR/SQL problem when run from the CLIENT. I'm using sqr 6.1.3 on solaris, using db2 connect to get to os390/db2. I've seen lots of problems with sqr butchering the sequel BEFORE passing it to the dbms, mostly whenever you try to do something entirely reasonable, like using advanced sequel techniques such as NTE's, etc. Sometimes sqr sends only half the statement, which dies in the prepare, of course. I've had to resort to shoving the entire statement into a variable, just to keep sqr from messing it up. This works _most_ of the time, but leaves us with undesirable side effects (repetitive sequel has to be prepared each time). Once you remove the commas on the column criteria, you might want to consider using explicit INNER JOIN syntax. We've getting used to wiggling the sequel to get it to work. I wish I knew exactly what the pre-parser in sqr was doing. To be fair, it's almost impossible to handle all the nuances of a sequel dialect - I just wish it worked as well as the Oracle parser. Good luck! Gary -----Original Message----- From: Scott Eubank [mailto:SEUBANK@ADVANCEAUTOPARTS.COM] Sent: Tuesday, October 16, 2001 6:30 AM To: SQR-USERS@list.iex.net Subject: freaky SQR/SQL problem when run from the CLIENT. background: database , server: DB2, RS/6000 client : win2000 sqr 4.3.4 problem: I have an SQL statement that I created and then ran in DB2 command center and retrieved results. I then moved the Query to an SQR (yes my syntax is correct). the DBA monitored the process and noticed it turned into a Cartesian join, he cut out the SQL and emailed it to me.... IT WAS NOTHING LIKE WHAT I HAD SUBMITTED... It seemed like the Query Optimizer had modified the Query trying to make it more efficient and hosed it up in the process. ( We had a similar problem last week, when we ran the query directly on the RS6000 DB Server it ran fine, but in client mode would corrupt) QUESTION: Have any of you encountered this problem before? NOTE: I have enclosed my SQL for information purpose's, I am not interested in ways to tune it. I am interested in what is happening and why? My DBA is a little confused as I am. Doesn't make sense to me whats happening. !=========================================================================== == ! actual Query !=========================================================================== == Begin-SELECT A.EMPLID , NID.National_ID, A.LOCATION, A.JOB_ENTRY_DT, A.COMPANY, A.EMPL_TYPE, A.ACTION, A.ACTION_REASON, B.NAME, B.ADDRESS1, B.ADDRESS2, B.CITY, B.STATE, B.POSTAL, B.EMPLID, E.ERNCD, E.COMPANY, E.BALANCE_ID, E.BALANCE_YEAR, E.BALANCE_PERIOD, E.BALANCE_QTR, E.GRS_YTD, E.HRS_YTD FROM PS_JOB A, PS_PERSONAL_DATA B, PS_EARNINGS_BAL E, PS_PERS_NID NID WHERE A.EMPLID = B.EMPLID AND A.EMPLID = E.EMPLID AND A.EMPLID = NID.EMPLID AND ( A.EFFDT = (SELECT MAX(A_ED.EFFDT) FROM PS_JOB A_ED WHERE A.EMPLID = A_ED.EMPLID AND A.EMPL_RCD# = A_ED.EMPL_RCD# AND A_ED.EFFDT <= CURRENT DATE) AND A.EFFSEQ = (SELECT MAX(A_ES.EFFSEQ) FROM PS_JOB A_ES WHERE A.EMPLID = A_ES.EMPLID AND A.EMPL_RCD# = A_ES.EMPL_RCD# AND A.EFFDT = A_ES.EFFDT)) AND E.BALANCE_YEAR = 2001 AND E.ERNCD = '401' AND E.BALANCE_PERIOD = ( Select max(E2.BALANCE_PERIOD) from PS_EARNINGS_BAL E2 WHERE A.EMPLID = E2.EMPLID) end-select ============================================================================ ===== ============================================================================ ===== RESULTS from DBA monitoring TOOL ============================================================================ ===== SELECT A.EMPLID , NID.NATIONAL_ID , E.ERNCD , E.COMPANY , E.BALANCE_ID , E.BALANCE_YEAR , E.BALANCE_PERIOD , E.BALANCE_QTR , A.LOCATION , A.JOB_ENTRY_DT , A.COMPANY , A.EMPL_TYPE , A.ACTION , A.ACTION_REASON , B.NAME , B.ADDRESS1 , B.ADDRESS2 , B.CITY , B.STATE , B.POSTAL , B.EMPLID , E.GRS_YTD , E.HRS_YTD , A."EFFDT" , A."EFFSEQ" , A."EMPL_RCD#" , E."EMPLID" , E."SPCL_BALANCE" , NID."COUNTRY" , NID."EMPLID" , NID."NATIONAL_ID_TYPE" FROM "HRDEV".PS_JOB A , "HRDEV".PS_PERS_NID NID , "HRDEV".PS_EARNINGS_BAL E , "HRDEV".PS_PERSONAL_DATA B WHERE ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) OR ( A.EMPLID = ? AND E.ERNCD = ? AND E.COMPANY = ? AND E.BALANCE_ID = ? AND E.BALANCE_YEAR = ? AND E.BALANCE_PERIOD = ? AND E.BALANCE_QTR = ? AND B.EMPLID = ? AND A."EFFDT" = ? AND A."EFFSEQ" = ? AND A."EMPL_RCD#" = ? AND E."EMPLID" = ? AND E."SPCL_BALANCE" = ? AND NID."COUNTRY" = ? AND NID."EMPLID" = ? AND NID."NATIONAL_ID_TYPE" = ? ) From owner-sqr-users@list.iex.net Tue Oct 16 09:17:24 2001 Date: Tue, 16 Oct 2001 09:14:33 -0500 From: "Benzenhafer, Dave" Subject: Windows 2000 Question I am using Visual Sqribe 5.0 with SQR Server 4.3.4 and have recently upgraded to Windows 2000. Everything seems to work fine except when I try to save the file, I get an Visual Sqribe error message that says "an unnamed file was not found". I can use the Save As but then have to close and reopen the file to work on it again. Also a MFC99.tmp file is created in the directory in which the sqr file resides. Has anyone run into this problem? Is there a setting or file I need or is Visual Sqribe 5.0 just not compatible with Windows 2000. Dave Benzenhafer From owner-sqr-users@list.iex.net Tue Oct 16 10:06:20 2001 Date: Tue, 16 Oct 2001 11:02:55 -0400 From: "Ballesty, Lorraine" Subject: Re: Windows 2000 Question Dave - We are dealing with the same problem. Current consensus is that Windows 2000 does not recognize the c:\temp directory, which is our default for files created on the client. I've heard of various fixes, including setting your normal output directory to another name and changing the program defaults. ($Outfile = 'C:\not_temp\xxx.sqr' ?) I'm open to suggestion. Lorraine Ballesty, Analyst/Programmer Lead HRIS, Information Technology Services University of Rochester phone: (716) 273-2606 pager: (716) 220-0803 e-mail: LBallesty@ACS.Rochester.edu > -----Original Message----- > From: Benzenhafer, Dave [SMTP:DBenzenhafer@HOUSTON.DEEPWATER.COM] > Sent: Tuesday, October 16, 2001 10:15 AM > To: SQR-USERS@list.iex.net > Subject: Windows 2000 Question > > I am using Visual Sqribe 5.0 with SQR Server 4.3.4 and have recently > upgraded to Windows 2000. Everything seems to work fine except when I try > to > save the file, I get an Visual Sqribe error message that says "an unnamed > file was not found". I can use the Save As but then have to close and > reopen > the file to work on it again. Also a MFC99.tmp file is created in the > directory in which the sqr file resides. > > Has anyone run into this problem? Is there a setting or file I need or is > Visual Sqribe 5.0 just not compatible with Windows 2000. > > Dave Benzenhafer From owner-sqr-users@list.iex.net Tue Oct 16 10:13:29 2001 Date: Tue, 16 Oct 2001 11:06:13 -0400 From: Peter Burton Subject: Re: Windows 2000 Question Try changing the access controls on C:\TEMP so *EVERYONE* has Full Control. Peter Alan Burton, A.S.E. -----Original Message----- From: Ballesty, Lorraine [mailto:lorraine.ballesty@ROCHESTER.EDU] Sent: Tuesday, October 16, 2001 11:03 AM To: SQR-USERS@list.iex.net Subject: Re: Windows 2000 Question Dave - We are dealing with the same problem. Current consensus is that Windows 2000 does not recognize the c:\temp directory, which is our default for files created on the client. I've heard of various fixes, including setting your normal output directory to another name and changing the program defaults. ($Outfile = 'C:\not_temp\xxx.sqr' ?) I'm open to suggestion. Lorraine Ballesty, Analyst/Programmer Lead HRIS, Information Technology Services University of Rochester phone: (716) 273-2606 pager: (716) 220-0803 e-mail: LBallesty@ACS.Rochester.edu > -----Original Message----- > From: Benzenhafer, Dave [SMTP:DBenzenhafer@HOUSTON.DEEPWATER.COM] > Sent: Tuesday, October 16, 2001 10:15 AM > To: SQR-USERS@list.iex.net > Subject: Windows 2000 Question > > I am using Visual Sqribe 5.0 with SQR Server 4.3.4 and have recently > upgraded to Windows 2000. Everything seems to work fine except when I try > to > save the file, I get an Visual Sqribe error message that says "an unnamed > file was not found". I can use the Save As but then have to close and > reopen > the file to work on it again. Also a MFC99.tmp file is created in the > directory in which the sqr file resides. > > Has anyone run into this problem? Is there a setting or file I need or is > Visual Sqribe 5.0 just not compatible with Windows 2000. > > Dave Benzenhafer From owner-sqr-users@list.iex.net Tue Oct 16 10:23:10 2001 Date: Tue, 16 Oct 2001 10:19:43 -0500 From: "Wendel, Robbi" Subject: Re: Windows 2000 Question -----Original Message----- From: Ballesty, Lorraine [mailto:lorraine.ballesty@ROCHESTER.EDU] Sent: Tuesday, October 16, 2001 10:03 AM To: SQR-USERS@list.iex.net Subject: Re: Windows 2000 Question Dave - We are dealing with the same problem. Current consensus is that Windows 2000 does not recognize the c:\temp directory, which is our default for files created on the client. I've heard of various fixes, including setting your normal output directory to another name and changing the program defaults. ($Outfile = 'C:\not_temp\xxx.sqr' ?) I'm open to suggestion. Lorraine Ballesty, Analyst/Programmer Lead HRIS, Information Technology Services University of Rochester phone: (716) 273-2606 pager: (716) 220-0803 e-mail: LBallesty@ACS.Rochester.edu > -----Original Message----- > From: Benzenhafer, Dave [SMTP:DBenzenhafer@HOUSTON.DEEPWATER.COM] > Sent: Tuesday, October 16, 2001 10:15 AM > To: SQR-USERS@list.iex.net > Subject: Windows 2000 Question > > I am using Visual Sqribe 5.0 with SQR Server 4.3.4 and have recently > upgraded to Windows 2000. Everything seems to work fine except when I try > to > save the file, I get an Visual Sqribe error message that says "an unnamed > file was not found". I can use the Save As but then have to close and > reopen > the file to work on it again. Also a MFC99.tmp file is created in the > directory in which the sqr file resides. > > Has anyone run into this problem? Is there a setting or file I need or is > Visual Sqribe 5.0 just not compatible with Windows 2000. > > Dave Benzenhafer From owner-sqr-users@list.iex.net Tue Oct 16 10:50:43 2001 Date: Tue, 16 Oct 2001 08:46:04 -0700 From: Charllotte Hurt Subject: Re: Windows 2000 Question We were having a similar problem running sqrs with PeopleSoft. PeopleSoft's resolution is to create a new folder under sqrbinw called binw and move the file from sqrbinw to binw. Then we modified SQRDIR and SQRBIN in our configs. This worked for us both on 2000 machines and the older Windows versions. There was also a solution provided by the University of Houston which involved a registry fix. This fix would have to be done on each client machine, so we chose the other route. If you want this fix, I can send that to you also. >>> DBenzenhafer@HOUSTON.DEEPWATER.COM 10/16/01 07:14AM >>> I am using Visual Sqribe 5.0 with SQR Server 4.3.4 and have recently upgraded to Windows 2000. Everything seems to work fine except when I try to save the file, I get an Visual Sqribe error message that says "an unnamed file was not found". I can use the Save As but then have to close and reopen the file to work on it again. Also a MFC99.tmp file is created in the directory in which the sqr file resides. Has anyone run into this problem? Is there a setting or file I need or is Visual Sqribe 5.0 just not compatible with Windows 2000. Dave Benzenhafer From owner-sqr-users@list.iex.net Tue Oct 16 10:53:54 2001 Date: Tue, 16 Oct 2001 10:49:58 -0500 From: "Hins, Thomas D." Subject: Re: Windows 2000 Question I had major problems when I installed SP2 with various programs that were directed to c:\temp via an ini file or other on the network. C:\temp had permissions granted to all but still had the problem of being recognized. Since the programs called bat files, etc on the network , the only way we decided we could fix the problem was to revert to SP1. I removed SP2 and things started working again. This doesn't solve the problem for the future but it was also what I found in the archives. 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 -----Original Message----- From: Wendel, Robbi [mailto:rwendel@NESPOWER.COM] Sent: Tuesday, October 16, 2001 10:20 AM To: SQR-USERS@list.iex.net Subject: Re: Windows 2000 Question -----Original Message----- From: Ballesty, Lorraine [mailto:lorraine.ballesty@ROCHESTER.EDU] Sent: Tuesday, October 16, 2001 10:03 AM To: SQR-USERS@list.iex.net Subject: Re: Windows 2000 Question Dave - We are dealing with the same problem. Current consensus is that Windows 2000 does not recognize the c:\temp directory, which is our default for files created on the client. I've heard of various fixes, including setting your normal output directory to another name and changing the program defaults. ($Outfile = 'C:\not_temp\xxx.sqr' ?) I'm open to suggestion. Lorraine Ballesty, Analyst/Programmer Lead HRIS, Information Technology Services University of Rochester phone: (716) 273-2606 pager: (716) 220-0803 e-mail: LBallesty@ACS.Rochester.edu > -----Original Message----- > From: Benzenhafer, Dave [SMTP:DBenzenhafer@HOUSTON.DEEPWATER.COM] > Sent: Tuesday, October 16, 2001 10:15 AM > To: SQR-USERS@list.iex.net > Subject: Windows 2000 Question > > I am using Visual Sqribe 5.0 with SQR Server 4.3.4 and have recently > upgraded to Windows 2000. Everything seems to work fine except when I try > to > save the file, I get an Visual Sqribe error message that says "an unnamed > file was not found". I can use the Save As but then have to close and > reopen > the file to work on it again. Also a MFC99.tmp file is created in the > directory in which the sqr file resides. > > Has anyone run into this problem? Is there a setting or file I need or is > Visual Sqribe 5.0 just not compatible with Windows 2000. > > Dave Benzenhafer From owner-sqr-users@list.iex.net Tue Oct 16 11:05:53 2001 Date: Tue, 16 Oct 2001 09:01:47 -0700 From: Charllotte Hurt Subject: Re: Windows 2000 Question As I mentioned, this was from the University of Houston, posted 9/4/01 on another listserve. A simple registry fix on Windows 2000 machine did the trick for University of Houston. The registry hack to solve this SP2 / Windows 2000 Application Update conflict with SQR report. After installing SP2 and/or Windows 2000 Application Update, just open REGEDIT and delete the following key branch entirely: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\AppCompatibility\sqrw.exe >>> "Ben Stevens" 10/16/01 08:57AM >>> Could you post the registry fix you mentioned to the discussion group? thank you -b -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Charllotte Hurt Sent: Tuesday, October 16, 2001 10:46 AM To: SQR-USERS@list.iex.net Subject: Re: Windows 2000 Question We were having a similar problem running sqrs with PeopleSoft. PeopleSoft's resolution is to create a new folder under sqrbinw called binw and move the file from sqrbinw to binw. Then we modified SQRDIR and SQRBIN in our configs. This worked for us both on 2000 machines and the older Windows versions. There was also a solution provided by the University of Houston which involved a registry fix. This fix would have to be done on each client machine, so we chose the other route. If you want this fix, I can send that to you also. >>> DBenzenhafer@HOUSTON.DEEPWATER.COM 10/16/01 07:14AM >>> I am using Visual Sqribe 5.0 with SQR Server 4.3.4 and have recently upgraded to Windows 2000. Everything seems to work fine except when I try to save the file, I get an Visual Sqribe error message that says "an unnamed file was not found". I can use the Save As but then have to close and reopen the file to work on it again. Also a MFC99.tmp file is created in the directory in which the sqr file resides. Has anyone run into this problem? Is there a setting or file I need or is Visual Sqribe 5.0 just not compatible with Windows 2000. Dave Benzenhafer From owner-sqr-users@list.iex.net Tue Oct 16 15:43:43 2001 Date: Tue, 16 Oct 2001 15:42:21 -0500 From: "Benzenhafer, Dave" Subject: Re: Windows 2000 Question I tried the regedit fix without any success. I have looked all through the sqr.ini file and could find no default output directory. I checked all of the Preferences in Visual Sqribe for anything that said C:\temp. Can anybody point to how to change the Default Output Directory in Visual Scribe? Dave Benzenhafer -----Original Message----- From: Charllotte Hurt [mailto:CHurt@YAR.MIRACOSTA.CC.CA.US] Sent: Tuesday, October 16, 2001 11:02 AM To: SQR-USERS@list.iex.net Subject: Re: Windows 2000 Question As I mentioned, this was from the University of Houston, posted 9/4/01 on another listserve. A simple registry fix on Windows 2000 machine did the trick for University of Houston. The registry hack to solve this SP2 / Windows 2000 Application Update conflict with SQR report. After installing SP2 and/or Windows 2000 Application Update, just open REGEDIT and delete the following key branch entirely: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\AppCompatibility\sqrw.exe >>> "Ben Stevens" 10/16/01 08:57AM >>> Could you post the registry fix you mentioned to the discussion group? thank you -b -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Charllotte Hurt Sent: Tuesday, October 16, 2001 10:46 AM To: SQR-USERS@list.iex.net Subject: Re: Windows 2000 Question We were having a similar problem running sqrs with PeopleSoft. PeopleSoft's resolution is to create a new folder under sqrbinw called binw and move the file from sqrbinw to binw. Then we modified SQRDIR and SQRBIN in our configs. This worked for us both on 2000 machines and the older Windows versions. There was also a solution provided by the University of Houston which involved a registry fix. This fix would have to be done on each client machine, so we chose the other route. If you want this fix, I can send that to you also. >>> DBenzenhafer@HOUSTON.DEEPWATER.COM 10/16/01 07:14AM >>> I am using Visual Sqribe 5.0 with SQR Server 4.3.4 and have recently upgraded to Windows 2000. Everything seems to work fine except when I try to save the file, I get an Visual Sqribe error message that says "an unnamed file was not found". I can use the Save As but then have to close and reopen the file to work on it again. Also a MFC99.tmp file is created in the directory in which the sqr file resides. Has anyone run into this problem? Is there a setting or file I need or is Visual Sqribe 5.0 just not compatible with Windows 2000. Dave Benzenhafer From owner-sqr-users@list.iex.net Tue Oct 16 10:18:08 2001 Date: Tue, 16 Oct 2001 09:14:13 -0600 From: Curtis Whitman Subject: Workbench error I'm sorry, I forgot to include the error. The error is: (SQR 5528) ORACLE ORLON error -1019 in cursor 0: Error while trying to retrieve text for error ORA-01019 (SQR 4701) Cannot logon to the database. Has anyone seen this type of error with Workbench? I can connect to the database via File, Logon Database and can see the tables and field names. But then I try to run the report I get the following error. Please let me know of any thoughts you may have. From owner-sqr-users@list.iex.net Tue Oct 16 15:43:31 2001 Date: Tue, 16 Oct 2001 16:40:33 -0400 From: Pavan Krishnamurthy Subject: Timestamp Hi, How do I get a row from the database which has the maximum timestamp ? The SQL that I am using is as given below : begin-select a.fund_nbr &fund_nbr a.fund_name &fund_name b.curr_code &curr_code a.excess_amt_usd &excess_amt_usd '$' || ' ' || a.excess_amt_usd &excess_amt_usd_disp b.bal_amt &bal_amt c.fx_mult_rate*b.bal_amt &bal_amt_in_dol b.curr_code || ' ' || b.bal_amt &bal_amt_disp do check-prev-bal do print-all-values next-listing from ucm_fund a, ucm_bal b, pp_fx_rate c where b.fund_nbr=a.fund_nbr and b.curr_code<>'USD' and b.bal_type_id=500 and b.source_ind='B' and a.fund_type_id=&fund_type and a.fund_sub_type_id=&fund_sub_type and c.crrncy_cd=b.curr_code and a.excess_amt_usd < b.bal_amt*c.fx_mult_rate and to_char(b.efftv_date,'mm/dd/yy')=&curr_bus_date and to_char(b.efftv_date,'mm/dd/yy')=&time_stamp order by a.fund_nbr,b.curr_code end-select From owner-sqr-users@list.iex.net Tue Oct 16 15:58:25 2001 Date: Tue, 16 Oct 2001 16:58:11 -0400 From: Scott Eubank Subject: Re: Timestamp and b.efftv_date = ( Select max(b2.efftv_date) from ucm_bal b2 where b2.JOINVALUE = b.JOINVALUE ) basicly a subquery where JoinValue equals a unique index field in both tables -----Original Message----- From: Pavan Krishnamurthy [mailto:Pavan_Krishnamurthy@PUTNAM.COM] Sent: Tuesday, October 16, 2001 4:41 PM To: SQR-USERS@list.iex.net Subject: Timestamp Hi, How do I get a row from the database which has the maximum timestamp ? The SQL that I am using is as given below : begin-select a.fund_nbr &fund_nbr a.fund_name &fund_name b.curr_code &curr_code a.excess_amt_usd &excess_amt_usd '$' || ' ' || a.excess_amt_usd &excess_amt_usd_disp b.bal_amt &bal_amt c.fx_mult_rate*b.bal_amt &bal_amt_in_dol b.curr_code || ' ' || b.bal_amt &bal_amt_disp do check-prev-bal do print-all-values next-listing from ucm_fund a, ucm_bal b, pp_fx_rate c where b.fund_nbr=a.fund_nbr and b.curr_code<>'USD' and b.bal_type_id=500 and b.source_ind='B' and a.fund_type_id=&fund_type and a.fund_sub_type_id=&fund_sub_type and c.crrncy_cd=b.curr_code and a.excess_amt_usd < b.bal_amt*c.fx_mult_rate and to_char(b.efftv_date,'mm/dd/yy')=&curr_bus_date and to_char(b.efftv_date,'mm/dd/yy')=&time_stamp order by a.fund_nbr,b.curr_code end-select From owner-sqr-users@list.iex.net Tue Oct 16 16:14:32 2001 Date: Tue, 16 Oct 2001 16:10:07 -0500 From: "Hins, Thomas D." Subject: Re: Timestamp Something like this maybe where key1? and key2? are the keys which you are selecting by in your ucm_bal table. HTH. Tom -----Original Message----- From: Pavan Krishnamurthy [mailto:Pavan_Krishnamurthy@PUTNAM.COM] Sent: Tuesday, October 16, 2001 3:41 PM To: SQR-USERS@list.iex.net Subject: Timestamp Hi, How do I get a row from the database which has the maximum timestamp ? The SQL that I am using is as given below : begin-select a.fund_nbr &fund_nbr a.fund_name &fund_name b.curr_code &curr_code a.excess_amt_usd &excess_amt_usd '$' || ' ' || a.excess_amt_usd &excess_amt_usd_disp b.bal_amt &bal_amt c.fx_mult_rate*b.bal_amt &bal_amt_in_dol b.curr_code || ' ' || b.bal_amt &bal_amt_disp do check-prev-bal do print-all-values next-listing from ucm_fund a, ucm_bal b, pp_fx_rate c where b.fund_nbr=a.fund_nbr and b.curr_code<>'USD' and b.bal_type_id=500 and b.source_ind='B' and a.fund_type_id=&fund_type and a.fund_sub_type_id=&fund_sub_type and c.crrncy_cd=b.curr_code and a.excess_amt_usd < b.bal_amt*c.fx_mult_rate and to_char(b.efftv_date,'mm/dd/yy')=&curr_bus_date and to_char(b.efftv_date,'mm/dd/yy')=&time_stamp and b.efftv_date= (SELECT MAX(b_ed.EFFtv) FROM ucm_bal b_ED WHERE b.Key1? = b_ED.key1? AND b.key2? = b_ED.key2?) order by a.fund_nbr,b.curr_code end-select From owner-sqr-users@list.iex.net Tue Oct 16 16:30:16 2001 Date: Tue, 16 Oct 2001 17:28:14 -0400 From: Pavan Krishnamurthy Subject: Re: Timestamp hi, but can we have such subqueries in the select statement ? I thought all we could have is begin-select and end-select..... Pavan : Re: Timestamp and b.efftv_date = ( Select max(b2.efftv_date) from ucm_bal b2 where b2.JOINVALUE = b.JOINVALUE ) basicly a subquery where JoinValue equals a unique index field in both tables -----Original Message----- From: Pavan Krishnamurthy [mailto:Pavan_Krishnamurthy@PUTNAM.COM] Sent: Tuesday, October 16, 2001 4:41 PM To: SQR-USERS@list.iex.net Subject: Timestamp Hi, How do I get a row from the database which has the maximum timestamp ? The SQL that I am using is as given below : begin-select a.fund_nbr &fund_nbr a.fund_name &fund_name b.curr_code &curr_code a.excess_amt_usd &excess_amt_usd '$' || ' ' || a.excess_amt_usd &excess_amt_usd_disp b.bal_amt &bal_amt c.fx_mult_rate*b.bal_amt &bal_amt_in_dol b.curr_code || ' ' || b.bal_amt &bal_amt_disp do check-prev-bal do print-all-values next-listing from ucm_fund a, ucm_bal b, pp_fx_rate c where b.fund_nbr=a.fund_nbr and b.curr_code<>'USD' and b.bal_type_id=500 and b.source_ind='B' and a.fund_type_id=&fund_type and a.fund_sub_type_id=&fund_sub_type and c.crrncy_cd=b.curr_code and a.excess_amt_usd < b.bal_amt*c.fx_mult_rate and to_char(b.efftv_date,'mm/dd/yy')=&curr_bus_date and to_char(b.efftv_date,'mm/dd/yy')=&time_stamp order by a.fund_nbr,b.curr_code end-select From owner-sqr-users@list.iex.net Wed Oct 17 10:46:17 2001 Date: Wed, 17 Oct 2001 11:41:53 -0400 From: Pavan Krishnamurthy Subject: Re: Timestamp This worked....thanks a lot for the help. : Re: Timestamp and b.efftv_date = ( Select max(b2.efftv_date) from ucm_bal b2 where b2.JOINVALUE = b.JOINVALUE ) basicly a subquery where JoinValue equals a unique index field in both tables -----Original Message----- From: Pavan Krishnamurthy [mailto:Pavan_Krishnamurthy@PUTNAM.COM] Sent: Tuesday, October 16, 2001 4:41 PM To: SQR-USERS@list.iex.net Subject: Timestamp Hi, How do I get a row from the database which has the maximum timestamp ? The SQL that I am using is as given below : begin-select a.fund_nbr &fund_nbr a.fund_name &fund_name b.curr_code &curr_code a.excess_amt_usd &excess_amt_usd '$' || ' ' || a.excess_amt_usd &excess_amt_usd_disp b.bal_amt &bal_amt c.fx_mult_rate*b.bal_amt &bal_amt_in_dol b.curr_code || ' ' || b.bal_amt &bal_amt_disp do check-prev-bal do print-all-values next-listing from ucm_fund a, ucm_bal b, pp_fx_rate c where b.fund_nbr=a.fund_nbr and b.curr_code<>'USD' and b.bal_type_id=500 and b.source_ind='B' and a.fund_type_id=&fund_type and a.fund_sub_type_id=&fund_sub_type and c.crrncy_cd=b.curr_code and a.excess_amt_usd < b.bal_amt*c.fx_mult_rate and to_char(b.efftv_date,'mm/dd/yy')=&curr_bus_date and to_char(b.efftv_date,'mm/dd/yy')=&time_stamp order by a.fund_nbr,b.curr_code end-select From owner-sqr-users@list.iex.net Wed Oct 17 15:28:57 2001 Date: Wed, 17 Oct 2001 15:21:24 -0500 From: "Cook, Andy" Subject: Print problems Hi all I am hoping that someone out there has seen this problem before. I have looked through the archives and can't find anything. I am wondering if there is a maximum number of times you can use the Print command in the Begin-Procedure. I have pasted the code that is used. This code works fine until I try to uncomment another print statement. When I uncomment another line the output is just a blank page. I am hoping there is a logical explanation for my problem. Any help is appreciated. Thanks Andy Cook Begin-Procedure Printing display 'NOW PRINTING DATA' Alter-Printer Font=8 Point-Size=8 Print 'HD' (1,1) Bold let #midland_hd_total = #midland_hd - #midland_extra - #midland_nie Print #midland_hd_total (,11) edit 9999999 let #iowa_hd_total = #iowa_hd - #iowa_extra - #iowa_nie Print #iowa_hd_total (,25) edit 9999999 let #neb_hd_total = #neb_hd - #neb_extra - #neb_nie Print #neb_hd_total (,38) edit 9999999 let #sunrise_hd_total = #sunrise_hd - #sunrise_extra - #sunrise_nie Print #sunrise_hd_total (,50) edit 9999999 let #hd_grand_total = #hd_total - #extra_total - #nie_total Print #hd_grand_total (,65) edit 9999999 Print 'SCS' (+2,1) Bold Print #midland_scs (,11) edit 9999999 Print #iowa_scs (,25) edit 9999999 Print #neb_scs (,38) edit 9999999 Print #sunrise_scs (,50) edit 9999999 Print #scs_total (,65) edit 9999999 Print 'MAIL' (+2,1) Bold Print #midland_mail (,11) edit 9999999 Print #iowa_mail (,25) edit 9999999 Print #neb_mail (,38) edit 9999999 Print #sunrise_mail (,50) edit 9999999 Print #mail_total (,65) edit 9999999 Print 'EXTRA' (+2,1) Bold Print #midland_extra (,11) edit 9999999 display #iowa_extra ! Print #iowa_extra (,25) edit 9999999 ! Print #neb_extra (,38) edit 9999999 ! Print #sunrise_extra (,50) edit 9999999 ! Print #extra_total (,65) edit 9999999 Print 'NIE' (+2,1) Bold Print #midland_nie (,11) edit 9999999 ! Print #iowa_nie (,25) edit 9999999 ! Print #neb_nie (,38) edit 9999999 ! Print #sunrise_nie (,50) edit 9999999 ! Print #nie_total (,65) edit 9999999 ! move 0 to #midland_hd_total ! move 0 to #midland_scs ! move 0 to #midland_mail ! move 0 to #midland_extra ! move 0 to #midland_nie display 'DONE PRINTING' End-Procedure From owner-sqr-users@list.iex.net Wed Oct 17 15:49:09 2001 Date: Wed, 17 Oct 2001 15:44:25 -0500 From: "Hins, Thomas D." Subject: Re: Print problems try infinite + 1. I don't think there is a limit and the problem stems from something else. -----Original Message----- From: Cook, Andy [mailto:Andy.Cook@OWH.COM] Sent: Wednesday, October 17, 2001 3:21 PM To: SQR-USERS@list.iex.net Subject: Print problems Hi all I am hoping that someone out there has seen this problem before. I have looked through the archives and can't find anything. I am wondering if there is a maximum number of times you can use the Print command in the Begin-Procedure. I have pasted the code that is used. This code works fine until I try to uncomment another print statement. When I uncomment another line the output is just a blank page. I am hoping there is a logical explanation for my problem. Any help is appreciated. Thanks Andy Cook Begin-Procedure Printing display 'NOW PRINTING DATA' Alter-Printer Font=8 Point-Size=8 Print 'HD' (1,1) Bold let #midland_hd_total = #midland_hd - #midland_extra - #midland_nie Print #midland_hd_total (,11) edit 9999999 let #iowa_hd_total = #iowa_hd - #iowa_extra - #iowa_nie Print #iowa_hd_total (,25) edit 9999999 let #neb_hd_total = #neb_hd - #neb_extra - #neb_nie Print #neb_hd_total (,38) edit 9999999 let #sunrise_hd_total = #sunrise_hd - #sunrise_extra - #sunrise_nie Print #sunrise_hd_total (,50) edit 9999999 let #hd_grand_total = #hd_total - #extra_total - #nie_total Print #hd_grand_total (,65) edit 9999999 Print 'SCS' (+2,1) Bold Print #midland_scs (,11) edit 9999999 Print #iowa_scs (,25) edit 9999999 Print #neb_scs (,38) edit 9999999 Print #sunrise_scs (,50) edit 9999999 Print #scs_total (,65) edit 9999999 Print 'MAIL' (+2,1) Bold Print #midland_mail (,11) edit 9999999 Print #iowa_mail (,25) edit 9999999 Print #neb_mail (,38) edit 9999999 Print #sunrise_mail (,50) edit 9999999 Print #mail_total (,65) edit 9999999 Print 'EXTRA' (+2,1) Bold Print #midland_extra (,11) edit 9999999 display #iowa_extra ! Print #iowa_extra (,25) edit 9999999 ! Print #neb_extra (,38) edit 9999999 ! Print #sunrise_extra (,50) edit 9999999 ! Print #extra_total (,65) edit 9999999 Print 'NIE' (+2,1) Bold Print #midland_nie (,11) edit 9999999 ! Print #iowa_nie (,25) edit 9999999 ! Print #neb_nie (,38) edit 9999999 ! Print #sunrise_nie (,50) edit 9999999 ! Print #nie_total (,65) edit 9999999 ! move 0 to #midland_hd_total ! move 0 to #midland_scs ! move 0 to #midland_mail ! move 0 to #midland_extra ! move 0 to #midland_nie display 'DONE PRINTING' End-Procedure From owner-sqr-users@list.iex.net Wed Oct 17 16:11:12 2001 Date: Wed, 17 Oct 2001 16:08:27 -0500 From: "Cook, Andy" Subject: Re: Print problems I don't know what you mean by infinite + 1. Where in the code should I put this? Sorry -----Original Message----- From: Hins, Thomas D. [mailto:Thomas-Hins@OUHSC.EDU] Sent: Wednesday, October 17, 2001 3:44 PM To: SQR-USERS@list.iex.net Subject: Re: Print problems try infinite + 1. I don't think there is a limit and the problem stems from something else. -----Original Message----- From: Cook, Andy [mailto:Andy.Cook@OWH.COM] Sent: Wednesday, October 17, 2001 3:21 PM To: SQR-USERS@list.iex.net Subject: Print problems Hi all I am hoping that someone out there has seen this problem before. I have looked through the archives and can't find anything. I am wondering if there is a maximum number of times you can use the Print command in the Begin-Procedure. I have pasted the code that is used. This code works fine until I try to uncomment another print statement. When I uncomment another line the output is just a blank page. I am hoping there is a logical explanation for my problem. Any help is appreciated. Thanks Andy Cook Begin-Procedure Printing display 'NOW PRINTING DATA' Alter-Printer Font=8 Point-Size=8 Print 'HD' (1,1) Bold let #midland_hd_total = #midland_hd - #midland_extra - #midland_nie Print #midland_hd_total (,11) edit 9999999 let #iowa_hd_total = #iowa_hd - #iowa_extra - #iowa_nie Print #iowa_hd_total (,25) edit 9999999 let #neb_hd_total = #neb_hd - #neb_extra - #neb_nie Print #neb_hd_total (,38) edit 9999999 let #sunrise_hd_total = #sunrise_hd - #sunrise_extra - #sunrise_nie Print #sunrise_hd_total (,50) edit 9999999 let #hd_grand_total = #hd_total - #extra_total - #nie_total Print #hd_grand_total (,65) edit 9999999 Print 'SCS' (+2,1) Bold Print #midland_scs (,11) edit 9999999 Print #iowa_scs (,25) edit 9999999 Print #neb_scs (,38) edit 9999999 Print #sunrise_scs (,50) edit 9999999 Print #scs_total (,65) edit 9999999 Print 'MAIL' (+2,1) Bold Print #midland_mail (,11) edit 9999999 Print #iowa_mail (,25) edit 9999999 Print #neb_mail (,38) edit 9999999 Print #sunrise_mail (,50) edit 9999999 Print #mail_total (,65) edit 9999999 Print 'EXTRA' (+2,1) Bold Print #midland_extra (,11) edit 9999999 display #iowa_extra ! Print #iowa_extra (,25) edit 9999999 ! Print #neb_extra (,38) edit 9999999 ! Print #sunrise_extra (,50) edit 9999999 ! Print #extra_total (,65) edit 9999999 Print 'NIE' (+2,1) Bold Print #midland_nie (,11) edit 9999999 ! Print #iowa_nie (,25) edit 9999999 ! Print #neb_nie (,38) edit 9999999 ! Print #sunrise_nie (,50) edit 9999999 ! Print #nie_total (,65) edit 9999999 ! move 0 to #midland_hd_total ! move 0 to #midland_scs ! move 0 to #midland_mail ! move 0 to #midland_extra ! move 0 to #midland_nie display 'DONE PRINTING' End-Procedure ************************************************************ Omaha World-Herald Company computer systems are for business use only. This e-mail was scanned by MailSweeper ************************************************************ From owner-sqr-users@list.iex.net Thu Oct 18 08:14:52 2001 Date: Thu, 18 Oct 2001 08:05:40 -0500 From: "Hins, Thomas D." Subject: Re: Print problems Andy, I meant you can have as many print commands as you need. Your problems is something else. Looking at this section of code I don't see anything that shouldn't work except if for some reason you haven't initialized a variable or something like that but it is not the number of print commands causing you the problem. I don't see anything from this snippet of code maybe someone else does? Tom -----Original Message----- From: Cook, Andy [mailto:Andy.Cook@OWH.COM] Sent: Wednesday, October 17, 2001 4:08 PM To: SQR-USERS@list.iex.net Subject: Re: Print problems I don't know what you mean by infinite + 1. Where in the code should I put this? Sorry -----Original Message----- From: Hins, Thomas D. [mailto:Thomas-Hins@OUHSC.EDU] Sent: Wednesday, October 17, 2001 3:44 PM To: SQR-USERS@list.iex.net Subject: Re: Print problems try infinite + 1. I don't think there is a limit and the problem stems from something else. -----Original Message----- From: Cook, Andy [mailto:Andy.Cook@OWH.COM] Sent: Wednesday, October 17, 2001 3:21 PM To: SQR-USERS@list.iex.net Subject: Print problems Hi all I am hoping that someone out there has seen this problem before. I have looked through the archives and can't find anything. I am wondering if there is a maximum number of times you can use the Print command in the Begin-Procedure. I have pasted the code that is used. This code works fine until I try to uncomment another print statement. When I uncomment another line the output is just a blank page. I am hoping there is a logical explanation for my problem. Any help is appreciated. Thanks Andy Cook Begin-Procedure Printing display 'NOW PRINTING DATA' Alter-Printer Font=8 Point-Size=8 Print 'HD' (1,1) Bold let #midland_hd_total = #midland_hd - #midland_extra - #midland_nie Print #midland_hd_total (,11) edit 9999999 let #iowa_hd_total = #iowa_hd - #iowa_extra - #iowa_nie Print #iowa_hd_total (,25) edit 9999999 let #neb_hd_total = #neb_hd - #neb_extra - #neb_nie Print #neb_hd_total (,38) edit 9999999 let #sunrise_hd_total = #sunrise_hd - #sunrise_extra - #sunrise_nie Print #sunrise_hd_total (,50) edit 9999999 let #hd_grand_total = #hd_total - #extra_total - #nie_total Print #hd_grand_total (,65) edit 9999999 Print 'SCS' (+2,1) Bold Print #midland_scs (,11) edit 9999999 Print #iowa_scs (,25) edit 9999999 Print #neb_scs (,38) edit 9999999 Print #sunrise_scs (,50) edit 9999999 Print #scs_total (,65) edit 9999999 Print 'MAIL' (+2,1) Bold Print #midland_mail (,11) edit 9999999 Print #iowa_mail (,25) edit 9999999 Print #neb_mail (,38) edit 9999999 Print #sunrise_mail (,50) edit 9999999 Print #mail_total (,65) edit 9999999 Print 'EXTRA' (+2,1) Bold Print #midland_extra (,11) edit 9999999 display #iowa_extra ! Print #iowa_extra (,25) edit 9999999 ! Print #neb_extra (,38) edit 9999999 ! Print #sunrise_extra (,50) edit 9999999 ! Print #extra_total (,65) edit 9999999 Print 'NIE' (+2,1) Bold Print #midland_nie (,11) edit 9999999 ! Print #iowa_nie (,25) edit 9999999 ! Print #neb_nie (,38) edit 9999999 ! Print #sunrise_nie (,50) edit 9999999 ! Print #nie_total (,65) edit 9999999 ! move 0 to #midland_hd_total ! move 0 to #midland_scs ! move 0 to #midland_mail ! move 0 to #midland_extra ! move 0 to #midland_nie display 'DONE PRINTING' End-Procedure ************************************************************ Omaha World-Herald Company computer systems are for business use only. This e-mail was scanned by MailSweeper ************************************************************ From owner-sqr-users@list.iex.net Thu Oct 18 09:30:32 2001 Date: Thu, 18 Oct 2001 08:28:13 -0500 From: "Wendel, Robbi" Subject: Re: Print problems It might help if you sent the rest of your code. It could be your setup(s) or lack of. Robbi -----Original Message----- From: Cook, Andy [mailto:Andy.Cook@OWH.COM] Sent: Wednesday, October 17, 2001 3:21 PM To: SQR-USERS@list.iex.net Subject: Print problems Hi all I am hoping that someone out there has seen this problem before. I have looked through the archives and can't find anything. I am wondering if there is a maximum number of times you can use the Print command in the Begin-Procedure. I have pasted the code that is used. This code works fine until I try to uncomment another print statement. When I uncomment another line the output is just a blank page. I am hoping there is a logical explanation for my problem. Any help is appreciated. Thanks Andy Cook Begin-Procedure Printing display 'NOW PRINTING DATA' Alter-Printer Font=8 Point-Size=8 Print 'HD' (1,1) Bold let #midland_hd_total = #midland_hd - #midland_extra - #midland_nie Print #midland_hd_total (,11) edit 9999999 let #iowa_hd_total = #iowa_hd - #iowa_extra - #iowa_nie Print #iowa_hd_total (,25) edit 9999999 let #neb_hd_total = #neb_hd - #neb_extra - #neb_nie Print #neb_hd_total (,38) edit 9999999 let #sunrise_hd_total = #sunrise_hd - #sunrise_extra - #sunrise_nie Print #sunrise_hd_total (,50) edit 9999999 let #hd_grand_total = #hd_total - #extra_total - #nie_total Print #hd_grand_total (,65) edit 9999999 Print 'SCS' (+2,1) Bold Print #midland_scs (,11) edit 9999999 Print #iowa_scs (,25) edit 9999999 Print #neb_scs (,38) edit 9999999 Print #sunrise_scs (,50) edit 9999999 Print #scs_total (,65) edit 9999999 Print 'MAIL' (+2,1) Bold Print #midland_mail (,11) edit 9999999 Print #iowa_mail (,25) edit 9999999 Print #neb_mail (,38) edit 9999999 Print #sunrise_mail (,50) edit 9999999 Print #mail_total (,65) edit 9999999 Print 'EXTRA' (+2,1) Bold Print #midland_extra (,11) edit 9999999 display #iowa_extra ! Print #iowa_extra (,25) edit 9999999 ! Print #neb_extra (,38) edit 9999999 ! Print #sunrise_extra (,50) edit 9999999 ! Print #extra_total (,65) edit 9999999 Print 'NIE' (+2,1) Bold Print #midland_nie (,11) edit 9999999 ! Print #iowa_nie (,25) edit 9999999 ! Print #neb_nie (,38) edit 9999999 ! Print #sunrise_nie (,50) edit 9999999 ! Print #nie_total (,65) edit 9999999 ! move 0 to #midland_hd_total ! move 0 to #midland_scs ! move 0 to #midland_mail ! move 0 to #midland_extra ! move 0 to #midland_nie display 'DONE PRINTING' End-Procedure From owner-sqr-users@list.iex.net Thu Oct 18 09:16:56 2001 Date: Thu, 18 Oct 2001 09:10:35 -0500 From: "Cook, Andy" Subject: Re: Print problems Thanks to all who replied. I finally called Brio after banging my head against the wall a few hundred times. The problem was not with the code, but in the ftp process to Windows to view the .SPF. I was transfering the file as binary, but Brio said SQR 5.1 has problems (ohhh realllly!) and I should transfer it as ascii. That fixed my problem. Maybe I should stop living in the stone age and upgrade to SQR 6.0? Thanks again Andy -----Original Message----- From: Wendel, Robbi [mailto:rwendel@NESPOWER.COM] Sent: Thursday, October 18, 2001 8:28 AM To: SQR-USERS@list.iex.net Subject: Re: Print problems It might help if you sent the rest of your code. It could be your setup(s) or lack of. Robbi -----Original Message----- From: Cook, Andy [mailto:Andy.Cook@OWH.COM] Sent: Wednesday, October 17, 2001 3:21 PM To: SQR-USERS@list.iex.net Subject: Print problems Hi all I am hoping that someone out there has seen this problem before. I have looked through the archives and can't find anything. I am wondering if there is a maximum number of times you can use the Print command in the Begin-Procedure. I have pasted the code that is used. This code works fine until I try to uncomment another print statement. When I uncomment another line the output is just a blank page. I am hoping there is a logical explanation for my problem. Any help is appreciated. Thanks Andy Cook Begin-Procedure Printing display 'NOW PRINTING DATA' Alter-Printer Font=8 Point-Size=8 Print 'HD' (1,1) Bold let #midland_hd_total = #midland_hd - #midland_extra - #midland_nie Print #midland_hd_total (,11) edit 9999999 let #iowa_hd_total = #iowa_hd - #iowa_extra - #iowa_nie Print #iowa_hd_total (,25) edit 9999999 let #neb_hd_total = #neb_hd - #neb_extra - #neb_nie Print #neb_hd_total (,38) edit 9999999 let #sunrise_hd_total = #sunrise_hd - #sunrise_extra - #sunrise_nie Print #sunrise_hd_total (,50) edit 9999999 let #hd_grand_total = #hd_total - #extra_total - #nie_total Print #hd_grand_total (,65) edit 9999999 Print 'SCS' (+2,1) Bold Print #midland_scs (,11) edit 9999999 Print #iowa_scs (,25) edit 9999999 Print #neb_scs (,38) edit 9999999 Print #sunrise_scs (,50) edit 9999999 Print #scs_total (,65) edit 9999999 Print 'MAIL' (+2,1) Bold Print #midland_mail (,11) edit 9999999 Print #iowa_mail (,25) edit 9999999 Print #neb_mail (,38) edit 9999999 Print #sunrise_mail (,50) edit 9999999 Print #mail_total (,65) edit 9999999 Print 'EXTRA' (+2,1) Bold Print #midland_extra (,11) edit 9999999 display #iowa_extra ! Print #iowa_extra (,25) edit 9999999 ! Print #neb_extra (,38) edit 9999999 ! Print #sunrise_extra (,50) edit 9999999 ! Print #extra_total (,65) edit 9999999 Print 'NIE' (+2,1) Bold Print #midland_nie (,11) edit 9999999 ! Print #iowa_nie (,25) edit 9999999 ! Print #neb_nie (,38) edit 9999999 ! Print #sunrise_nie (,50) edit 9999999 ! Print #nie_total (,65) edit 9999999 ! move 0 to #midland_hd_total ! move 0 to #midland_scs ! move 0 to #midland_mail ! move 0 to #midland_extra ! move 0 to #midland_nie display 'DONE PRINTING' End-Procedure ************************************************************ Omaha World-Herald Company computer systems are for business use only. This e-mail was scanned by MailSweeper ************************************************************ From owner-sqr-users@list.iex.net Wed Oct 17 15:29:37 2001 Date: Wed, 17 Oct 2001 15:24:04 -0500 From: Yuri Hunter Subject: Creating a .PDF report
Can I create a report using file type .PDF?  If so, any suggestions?
 
Thanks in advance.


Get your FREE download of MSN Explorer at http://explorer.msn.com
From owner-sqr-users@list.iex.net Wed Oct 17 15:37:36 2001 Date: Wed, 17 Oct 2001 16:35:01 -0400 From: "Beller, Jay" Subject: Re: Creating a .PDF report Yes. When running, add " -printer:PD " or " -printer:EP " to your command line. -----Original Message----- From: Yuri Hunter [mailto:lakef250@HOTMAIL.COM] Sent: Wednesday, October 17, 2001 4:24 PM To: SQR-USERS@list.iex.net Subject: Creating a .PDF report Can I create a report using file type .PDF? If so, any suggestions? Thanks in advance. _____ Get your FREE download of MSN Explorer at http://explorer.msn.com From owner-sqr-users@list.iex.net Thu Oct 18 13:46:39 2001 Date: Thu, 18 Oct 2001 13:44:13 -0500 From: Yuri Hunter Subject: Re: Creating a .PDF report

Jay -

What will that do?  I want to create the report in .PDF format instead of default .LIS text file format so I may post it to a web site.

Thanks!

>From: "Beller, Jay"

>Reply-To: sqr-users@list.iex.net
>To: SQR-USERS@list.iex.net
>Subject: Re: Creating a .PDF report
>Date: Wed, 17 Oct 2001 16:35:01 -0400
>
>Yes. When running, add " -printer:PD " or " -printer:EP " to your command
>line.
>
>-----Original Message-----
>From: Yuri Hunter [mailto:lakef250@HOTMAIL.COM]
>Sent: Wednesday, October 17, 2001 4:24 PM
>To: SQR-USERS@list.iex.net
>Subject: Creating a .PDF report
>
>
>Can I create a report using file type .PDF? If so, any suggestions?
>
>Thanks in advance.
>
> _____
>
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>


Get your FREE download of MSN Explorer at http://explorer.msn.com
From owner-sqr-users@list.iex.net Thu Oct 18 10:47:57 2001 Date: Thu, 18 Oct 2001 10:29:19 -0500 From: "Rockett, Linda" Subject: FW: SYBASE Temp Table Conversion to Oracle Fellow SQR Users - I would appreciate any information you may be able to provide to assist me in this task. Please be as detailed as possible, but try to keep it pretty simple. > Summary of Problem: > SYBASE temp tables need to be converted to Oracle temp tables for use in > existing SQRs. > Additional Info: Conversion will be to Oracle 8.1.7 These temp tables are needed only while the SQR is processing and are to be blown away when the process is finished. > Example of current code: > > begin-setup > begin-SQL On-Error=STOP > CREATE TABLE ##AAPGM0 (EMPLID VARCHAR(11), > PGM_ NBR SMALLINT) > end-SQL > > begin-SQL On-Error=STOP > CREATE TABLE ##AATEMP0 (EMPLID VARCHAR(11), > > UNT_TAKEN DECIMAL(6,2), > > SRCE_NBR VARCHAR(4)) > end-SQL > end-setup > !********************************************** > Begin-Procedure PROCESS-MAIN > !********************************************** > Begin-Select DISTINCT ON-ERROR=SQL-ERROR > X.EMPLID > > do WRITE-AAPGM0-DATA > do WRITE-AATEMP0-DATA > do GET-ALL-TEMP-DATA > > FROM PS_SA_REQUEST_HDR X, > PS_SA_REQUEST_DTL Y > > WHERE X.EMPLID = $emplid > AND Y.REQ_NBR = #req_nbr > > > End-Select > End-Procedure PROCESS-MAIN > !********************************************** > Begin-Procedure WRITE-AAPGM0-DATA > !********************************************** > BEGIN-SQL On-Error=SQL-error > Insert into ##AAPGM0 (EMPLID, > PGM_ NBR) > VALUES($emplid, > #pgm_ nbr) > END-SQL > End-Procedure WRITE-AAPGM0-DATA > !********************************************** > Begin-Procedure WRITE-AATEMP0-DATA > !********************************************** > Insert into ##AATEMP0 (EMPLID, > UNT_TAKEN, > SRCE_NBR) > VALUES($emplid, > #unt_taken, > $srce_nbr) > > END-SQL > End-Procedure WRITE-AATEMP0-DATA > !********************************************** > Begin-Procedure GET-ALL-TEMP-DATA > > !********************************************** > Begin-Select DISTINCT ON-ERROR=SQL-ERROR > A.PGM_NBR > > FROM ##AAPGM0 A, > ##AATEMP0 B > > WHERE A.EMPLID = $emplid > > AND B.EMPLID = A.EMPLID > End-Select > End-Procedure GET-ALL-TEMP-DATA > > > Thank you, > Linda Rockett > Analyst/Programmer > Information Technology Services > Southern Methodist University > > EMail: lrockett@mail.smu.edu > > From owner-sqr-users@list.iex.net Thu Oct 18 12:42:48 2001 Date: Thu, 18 Oct 2001 13:36:57 -0400 From: George Jansen Subject: Re: FW: SYBASE Temp Table Conversion to Oracle The nature of the Oracle GLOBAL TEMPORARY table is that the structure persists, but the data does not: it goes away either on commit or at the end of the session. That the structure persists is not really a problem: no permanent storage is allocated. That the table is GLOBAL is not a problem: no two sessions can see each other's data. So, assuming that you have created the tables as CREATE GLOBAL TEMPORARY TABLE AAPGMO_TMP (EMPLID VARCHAR2(11), PGM_NBR NUMBER) ON COMMIT PRESERVE ROWS (or ON COMMIT DELETE ROWS if the temporary data does not need to persist between transactions), all you have to do is remove the BEGIN-SQL/END-SQL paragraphs and change the table names. From owner-sqr-users@list.iex.net Thu Oct 18 12:40:09 2001 Date: Thu, 18 Oct 2001 10:36:19 -0700 From: "Thorburn, David, ITD" Subject: Outer Join with SQR All, I remember previously using an outer join technique with SQR where a '= *' or '* =' was used to indicate the outer join. Does anyone remember the exact syntax for coding the outer join where one wants to see all rows from TABLEB when TABLEB is joined with TABLEA? Is it TABLEA.field =* TABLEB.field ? Thanks, David O. Thorburn From owner-sqr-users@list.iex.net Thu Oct 18 12:47:07 2001 Date: Thu, 18 Oct 2001 12:44:12 -0500 From: cshelton Subject: Re: Outer Join with SQR David, Outer join syntax is database dependent. SQR passes the join clauses off to the database, after performing the bind and dynamic variable substitutions. The syntax you describe below is correct for sybase. However, it is not valid for oracle. You will need to read the documentation for your database to determine the appropriate syntax. chris On Thu, 18 Oct 2001, Thorburn, David, ITD wrote: > All, > > I remember previously using an outer join technique with SQR where a '= *' > or '* =' was used to indicate the outer join. > > Does anyone remember the exact syntax for coding the outer join where one > wants to see all rows from TABLEB when TABLEB > is joined with TABLEA? > > Is it TABLEA.field =* TABLEB.field ? > From owner-sqr-users@list.iex.net Thu Oct 18 12:50:40 2001 Date: Fri, 19 Oct 2001 01:46:20 -0400 From: Stephen Keen Subject: Re: Outer Join with SQR Hey David, One was for an inner join, and the other was an outer join. For SQL server I stopped using it because Microsoft was going to stop supporting the way of joining tables. Do not know if they have stopped or not? -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Thorburn, David, ITD Sent: Thursday, October 18, 2001 1:36 PM To: SQR-USERS@list.iex.net Subject: Outer Join with SQR All, I remember previously using an outer join technique with SQR where a '= *' or '* =' was used to indicate the outer join. Does anyone remember the exact syntax for coding the outer join where one wants to see all rows from TABLEB when TABLEB is joined with TABLEA? Is it TABLEA.field =* TABLEB.field ? Thanks, David O. Thorburn From owner-sqr-users@list.iex.net Thu Oct 18 12:45:54 2001 Date: Thu, 18 Oct 2001 10:40:11 -0700 From: Dave Thorburn Subject: Outer Join with SQR All, I remember previously using an outer join technique with SQR where a '= *' or '* =' was used to indicate the outer join. Does anyone remember the exact syntax for coding the outer join where one wants to see all rows from TABLEB when TABLEB is joined with TABLEA? Is it TABLEA.field =* TABLEB.field ? Thanks, David O. Thorburn From owner-sqr-users@list.iex.net Thu Oct 18 12:53:12 2001 Date: Thu, 18 Oct 2001 12:41:00 -0500 From: "Pattillo, Kenneth Michael" Subject: Re: Outer Join with SQR Other way around. where TableA.field (+) = TableB.field (for Oracle) -----Original Message----- From: Thorburn, David, ITD [mailto:DThorbur@CO.ALAMEDA.CA.US] Sent: Thursday, October 18, 2001 12:36 PM To: SQR-USERS@LIST.IEX.NET Subject: Outer Join with SQR All, I remember previously using an outer join technique with SQR where a '= *' or '* =' was used to indicate the outer join. Does anyone remember the exact syntax for coding the outer join where one wants to see all rows from TABLEB when TABLEB is joined with TABLEA? Is it TABLEA.field =* TABLEB.field ? Thanks, David O. Thorburn From owner-sqr-users@list.iex.net Fri Oct 19 04:28:01 2001 Date: Fri, 19 Oct 2001 10:23:30 +0100 From: Brian Smith Subject: Re: Outer Join with SQR Microsoft has not stopped supporting the 'Sybase' syntax for outer joins using a *, but the preferred syntax is the ANSI OUTER JOIN clause, which is supported on all versions since 6.5. Brian Smith -----Original Message----- From: Stephen Keen [mailto:stephen_keen@SQR-SERVICES.COM] Sent: Friday, 19 October 2001 06:46 To: SQR-USERS@list.iex.net Subject: Re: Outer Join with SQR Hey David, One was for an inner join, and the other was an outer join. For SQL server I stopped using it because Microsoft was going to stop supporting the way of joining tables. Do not know if they have stopped or not? ***IMPORTANT*** The information in this mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Tempo Ltd or any of its affiliates. "NB Kahn and AV Lomas were appointed Joint Administrators of Tempo Holdings Limited and certain subsidiaries on 24th September 2001 by order of the court to manage the affairs and business of the Company without personal liability. NB Kahn and A V Lomas are licensed to act as Insolvency Practitioners by the Institute of Chartered Accountants in England and Wales." From owner-sqr-users@list.iex.net Thu Oct 18 13:36:57 2001 Date: Thu, 18 Oct 2001 14:34:25 -0400 From: Ray Brunner Subject: SQR Preformance Problem I have an sqr that is running significantly faster on the client then on = the server. The program process approx 50 rows a minute on the client and = 6 a minute on the server. Has anyone ever had such a problem. Our DBA's = have not been able to find a reason for this as of yet.=20 Thanks, Ray Brunner Skytop Office Building Syracuse University 315/443-9262 From owner-sqr-users@list.iex.net Thu Oct 18 14:39:44 2001 Date: Thu, 18 Oct 2001 19:26:53 +0000 From: Sanjeevani Bhide We are on Peoplesoft E&G 7.51. We are running the delivered leave accrual processing. For the ‘Vacation’ leave accrual processing, we want to let an employee accrue leave only if he/she has worked for at least 5 hours that week. Is there any panel/table on which you can set up such business rules? Otherwise we are thinking of writing an SQR to first check the valid employees and then do the leave accrual processing. Do you have any suggestions? Thanks for your help _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From owner-sqr-users@list.iex.net Thu Oct 18 16:33:14 2001 Date: Thu, 18 Oct 2001 17:19:43 -0400 From: Chandrakant Joshi Subject: SQR Version Question Hi Guys, We have SQR version V3.0.13.3 with ORACLE 7.3.4. In case if we migrate to ORACLE 8.x do you think we will run into Problems? Has anybody can give me some inputs. Do we need to migrate the SQR also.? I have run thru the old archives.. and it looks like we need to upgrade to SQR 6.x or something. But Still want to know the cyrrent mood in the group. Thanks and regards, Joshi From owner-sqr-users@list.iex.net Fri Oct 19 08:56:51 2001 Date: Fri, 19 Oct 2001 09:50:04 -0400 From: franz.a.diemel@US.PWCGLOBAL.COM Hi Sanjeevani: As far as I know from my limited knowledge (one project where I handle all the leaves), you can not do it with the delivered PS leave accrual process. When I was on the project, we had the same issue in a way. We wanted to only allow employees to get leave accruals if they had been hired before the 15 day of the month. Later, the client decided to change the process to prorate for the entire month but that is another story. What we did was run the monthly leave accrual process with the PS delivered leave accrual code. After the monthly accrual process was ran, the client ran a custom SQR to adjust (remove) the granted leave accrual if the employee did not work. The SQR code also created a report to show employee information (emplid, company, hire date, rehire date, leave accrual plan, etc) and hours adjusted. The report was created for testing and auditing purposes. In all, the approach worked very well as did not require creating a custom leave accrual program and used the PS delivered leave accrual program. While I can not give you the code (client and company owned) , I can provide you the general program outline below. I have removed the clients information. This program was written to use a temp table which is compared against a table holding all active (A,L, or P status) and runs in a Tivoli batch environment. It uses some custom grant tables to grant the sick and floating holidays. It runs for a large international company with multiple plans ( over 20 vacation, 2 sick, and 10 floating holidays) and runs under 15 minutes. The client wanted non-employees and so they were converted in the plan under company code 999 and 888. You will not need some of this but I hope this gives you the general idea. There may be other methods but this approach worked well for the client. Hope this helps. Franz Do initial Setup for the PS processing. Get run parameters from PS-Q-HR-CNTL-BEN (this is a custom table) Clear temporary work space table ? PS-Q-LV-ACCRL-TMP Get accrual process dt parameters (accrual process date & maximum leave balance) from PS_LEAVE_PLAN_TBL Clear the working table for leave accrual processing Select all employees from PS_JOB, PS_EMPLOYMENT, PS_LEAVE_PLAN where employee is a US employee and insert these employees in the working table PS_Q_LV_ACCRL_TMP. Do not process non-employees who are agency temps (Company code 999) and contractors (Company code 888); or who have employee class of G (Agency Temps) or R (Contractors). Select all employees in the PS_Q_LV_ACCRL_TMP table whose leave accrual plans and or companies in the PS_Q_LV_ACCRL_TMP do not equal the leave accrual plans in the PS_Q_LV_ACCRL_PROC. For all of the employees with unmatched leave accrual plans, update the employees PS_Q_LV_ACCRL_PROC to equal the PS_Q_LV_ACCRL_TMP leave accrual plans. Process all new rehires or hires in PS_Q_LV_ACCRL_TMP, PS_Q_LV_ACCRL_PROC, PS_LEAVE_RATE_TBL and prorate their vacation hours. If the employee was not hired on the first day of the month, check to see if the employee has a leave accrual row. If a leave row does not exist, insert a leave accrual vacation row in the PS_LEAVE_ACCRUAL table with a prorate vacation hours for the month according to the vacation plans. Update the employee record in the PS_Q_LV_ACCRL_PROC to show that the record has been processed. Process all new rehires or hires in PS_Q_LV_ACCRL_TMP, PS_Q_LV_ACCRL_PROC, PS_LEAVE_RATE_TBL and grant the employee's sick and float hours. Check to see if the employee has a leave accrual sick or float row. If a leave row does not exist, insert a leave accrual sick or float row in the PS_LEAVE_ACCRUAL table with a granted vacation hours for the month according to the grant plans. Update the employee record in the PS_Q_LV_ACCRL_PROC to show that the record has been processed. Process all new active employees in PS_Q_LV_ACCRL_TMP, PS_Q_LV_ACCRL_PROC, PS_LEAVE_RATE_TBL and grant the employee's sick and float hours. Check to see if the employee has a leave accrual sick or float row. If a leave row does not exist, indicate an error. If a leave row does exist, insert a leave accrual sick or float row in the PS_LEAVE_ACCRUAL table with a granted vacation hours for the month according to the grant plans. Update the employee record in the PS_Q_LV_ACCRL_PROC to show that the record has been processed. Check the PS_Q_LV_ACCRL_PROC table for employees who have a null ACCRUAL_PROC_DT. Write the employee to the error report and delete the row from the PS_Q_LV_ACCRL_PROC. Get the current date and time to display ending time. Close outbound file and Reset SQR process scheduler. Sanjeevani Bhide @list.iex.net> on 10/18/2001 03:26:53 PM Please respond to sqr-users@list.iex.net Sent by: "Discussion of SQR, Brio Technology's database reporting language" To: SQR-USERS@list.iex.net cc: Subject: We are on Peoplesoft E&G 7.51. We are running the delivered leave accrual processing. For the 'Vacation' leave accrual processing, we want to let an employee accrue leave only if he/she has worked for at least 5 hours that week. Is there any panel/table on which you can set up such business rules? Otherwise we are thinking of writing an SQR to first check the valid employees and then do the leave accrual processing. Do you have any suggestions? Thanks for your help _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp ---------------------------------------------------------------- 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. From owner-sqr-users@list.iex.net Fri Oct 19 14:39:47 2001 Date: Fri, 19 Oct 2001 13:26:31 -0600 From: Carolyn Woods Subject: Appending to a .log file using -A I need to append to a log file when I'm running a particular job thru SQRW, and I know -A is the flag I need to use. Unfortunately for me, I have not figured out just where the -A is supposed to occur in the scheme of things. I've unsuccessfully tried many combinations, with no luck. Does anyone have a suggestion? Thx, Carolyn Woods MiraCosta College Oceanside, CA From owner-sqr-users@list.iex.net Fri Oct 19 14:46:30 2001 Date: Fri, 19 Oct 2001 15:44:27 -0400 From: Debra Robarge Subject: Re: Appending to a .log file using -A Hi Carolyn, The order on the command line is as follows: SQRW ProgramName Connectivity -flags arguments The -A flag would follow your connectivity to the database and before passing any arguments. Hope that helps. Deb -----Original Message----- From: Carolyn Woods [mailto:cwoods@MCC.MIRACOSTA.CC.CA.US] Sent: Friday, October 19, 2001 3:27 PM To: SQR-USERS@list.iex.net Subject: Appending to a .log file using -A I need to append to a log file when I'm running a particular job thru SQRW, and I know -A is the flag I need to use. Unfortunately for me, I have not figured out just where the -A is supposed to occur in the scheme of things. I've unsuccessfully tried many combinations, with no luck. Does anyone have a suggestion? Thx, Carolyn Woods MiraCosta College Oceanside, CA From owner-sqr-users@list.iex.net Fri Oct 19 14:47:57 2001 Date: Fri, 19 Oct 2001 14:44:55 -0500 From: "Pattillo, Kenneth Michael" Subject: dynamic array size? SQR users: Is there any way to set an array size dynamically? One of the neat features of load-lookup is that it will reset the array size if it runs out of space. Unfortunately, load-lookup isn't ideal for this case because I want to group and count a non-key value. Ken From owner-sqr-users@list.iex.net Fri Oct 19 14:56:00 2001 Date: Fri, 19 Oct 2001 15:53:40 -0400 From: Debra Robarge Subject: Re: dynamic array size? Hi Ken, Unfortunately array size in SQR is fixed, not dynamic. Deb -----Original Message----- From: Pattillo, Kenneth Michael [mailto:kpattill@INDIANA.EDU] Sent: Friday, October 19, 2001 3:45 PM To: SQR-USERS@list.iex.net Subject: dynamic array size? SQR users: Is there any way to set an array size dynamically? One of the neat features of load-lookup is that it will reset the array size if it runs out of space. Unfortunately, load-lookup isn't ideal for this case because I want to group and count a non-key value. Ken From owner-sqr-users@list.iex.net Fri Oct 19 15:35:08 2001 Date: Fri, 19 Oct 2001 16:33:54 -0400 From: "Johnson, Dan" Subject: Re: dynamic array size? There is a kludge for this. Unfortunately it only works for certain situations. You can use "ask" to get the array size. For instance we count the rows in a specific table and then call the sqr that has the array in it passing the row count as a parameter. Limited, but can be useful. Good luck, Dan -----Original Message----- From: Pattillo, Kenneth Michael Sent: Friday, October 19, 2001 3:45 PM Subject: dynamic array size? SQR users: Is there any way to set an array size dynamically? One of the neat features of load-lookup is that it will reset the array size if it runs out of space. Unfortunately, load-lookup isn't ideal for this case because I want to group and count a non-key value. Ken From owner-sqr-users@list.iex.net Fri Oct 19 15:54:20 2001 Date: Fri, 19 Oct 2001 15:52:13 -0500 From: David Thompson-Hall Subject: Re: dynamic array size? At 03:53 PM 10/19/01 -0400, Debra Robarge wrote: >Unfortunately array size in SQR is fixed, not dynamic. I have a related technical question... Does anyone know whether the *actual data structure* in SQR is dynamic or static? In other words, if I declare an array with a SIZE=2000000, does it really make 2 Million little boxes of whatever's in my array? or does it really just create boxes as it needs them? I have a program that used a SIZE=4194304, with a text value in the array, and it didn't blow up right away -- but it seemed to blow up after putting a lot of text into some of the text boxes in the array. (when it did that, it also crashed without reporting any errors!). I can understand that maybe the text fields are treated dynamically, that they start as empty strings; but is it possible that SQR actually has the array structure itself grow and shrink as needed? (Out of the 4 million "rows" in the array above, I really only used 438 -- so it would be nice if I could make the SIZE=4 billion, but really only use 400 rows...) DTH this is sounding dangerously like CompSci here David Thompson-Hall 1210 W. Dayton St. Programmer/Analyst Madison, WI 53706 Apps Tech/Business Operations Apps 608/265-9571 Div of Info Technology (DoIT) University of Wisconsin-Madison david.thompson-hall@doit.wisc.edu From owner-sqr-users@list.iex.net Fri Oct 19 16:20:03 2001 Date: Fri, 19 Oct 2001 17:17:47 -0400 From: Debra Robarge Subject: Re: dynamic array size? All SQR arrays are created at compile time and I don't believe they grow and shrink as needed. You allocate the size (in rows) and the size you allocate would be limited to the amount of memory you have to utilize. However, you could utilize the #DEFINE substitution variable, such as creating one called {max_array}. You could then use that as a loop limit so that you can access arrays without going past their declared size..i.e., utilitizing it with the loops={max_array} argument within your begin-select, as well as, declaring your array size = {max_array}. Hope that helps. Deb Debra A. Robarge Software Instructor and Consultant Strafford Technology, Inc. drobarge@strafford.com (603) 434-2550 X 229 www.strafford.com www.briotraining.com -----Original Message----- From: David Thompson-Hall [mailto:david.thompson-hall@DOIT.WISC.EDU] Sent: Friday, October 19, 2001 4:52 PM To: SQR-USERS@list.iex.net Subject: Re: dynamic array size? At 03:53 PM 10/19/01 -0400, Debra Robarge wrote: >Unfortunately array size in SQR is fixed, not dynamic. I have a related technical question... Does anyone know whether the *actual data structure* in SQR is dynamic or static? In other words, if I declare an array with a SIZE=2000000, does it really make 2 Million little boxes of whatever's in my array? or does it really just create boxes as it needs them? I have a program that used a SIZE=4194304, with a text value in the array, and it didn't blow up right away -- but it seemed to blow up after putting a lot of text into some of the text boxes in the array. (when it did that, it also crashed without reporting any errors!). I can understand that maybe the text fields are treated dynamically, that they start as empty strings; but is it possible that SQR actually has the array structure itself grow and shrink as needed? (Out of the 4 million "rows" in the array above, I really only used 438 -- so it would be nice if I could make the SIZE=4 billion, but really only use 400 rows...) DTH this is sounding dangerously like CompSci here David Thompson-Hall 1210 W. Dayton St. Programmer/Analyst Madison, WI 53706 Apps Tech/Business Operations Apps 608/265-9571 Div of Info Technology (DoIT) University of Wisconsin-Madison david.thompson-hall@doit.wisc.edu From owner-sqr-users@list.iex.net Fri Oct 19 17:40:18 2001 Date: Sat, 20 Oct 2001 06:39:39 -0400 From: Stephen Keen Subject: Re: dynamic array size? Besides being not dynamic you have a max size - which is no where near 1 million. The detail is in the SQR commands, but either 3000 or 5000? not sure which -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Pattillo, Kenneth Michael Sent: Friday, October 19, 2001 3:45 PM To: SQR-USERS@list.iex.net Subject: dynamic array size? SQR users: Is there any way to set an array size dynamically? One of the neat features of load-lookup is that it will reset the array size if it runs out of space. Unfortunately, load-lookup isn't ideal for this case because I want to group and count a non-key value. Ken From owner-sqr-users@list.iex.net Mon Oct 22 08:04:58 2001 Date: Mon, 22 Oct 2001 06:01:17 -0700 From: Stan Quick Subject: Re: dynamic array size? David, Since SQR is written in C, it uses the C function "memalloc" to allocate memory to an array as it begins to fill. Therefore, it doesn't really matter how big you set "size" as long as you have enough memory to handle the maximum amount of data (# entries * characters per entry) that you may have. -----Original Message----- From: David Thompson-Hall [mailto:david.thompson-hall@DOIT.WISC.EDU] Sent: Friday, October 19, 2001 4:52 PM To: SQR-USERS@list.iex.net Subject: Re: dynamic array size? At 03:53 PM 10/19/01 -0400, Debra Robarge wrote: >Unfortunately array size in SQR is fixed, not dynamic. I have a related technical question... Does anyone know whether the *actual data structure* in SQR is dynamic or static? In other words, if I declare an array with a SIZE=2000000, does it really make 2 Million little boxes of whatever's in my array? or does it really just create boxes as it needs them? I have a program that used a SIZE=4194304, with a text value in the array, and it didn't blow up right away -- but it seemed to blow up after putting a lot of text into some of the text boxes in the array. (when it did that, it also crashed without reporting any errors!). I can understand that maybe the text fields are treated dynamically, that they start as empty strings; but is it possible that SQR actually has the array structure itself grow and shrink as needed? (Out of the 4 million "rows" in the array above, I really only used 438 -- so it would be nice if I could make the SIZE=4 billion, but really only use 400 rows...) DTH this is sounding dangerously like CompSci here David Thompson-Hall 1210 W. Dayton St. Programmer/Analyst Madison, WI 53706 Apps Tech/Business Operations Apps 608/265-9571 Div of Info Technology (DoIT) University of Wisconsin-Madison david.thompson-hall@doit.wisc.edu From owner-sqr-users@list.iex.net Mon Oct 22 08:43:52 2001 Date: Mon, 22 Oct 2001 08:41:16 -0500 From: Ray Ontko Subject: Re: dynamic array size? Yes, Stan is correct. Not to put too fine a point on it, I think that when you declare the array, SQR creates an array of "pointers", usually 4 bytes per array element. Only when you start to populate rows in the array are additional bytes allocated. I'll guess that for each row, there is an overhead of 4 bytes per field or occurrence in the row. Further, there is additional overhead per string, decimal, or date value. In answer to David's original question, the overhead per row is about 4 bytes even if you only use 400 rows out of a million. Note that this may change in a future version of SQR, but that's my understanding of how all versions have worked since 2.x. Ray [Charset iso-8859-1 unsupported, filtering to ASCII...] > David, > Since SQR is written in C, it uses the C function "memalloc" to allocate > memory to an array as it begins to fill. > Therefore, it doesn't really matter how big you set "size" as long as you > have enough memory to handle the maximum > amount of data (# entries * characters per entry) that you may have. > > -----Original Message----- > From: David Thompson-Hall [mailto:david.thompson-hall@DOIT.WISC.EDU] > Sent: Friday, October 19, 2001 4:52 PM > To: SQR-USERS@list.iex.net > Subject: Re: dynamic array size? > > > At 03:53 PM 10/19/01 -0400, Debra Robarge wrote: > >Unfortunately array size in SQR is fixed, not dynamic. > > I have a related technical question... > > Does anyone know whether the *actual data structure* in SQR is dynamic or > static? > > In other words, if I declare an array with a SIZE=2000000, does it really > make 2 Million little boxes of whatever's in my array? > > or does it really just create boxes as it needs them? > > I have a program that used a SIZE=4194304, with a text value in the array, > and it didn't blow up right away -- but it seemed to blow up after putting > a lot of text into some of the text boxes in the array. (when it did that, > it also crashed without reporting any errors!). > > I can understand that maybe the text fields are treated dynamically, that > they start as empty strings; but is it possible that SQR actually has the > array structure itself grow and shrink as needed? (Out of the 4 million > "rows" in the array above, I really only used 438 -- so it would be nice if > I could make the SIZE=4 billion, but really only use 400 rows...) > > DTH > this is sounding dangerously like CompSci here > > > David Thompson-Hall 1210 W. Dayton St. > Programmer/Analyst Madison, WI 53706 > Apps Tech/Business Operations Apps 608/265-9571 > Div of Info Technology (DoIT) > University of Wisconsin-Madison david.thompson-hall@doit.wisc.edu > ---------------------------------------------------------------------- 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/ From owner-sqr-users@list.iex.net Mon Oct 22 10:04:39 2001 Date: Mon, 22 Oct 2001 10:02:50 -0500 From: David Thompson-Hall Subject: Re: dynamic array size? At 08:41 AM 10/22/01 -0500, Ray Ontko wrote: >Not to put too fine a point on it, I think that when you declare the >array, SQR creates an array of "pointers", usually 4 bytes per array >element. Only when you start to populate rows in the array are >additional bytes allocated. I'll guess that for each row, there >is an overhead of 4 bytes per field or occurrence in the row. >Further, there is additional overhead per string, decimal, or >date value. > >In answer to David's original question, the overhead per row >is about 4 bytes even if you only use 400 rows out of a million. (And Stan Quick wrote a very helpful answer explaining how this is done using "memalloc" in C...) Great - this was exactly the CompSci-geeky answer I was looking for... But my next question is, what is the upper limit of the array size? Can it actually be anything, or does it have to be <= the largest integer SQR can handle (about 2 billion,. which I presume is 2^32...)? I could test it myself, but if someone already knows, then I won't have to... *grin* DTH David Thompson-Hall 1210 W. Dayton St. Programmer/Analyst Madison, WI 53706 Apps Tech/Business Operations Apps 608/265-9571 Div of Info Technology (DoIT) University of Wisconsin-Madison david.thompson-hall@doit.wisc.edu From owner-sqr-users@list.iex.net Sat Oct 20 09:47:42 2001 Date: Sat, 20 Oct 2001 07:35:02 -0700 From: Ashish Bhatt Subject: SQR Question: Getting Values of Dynamic Columns in select Hi Peoplesoft and SQR Gurus, =20 I hope you are doing fine today. =20 I am facing tough time in getting the values of Dynamic Columns in the select. =20 I am having below SQR code: =20 begin-select $c1=20 do Write-Data from [$table_name] where AUDIT_STAMP < SYSDATE - 1300 =20 end-select =20 In the above $c1 is all the column names of the table. =20 I want the values returned by above select. =20 Can you please give me some idea how this can be done ? =20 Thanks in advance. =20 Have a nice day and great weekend. =20 Regards. =20 Ashish Bhatt. From owner-sqr-users@list.iex.net Sat Oct 20 10:04:47 2001 Date: Sat, 20 Oct 2001 11:05:05 -0700 From: Holger Noreke Subject: Re: SQR Question: Getting Values of Dynamic Columns in select Ashish, Try [$C1] instead of $C1 -Holger Noreke Noretec Consulting Group, Inc. hnoreke@noretec.com -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net] On Behalf Of Ashish Bhatt Sent: Saturday, October 20, 2001 7:35 AM To: SQR-USERS@list.iex.net Subject: SQR Question: Getting Values of Dynamic Columns in select Hi Peoplesoft and SQR Gurus, I hope you are doing fine today. I am facing tough time in getting the values of Dynamic Columns in the select. I am having below SQR code: begin-select $c1 do Write-Data from [$table_name] where AUDIT_STAMP < SYSDATE - 1300 end-select In the above $c1 is all the column names of the table. I want the values returned by above select. Can you please give me some idea how this can be done ? Thanks in advance. Have a nice day and great weekend. Regards. Ashish Bhatt. From owner-sqr-users@list.iex.net Sat Oct 20 10:18:40 2001 Date: Sat, 20 Oct 2001 08:16:28 -0700 From: Ashish Bhatt Subject: Re: SQR Question: Getting Values of Dynamic Columns in select I did this yesterday. But how to get the values. ----- Original Message ----- From: "Holger Noreke" To: Sent: Saturday, October 20, 2001 11:05 AM Subject: Re: SQR Question: Getting Values of Dynamic Columns in select > Ashish, > > Try [$C1] instead of $C1 > > -Holger Noreke > Noretec Consulting Group, Inc. > hnoreke@noretec.com > > -----Original Message----- > From: Discussion of SQR, Brio Technology's database reporting > language [mailto:SQR-USERS@list.iex.net] On Behalf Of Ashish Bhatt > Sent: Saturday, October 20, 2001 7:35 AM > To: SQR-USERS@list.iex.net > Subject: SQR Question: Getting Values of Dynamic Columns in select > > Hi Peoplesoft and SQR Gurus, > > I hope you are doing fine today. > > I am facing tough time in getting the values of > Dynamic Columns in the select. > > I am having below SQR code: > > begin-select > $c1 > do Write-Data > from [$table_name] > where AUDIT_STAMP < SYSDATE - 1300 > end-select > > > In the above $c1 is all the column names of the table. > > I want the values returned by above select. > > Can you please give me some idea how this can be done > ? > > Thanks in advance. > > Have a nice day and great weekend. > > Regards. > > Ashish Bhatt. > From owner-sqr-users@list.iex.net Sun Oct 21 14:26:43 2001 Date: Sun, 21 Oct 2001 12:24:48 -0700 From: Ashish Bhatt Subject: Re: SQR Question: Getting Values of Dynamic Columns in select How to write data in the file ? I have all my column names separated by comma in $c1. Give me some idea for logic in Write-data so that it writes to a file. Thanks in advance. Have a nice day and great week. Regards. Ashish Bhatt. ----- Original Message ----- From: "Holger Noreke" To: "Ashish Bhatt" Sent: Saturday, October 20, 2001 11:31 AM Subject: RE: Re: SQR Question: Getting Values of Dynamic Columns in select > What you can do is create another procedure to call, which populates $C1. > It could look something like this (if you are using Oracle, otherwise change > the table name based on the database you are using.) > > BEGIN-PROCEDURE GET-COLUMNS > > LET $C1 = '' > BEGIN-SELECT > COLUMN_NAME > IF $C1 = '' > LET $C1 = &COLUMN_NAME > ELSE > LET $C1 = $C1 || ', ' || &COLUMN_NAME > END-IF > FROM ALL_TAB_COLUMNS > WHERE TABLE_NAME = [$TABLE_NAME] > END-SELECT > > END-PROCEDURE > > BEGIN-PROCEDURE ASHISH > > DO GET-COLUMNS > > Begin-select > $c1 > do Write-Data > from [$table_name] > where AUDIT_STAMP < SYSDATE - 1300 > end-select > > END-PROCEDURE > . > . > . > > > > Let me know how you make out. > > > -Holger Noreke > > Noretec Consulting Group, Inc. > hnoreke@noretec.com > > -----Original Message----- > From: Ashish Bhatt [mailto:ashish_bhatt@hotmail.com] > Sent: Saturday, October 20, 2001 8:16 AM > To: sqr-users@list.iex.net; holger@NOREKE.COM > Subject: Re: Re: SQR Question: Getting Values of Dynamic Columns in > select > > I did this yesterday. But how to get the values. > > ----- Original Message ----- > From: "Holger Noreke" > To: > Sent: Saturday, October 20, 2001 11:05 AM > Subject: Re: SQR Question: Getting Values of Dynamic Columns in select > > > > Ashish, > > > > Try [$C1] instead of $C1 > > > > -Holger Noreke > > Noretec Consulting Group, Inc. > > hnoreke@noretec.com > > > > -----Original Message----- > > From: Discussion of SQR, Brio Technology's database > reporting > > language [mailto:SQR-USERS@list.iex.net] On Behalf Of Ashish Bhatt > > Sent: Saturday, October 20, 2001 7:35 AM > > To: SQR-USERS@list.iex.net > > Subject: SQR Question: Getting Values of Dynamic Columns in select > > > > Hi Peoplesoft and SQR Gurus, > > > > I hope you are doing fine today. > > > > I am facing tough time in getting the values of > > Dynamic Columns in the select. > > > > I am having below SQR code: > > > > begin-select > > $c1 > > do Write-Data > > from [$table_name] > > where AUDIT_STAMP < SYSDATE - 1300 > > end-select > > > > > > In the above $c1 is all the column names of the table. > > > > I want the values returned by above select. > > > > Can you please give me some idea how this can be done > > ? > > > > Thanks in advance. > > > > Have a nice day and great weekend. > > > > Regards. > > > > Ashish Bhatt. > > > > > From owner-sqr-users@list.iex.net Sun Oct 21 14:35:06 2001 Date: Sun, 21 Oct 2001 12:33:43 -0700 From: Ashish Bhatt Subject: Re: SQR Question: Getting Values of Dynamic Columns in select When I say Write 1 from $c1 Then I get all column names in the file not the data. ----- Original Message ----- From: "Holger Noreke" To: "Ashish Bhatt" Sent: Saturday, October 20, 2001 11:31 AM Subject: RE: Re: SQR Question: Getting Values of Dynamic Columns in select > What you can do is create another procedure to call, which populates $C1. > It could look something like this (if you are using Oracle, otherwise change > the table name based on the database you are using.) > > BEGIN-PROCEDURE GET-COLUMNS > > LET $C1 = '' > BEGIN-SELECT > COLUMN_NAME > IF $C1 = '' > LET $C1 = &COLUMN_NAME > ELSE > LET $C1 = $C1 || ', ' || &COLUMN_NAME > END-IF > FROM ALL_TAB_COLUMNS > WHERE TABLE_NAME = [$TABLE_NAME] > END-SELECT > > END-PROCEDURE > > BEGIN-PROCEDURE ASHISH > > DO GET-COLUMNS > > Begin-select > $c1 > do Write-Data > from [$table_name] > where AUDIT_STAMP < SYSDATE - 1300 > end-select > > END-PROCEDURE > . > . > . > > > > Let me know how you make out. > > > -Holger Noreke > > Noretec Consulting Group, Inc. > hnoreke@noretec.com > > -----Original Message----- > From: Ashish Bhatt [mailto:ashish_bhatt@hotmail.com] > Sent: Saturday, October 20, 2001 8:16 AM > To: sqr-users@list.iex.net; holger@NOREKE.COM > Subject: Re: Re: SQR Question: Getting Values of Dynamic Columns in > select > > I did this yesterday. But how to get the values. > > ----- Original Message ----- > From: "Holger Noreke" > To: > Sent: Saturday, October 20, 2001 11:05 AM > Subject: Re: SQR Question: Getting Values of Dynamic Columns in select > > > > Ashish, > > > > Try [$C1] instead of $C1 > > > > -Holger Noreke > > Noretec Consulting Group, Inc. > > hnoreke@noretec.com > > > > -----Original Message----- > > From: Discussion of SQR, Brio Technology's database > reporting > > language [mailto:SQR-USERS@list.iex.net] On Behalf Of Ashish Bhatt > > Sent: Saturday, October 20, 2001 7:35 AM > > To: SQR-USERS@list.iex.net > > Subject: SQR Question: Getting Values of Dynamic Columns in select > > > > Hi Peoplesoft and SQR Gurus, > > > > I hope you are doing fine today. > > > > I am facing tough time in getting the values of > > Dynamic Columns in the select. > > > > I am having below SQR code: > > > > begin-select > > $c1 > > do Write-Data > > from [$table_name] > > where AUDIT_STAMP < SYSDATE - 1300 > > end-select > > > > > > In the above $c1 is all the column names of the table. > > > > I want the values returned by above select. > > > > Can you please give me some idea how this can be done > > ? > > > > Thanks in advance. > > > > Have a nice day and great weekend. > > > > Regards. > > > > Ashish Bhatt. > > > > > From owner-sqr-users@list.iex.net Mon Oct 22 07:35:25 2001 Date: Mon, 22 Oct 2001 08:30:04 -0400 From: "Schelske, Steve K." Subject: Re: SQR Question: Getting Values of Dynamic Columns in select When you're selecting dynamic columns, you have to explicitly state the type of data that is going to be returned in that column Try begin-select [$C1] &xxxx=CHAR do Write-Data from [$table_name] where AUDIT_STAMP < SYSDATE - 1300 end-select and use &xxxx in your Write-Data (or move it to a $string variable first). -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Ashish Bhatt Sent: Saturday, October 20, 2001 10:35 AM To: SQR-USERS@list.iex.net Subject: SQR Question: Getting Values of Dynamic Columns in select Hi Peoplesoft and SQR Gurus, I hope you are doing fine today. I am facing tough time in getting the values of Dynamic Columns in the select. I am having below SQR code: begin-select $c1 do Write-Data from [$table_name] where AUDIT_STAMP < SYSDATE - 1300 end-select In the above $c1 is all the column names of the table. I want the values returned by above select. Can you please give me some idea how this can be done ? Thanks in advance. Have a nice day and great weekend. Regards. Ashish Bhatt. From owner-sqr-users@list.iex.net Sat Oct 20 10:11:43 2001 Date: Sat, 20 Oct 2001 11:09:38 -0400 From: Pavan Krishnamurthy Subject: Stored Procedure Hi, Is there any way I can call an Oracle stored procedure within my SQR ? Can someone give an example of the same ? Regards, Pavan From owner-sqr-users@list.iex.net Sun Oct 21 10:09:28 2001 Date: Sun, 21 Oct 2001 07:53:40 -0700 From: Jim Wyant Subject: Re: Stored Procedure Pavan, Here are a few examples of calling Oracle stored function and procedures. Jim Wyant !------------------------------------------------ ! Calls a database procedure - returns multiple values !------------------------------------------------ begin-procedure get_personal_data($emplid,:$name,:$last,:$first,:$middle,:$sex,:$birthdate) begin-sql begin my_pacakge.get_personal_data($emplid,$name,$last,$first,$middle,$sex,$birthdate);; end;; end-sql end-procedure !------------------------------------------------ ! Calls a database function in a select !------------------------------------------------ begin-select ! last_name &last_name my_package.get_ssn($emplid) &ssn from my_table where emplid = $emplid ! end-select !------------------------------------------------ ! Calls a database function to insert a value !------------------------------------------------ begin-sql insert into my_table ( emplid, ssn ) values ( $emplid, my_package.get_ssn($emplid) ); end-sql --- Pavan Krishnamurthy wrote: > Hi, > > Is there any way I can call an Oracle stored > procedure within my SQR ? Can > someone give an example of the same ? > > Regards, > Pavan __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com From owner-sqr-users@list.iex.net Sat Oct 20 13:01:14 2001 Date: Sat, 20 Oct 2001 10:32:50 -0700 From: A Lim Subject: SQL.INI File Error. Win32Client Error.SQL Not Found Looking Up Error 03701 When I try to run SQR, I get the following error message: SQL.INI File Error Win32Client: Win32Client: Error.SQL NOT FOUND LOOKING UP ERROR 03701. Does anyone have a clue what this problem is and how I can correct it? I'm running single-user version, under sqlbase. From owner-sqr-users@list.iex.net Mon Oct 22 08:27:41 2001 Date: Mon, 22 Oct 2001 09:23:41 -0400 From: Denise White Subject: Re: SQL.INI File Error. Win32Client Error.SQL Not Found Look Hi, It's been a long time since I worked with SQLBase, but first of all, this message is telling you that it cannot find ERROR.SQL. This is a file that stores SQL error codes and their related messages. When you have an error, SQR uses this file to get the message to display. I did happen to have a copy of error.sql ('inherited' from a predecessor whose PC I inherited, from back when they had a SQLBase version of ADP PC/Payroll, I think), and looked up 03701, and here is what it said: The errors documented in this section of the Error Guide are for errors that relate to the Configuration File Manager of the SQLBase database. 03701 CFF NCF No configuration file Reason: The SQL.INI configuration file could not be found after searching the current directory, the \SQLBASE directory, the root directory, or the specified operating system search PATH. Remedy: Check for the existence of the SQL.INI file in the appropriate directory. So, the error itself is that it cannot find SQL.INI, but it couldn't give you the message because it also could not find ERROR.SQL. I imagine they both should be in the same directory, but I do not know what that is in your case (in my case, they were both in C:\ADP\SQLBASE). Maybe they are not there, or the directory does not exist, or some setting that should be pointing there is not set up correctly. Hope this helps a little, anyway! Denise White Sr. Programmer/Analyst Vicor ------------------------------ Date: Sat, 20 Oct 2001 10:32:50 -0700 From: A Lim Subject: SQL.INI File Error. Win32Client Error.SQL Not Found Looking Up Error 03701 When I try to run SQR, I get the following error message: SQL.INI File Error Win32Client: Win32Client: Error.SQL NOT FOUND LOOKING UP ERROR 03701. Does anyone have a clue what this problem is and how I can correct it? I'm running single-user version, under sqlbase. From owner-sqr-users@list.iex.net Mon Oct 22 13:10:44 2001 Date: Mon, 22 Oct 2001 11:07:11 -0700 From: Allen Cunningham Subject: sqr hangs in process sheduler We are using PeopleSoft financials version 7.61 with sqr version 4.3, db=Oracle For some reason an sqr submitted thru the process scheduler being run client-side hangs as 'initiated', and never gets processed. Has anyone seen this before?? ac From owner-sqr-users@list.iex.net Mon Oct 22 13:21:52 2001 Date: Mon, 22 Oct 2001 14:19:00 -0400 From: Rick_Creel@AONCONS.COM Subject: Re: sqr hangs in process sheduler When the SQR finishes processing does it report back to the process scheduler, notifying that it has completed? It must set "#completion_code" and "#prcs_run_status" to the appropriate values. A 'STOP QUIET' will halt processing with out letting the process scheduler know its status. Allen Cunningham on 10/22/2001 02:07:11 PM Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Rick Creel/IT/Aon Consulting) Subject: sqr hangs in process sheduler We are using PeopleSoft financials version 7.61 with sqr version 4.3, db=Oracle For some reason an sqr submitted thru the process scheduler being run client-side hangs as 'initiated', and never gets processed. Has anyone seen this before?? ac From owner-sqr-users@list.iex.net Mon Oct 22 13:40:42 2001 Date: Mon, 22 Oct 2001 11:37:46 -0700 From: Allen Cunningham Subject: Re: sqr hangs in process sheduler The sqr is not creating a log file or lis file, so I don't know what is going on. The sqr used to work before we did an 7.60->7.61 tools upgrade. -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Rick_Creel@AONCONS.COM Sent: Monday, October 22, 2001 11:19 AM To: SQR-USERS@list.iex.net Subject: Re: sqr hangs in process sheduler When the SQR finishes processing does it report back to the process scheduler, notifying that it has completed? It must set "#completion_code" and "#prcs_run_status" to the appropriate values. A 'STOP QUIET' will halt processing with out letting the process scheduler know its status. Allen Cunningham on 10/22/2001 02:07:11 PM Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Rick Creel/IT/Aon Consulting) Subject: sqr hangs in process sheduler We are using PeopleSoft financials version 7.61 with sqr version 4.3, db=Oracle For some reason an sqr submitted thru the process scheduler being run client-side hangs as 'initiated', and never gets processed. Has anyone seen this before?? ac From owner-sqr-users@list.iex.net Mon Oct 22 13:45:31 2001 Date: Mon, 22 Oct 2001 14:42:31 -0400 From: Ray Brunner Subject: Re: sqr hangs in process sheduler Sqr's started to hang on my machine when I switched to NT. Have not yet = found the answer. Ray Brunner Skytop Office Building Syracuse University 315/443-9262 >>> allen.cunningham@SONOMA.EDU 10/22/01 02:37PM >>> The sqr is not creating a log file or lis file, so I don't know what is going on. The sqr used to work before we did an 7.60->7.61 tools upgrade. -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Rick_Creel@AONCONS.COM Sent: Monday, October 22, 2001 11:19 AM To: SQR-USERS@list.iex.net Subject: Re: sqr hangs in process sheduler When the SQR finishes processing does it report back to the process scheduler, notifying that it has completed? It must set "#completion_code" and "#prcs_run_status" to the appropriate values. A 'STOP QUIET' will halt processing with out letting the process scheduler know its status. Allen Cunningham on 10/22/2001 02:07:11 PM Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Rick Creel/IT/Aon Consulting) Subject: sqr hangs in process sheduler We are using PeopleSoft financials version 7.61 with sqr version 4.3, db=3DOracle For some reason an sqr submitted thru the process scheduler being run client-side hangs as 'initiated', and never gets processed. Has anyone = seen this before?? ac From owner-sqr-users@list.iex.net Mon Oct 22 13:51:41 2001 Date: Mon, 22 Oct 2001 14:49:18 -0400 From: Praveen Gopu Subject: Re: sqr hangs in process sheduler Look at the process definition itself. Praveen "Allen Cunningham" @list.iex.net> on 10/22/2001 02:37:46 PM Please respond to sqr-users@list.iex.net Sent by: "Discussion of SQR, Brio Technology's database reporting language" To: SQR-USERS@list.iex.net cc: Subject: Re: sqr hangs in process sheduler The sqr is not creating a log file or lis file, so I don't know what is going on. The sqr used to work before we did an 7.60->7.61 tools upgrade. -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Rick_Creel@AONCONS.COM Sent: Monday, October 22, 2001 11:19 AM To: SQR-USERS@list.iex.net Subject: Re: sqr hangs in process sheduler When the SQR finishes processing does it report back to the process scheduler, notifying that it has completed? It must set "#completion_code" and "#prcs_run_status" to the appropriate values. A 'STOP QUIET' will halt processing with out letting the process scheduler know its status. Allen Cunningham on 10/22/2001 02:07:11 PM Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Rick Creel/IT/Aon Consulting) Subject: sqr hangs in process sheduler We are using PeopleSoft financials version 7.61 with sqr version 4.3, db=Oracle For some reason an sqr submitted thru the process scheduler being run client-side hangs as 'initiated', and never gets processed. Has anyone seen this before?? ac From owner-sqr-users@list.iex.net Mon Oct 22 15:18:20 2001 Date: Mon, 22 Oct 2001 13:11:35 -0700 From: Allen Cunningham Subject: Re: sqr hangs in process sheduler Process def didn't change since the last time it worked. ac -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Praveen Gopu Sent: Monday, October 22, 2001 11:49 AM To: SQR-USERS@list.iex.net Subject: Re: sqr hangs in process sheduler Look at the process definition itself. Praveen "Allen Cunningham" @list.iex.net> on 10/22/2001 02:37:46 PM Please respond to sqr-users@list.iex.net Sent by: "Discussion of SQR, Brio Technology's database reporting language" To: SQR-USERS@list.iex.net cc: Subject: Re: sqr hangs in process sheduler The sqr is not creating a log file or lis file, so I don't know what is going on. The sqr used to work before we did an 7.60->7.61 tools upgrade. -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Rick_Creel@AONCONS.COM Sent: Monday, October 22, 2001 11:19 AM To: SQR-USERS@list.iex.net Subject: Re: sqr hangs in process sheduler When the SQR finishes processing does it report back to the process scheduler, notifying that it has completed? It must set "#completion_code" and "#prcs_run_status" to the appropriate values. A 'STOP QUIET' will halt processing with out letting the process scheduler know its status. Allen Cunningham on 10/22/2001 02:07:11 PM Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Rick Creel/IT/Aon Consulting) Subject: sqr hangs in process sheduler We are using PeopleSoft financials version 7.61 with sqr version 4.3, db=Oracle For some reason an sqr submitted thru the process scheduler being run client-side hangs as 'initiated', and never gets processed. Has anyone seen this before?? ac From owner-sqr-users@list.iex.net Mon Oct 22 14:13:54 2001 Date: Mon, 22 Oct 2001 19:11:09 +0000 From: Sanjeevani Bhide Subject: Re: sqr hangs in process sheduler Does your SQR need any input values? >From: Allen Cunningham >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: sqr hangs in process sheduler >Date: Mon, 22 Oct 2001 11:37:46 -0700 > >The sqr is not creating a log file or lis file, so I don't know what is >going on. The sqr used to work before we did an 7.60->7.61 tools upgrade. > >-----Original Message----- >From: Discussion of SQR, Brio Technology's database reporting language >[mailto:SQR-USERS@list.iex.net]On Behalf Of Rick_Creel@AONCONS.COM >Sent: Monday, October 22, 2001 11:19 AM >To: SQR-USERS@list.iex.net >Subject: Re: sqr hangs in process sheduler > > >When the SQR finishes processing does it report back to the process >scheduler, >notifying that it has completed? It must set "#completion_code" and >"#prcs_run_status" to the appropriate values. > >A 'STOP QUIET' will halt processing with out letting the process scheduler >know >its status. > > > > > > >Allen Cunningham on 10/22/2001 02:07:11 PM > >Please respond to sqr-users@list.iex.net > >To: SQR-USERS@list.iex.net >cc: (bcc: Rick Creel/IT/Aon Consulting) > >Subject: sqr hangs in process sheduler > > > >We are using PeopleSoft financials version 7.61 with sqr version 4.3, >db=Oracle >For some reason an sqr submitted thru the process scheduler being run >client-side hangs as 'initiated', and never gets processed. Has anyone seen >this before?? > >ac _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From owner-sqr-users@list.iex.net Mon Oct 22 15:18:24 2001 Date: Mon, 22 Oct 2001 13:11:36 -0700 From: Allen Cunningham Subject: Re: sqr hangs in process sheduler It gets them from the panel. ac -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Sanjeevani Bhide Sent: Monday, October 22, 2001 12:11 PM To: SQR-USERS@list.iex.net Subject: Re: sqr hangs in process sheduler Does your SQR need any input values? >From: Allen Cunningham >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: sqr hangs in process sheduler >Date: Mon, 22 Oct 2001 11:37:46 -0700 > >The sqr is not creating a log file or lis file, so I don't know what is >going on. The sqr used to work before we did an 7.60->7.61 tools upgrade. > >-----Original Message----- >From: Discussion of SQR, Brio Technology's database reporting language >[mailto:SQR-USERS@list.iex.net]On Behalf Of Rick_Creel@AONCONS.COM >Sent: Monday, October 22, 2001 11:19 AM >To: SQR-USERS@list.iex.net >Subject: Re: sqr hangs in process sheduler > > >When the SQR finishes processing does it report back to the process >scheduler, >notifying that it has completed? It must set "#completion_code" and >"#prcs_run_status" to the appropriate values. > >A 'STOP QUIET' will halt processing with out letting the process scheduler >know >its status. > > > > > > >Allen Cunningham on 10/22/2001 02:07:11 PM > >Please respond to sqr-users@list.iex.net > >To: SQR-USERS@list.iex.net >cc: (bcc: Rick Creel/IT/Aon Consulting) > >Subject: sqr hangs in process sheduler > > > >We are using PeopleSoft financials version 7.61 with sqr version 4.3, >db=Oracle >For some reason an sqr submitted thru the process scheduler being run >client-side hangs as 'initiated', and never gets processed. Has anyone seen >this before?? > >ac _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From owner-sqr-users@list.iex.net Mon Oct 22 15:33:45 2001 Date: Mon, 22 Oct 2001 13:30:26 -0700 From: Rachael Beatty Subject: Re: sqr hangs in process sheduler --0__=dExpmbVy4YSa5SFiPXMxFgb4pIcVFHgmYIwliClJdOzGDSimhdubYuuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 7bit Is this a delivered sqr or a custom sqr? Is it attached to a delivered proces type or a custom process type? Validate theat the process difnition and the process type are set up the same in both tools releases. HTH, Rachael > -----Original Message----- > From: "Sanjeevani Bhide" @INTERNET > Sent: Monday, October 22, 2001 12:11 PM > To: SQR-USERS@list.iex.net > Subject: Re: sqr hangs in process sheduler > > > Does your SQR need any input values? > > >From: Allen Cunningham > >Reply-To: sqr-users@list.iex.net > >To: SQR-USERS@list.iex.net > >Subject: Re: sqr hangs in process sheduler > >Date: Mon, 22 Oct 2001 11:37:46 -0700 > > > >The sqr is not creating a log file or lis file, so I don't know what is > >going on. The sqr used to work before we did an 7.60->7.61 tools upgrade. > > > >-----Original Message----- > >From: Discussion of SQR, Brio Technology's database reporting language > >[mailto:SQR-USERS@list.iex.net]On Behalf Of Rick_Creel@AONCONS.COM > >Sent: Monday, October 22, 2001 11:19 AM > >To: SQR-USERS@list.iex.net > >Subject: Re: sqr hangs in process sheduler > > > > > >When the SQR finishes processing does it report back to the process > >scheduler, > >notifying that it has completed? It must set "#completion_code" and > >"#prcs_run_status" to the appropriate values. > > > >A 'STOP QUIET' will halt processing with out letting the process > scheduler > >know > >its status. > > > > > > > > > > > > > >Allen Cunningham on 10/22/2001 02:07:11 PM > > > >Please respond to sqr-users@list.iex.net > > > >To: SQR-USERS@list.iex.net > >cc: (bcc: Rick Creel/IT/Aon Consulting) > > > >Subject: sqr hangs in process sheduler > > > > > > > >We are using PeopleSoft financials version 7.61 with sqr version 4.3, > >db=Oracle > >For some reason an sqr submitted thru the process scheduler being run > >client-side hangs as 'initiated', and never gets processed. Has anyone > seen > >this before?? > > > >ac > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > (See attached file: C.DTF) --0__=dExpmbVy4YSa5SFiPXMxFgb4pIcVFHgmYIwliClJdOzGDSimhdubYuuQ Content-Type: application/octet-stream; name=C.DTF Content-Disposition: attachment; filename=C.DTF Content-Transfer-Encoding: base64 eJ8+IiYUAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQWAAwAOAAAA0QcKABYADQAeABoAAQA+AQEggAMADgAAANEHCgAW AA0AGgAiAAEAQgEBCYABACEAAABBM0ExM0Q0QjI1QzdENTExQUM0MzAwMDBFODY3QzBFRgAiBwEE gAEAIgAAAFJFOiBzcXIgaGFuZ3MgaW4gcHJvY2VzcyBzaGVkdWxlcgAKDAENgAQAAgAAAAIAAgAB A5AGAPANAAA4AAAAAwAAgAggBgAAAAAAwAAAAAAAAEYAAAAAUoUAAPATAAAeAAGACCAGAAAAAADA AAAAAAAARgAAAABUhQAAAQAAAAQAAAA4LjUACwACgAggBgAAAAAAwAAAAAAAAEYAAAAABoUAAAAA AAADAAOACCAGAAAAAADAAAAAAAAARgAAAAABhQAAAAAAAAsABIAIIAYAAAAAAMAAAAAAAABGAAAA AAOFAAAAAAAACwAFgAggBgAAAAAAwAAAAAAAAEYAAAAADoUAAAAAAAADAAaACCAGAAAAAADAAAAA AAAARgAAAAAQhQAAAAAAAAMAB4AIIAY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NFU1RZUEVPUkFDVVNUT01QUk9DRVNTVFlQ RT9WQUxJREFURVRIRUFUAAAAAAIBfwABAAAAQQAAADxFRDY3RkQ3MDBBMzVENDExQUMyNDAwMDRB QzRDOTVFMzAzRTEwOThEQGxheGhobXhzMDEuaGlsdG9uLmNvbT4AAAAAPpACApAGAA4AAAACALYB AAD/////AAAAALUEAhCAAQAUAAAAVW50aXRsZWQgQXR0YWNobWVudAByBwISgAMADgAAANEHCgAW AA0AHgAYAAEAPAECE4ADAA4AAADRBwoAFgANAB4AGAABADwBAgWQBgDMDgAADQAAAAMAIQ4AAAAA AwALN7YBAAADACAOTg4AAAMA9w8AAAAAAgEQaAEAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAEAABzDA JRJhOFvBAUAACDDAJRJhOFvBAQMABTcGAAAAAgECNwEAAAAAAAAAHgABMAEAAAABAAAAAAAAAAIB CjcBAAAACwAAACqGSIb3FAMKAwIBAAIB+Q8BAAAAEAAAADwpu6Epx9URuqwABKxMpXcNAAE3AQAA ABAOAAALAAAAAAAAAMAAAAAAAABG0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAA AAAAAAAAAAABAAAAAQAAAAAAAAAAEAAAAgAAAAEAAAD+////AAAAAAAAAAD///////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////9////BAAAAP7///8FAAAA/v////7///////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////1IAbwBvAHQAIABFAG4AdAByAHkAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWAAUA//////////8CAAAAFgMAAAAAAADAAAAAAAAA RgAAAAAAAAAAAAAAAOAZ0Kw4W8EBAwAAAEACAAAAAAAAAQBPAGwAZQAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAgH///////////////8A AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAACAE8AbABlAFAA cgBlAHMAMAAwADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAAC AQEAAAADAAAA/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAACAAQAA AAAAAAMATQBhAGkAbABTAHQAcgBlAGEAbQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAYAAIB/////wQAAAD/////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAABwAAAAwAAAAAAAAA/v///wIAAAADAAAABAAAAAUAAAAGAAAA/v////7////+//////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////8BAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/////wgAAAAEAAAAAQAAAP////8CAAAAAAAAAMw6AABp AAAAUAEAACgAAAA5AgAABAAAAAEAAQAAAAAAIAEAAMQOAADEDgAAAAAAAAAAAAAAAAAA////AP// //////////////////////////////////////////////////////////////////////////// ////////////////gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgP////////////////// //////////////////////////////////////////////////////////////////////////// gE5BTkkAAAAAAQAAAM86AABqAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAFIAaQBjAGgARQBkAGkAdABGAGwAYQBnAHMAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAIA////////////////AAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAACAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///////////////8AAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP// /////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAQAAQAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAABXuQ== --0__=dExpmbVy4YSa5SFiPXMxFgb4pIcVFHgmYIwliClJdOzGDSimhdubYuuQ-- From owner-sqr-users@list.iex.net Mon Oct 22 17:00:17 2001 Date: Mon, 22 Oct 2001 14:55:17 -0700 From: Allen Cunningham Subject: Re: sqr hangs in process sheduler Custom sqr, attached to 'SQR Report' standard process type. Thanks for the input, I'll check out the process defs for both tools release and see if there are any differences. ac -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Rachael Beatty Sent: Monday, October 22, 2001 1:30 PM To: SQR-USERS@list.iex.net Subject: Re: sqr hangs in process sheduler Is this a delivered sqr or a custom sqr? Is it attached to a delivered proces type or a custom process type? Validate theat the process difnition and the process type are set up the same in both tools releases. HTH, Rachael > -----Original Message----- > From: "Sanjeevani Bhide" @INTERNET > Sent: Monday, October 22, 2001 12:11 PM > To: SQR-USERS@list.iex.net > Subject: Re: sqr hangs in process sheduler > > > Does your SQR need any input values? > > >From: Allen Cunningham > >Reply-To: sqr-users@list.iex.net > >To: SQR-USERS@list.iex.net > >Subject: Re: sqr hangs in process sheduler > >Date: Mon, 22 Oct 2001 11:37:46 -0700 > > > >The sqr is not creating a log file or lis file, so I don't know what is > >going on. The sqr used to work before we did an 7.60->7.61 tools upgrade. > > > >-----Original Message----- > >From: Discussion of SQR, Brio Technology's database reporting language > >[mailto:SQR-USERS@list.iex.net]On Behalf Of Rick_Creel@AONCONS.COM > >Sent: Monday, October 22, 2001 11:19 AM > >To: SQR-USERS@list.iex.net > >Subject: Re: sqr hangs in process sheduler > > > > > >When the SQR finishes processing does it report back to the process > >scheduler, > >notifying that it has completed? It must set "#completion_code" and > >"#prcs_run_status" to the appropriate values. > > > >A 'STOP QUIET' will halt processing with out letting the process > scheduler > >know > >its status. > > > > > > > > > > > > > >Allen Cunningham on 10/22/2001 02:07:11 PM > > > >Please respond to sqr-users@list.iex.net > > > >To: SQR-USERS@list.iex.net > >cc: (bcc: Rick Creel/IT/Aon Consulting) > > > >Subject: sqr hangs in process sheduler > > > > > > > >We are using PeopleSoft financials version 7.61 with sqr version 4.3, > >db=Oracle > >For some reason an sqr submitted thru the process scheduler being run > >client-side hangs as 'initiated', and never gets processed. Has anyone > seen > >this before?? > > > >ac > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > (See attached file: C.DTF) From owner-sqr-users@list.iex.net Mon Oct 22 15:50:51 2001 Date: Mon, 22 Oct 2001 20:48:30 +0000 From: Elvis Pressly Subject: Re: sqr hangs in process sheduler There could be a lot of causes why this SQR pgm is in Initiate state. 1. Did you check if somebody has also submitted this same job which can also be in error or initiate status. 2. Is the database accessible by anyone else. Other cause is when operators did a backup of your database while you submitted the job. 3. Are you sure nobody changed the SQR? Does other SQR runs OK? 4. If location is CLIENT did you check the config manager for the correct path of the SQR (PSSQR1, PSSQR2 etc) 5. Can you run the same SQR using SQRW.exe? and successful? >From: Allen Cunningham >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: sqr hangs in process sheduler >Date: Mon, 22 Oct 2001 13:11:35 -0700 > >Process def didn't change since the last time it worked. > >ac > >-----Original Message----- >From: Discussion of SQR, Brio Technology's database reporting language >[mailto:SQR-USERS@list.iex.net]On Behalf Of Praveen Gopu >Sent: Monday, October 22, 2001 11:49 AM >To: SQR-USERS@list.iex.net >Subject: Re: sqr hangs in process sheduler > > >Look at the process definition itself. > >Praveen > > > > >"Allen Cunningham" @list.iex.net> on >10/22/2001 02:37:46 PM > >Please respond to sqr-users@list.iex.net > >Sent by: "Discussion of SQR, Brio Technology's database reporting > language" > > >To: SQR-USERS@list.iex.net >cc: > >Subject: Re: sqr hangs in process sheduler > > >The sqr is not creating a log file or lis file, so I don't know what is >going on. The sqr used to work before we did an 7.60->7.61 tools upgrade. > >-----Original Message----- >From: Discussion of SQR, Brio Technology's database reporting language >[mailto:SQR-USERS@list.iex.net]On Behalf Of Rick_Creel@AONCONS.COM >Sent: Monday, October 22, 2001 11:19 AM >To: SQR-USERS@list.iex.net >Subject: Re: sqr hangs in process sheduler > > >When the SQR finishes processing does it report back to the process >scheduler, >notifying that it has completed? It must set "#completion_code" and >"#prcs_run_status" to the appropriate values. > >A 'STOP QUIET' will halt processing with out letting the process scheduler >know >its status. > > > > > > >Allen Cunningham on 10/22/2001 02:07:11 PM > >Please respond to sqr-users@list.iex.net > >To: SQR-USERS@list.iex.net >cc: (bcc: Rick Creel/IT/Aon Consulting) > >Subject: sqr hangs in process sheduler > > > >We are using PeopleSoft financials version 7.61 with sqr version 4.3, >db=Oracle >For some reason an sqr submitted thru the process scheduler being run >client-side hangs as 'initiated', and never gets processed. Has anyone seen >this before?? > >ac _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From owner-sqr-users@list.iex.net Mon Oct 22 17:00:19 2001 Date: Mon, 22 Oct 2001 14:55:17 -0700 From: Allen Cunningham Subject: Re: sqr hangs in process sheduler You've given me some things to look at, thanks for the input, I'll check them out. ac -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Elvis Pressly Sent: Monday, October 22, 2001 1:49 PM To: SQR-USERS@list.iex.net Subject: Re: sqr hangs in process sheduler There could be a lot of causes why this SQR pgm is in Initiate state. 1. Did you check if somebody has also submitted this same job which can also be in error or initiate status. 2. Is the database accessible by anyone else. Other cause is when operators did a backup of your database while you submitted the job. 3. Are you sure nobody changed the SQR? Does other SQR runs OK? 4. If location is CLIENT did you check the config manager for the correct path of the SQR (PSSQR1, PSSQR2 etc) 5. Can you run the same SQR using SQRW.exe? and successful? >From: Allen Cunningham >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: sqr hangs in process sheduler >Date: Mon, 22 Oct 2001 13:11:35 -0700 > >Process def didn't change since the last time it worked. > >ac > >-----Original Message----- >From: Discussion of SQR, Brio Technology's database reporting language >[mailto:SQR-USERS@list.iex.net]On Behalf Of Praveen Gopu >Sent: Monday, October 22, 2001 11:49 AM >To: SQR-USERS@list.iex.net >Subject: Re: sqr hangs in process sheduler > > >Look at the process definition itself. > >Praveen > > > > >"Allen Cunningham" @list.iex.net> on >10/22/2001 02:37:46 PM > >Please respond to sqr-users@list.iex.net > >Sent by: "Discussion of SQR, Brio Technology's database reporting > language" > > >To: SQR-USERS@list.iex.net >cc: > >Subject: Re: sqr hangs in process sheduler > > >The sqr is not creating a log file or lis file, so I don't know what is >going on. The sqr used to work before we did an 7.60->7.61 tools upgrade. > >-----Original Message----- >From: Discussion of SQR, Brio Technology's database reporting language >[mailto:SQR-USERS@list.iex.net]On Behalf Of Rick_Creel@AONCONS.COM >Sent: Monday, October 22, 2001 11:19 AM >To: SQR-USERS@list.iex.net >Subject: Re: sqr hangs in process sheduler > > >When the SQR finishes processing does it report back to the process >scheduler, >notifying that it has completed? It must set "#completion_code" and >"#prcs_run_status" to the appropriate values. > >A 'STOP QUIET' will halt processing with out letting the process scheduler >know >its status. > > > > > > >Allen Cunningham on 10/22/2001 02:07:11 PM > >Please respond to sqr-users@list.iex.net > >To: SQR-USERS@list.iex.net >cc: (bcc: Rick Creel/IT/Aon Consulting) > >Subject: sqr hangs in process sheduler > > > >We are using PeopleSoft financials version 7.61 with sqr version 4.3, >db=Oracle >For some reason an sqr submitted thru the process scheduler being run >client-side hangs as 'initiated', and never gets processed. Has anyone seen >this before?? > >ac _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From owner-sqr-users@list.iex.net Mon Oct 22 17:20:37 2001 Date: Mon, 22 Oct 2001 15:16:41 -0700 From: Rachael Beatty Subject: Re: sqr hangs in process sheduler --0__=shXWQANunGPLWw11t4cVWALSGLfHM5x7a039DBFBdJzp0MQ0eZ6WTIRW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 7bit Also compare the process types. This is what drives the sqr run and sets the flags. Someone may have customized the delivered process type for your old database. Also check you sqr flags in your configuration manager and also check the flags set up on the process definition. Rachael > -----Original Message----- > From: "Allen Cunningham" @INTERNET > Sent: Monday, October 22, 2001 2:55 PM > To: SQR-USERS@list.iex.net > Subject: Re: sqr hangs in process sheduler > > > Custom sqr, attached to 'SQR Report' standard process type. Thanks for the > input, I'll check out the process defs for both tools release and see if > there are any differences. > > > ac > > -----Original Message----- > From: Discussion of SQR, Brio Technology's database reporting language > [mailto:SQR-USERS@list.iex.net]On Behalf Of Rachael Beatty > Sent: Monday, October 22, 2001 1:30 PM > To: SQR-USERS@list.iex.net > Subject: Re: sqr hangs in process sheduler > > > > > > Is this a delivered sqr or a custom sqr? Is it attached to a delivered > proces type or a custom process type? > > Validate theat the process difnition and the process type are set up the > same in both tools releases. > > HTH, > Rachael > > > -----Original Message----- > > From: "Sanjeevani Bhide" @INTERNET > > Sent: Monday, October 22, 2001 12:11 PM > > To: SQR-USERS@list.iex.net > > Subject: Re: sqr hangs in process sheduler > > > > > > Does your SQR need any input values? > > > > >From: Allen Cunningham > > >Reply-To: sqr-users@list.iex.net > > >To: SQR-USERS@list.iex.net > > >Subject: Re: sqr hangs in process sheduler > > >Date: Mon, 22 Oct 2001 11:37:46 -0700 > > > > > >The sqr is not creating a log file or lis file, so I don't know what is > > >going on. The sqr used to work before we did an 7.60->7.61 tools > upgrade. > > > > > >-----Original Message----- > > >From: Discussion of SQR, Brio Technology's database reporting language > > >[mailto:SQR-USERS@list.iex.net]On Behalf Of Rick_Creel@AONCONS.COM > > >Sent: Monday, October 22, 2001 11:19 AM > > >To: SQR-USERS@list.iex.net > > >Subject: Re: sqr hangs in process sheduler > > > > > > > > >When the SQR finishes processing does it report back to the process > > >scheduler, > > >notifying that it has completed? It must set "#completion_code" and > > >"#prcs_run_status" to the appropriate values. > > > > > >A 'STOP QUIET' will halt processing with out letting the process > > scheduler > > >know > > >its status. > > > > > > > > > > > > > > > > > > > > >Allen Cunningham on 10/22/2001 02:07:11 > PM > > > > > >Please respond to sqr-users@list.iex.net > > > > > >To: SQR-USERS@list.iex.net > > >cc: (bcc: Rick Creel/IT/Aon Consulting) > > > > > >Subject: sqr hangs in process sheduler > > > > > > > > > > > >We are using PeopleSoft financials version 7.61 with sqr version 4.3, > > >db=Oracle > > >For some reason an sqr submitted thru the process scheduler being run > > >client-side hangs as 'initiated', and never gets processed. Has anyone > > seen > > >this before?? > > > > > >ac > > > > > > _________________________________________________________________ > > Get your FREE download of MSN Explorer at > http://explorer.msn.com/intl.asp > > > > (See attached file: C.DTF) > (See attached file: C.DTF) --0__=shXWQANunGPLWw11t4cVWALSGLfHM5x7a039DBFBdJzp0MQ0eZ6WTIRW Content-Type: application/octet-stream; name=C.DTF Content-Disposition: attachment; filename=C.DTF Content-Transfer-Encoding: base64 eJ8+IjQWAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA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U1FSUlVO QU5EU0VUU1RIRUZMQUdTU09NRU9ORU1BWUhBVkVDVVNUT01JWkVEVEhFREVMSVZFUgAAAAACAX8A AQAAAEEAAAA8RUQ2N0ZENzAwQTM1RDQxMUFDMjQwMDA0QUM0Qzk1RTMwM0UxMDk4RUBsYXhoaG14 czAxLmhpbHRvbi5jb20+AAAAAH9dAgKQBgAOAAAAAgD3AQAA/////wAAAAD2BAIQgAEAFAAAAFVu dGl0bGVkIEF0dGFjaG1lbnQAcgcCEoADAA4AAADRBwoAFgAPABAAJwABAD8BAhOAAwAOAAAA0QcK ABYADwAQACcAAQA/AQIFkAYAzA4AAA0AAAADACEOAAAAAAMACzf3AQAAAwAgDk4OAAADAPcPAAAA AAIBEGgBAAAADgAAAAAAAAAAAAAAAAAAAAAAAABAAAcwgJbIOEdbwQFAAAgwgJbIOEdbwQEDAAU3 BgAAAAIBAjcBAAAAAAAAAB4AATABAAAAAQAAAAAAAAACAQo3AQAAAAsAAAAqhkiG9xQDCgMCAQAC AfkPAQAAABAAAAALP7uhKcfVEbqsAASsTKV3DQABNwEAAAAQDgAACwAAAAAAAADAAAAAAAAARtDP EeChsRrhAAAAAAAAAAAAAAAAAAAAAD4AAwD+/wkABgAAAAAAAAAAAAAAAQAAAAEAAAAAAAAAABAA AAIAAAABAAAA/v///wAAAAAAAAAA//////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////f// /wQAAAD+////BQAAAP7////+//////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////9SAG8A bwB0ACAARQBuAHQAcgB5AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAFgAFAP//////////AgAAABYDAAAAAAAAwAAAAAAAAEYAAAAAAAAAAAAAAABAZI+ER1vBAQMA AABAAgAAAAAAAAEATwBsAGUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAKAAIB////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAgBPAGwAZQBQAHIAZQBzADAAMAAwAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAgEBAAAAAwAAAP////8AAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAgAEAAAAAAAADAE0AYQBpAGwAUwB0AHIAZQBh AG0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAACAf////8EAAAA /////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAMAAAAAAAAAP7///8C AAAAAwAAAAQAAAAFAAAABgAAAP7////+/////v////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////AQAAAgAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AP////8IAAAABAAAAAEAAAD/////AgAAAAAAAADMOgAAaQAAAFABAAAoAAAAOQIAAAQAAAABAAEA AAAAACABAADEDgAAxA4AAAAAAAAAAAAAAAAAAP///wD///////////////////////////////// /////////////////////////////////////////////////////////////4AAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAYD///////////////////////////////////////////////// /////////////////////////////////////////////4BOQU5JAAAAAAEAAADPOgAAagAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABSAGkAYwBo AEUAZABpAHQARgBsAGEAZwBzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA HAACAP///////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAM AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///////////////8AAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////////////// /wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAEAAAAAA AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaLo= --0__=shXWQANunGPLWw11t4cVWALSGLfHM5x7a039DBFBdJzp0MQ0eZ6WTIRW-- From owner-sqr-users@list.iex.net Mon Oct 22 17:55:17 2001 Date: Mon, 22 Oct 2001 15:51:21 -0700 From: Allen Cunningham Subject: Re: sqr hangs in process sheduler Thanks for the input, I will check on those. ac -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Rachael Beatty Sent: Monday, October 22, 2001 3:17 PM To: SQR-USERS@list.iex.net Subject: Re: sqr hangs in process sheduler Also compare the process types. This is what drives the sqr run and sets the flags. Someone may have customized the delivered process type for your old database. Also check you sqr flags in your configuration manager and also check the flags set up on the process definition. Rachael > -----Original Message----- > From: "Allen Cunningham" @INTERNET > Sent: Monday, October 22, 2001 2:55 PM > To: SQR-USERS@list.iex.net > Subject: Re: sqr hangs in process sheduler > > > Custom sqr, attached to 'SQR Report' standard process type. Thanks for the > input, I'll check out the process defs for both tools release and see if > there are any differences. > > > ac > > -----Original Message----- > From: Discussion of SQR, Brio Technology's database reporting language > [mailto:SQR-USERS@list.iex.net]On Behalf Of Rachael Beatty > Sent: Monday, October 22, 2001 1:30 PM > To: SQR-USERS@list.iex.net > Subject: Re: sqr hangs in process sheduler > > > > > > Is this a delivered sqr or a custom sqr? Is it attached to a delivered > proces type or a custom process type? > > Validate theat the process difnition and the process type are set up the > same in both tools releases. > > HTH, > Rachael > > > -----Original Message----- > > From: "Sanjeevani Bhide" @INTERNET > > Sent: Monday, October 22, 2001 12:11 PM > > To: SQR-USERS@list.iex.net > > Subject: Re: sqr hangs in process sheduler > > > > > > Does your SQR need any input values? > > > > >From: Allen Cunningham > > >Reply-To: sqr-users@list.iex.net > > >To: SQR-USERS@list.iex.net > > >Subject: Re: sqr hangs in process sheduler > > >Date: Mon, 22 Oct 2001 11:37:46 -0700 > > > > > >The sqr is not creating a log file or lis file, so I don't know what is > > >going on. The sqr used to work before we did an 7.60->7.61 tools > upgrade. > > > > > >-----Original Message----- > > >From: Discussion of SQR, Brio Technology's database reporting language > > >[mailto:SQR-USERS@list.iex.net]On Behalf Of Rick_Creel@AONCONS.COM > > >Sent: Monday, October 22, 2001 11:19 AM > > >To: SQR-USERS@list.iex.net > > >Subject: Re: sqr hangs in process sheduler > > > > > > > > >When the SQR finishes processing does it report back to the process > > >scheduler, > > >notifying that it has completed? It must set "#completion_code" and > > >"#prcs_run_status" to the appropriate values. > > > > > >A 'STOP QUIET' will halt processing with out letting the process > > scheduler > > >know > > >its status. > > > > > > > > > > > > > > > > > > > > >Allen Cunningham on 10/22/2001 02:07:11 > PM > > > > > >Please respond to sqr-users@list.iex.net > > > > > >To: SQR-USERS@list.iex.net > > >cc: (bcc: Rick Creel/IT/Aon Consulting) > > > > > >Subject: sqr hangs in process sheduler > > > > > > > > > > > >We are using PeopleSoft financials version 7.61 with sqr version 4.3, > > >db=Oracle > > >For some reason an sqr submitted thru the process scheduler being run > > >client-side hangs as 'initiated', and never gets processed. Has anyone > > seen > > >this before?? > > > > > >ac > > > > > > _________________________________________________________________ > > Get your FREE download of MSN Explorer at > http://explorer.msn.com/intl.asp > > > > (See attached file: C.DTF) > (See attached file: C.DTF) From owner-sqr-users@list.iex.net Wed Nov 7 14:50:30 2001 Date: Wed, 7 Nov 2001 14:48:42 -0500 From: Ray Brunner Subject: Re: sqr hangs in process sheduler Ray Brunner Skytop Office Building Syracuse University 315/443-9262 >>> allen.cunningham@SONOMA.EDU 10/22/01 06:51PM >>> Thanks for the input, I will check on those. ac -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Rachael Beatty Sent: Monday, October 22, 2001 3:17 PM To: SQR-USERS@list.iex.net Subject: Re: sqr hangs in process sheduler Also compare the process types. This is what drives the sqr run and sets the flags. Someone may have customized the delivered process type for = your old database. Also check you sqr flags in your configuration manager and also check the flags set up on the process definition. Rachael > -----Original Message----- > From: "Allen Cunningham" @INTERNET > Sent: Monday, October 22, 2001 2:55 PM > To: SQR-USERS@list.iex.net > Subject: Re: sqr hangs in process sheduler > > > Custom sqr, attached to 'SQR Report' standard process type. Thanks for = the > input, I'll check out the process defs for both tools release and see if > there are any differences. > > > ac > > -----Original Message----- > From: Discussion of SQR, Brio Technology's database reporting language > [mailto:SQR-USERS@list.iex.net]On Behalf Of Rachael Beatty > Sent: Monday, October 22, 2001 1:30 PM > To: SQR-USERS@list.iex.net > Subject: Re: sqr hangs in process sheduler > > > > > > Is this a delivered sqr or a custom sqr? Is it attached to a delivered > proces type or a custom process type? > > Validate theat the process difnition and the process type are set up the > same in both tools releases. > > HTH, > Rachael > > > -----Original Message----- > > From: "Sanjeevani Bhide" @INTERNET > > Sent: Monday, October 22, 2001 12:11 PM > > To: SQR-USERS@list.iex.net > > Subject: Re: sqr hangs in process sheduler > > > > > > Does your SQR need any input values? > > > > >From: Allen Cunningham > > >Reply-To: sqr-users@list.iex.net > > >To: SQR-USERS@list.iex.net > > >Subject: Re: sqr hangs in process sheduler > > >Date: Mon, 22 Oct 2001 11:37:46 -0700 > > > > > >The sqr is not creating a log file or lis file, so I don't know what = is > > >going on. The sqr used to work before we did an 7.60->7.61 tools > upgrade. > > > > > >-----Original Message----- > > >From: Discussion of SQR, Brio Technology's database reporting = language > > >[mailto:SQR-USERS@list.iex.net]On Behalf Of Rick_Creel@AONCONS.COM > > >Sent: Monday, October 22, 2001 11:19 AM > > >To: SQR-USERS@list.iex.net > > >Subject: Re: sqr hangs in process sheduler > > > > > > > > >When the SQR finishes processing does it report back to the process > > >scheduler, > > >notifying that it has completed? It must set "#completion_code" and > > >"#prcs_run_status" to the appropriate values. > > > > > >A 'STOP QUIET' will halt processing with out letting the process > > scheduler > > >know > > >its status. > > > > > > > > > > > > > > > > > > > > >Allen Cunningham on 10/22/2001 02:07:11 > PM > > > > > >Please respond to sqr-users@list.iex.net > > > > > >To: SQR-USERS@list.iex.net > > >cc: (bcc: Rick Creel/IT/Aon Consulting) > > > > > >Subject: sqr hangs in process sheduler > > > > > > > > > > > >We are using PeopleSoft financials version 7.61 with sqr version 4.3, > > >db=3DOracle > > >For some reason an sqr submitted thru the process scheduler being run > > >client-side hangs as 'initiated', and never gets processed. Has = anyone > > seen > > >this before?? > > > > > >ac > > > > > > _________________________________________________________________ > > Get your FREE download of MSN Explorer at > http://explorer.msn.com/intl.asp > > > > (See attached file: C.DTF) > (See attached file: C.DTF) From owner-sqr-users@list.iex.net Mon Oct 22 18:57:29 2001 Date: Mon, 22 Oct 2001 16:55:14 -0700 From: Ashish Bhatt Subject: Help in getting data into CSV file Hi Peoplesoft and SQR Gurus, I hope you are doing fine today. I have in $select_statement all my column names, table name and the = condition. My $select_statement is as below. It returns multiple rows. let $select_statement =3D "select = EMPLOYER_APPROVED,PREV_SABB_ELIG_DT,AUDIT_OPRID from PS_AUDIT_ABS_HIST = where AUDIT_STAMP < SYSDATE - 1300;" I want to run this in SQR and get data in CSV (Comma Separated) file. In the above statement fields and tables are dynamically created - = meaning that no fix number of columns. The columns comes from = ALL_TAB_COLUMNS. Is it possible in SQR ? Please reply. Thanks in advance. Have a nice day and great weekend. Regards. Ashish Bhatt. From owner-sqr-users@list.iex.net Mon Oct 22 21:00:45 2001 Date: Mon, 22 Oct 2001 18:58:34 -0700 From: David Donnelly Subject: Re: Help in getting data into CSV file Ashish, There is no easy way to do this in SQR. I would suggest two methods: 1. If you know a reasonable maximum limit on the number of fields, you can do something like this: unstring column_list by ',' into $c1 $c2 $c3 $c4 $c5 ... begin-select [$c1] [$c2] [$c3] [$c4] [$c5] [etc] However, either all the fields have to be the same type or you have to know what type they are and assign the names to the right type of variable. 2. The second way is to use a first program to construct a portion of a second program. open 1 as 'whatever.inc' for-writing begin-select column-name column-type write 1 from &column_name let $text = ' concat '','' with $out' write 1 from $text let $text = ' concat &column_name with $out' write 1 from $text from all_tab_columns end-select close 1 and in the second program begin-select #include whatever.inc from $table-name etc I think you can take it from there .... Dave At 04:55 PM 10/22/2001 -0700, you wrote: >Hi Peoplesoft and SQR Gurus, > >I hope you are doing fine today. > >I have in $select_statement all my column names, table name and the >condition. > >My $select_statement is as below. It returns multiple rows. > >let $select_statement = "select >EMPLOYER_APPROVED,PREV_SABB_ELIG_DT,AUDIT_OPRID from PS_AUDIT_ABS_HIST >where AUDIT_STAMP < SYSDATE - 1300;" > >I want to run this in SQR and get data in CSV (Comma Separated) file. > >In the above statement fields and tables are dynamically created - meaning >that no fix number of columns. The columns comes from ALL_TAB_COLUMNS. > >Is it possible in SQR ? Please reply. > >Thanks in advance. > >Have a nice day and great weekend. > >Regards. > >Ashish Bhatt. Dave Donnelly ISIS BioComp phone (909) 677-2446 fax (781) 207-5533 From owner-sqr-users@list.iex.net Tue Oct 23 03:10:19 2001 Date: Tue, 23 Oct 2001 10:03:28 +0200 From: "Kloprogge,F.J.M. (Frank)" Subject: Re: Help in getting data into CSV file Hi Ashish, you need to create your $select in a little bit different way. You could change it to: EMPLOYER_APPROVED || ',' || to_char(PREV_SABB_ELIG_DT,'dd-mm-yyyy') || ',' || AUDIT_OPRID (so leave the 'select' out of there and make sure all the fields are character or converted to character) put the from in $from and the where clause in $where from PS_AUDIT_ABS_HIST where AUDIT_STAMP < SYSDATE - 1300; Then do begin-select [$select] &col=char print &col () [$from] [$where] end-select Frank Kloprogge Fontys ICT-Services DBA PeopleSoft 08778-78710 -----Oorspronkelijk bericht----- Van: Ashish Bhatt [mailto:ashish_bhatt@HOTMAIL.COM] Verzonden: dinsdag 23 oktober 2001 1:55 Aan: SQR-USERS@LIST.IEX.NET Onderwerp: Help in getting data into CSV file Hi Peoplesoft and SQR Gurus, I hope you are doing fine today. I have in $select_statement all my column names, table name and the condition. My $select_statement is as below. It returns multiple rows. let $select_statement = "select EMPLOYER_APPROVED,PREV_SABB_ELIG_DT,AUDIT_OPRID from PS_AUDIT_ABS_HIST where AUDIT_STAMP < SYSDATE - 1300;" I want to run this in SQR and get data in CSV (Comma Separated) file. In the above statement fields and tables are dynamically created - meaning that no fix number of columns. The columns comes from ALL_TAB_COLUMNS. Is it possible in SQR ? Please reply. Thanks in advance. Have a nice day and great weekend. Regards. Ashish Bhatt. From owner-sqr-users@list.iex.net Tue Oct 23 07:16:17 2001 Date: Tue, 23 Oct 2001 08:13:44 -0400 From: George Jansen Subject: Re: Help in getting data into CSV file Why use SQR for this? Why not use Perl DBI? SQR is fine for many purposes, but for dynamic manipulation of text and of lists of dynamic length, a scripting language such as Perl, Python, or Tcl will be a lot quicker. my $stmt_txt = &build_statement($dbh, $var1, $var2); my $sth = $dbh->execute($stmt_txt); while (my @fields = $sth->fetchrow_array()) { print '"', join('","', @fields), '"', "\n"; } Of course this omits considerations such as special characters in you fields, which is like omitting consideration of bends in the road, other cars, etc. while you are driving, but it gives you something to start with. >>> ashish_bhatt@HOTMAIL.COM 10/22/01 07:55PM >>> Hi Peoplesoft and SQR Gurus, I hope you are doing fine today. I have in $select_statement all my column names, table name and the condition. My $select_statement is as below. It returns multiple rows. let $select_statement = "select EMPLOYER_APPROVED,PREV_SABB_ELIG_DT,AUDIT_OPRID from PS_AUDIT_ABS_HIST where AUDIT_STAMP < SYSDATE - 1300;" I want to run this in SQR and get data in CSV (Comma Separated) file. In the above statement fields and tables are dynamically created - meaning that no fix number of columns. The columns comes from ALL_TAB_COLUMNS. Is it possible in SQR ? Please reply. Thanks in advance. Have a nice day and great weekend. Regards. Ashish Bhatt. From owner-sqr-users@list.iex.net Tue Oct 23 07:44:24 2001 Date: Tue, 23 Oct 2001 09:39:48 -0300 From: Peter Clark Subject: Re: Help in getting data into CSV file possibly, just possibly, he does not have access to Perl in his workplace and is forced by circumstance to use SQR? Another reason might be that he has no training in Perl. One would think that if he had Perl training and the ability to use it in his workplace, he wouldn't have been posting here in the first place, no? >>> George Jansen 2001/10/23 9:13:44 am >>> Why use SQR for this? Why not use Perl DBI? SQR is fine for many purposes, but for dynamic manipulation of text and of lists of dynamic length, a scripting language such as Perl, Python, or Tcl will be a lot quicker. my $stmt_txt = &build_statement($dbh, $var1, $var2); my $sth = $dbh->execute($stmt_txt); while (my @fields = $sth->fetchrow_array()) { print '"', join('","', @fields), '"', "\n"; } Of course this omits considerations such as special characters in you fields, which is like omitting consideration of bends in the road, other cars, etc. while you are driving, but it gives you something to start with. >>> ashish_bhatt@HOTMAIL.COM 10/22/01 07:55PM >>> Hi Peoplesoft and SQR Gurus, I hope you are doing fine today. I have in $select_statement all my column names, table name and the condition. My $select_statement is as below. It returns multiple rows. let $select_statement = "select EMPLOYER_APPROVED,PREV_SABB_ELIG_DT,AUDIT_OPRID from PS_AUDIT_ABS_HIST where AUDIT_STAMP < SYSDATE - 1300;" I want to run this in SQR and get data in CSV (Comma Separated) file. In the above statement fields and tables are dynamically created - meaning that no fix number of columns. The columns comes from ALL_TAB_COLUMNS. Is it possible in SQR ? Please reply. Thanks in advance. Have a nice day and great weekend. Regards. Ashish Bhatt. From owner-sqr-users@list.iex.net Tue Oct 23 08:10:20 2001 Date: Tue, 23 Oct 2001 09:07:42 -0400 From: George Jansen Subject: Re: Help in getting data into CSV file Very possibly Mr. Bhatta does not now have access to or training in Perl. However, 1. All three languages I mentioned may be downloaded for free; all therefore are within his budget. Whether they are within the policies of his organization, obviously I can't say. Python and Tcl run very nicely on Windows machines: see Active State's web site. 2. Given that an employer trusts him with writing SQRs to query a PeopleSoft database, it is a fair presumption that he is quite capable of learning the portion of Perl/Python/Tcl that he needs to get the task done. 3. The time taken to learn some of that language will be well spent at least for him, possibly for his current employer. I don't write this to abuse SQR. It's a fine product. >>> PGCLARK@VAC-ACC.GC.CA 10/23/01 08:39AM >>> possibly, just possibly, he does not have access to Perl in his workplace and is forced by circumstance to use SQR? Another reason might be that he has no training in Perl. One would think that if he had Perl training and the ability to use it in his workplace, he wouldn't have been posting here in the first place, no? >>> George Jansen 2001/10/23 9:13:44 am >>> Why use SQR for this? Why not use Perl DBI? SQR is fine for many purposes, but for dynamic manipulation of text and of lists of dynamic length, a scripting language such as Perl, Python, or Tcl will be a lot quicker. my $stmt_txt = &build_statement($dbh, $var1, $var2); my $sth = $dbh->execute($stmt_txt); while (my @fields = $sth->fetchrow_array()) { print '"', join('","', @fields), '"', "\n"; } Of course this omits considerations such as special characters in you fields, which is like omitting consideration of bends in the road, other cars, etc. while you are driving, but it gives you something to start with. >>> ashish_bhatt@HOTMAIL.COM 10/22/01 07:55PM >>> Hi Peoplesoft and SQR Gurus, I hope you are doing fine today. I have in $select_statement all my column names, table name and the condition. My $select_statement is as below. It returns multiple rows. let $select_statement = "select EMPLOYER_APPROVED,PREV_SABB_ELIG_DT,AUDIT_OPRID from PS_AUDIT_ABS_HIST where AUDIT_STAMP < SYSDATE - 1300;" I want to run this in SQR and get data in CSV (Comma Separated) file. In the above statement fields and tables are dynamically created - meaning that no fix number of columns. The columns comes from ALL_TAB_COLUMNS. Is it possible in SQR ? Please reply. Thanks in advance. Have a nice day and great weekend. Regards. Ashish Bhatt. From owner-sqr-users@list.iex.net Tue Oct 23 08:32:21 2001 Date: Tue, 23 Oct 2001 09:32:05 -0400 From: Scott Eubank Subject: Re: Help in getting data into CSV file Let's pretend that there is no such thing as another lanaguge. Now, for you gurus, will SQR do TYPE CASTING ? So is there a way to get the DATA TYPES from the table? Could I then dynamically build the processing into my sqr? Couldnt I write an SQR that actually Writes an SQR? and then run it? Just some silly questions that might solve a silly problem that I have at work. -----Original Message----- From: George Jansen [mailto:GJANSEN@AFLCIO.ORG] Sent: Tuesday, October 23, 2001 9:08 AM To: SQR-USERS@list.iex.net Subject: Re: Help in getting data into CSV file Very possibly Mr. Bhatta does not now have access to or training in Perl. However, 1. All three languages I mentioned may be downloaded for free; all therefore are within his budget. Whether they are within the policies of his organization, obviously I can't say. Python and Tcl run very nicely on Windows machines: see Active State's web site. 2. Given that an employer trusts him with writing SQRs to query a PeopleSoft database, it is a fair presumption that he is quite capable of learning the portion of Perl/Python/Tcl that he needs to get the task done. 3. The time taken to learn some of that language will be well spent at least for him, possibly for his current employer. I don't write this to abuse SQR. It's a fine product. >>> PGCLARK@VAC-ACC.GC.CA 10/23/01 08:39AM >>> possibly, just possibly, he does not have access to Perl in his workplace and is forced by circumstance to use SQR? Another reason might be that he has no training in Perl. One would think that if he had Perl training and the ability to use it in his workplace, he wouldn't have been posting here in the first place, no? >>> George Jansen 2001/10/23 9:13:44 am >>> Why use SQR for this? Why not use Perl DBI? SQR is fine for many purposes, but for dynamic manipulation of text and of lists of dynamic length, a scripting language such as Perl, Python, or Tcl will be a lot quicker. my $stmt_txt = &build_statement($dbh, $var1, $var2); my $sth = $dbh->execute($stmt_txt); while (my @fields = $sth->fetchrow_array()) { print '"', join('","', @fields), '"', "\n"; } Of course this omits considerations such as special characters in you fields, which is like omitting consideration of bends in the road, other cars, etc. while you are driving, but it gives you something to start with. >>> ashish_bhatt@HOTMAIL.COM 10/22/01 07:55PM >>> Hi Peoplesoft and SQR Gurus, I hope you are doing fine today. I have in $select_statement all my column names, table name and the condition. My $select_statement is as below. It returns multiple rows. let $select_statement = "select EMPLOYER_APPROVED,PREV_SABB_ELIG_DT,AUDIT_OPRID from PS_AUDIT_ABS_HIST where AUDIT_STAMP < SYSDATE - 1300;" I want to run this in SQR and get data in CSV (Comma Separated) file. In the above statement fields and tables are dynamically created - meaning that no fix number of columns. The columns comes from ALL_TAB_COLUMNS. Is it possible in SQR ? Please reply. Thanks in advance. Have a nice day and great weekend. Regards. Ashish Bhatt. From owner-sqr-users@list.iex.net Tue Oct 23 08:46:37 2001 Date: Tue, 23 Oct 2001 09:46:58 -0700 From: Holger Noreke Subject: Re: Help in getting data into CSV file ALL_TAB_COLUMNS (Oracle) has table column/field properties, including datatypes. You could select datatypes from this table to build a new select statement, if you desire. I'm not sure if you would build an entire new SQR, but I don't know with only the information you provided. I hope this helps. Holger Noreke Noretec Consulting Group, Inc. (781)659-4485 hnoreke@noretec.com -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net] On Behalf Of Scott Eubank Sent: Tuesday, October 23, 2001 6:32 AM To: SQR-USERS@list.iex.net Subject: Re: Help in getting data into CSV file Let's pretend that there is no such thing as another lanaguge. Now, for you gurus, will SQR do TYPE CASTING ? So is there a way to get the DATA TYPES from the table? Could I then dynamically build the processing into my sqr? Couldnt I write an SQR that actually Writes an SQR? and then run it? Just some silly questions that might solve a silly problem that I have at work. -----Original Message----- From: George Jansen [mailto:GJANSEN@AFLCIO.ORG] Sent: Tuesday, October 23, 2001 9:08 AM To: SQR-USERS@list.iex.net Subject: Re: Help in getting data into CSV file Very possibly Mr. Bhatta does not now have access to or training in Perl. However, 1. All three languages I mentioned may be downloaded for free; all therefore are within his budget. Whether they are within the policies of his organization, obviously I can't say. Python and Tcl run very nicely on Windows machines: see Active State's web site. 2. Given that an employer trusts him with writing SQRs to query a PeopleSoft database, it is a fair presumption that he is quite capable of learning the portion of Perl/Python/Tcl that he needs to get the task done. 3. The time taken to learn some of that language will be well spent at least for him, possibly for his current employer. I don't write this to abuse SQR. It's a fine product. >>> PGCLARK@VAC-ACC.GC.CA 10/23/01 08:39AM >>> possibly, just possibly, he does not have access to Perl in his workplace and is forced by circumstance to use SQR? Another reason might be that he has no training in Perl. One would think that if he had Perl training and the ability to use it in his workplace, he wouldn't have been posting here in the first place, no? >>> George Jansen 2001/10/23 9:13:44 am >>> Why use SQR for this? Why not use Perl DBI? SQR is fine for many purposes, but for dynamic manipulation of text and of lists of dynamic length, a scripting language such as Perl, Python, or Tcl will be a lot quicker. my $stmt_txt = &build_statement($dbh, $var1, $var2); my $sth = $dbh->execute($stmt_txt); while (my @fields = $sth->fetchrow_array()) { print '"', join('","', @fields), '"', "\n"; } Of course this omits considerations such as special characters in you fields, which is like omitting consideration of bends in the road, other cars, etc. while you are driving, but it gives you something to start with. >>> ashish_bhatt@HOTMAIL.COM 10/22/01 07:55PM >>> Hi Peoplesoft and SQR Gurus, I hope you are doing fine today. I have in $select_statement all my column names, table name and the condition. My $select_statement is as below. It returns multiple rows. let $select_statement = "select EMPLOYER_APPROVED,PREV_SABB_ELIG_DT,AUDIT_OPRID from PS_AUDIT_ABS_HIST where AUDIT_STAMP < SYSDATE - 1300;" I want to run this in SQR and get data in CSV (Comma Separated) file. In the above statement fields and tables are dynamically created - meaning that no fix number of columns. The columns comes from ALL_TAB_COLUMNS. Is it possible in SQR ? Please reply. Thanks in advance. Have a nice day and great weekend. Regards. Ashish Bhatt. From owner-sqr-users@list.iex.net Tue Oct 23 08:41:34 2001 Date: Tue, 23 Oct 2001 15:39:31 +0200 From: "Kloprogge,F.J.M. (Frank)" Subject: Re: Help in getting data into CSV file Some days ago I posted a mail subject 'Setting Variable Procedure Names' in which I showed how to do pseudo type-casting by means of getting data-types from the db-dictionary. When I started to work with SQR, I tried to generate an sqr by means of a sqr-program. However, you get lost in the '''''''''''' . So I changed to wrtie SQR' dynamically. It's a pain in the ... to start with, but later obe everything gets quite easy. Frank Kloprogge Fontys ICT-Services DBA PeopleSoft 08778-78710 -----Oorspronkelijk bericht----- Van: Scott Eubank [mailto:SEUBANK@ADVANCEAUTOPARTS.COM] Verzonden: dinsdag 23 oktober 2001 15:32 Aan: SQR-USERS@LIST.IEX.NET Onderwerp: Re: Help in getting data into CSV file Let's pretend that there is no such thing as another lanaguge. Now, for you gurus, will SQR do TYPE CASTING ? So is there a way to get the DATA TYPES from the table? Could I then dynamically build the processing into my sqr? Couldnt I write an SQR that actually Writes an SQR? and then run it? Just some silly questions that might solve a silly problem that I have at work. -----Original Message----- From: George Jansen [mailto:GJANSEN@AFLCIO.ORG] Sent: Tuesday, October 23, 2001 9:08 AM To: SQR-USERS@list.iex.net Subject: Re: Help in getting data into CSV file Very possibly Mr. Bhatta does not now have access to or training in Perl. However, 1. All three languages I mentioned may be downloaded for free; all therefore are within his budget. Whether they are within the policies of his organization, obviously I can't say. Python and Tcl run very nicely on Windows machines: see Active State's web site. 2. Given that an employer trusts him with writing SQRs to query a PeopleSoft database, it is a fair presumption that he is quite capable of learning the portion of Perl/Python/Tcl that he needs to get the task done. 3. The time taken to learn some of that language will be well spent at least for him, possibly for his current employer. I don't write this to abuse SQR. It's a fine product. >>> PGCLARK@VAC-ACC.GC.CA 10/23/01 08:39AM >>> possibly, just possibly, he does not have access to Perl in his workplace and is forced by circumstance to use SQR? Another reason might be that he has no training in Perl. One would think that if he had Perl training and the ability to use it in his workplace, he wouldn't have been posting here in the first place, no? >>> George Jansen 2001/10/23 9:13:44 am >>> Why use SQR for this? Why not use Perl DBI? SQR is fine for many purposes, but for dynamic manipulation of text and of lists of dynamic length, a scripting language such as Perl, Python, or Tcl will be a lot quicker. my $stmt_txt = &build_statement($dbh, $var1, $var2); my $sth = $dbh->execute($stmt_txt); while (my @fields = $sth->fetchrow_array()) { print '"', join('","', @fields), '"', "\n"; } Of course this omits considerations such as special characters in you fields, which is like omitting consideration of bends in the road, other cars, etc. while you are driving, but it gives you something to start with. >>> ashish_bhatt@HOTMAIL.COM 10/22/01 07:55PM >>> Hi Peoplesoft and SQR Gurus, I hope you are doing fine today. I have in $select_statement all my column names, table name and the condition. My $select_statement is as below. It returns multiple rows. let $select_statement = "select EMPLOYER_APPROVED,PREV_SABB_ELIG_DT,AUDIT_OPRID from PS_AUDIT_ABS_HIST where AUDIT_STAMP < SYSDATE - 1300;" I want to run this in SQR and get data in CSV (Comma Separated) file. In the above statement fields and tables are dynamically created - meaning that no fix number of columns. The columns comes from ALL_TAB_COLUMNS. Is it possible in SQR ? Please reply. Thanks in advance. Have a nice day and great weekend. Regards. Ashish Bhatt. From owner-sqr-users@list.iex.net Tue Oct 23 13:26:26 2001 Date: Tue, 23 Oct 2001 20:25:57 +0200 From: Franck Masson Subject: Re: Help in getting data into CSV file To illustrate this case there is a sample profided with SQR distribution in the sample or samplew directory. This sample is export.sqr. What is doing this SQR code is to extrate/export a table in csv file and provide you also the sqr SQR code to import these data in a table. Have look ? it has been build to run on any database ( oracle, db2, ...) Franck, -----Original Message----- From: Scott Eubank [mailto:SEUBANK@ADVANCEAUTOPARTS.COM] Sent: mardi 23 octobre 2001 15:32 To: SQR-USERS@list.iex.net Subject: Re: Help in getting data into CSV file Let's pretend that there is no such thing as another lanaguge. Now, for you gurus, will SQR do TYPE CASTING ? So is there a way to get the DATA TYPES from the table? Could I then dynamically build the processing into my sqr? Couldnt I write an SQR that actually Writes an SQR? and then run it? Just some silly questions that might solve a silly problem that I have at work. -----Original Message----- From: George Jansen [mailto:GJANSEN@AFLCIO.ORG] Sent: Tuesday, October 23, 2001 9:08 AM To: SQR-USERS@list.iex.net Subject: Re: Help in getting data into CSV file Very possibly Mr. Bhatta does not now have access to or training in Perl. However, 1. All three languages I mentioned may be downloaded for free; all therefore are within his budget. Whether they are within the policies of his organization, obviously I can't say. Python and Tcl run very nicely on Windows machines: see Active State's web site. 2. Given that an employer trusts him with writing SQRs to query a PeopleSoft database, it is a fair presumption that he is quite capable of learning the portion of Perl/Python/Tcl that he needs to get the task done. 3. The time taken to learn some of that language will be well spent at least for him, possibly for his current employer. I don't write this to abuse SQR. It's a fine product. >>> PGCLARK@VAC-ACC.GC.CA 10/23/01 08:39AM >>> possibly, just possibly, he does not have access to Perl in his workplace and is forced by circumstance to use SQR? Another reason might be that he has no training in Perl. One would think that if he had Perl training and the ability to use it in his workplace, he wouldn't have been posting here in the first place, no? >>> George Jansen 2001/10/23 9:13:44 am >>> Why use SQR for this? Why not use Perl DBI? SQR is fine for many purposes, but for dynamic manipulation of text and of lists of dynamic length, a scripting language such as Perl, Python, or Tcl will be a lot quicker. my $stmt_txt = &build_statement($dbh, $var1, $var2); my $sth = $dbh->execute($stmt_txt); while (my @fields = $sth->fetchrow_array()) { print '"', join('","', @fields), '"', "\n"; } Of course this omits considerations such as special characters in you fields, which is like omitting consideration of bends in the road, other cars, etc. while you are driving, but it gives you something to start with. >>> ashish_bhatt@HOTMAIL.COM 10/22/01 07:55PM >>> Hi Peoplesoft and SQR Gurus, I hope you are doing fine today. I have in $select_statement all my column names, table name and the condition. My $select_statement is as below. It returns multiple rows. let $select_statement = "select EMPLOYER_APPROVED,PREV_SABB_ELIG_DT,AUDIT_OPRID from PS_AUDIT_ABS_HIST where AUDIT_STAMP < SYSDATE - 1300;" I want to run this in SQR and get data in CSV (Comma Separated) file. In the above statement fields and tables are dynamically created - meaning that no fix number of columns. The columns comes from ALL_TAB_COLUMNS. Is it possible in SQR ? Please reply. Thanks in advance. Have a nice day and great weekend. Regards. Ashish Bhatt. From owner-sqr-users@list.iex.net Tue Oct 23 14:29:15 2001 Date: Tue, 23 Oct 2001 19:26:46 +0000 From: Ashish Bhatt Subject: Re: Help in getting data into CSV file I am getting the below error. I am fmsql718 : ps7v : /home/abhattX >run.sh SQR V4.3.4 Copyright (C) SQRIBE Technologies, 1994-99. All Worldwide Rights Reserved. c1 EMPLOYER_APPROVED,to_char(PREV_SABB_ELIG_DT,'dd-mm-yyyy'),AUDIT_OPRID table name PS_AUDIT_ABS_HIST where clause AUDIT_STAMP < SYSDATE - 1300 (SQR 1303) Error in SQL (perhaps missing &name after expression): select [$c1] from [$table_name] where [$whereclause] (SQR 1304) Check SELECT columns, expressions and 'where' clause for syntax. SQR: Program Aborting. >From: "Kloprogge,F.J.M. (Frank)" >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: Help in getting data into CSV file >Date: Tue, 23 Oct 2001 10:03:28 +0200 > >Hi Ashish, > >you need to create your $select in a little bit different way. >You could change it to: > >EMPLOYER_APPROVED || ',' || to_char(PREV_SABB_ELIG_DT,'dd-mm-yyyy') || ',' >|| AUDIT_OPRID >(so leave the 'select' out of there and make sure all the fields are >character or converted to character) > >put the from in $from and the where clause in $where > >from PS_AUDIT_ABS_HIST where AUDIT_STAMP < SYSDATE - 1300; > >Then do >begin-select >[$select] &col=char > print &col () >[$from] >[$where] >end-select > > >Frank Kloprogge >Fontys ICT-Services >DBA PeopleSoft >08778-78710 > > >-----Oorspronkelijk bericht----- >Van: Ashish Bhatt [mailto:ashish_bhatt@HOTMAIL.COM] >Verzonden: dinsdag 23 oktober 2001 1:55 >Aan: SQR-USERS@LIST.IEX.NET >Onderwerp: Help in getting data into CSV file > > >Hi Peoplesoft and SQR Gurus, > >I hope you are doing fine today. > >I have in $select_statement all my column names, table name and the >condition. > >My $select_statement is as below. It returns multiple rows. > >let $select_statement = "select >EMPLOYER_APPROVED,PREV_SABB_ELIG_DT,AUDIT_OPRID from PS_AUDIT_ABS_HIST >where >AUDIT_STAMP < SYSDATE - 1300;" > >I want to run this in SQR and get data in CSV (Comma Separated) file. > >In the above statement fields and tables are dynamically created - meaning >that no fix number of columns. The columns comes from ALL_TAB_COLUMNS. > >Is it possible in SQR ? Please reply. > >Thanks in advance. > >Have a nice day and great weekend. > >Regards. > >Ashish Bhatt. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From owner-sqr-users@list.iex.net Tue Oct 23 09:21:30 2001 Date: Tue, 23 Oct 2001 15:17:50 +0100 From: "Maheshwari, Amit" Subject: Using Image file Hi all, I want to use a bmp or a gif image in my sqr report.I run sqr on Unix and generate pdf output.When I run report, it gives me a runtime error that 'Unable to open the bmp file'. Can somebody help me on this. Thanks amit ***************************************************************************** This message is confidential and for use by the addressee only. If you are not the intended recipient, you must not use, disclose, distribute, copy, print, or rely on this message. Please notify the sender by return email and then delete the message from your computer. Royal Skandia accepts no responsibility for changes made to this message after it was sent nor for any loss or damage from receipt or use. Royal Skandia Life Assurance Limited - a member of the Skandia Group of Companies - Reg No: 24916 Isle of Man - Registered Office: Skandia House, Finch Road, Douglas, Isle of Man IM99 1NU, British Isles - Regulated by the Personal Investment Authority for UK Investment Business - Member of the Association of International Life Offices. Internet: http://www.royalskandia.com ***************************************************************************** From owner-sqr-users@list.iex.net Sun Dec 2 15:16:56 2001 Date: Sun, 2 Dec 2001 12:04:10 -0800 From: razeel zaleel Subject: SQR - PS8 - C: Hi All, i need your help in solving one problem i am trying to run a sqr program which i kept it on C:\sqr drive and i changed in the configuration manager point the search sqr to C:\sqr but it does not pick the sqr from the C:\sqr instead picks it from the server , if i select client option to execute sqr it doesnot proceeds further than displaying 'initiated' in the Process monitor also i am not getting the log file not even on the server hence i need your help in trying to run the sqr which is on my C: drive will appreciate if you can try to make it soon Thanks in advance __________________________________________________ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com From owner-sqr-users@list.iex.net Mon Dec 3 10:05:32 2001 Date: Mon, 3 Dec 2001 07:57:57 -0700 From: Russ Wulfson Subject: Re: SQR - PS8 - C: We had the same problem with client side sqr's and crystal. We tracked it to two possible solutions, both worked. One we moved the entire peoplesoft and sqr directory closer to the root level. The files were stored on a system server and the path was too deep. An example would be \\peoplesoft_server\peoplesoft\hr814\...........\sqr. When we moved the hr814 directory(this held all the ps executables, sqr executables, sqr files,etc.) to \\peoplesoft_se