From owner-sqr-users@list.iex.net Sun Jul 1 00:20:37 2001 Date: Sun, 1 Jul 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 Jul 2 02:37:28 2001 Date: Mon, 2 Jul 2001 15:15:48 +0800 From: Emil Galicinao Subject: Re: How can SQR generate an excel file with numeric data being displayed as a string? Hi Rod, Arjan, Enclosing a numeric data by a double quote works !!! BTW, I tried using the second option but I was not able to get the same output as in option 1. (maybe it depends on the excel version) Any way, Thanks for the options/suggestions. Best Regards, Emil Rod Wright wrote: > You can get around this in two ways. The first is to place =" in front of > the number and " at the end of the number. So, 1234567890123 becomes > ="1234567890123". Excel will then treat this as text. This method is > particularly useful if you want to retain leading zeroes. (By the way, they > are double quotes.) > > The second method is to leave the number as is, and widen the column in > Excel. My experience has been that Excel switches to scientific notation > when the column is not wide enough to display the number. > > HTH, > Rod > > Emil Galicinao @list.iex.net> on 06/29/2001 > 06:27:01 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: How can SQR generate an excel file with numeric data being > displayed as a string? > > Hi Everyone, > > Does anybody know how to convert a numeric data into a string such that > when I generate the report in excel, that data will no longer be treated > as numeric? Right now, when a numeric data is more than 11 digits > long, excel usually convert the data into an exponential form which is > something Im trying to avoid. > > An example would be: > The number 123456789012 becomes 1.23457E+11 when viewed from excel. > > I was thinking of appending a special character on that numeric data but > unfortunately, that special charater also appear in the report. > > Any suggestions? > > Best Regards, > Emil From owner-sqr-users@list.iex.net Mon Jul 2 09:07:59 2001 Date: Mon, 2 Jul 2001 13:44:59 +0100 From: Margaret-Anne Bett Subject: Re: Data being truncated when converting from a flat file --0__=SkdkmNdHeuBtWEiApsNIG3JGdqXuHtnppccRpLEbzpvmqaJrLXeXAB5F Content-type: text/plain; charset=us-ascii Content-Disposition: inline (See attached file: log.txt) I've attached part of the log file, showing 3 vendors. In the first one the data in 'address3' is truncated to 'New Ci' during the load. The second vendor loads fine. 'Address1' is truncated to '309-1228 Ol' on the third vendor. As you can see, it happens on different fields on different vendors! Margaret-Anne ANDERSD2 on 29/06/2001 17:36:30 Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Margaret-Anne Bett/LearningTree/GB) Subject: Re: Data being truncated when converting from a flat file I see you have a SHOW command. Could you attach a snippet of your LOG so we can see what the variable actually holds. Also, if you would, add additional SHOW statements so we can see the values of the variables after you UNSTRING the initial variable. Thanks, d -----Original Message----- From: Margaret-Anne Bett [mailto:Margaret-Anne_Bett@LEARNINGTREE.COM] Sent: Friday, June 29, 2001 11:52 AM To: SQR-USERS@list.iex.net Subject: Re: Data being truncated when converting from a flat file I've amended the code to only populate 2 tables - Vendors and Vendor Addresses. (See attached file: AP_Vend_Conv.sqr) Margaret-Anne ANDERSD2 on 29/06/2001 16:38:20 Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Margaret-Anne Bett/LearningTree/GB) Subject: Re: Data being truncated when converting from a flat file yes, attach, copy&paste, retype, whatever :) -----Original Message----- From: Margaret-Anne Bett [mailto:Margaret-Anne_Bett@LEARNINGTREE.COM] Sent: Friday, June 29, 2001 11:22 AM To: SQR-USERS@list.iex.net Subject: Re: Data being truncated when converting from a flat file I'm using '|' to delimit the file. I'm new to this user group so I'm not sure where to post sample data and code. Should I just attach it to my email? Margaret-Anne Jamie Harris on 29/06/2001 15:54:51 Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Margaret-Anne Bett/LearningTree/GB) Subject: Re: Data being truncated when converting from a flat file What delimiter are you using to unstring? Are you able to post any code or sample data? That may help us find the problem. ----------------------------------------------------- Jamie Harris Junior Programmer/Analyst/Software Integrator Office of Information Technology Frederick Community College ----------------------------------------------------- >>> Margaret-Anne_Bett@LEARNINGTREE.COM 6/28/2001 12:04:08 PM >>> I'm using the unstring command to split the data into various data fields. I then use rtrim to remove any spaces from the end of the data. There are no special characters. Thanks for all the suggestions so far, but I'm still having problems! Margaret-Anne Rhonda Hudgins on 26/06/2001 12:49:13 Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Margaret-Anne Bett/LearningTree/GB) Subject: Re: Data being truncated when converting from a flat file How are you defining your input (flat) file? If you are using "substr" to move the information to a field check the format. for example: LET $Address = substr ($RECIN, 48, 35) This starts in column 48 of the input record and includes 35 characters. Thanks! Rhonda Hudgins @}---'----,---- Genencor International, Inc 716/256-5266 rhudgins@genencor.com Margaret-Anne Bett cc: Sent by: "Discussion of Subject: Re: Data being truncated when converting from a flat file SQR,Brio Technology's database reporting language" 06/25/2001 08:20 PM Please respond to sqr-users The data will definitely fit into the fields - the text file field has 30 characters and the database is 55. A lot of the time the data is truncated to just one character. Margaret-Anne cshelton on 25/06/2001 22:30:40 Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Margaret-Anne Bett/LearningTree/GB) Subject: Re: Data being truncated when converting from a flat file Have you verified that the fields that are being truncated are defined large enough in the database to be able to accept the largest values from your flat files? I haven't worked much with SQL server, but in Sybase (the grandparent of SQL server) if you attempt to insert a value too large to fit in a column, the database will silently truncate your value to the size of the column in the database. chris On Mon, 25 Jun 2001, Margaret-Anne Bett wrote: > PeopleSoft 8.13 > Microsoft Sequel Server 2000 > Windows 2000 > > I am trying to convert data from a flat file into the PS_VENDOR_ADDR table. > Several of the data fields are being truncated. This happens on different > fields on different vendors, but is consistent each time I run the conversion > SQR. There doesn't seem to be any logic as to which field is truncated on which > vendor. I have show statements in the SQR which return the correct value. > > Margaret-Anne > > --0__=SkdkmNdHeuBtWEiApsNIG3JGdqXuHtnppccRpLEbzpvmqaJrLXeXAB5F Content-type: application/octet-stream; name="log.txt" Content-Disposition: attachment; filename="log.txt" Content-transfer-encoding: base64 Content-Description: Text - character set unknown I3ZlbmRvcmNvZGU6IDEwMDAwMjc1OTMuMDAwMDAwDQokdmVuZG9yX2lkOiAxMDAwMDI3NTkzDQpI ZWFkZXI6IFVTMTUwfChVU00gKXxVLlMuIE1PTklUT1IgU0VSVklDRXxTfDg2IE1hcGxlIEF2ZW51 ZXwgfE5ldyBDaXR5fE5ZfDEwOTU2LTUwOTJ8VVNBfCB8OTE0NjM0MTMzMXwwfCB8ICAgICAgICAg M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9uIERhdGU6IDIwMDEwNjI1DQpEYXRlIE1haW50 YWluZWQ6IDIwMDEwNjI1DQpDdXJyZW50IEJhbDogMTIxMTEuODENCkxhc3QgUGF5bWVudCBEYXRl OiAyMDAxMDUyOQ0KTGFzdCBDaGVxdWU6IExDICAwMDA3MzQ5Mw0KTGFzdCBBbW91bnQ6IDQwMDEu NDcNCkRhdGUgb2YgbGFzdCBJbnZvaWNlOiAwMTA1MTUNCkxhc3QgSW52b2ljZTogMzk2NjENCkRl bGV0ZSBGbGFkOiBODQpBbGxvYyBDb2RlOiAgDQpDaGVxdWUgR3JvdXA6ICANCkJhbmsgQ29kZTog IA0KRGVsYXkgRGF5czogMA0KR3JhY2UgRGF5czogMA0KU2luOiAgDQpVc2VyIFRhYjE6IHVzZXJf dGEgMQ0KVXNlciBWYWwxOiBSMTA1NzY3NzAxDQpVc2VyIFRhYjI6ICANClVzZXIgVmFsMjogNjEz LTc0NS00OTM3DQpUYWJsZSBEZXNjOiAgDQpUSU4gTm90aWNlOiAwDQpGb3JlaWduOiBODQpQaG9u ZSBDaGFyOiA2MTM3NDUyMTcxDQoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKg0KUFNfVkVORE9SDQpQU19WRU5ET1JfQUREUg0KUFNfVkVORE9SX0xPQw0KUFNfVkVORE9S X1BBWQ0KUFNfVk5EUl9BRERSX1NDUk9MDQpQU19WTkRSX0NOVENUX1NDUg0KUFNfVkVORE9SX0NO VENUDQogDQpQU19WTkRSX0xPQ19TQ1JPTEwNClBTX1ZFTkRPUl9XVEhEDQpQU19WRU5ET1JfQURE Ul9QSE4NClBTX1ZFTkRPUl9BRERSX1BITg0KDQpTUVI6IEVuZCBvZiBSdW4uDQo= --0__=SkdkmNdHeuBtWEiApsNIG3JGdqXuHtnppccRpLEbzpvmqaJrLXeXAB5F-- From owner-sqr-users@list.iex.net Mon Jul 2 09:55:28 2001 Date: Mon, 2 Jul 2001 10:41:40 -0400 From: ANDERSD2 Subject: Re: Data being truncated when converting from a flat file It is curious to see it work sometimes, and othertimes not. My (lame) suggestion, and this isn't much, change your INSERT statements so they are only inserting the variable. Move your ISNULL tests into a procedure so the INSERTs only have variables and no SQL. No real hope with this suggestion, but SQR is sometimes a little flaky. Add a procedure to SELECT from the table you are inserting just after the INSERT. SELECT only that row and SHOW the values. I am interested to see what is actually making it into the database. Also, and this is a personal preference, you may want to investigate the SHOW command instead of DISPLAY. The SHOW allows you to put multiple items (text, numeric/character variables) on one line. The following is an example... FROM... Display 'SET ID: ' Noline Display $set_id TO Show 'Set ID: ' $Set_ID Also, when showing/displaying variables (especially character variables), I use the "batwing" approach so I can see if the variable is null, space, or something else... Show 'Set ID >' $Set_ID '<' This way, if $Set_ID is null it will show... Set ID >< Good luck, Dave From owner-sqr-users@list.iex.net Mon Jul 2 14:39:14 2001 Date: Mon, 2 Jul 2001 12:58:04 -0600 From: jim nowlin Subject: Dateadd function error Brio product and version number: SQR V4.3.4 Operating system and version number: True64 (Compaq) 5.0A Database name and version number: Oracle 7.3.4.0.0 This is the first time I tried to use "dateadd". The code I'm using follows: let $sunday = dateadd($parm-end-dt,'DAY',6) I get the following error in the sqrlog: Error on line 118: (SQR 4045) Function or operator 'dateadd' requires date argument. Any ideas on what I'm doing wrong? If I can get this to work, can I use a negitive number to subtract six days? Thanks for the help, Jim Nowlin jim_nowlin@navigators.org From owner-sqr-users@list.iex.net Mon Jul 2 14:47:45 2001 Date: Mon, 2 Jul 2001 15:29:56 -0400 From: "Gagnon, Dave" Subject: Re: Dateadd function error If you are using SQR with Peoplesoft... Peoplesoft provides some custom SQC's , one specifically for date math,,they have both Add-days and a Subtract-Days functions. Dave Gagnon Fletcher Allen Health Care -----Original Message----- From: jim nowlin [mailto:jim_nowlin@NAVIGATORS.ORG] Sent: Monday, July 02, 2001 2:58 PM To: SQR-USERS@list.iex.net Subject: Dateadd function error Brio product and version number: SQR V4.3.4 Operating system and version number: True64 (Compaq) 5.0A Database name and version number: Oracle 7.3.4.0.0 This is the first time I tried to use "dateadd". The code I'm using follows: let $sunday = dateadd($parm-end-dt,'DAY',6) I get the following error in the sqrlog: Error on line 118: (SQR 4045) Function or operator 'dateadd' requires date argument. Any ideas on what I'm doing wrong? If I can get this to work, can I use a negitive number to subtract six days? Thanks for the help, Jim Nowlin jim_nowlin@navigators.org From owner-sqr-users@list.iex.net Mon Jul 2 14:59:21 2001 Date: Mon, 2 Jul 2001 13:47:16 -0600 From: Thyleen Tenney Subject: Re: Dateadd function error Usually fixed by declaring your variable as a date. I find that if I need a date variable in SQR, I declare it so in the beginning. T -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of jim nowlin Sent: Monday, July 02, 2001 12:58 PM To: SQR-USERS@list.iex.net Subject: Dateadd function error Brio product and version number: SQR V4.3.4 Operating system and version number: True64 (Compaq) 5.0A Database name and version number: Oracle 7.3.4.0.0 This is the first time I tried to use "dateadd". The code I'm using follows: let $sunday = dateadd($parm-end-dt,'DAY',6) I get the following error in the sqrlog: Error on line 118: (SQR 4045) Function or operator 'dateadd' requires date argument. Any ideas on what I'm doing wrong? If I can get this to work, can I use a negitive number to subtract six days? Thanks for the help, Jim Nowlin jim_nowlin@navigators.org From owner-sqr-users@list.iex.net Mon Jul 2 14:59:04 2001 Date: Mon, 2 Jul 2001 14:47:44 -0500 From: Bob Helm Subject: Re: Dateadd function error I believe you have to declare $sunday as a date variable, like: declare-variable date $sunday end-declare That ought to do it, hopefully. B The Programmer formerly known as Bob Mediware Information Systems Inc. (913) 307-1045 Bob.Helm@Mediware.com -----Original Message----- From: jim nowlin [mailto:jim_nowlin@NAVIGATORS.ORG] Sent: Monday, July 02, 2001 1:58 PM To: SQR-USERS@list.iex.net Subject: Dateadd function error Brio product and version number: SQR V4.3.4 Operating system and version number: True64 (Compaq) 5.0A Database name and version number: Oracle 7.3.4.0.0 This is the first time I tried to use "dateadd". The code I'm using follows: let $sunday = dateadd($parm-end-dt,'DAY',6) I get the following error in the sqrlog: Error on line 118: (SQR 4045) Function or operator 'dateadd' requires date argument. Any ideas on what I'm doing wrong? If I can get this to work, can I use a negitive number to subtract six days? Thanks for the help, Jim Nowlin jim_nowlin@navigators.org From owner-sqr-users@list.iex.net Mon Jul 2 17:10:53 2001 Date: Mon, 2 Jul 2001 13:23:18 -0700 From: Carlton Conley Subject: Re: Dateadd function error in the begin-setup section of the SQR you must declare the $ variable as a date, by default it is treated as a string and while will insert if in the proper format or be treated as a date inside a query, to SQR it is not a date so begin-setup declare-variable date $sunday end-declare end-setup This should solve your problem -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of jim nowlin Sent: Monday, July 02, 2001 11:58 AM To: SQR-USERS@list.iex.net Subject: Dateadd function error Brio product and version number: SQR V4.3.4 Operating system and version number: True64 (Compaq) 5.0A Database name and version number: Oracle 7.3.4.0.0 This is the first time I tried to use "dateadd". The code I'm using follows: let $sunday = dateadd($parm-end-dt,'DAY',6) I get the following error in the sqrlog: Error on line 118: (SQR 4045) Function or operator 'dateadd' requires date argument. Any ideas on what I'm doing wrong? If I can get this to work, can I use a negitive number to subtract six days? Thanks for the help, Jim Nowlin jim_nowlin@navigators.org From owner-sqr-users@list.iex.net Mon Jul 2 15:45:43 2001 Date: Mon, 2 Jul 2001 16:35:59 -0400 From: Rick_Creel@AONCONS.COM Subject: Re: Dateadd function error Both variables ($sunday and $parm-end-dt) need to be explicitly declared as date. begin-setup declare-variable date $sunday, $parm-end-dt end-declare end-setup jim nowlin on 07/02/2001 02:58:04 PM Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Rick Creel/IT/Aon Consulting) Subject: Dateadd function error Brio product and version number: SQR V4.3.4 Operating system and version number: True64 (Compaq) 5.0A Database name and version number: Oracle 7.3.4.0.0 This is the first time I tried to use "dateadd". The code I'm using follows: let $sunday = dateadd($parm-end-dt,'DAY',6) I get the following error in the sqrlog: Error on line 118: (SQR 4045) Function or operator 'dateadd' requires date argument. Any ideas on what I'm doing wrong? If I can get this to work, can I use a negitive number to subtract six days? Thanks for the help, Jim Nowlin jim_nowlin@navigators.org From owner-sqr-users@list.iex.net Mon Jul 2 16:12:04 2001 Date: Mon, 2 Jul 2001 16:37:55 -0400 From: "Beller, Jay" Subject: Re: Dateadd function error and to answer your second question, you can use negatives, as in the following excerpt: let $last_check_date = dateadd($AsofDate, 'DAY', 8) let $first_check_date = dateadd($AsOfDAte, 'DAY', -8) -----Original Message----- From: jim nowlin [mailto:jim_nowlin@NAVIGATORS.ORG] Sent: Monday, July 02, 2001 2:58 PM To: SQR-USERS@list.iex.net Subject: Dateadd function error Brio product and version number: SQR V4.3.4 Operating system and version number: True64 (Compaq) 5.0A Database name and version number: Oracle 7.3.4.0.0 This is the first time I tried to use "dateadd". The code I'm using follows: let $sunday = dateadd($parm-end-dt,'DAY',6) I get the following error in the sqrlog: Error on line 118: (SQR 4045) Function or operator 'dateadd' requires date argument. Any ideas on what I'm doing wrong? If I can get this to work, can I use a negitive number to subtract six days? Thanks for the help, Jim Nowlin jim_nowlin@navigators.org From owner-sqr-users@list.iex.net Tue Jul 10 09:45:17 2001 Date: Tue, 10 Jul 2001 10:28:37 -0400 From: Dominick LoGiudice Subject: SQR VIEWER SAVE AS CSV I am trying to use the save as .csv option in sqr viewer version 4.3.4 and it is not working. Is there a work around ? Thanks From owner-sqr-users@list.iex.net Tue Jul 10 11:14:32 2001 Date: Tue, 10 Jul 2001 13:05:34 -0300 From: Peter Clark Subject: Re: SQR VIEWER SAVE AS CSV There is a problem with that in 4.3.4. If you have an older version of SQR, you could use the Viewer from that version (we fell back to our 4.3.2 version of the Viewer). If not, you'll have to look into getting a newer version. >>> Dominick LoGiudice 2001/07/10 11:28:37 am >>> I am trying to use the save as .csv option in sqr viewer version 4.3.4 and it is not working. Is there a work around ? Thanks From owner-sqr-users@list.iex.net Tue Jul 10 11:40:50 2001 Date: Tue, 10 Jul 2001 18:47:23 +0200 From: Franck Masson Subject: Re: SQR VIEWER SAVE AS CSV check your installation and check if you have a JRE directory present. -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Peter Clark Sent: mardi 10 juillet 2001 18:06 To: SQR-USERS@list.iex.net Subject: Re: SQR VIEWER SAVE AS CSV There is a problem with that in 4.3.4. If you have an older version of SQR, you could use the Viewer from that version (we fell back to our 4.3.2 version of the Viewer). If not, you'll have to look into getting a newer version. >>> Dominick LoGiudice 2001/07/10 11:28:37 am >>> I am trying to use the save as .csv option in sqr viewer version 4.3.4 and it is not working. Is there a work around ? Thanks From owner-sqr-users@list.iex.net Tue Jul 10 11:39:42 2001 Date: Tue, 10 Jul 2001 13:31:00 -0300 From: Peter Clark Subject: Re: SQR VIEWER SAVE AS CSV there is also a problem with the Save As HTML option in 4.3.4 >>> Peter Clark 2001/07/10 1:05:34 pm >>> There is a problem with that in 4.3.4. If you have an older version of SQR, you could use the Viewer from that version (we fell back to our 4.3.2 version of the Viewer). If not, you'll have to look into getting a newer version. >>> Dominick LoGiudice 2001/07/10 11:28:37 am >>> I am trying to use the save as .csv option in sqr viewer version 4.3.4 and it is not working. Is there a work around ? Thanks From owner-sqr-users@list.iex.net Mon Jul 2 16:39:07 2001 Date: Mon, 2 Jul 2001 22:33:37 +0100 From: Andrew Rivers Subject: Re: Dateadd function error Jim Unless defined as a date or converted to date, $parm-end-dt is a string. In your set-up section, declare you date variable of type: date begin-setup declare-variable date $param.end-tt $anotherDate end-declare end-setup Alternatively you could use: let $parm-end-dt =3D datetostr( $parm-end-dt ) or let $sunday =3D dateadd( datetostr( $parm-end-dt ),'DAY',6)=20 Andrew ----- Original Message -----=20 From: jim nowlin To: Sent: Monday, July 02, 2001 7:58 PM Subject: Dateadd function error > Brio product and version number: SQR V4.3.4 > Operating system and version number: True64 (Compaq) 5.0A > Database name and version number: Oracle 7.3.4.0.0 >=20 > This is the first time I tried to use "dateadd". The code I'm using > follows: >=20 > let $sunday =3D dateadd($parm-end-dt,'DAY',6) >=20 > I get the following error in the sqrlog: >=20 > Error on line 118: > (SQR 4045) Function or operator 'dateadd' requires date argument. >=20 > Any ideas on what I'm doing wrong? >=20 > If I can get this to work, can I use a negitive number to subtract six > days? >=20 > Thanks for the help, > Jim Nowlin > jim_nowlin@navigators.org From owner-sqr-users@list.iex.net Mon Jul 2 16:39:03 2001 Date: Mon, 2 Jul 2001 16:26:10 -0500 From: "Brahmbhatt, Mike" Subject: EXPRESSIONSPACE Sqr ver 3.0.7.3, OS: HP-UX, DB: Informix I am getting the following error when using the let command. "(4038) out of space while processing expression; Use -Mfile to increase EXPRESSIONSPACE" I am trying to string several variables into one. After some debugging, I have found that if the total length of the string is 3275 character or less it works fine. Once I increase the string size to 3276 or more, I get the above message. I have read several posting and I have tried the following and I still get the message. I have included a copy of my allmaxes.max 1) Removed EXPRESSIONSPACE from allmaxes.max 2) Change the size of EXPRESSIONSPACE to 10000 3) Change the size of EXPRESSIONSPACE to 8000. 4) Specified -Mfile option on the command line. If anyone has other suggestions, I would greatly appreciate it. Thank you, Mike ! !CURSORS Max number of database cursors (SQLBase only) !DYNAMICARGS Max number of dynamic SQL arguments !EXPRESSIONSPACE Max length of temp string storage during LET operations !FORWARDREFS Max number of &column forward references !NUMVARIABLES Max number of numeric variables and literal values !ONBREAKS Max number of ON-BREAK LEVEL=values per SET !POSITIONS Max number of placement parameters, "(10,5,30)" !PROGLINEPARS Max number of arguments for all program lines !PROGLINES Max number of program lines (SQR commands) !QUERIES Max number of BEGIN-SQL and BEGIN-SELECT paragraphs !QUERYARGS Max number of bind variables for all SQL statements !SQLSIZE Max length of a SQL statement in characters !STRINGSPACE Max length of string space for program line arguments !SUBVARS Max number of run-time substitution variables !VARIABLES Max number of variables, literals and database columns !WHENS Max number of WHEN arguments allowed per EVALUATE ! !CURSORS=20 DYNAMICARGS=500 EXPRESSIONSPACE=65535 FORWARDREFS=1000 NUMVARIABLES=1100 ONBREAKS=75 POSITIONS=5000 PROGLINEPARS=65535 PROGLINES=10000 QUERIES=400 QUERYARGS=2300 SQLSIZE=10000 STRINGSPACE=60000 SUBVARS=2000 VARIABLES=5000 WHENS=1000 From owner-sqr-users@list.iex.net Wed Jul 4 01:31:01 2001 Date: Wed, 4 Jul 2001 00:58:19 -0500 From: Yogesh Kulkarni Subject: Re: EXPRESSIONSPACE Hi Mike, I have encountered a similar error, typically when a "Begin-SELECT" does not have a corresponding "End-SELECT"(or Begin-SQL does not have an End-SQL"). We are using SQR4.3, Oracle 8 on Solaris. The error message is a bit misleading. Hope that helps. Regards, Yogesh "Discussion of SQR, Brio Technology's database reporting language" 07/02/2001 04:26 PM Please respond to sqr-users@list.iex.net To: SQR-USERS@list.iex.net cc: Subject: EXPRESSIONSPACE Sqr ver 3.0.7.3, OS: HP-UX, DB: Informix I am getting the following error when using the let command. "(4038) out of space while processing expression; Use -Mfile to increase EXPRESSIONSPACE" I am trying to string several variables into one. After some debugging, I have found that if the total length of the string is 3275 character or less it works fine. Once I increase the string size to 3276 or more, I get the above message. I have read several posting and I have tried the following and I still get the message. I have included a copy of my allmaxes.max 1) Removed EXPRESSIONSPACE from allmaxes.max 2) Change the size of EXPRESSIONSPACE to 10000 3) Change the size of EXPRESSIONSPACE to 8000. 4) Specified -Mfile option on the command line. If anyone has other suggestions, I would greatly appreciate it. Thank you, Mike ! !CURSORS Max number of database cursors (SQLBase only) !DYNAMICARGS Max number of dynamic SQL arguments !EXPRESSIONSPACE Max length of temp string storage during LET operations !FORWARDREFS Max number of &column forward references !NUMVARIABLES Max number of numeric variables and literal values !ONBREAKS Max number of ON-BREAK LEVEL=values per SET !POSITIONS Max number of placement parameters, "(10,5,30)" !PROGLINEPARS Max number of arguments for all program lines !PROGLINES Max number of program lines (SQR commands) !QUERIES Max number of BEGIN-SQL and BEGIN-SELECT paragraphs !QUERYARGS Max number of bind variables for all SQL statements !SQLSIZE Max length of a SQL statement in characters !STRINGSPACE Max length of string space for program line arguments !SUBVARS Max number of run-time substitution variables !VARIABLES Max number of variables, literals and database columns !WHENS Max number of WHEN arguments allowed per EVALUATE ! !CURSORS=20 DYNAMICARGS=500 EXPRESSIONSPACE=65535 FORWARDREFS=1000 NUMVARIABLES=1100 ONBREAKS=75 POSITIONS=5000 PROGLINEPARS=65535 PROGLINES=10000 QUERIES=400 QUERYARGS=2300 SQLSIZE=10000 STRINGSPACE=60000 SUBVARS=2000 VARIABLES=5000 WHENS=1000 From owner-sqr-users@list.iex.net Tue Jul 3 11:33:03 2001 Date: Tue, 3 Jul 2001 17:03:04 +0100 From: Brian Smith Subject: Temporary tables in SQL Server 2000 When setting up an ODBC connection to a Microsoft SQL Server 2000 database, the option "Create temporary stored procedures for prepared SQL statements and drop the stored procedures" is forced ON and is not able to be cleared. This has the result that an SQR report which uses any temporary tables (CREATE TABLE ##temp in the begin-setup section) does not work, since the #temp table was created inside a stored procedure, and thus ceases to exist when the procedure ends. SQR then gives an error such as: (SQR 5528) ODBC SQL dbexec: SQLExecute error 208 in cursor 11: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name '#temp'. (SQR 5528) ODBC SQL dbexec: SQLExecute error 8180 in cursor 11: [Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared. Error on line 125: (SQR 3735) Could not execute SQL. This is from numerous reports that work perfectly when targetting a SQL Server 6.5 database. Unfortunately the -XP command-line option is not available under Windows. Is there a fix for this (without changing the report)? 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. From owner-sqr-users@list.iex.net Tue Jul 3 12:28:45 2001 Date: Tue, 3 Jul 2001 13:19:49 -0400 From: Philippe Godin Subject: Re: Temporary tables in SQL Server 2000 Good day Brian, Here's the solution for your problem... With Sql Server you can use either #mytable or ##mytable. The first statement creates a temporary table that is accessible only to the user that have created it and it only last the time of the connection. The second statement also creates a temp table which is available for all the users connected to the database. My experimentations with this makes me believes that each time you put a BEGIN-SQL and END-SQL block into your code, SQR opens a new connection to the database and then closes it. This means that your table is created but destroyed at the end of the block. When your using a statement like: create temporary table ##mytable (blablabla) SQR is really creating the temp table like this: #mytable. This symbol "#" is usually used to tell SQR that the following variable is to contain a number. If it isn't the case you have to double up the "#" caracter. (This is similar to CGI script if your willing to use a backslach you need to double it in order to use it.) It might be a bit complicated but what you need to use is something like this: create temporary table ###mytable which will really create a ##mytable in Sql Server. Since this table will be available to any user of the database you might want to use a dynamic name when creating such a table. If two users execute the report at the same time there could be errors generated. The solution I've found for this is to create the table using a timestamp. Here's the code I usually use to achieve this: BEGIN-SELECT current_timestamp ×tamp from dummy_table END-SELECT Let $timestamp = translate(×tamp,'-','') Let $timestamp = translate($timestamp,':','') Let $timestamp = translate($timestamp,'/','') Let $timestamp = translate($timestamp,' ','') Let $temptable = '###' || $timestamp BEGIN-SQL CREATE TABLE [$temptable] (col1SQL varchar(30),col2 int,col3 float,col4 float,col5 float,col6 float,col7 float,col8 float,col9 float,col10 float,col11 float,col12 float,col13 float); END-SQL Hope this helps Philippe Godin -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Brian Smith Sent: 3 juillet, 2001 12:03 To: SQR-USERS@list.iex.net Subject: Temporary tables in SQL Server 2000 Importance: High When setting up an ODBC connection to a Microsoft SQL Server 2000 database, the option "Create temporary stored procedures for prepared SQL statements and drop the stored procedures" is forced ON and is not able to be cleared. This has the result that an SQR report which uses any temporary tables (CREATE TABLE ##temp in the begin-setup section) does not work, since the #temp table was created inside a stored procedure, and thus ceases to exist when the procedure ends. SQR then gives an error such as: (SQR 5528) ODBC SQL dbexec: SQLExecute error 208 in cursor 11: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name '#temp'. (SQR 5528) ODBC SQL dbexec: SQLExecute error 8180 in cursor 11: [Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared. Error on line 125: (SQR 3735) Could not execute SQL. This is from numerous reports that work perfectly when targetting a SQL Server 6.5 database. Unfortunately the -XP command-line option is not available under Windows. Is there a fix for this (without changing the report)? 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. From owner-sqr-users@list.iex.net Wed Jul 4 02:51:48 2001 Date: Wed, 4 Jul 2001 08:39:41 +0100 From: Brian Smith Subject: Re: Temporary tables in SQL Server 2000 Thanks, but we've been using temporary tables in SQR for many years, so we know the technique very well, and the limitations imposed by SQR. Your 'explanation' is not quite correct - temporary tables must first be defined in the setup section of the report, after which there is no need for any special handling (other than ALWAYS appending an extra # to the name) PROVIDED the table is only referenced in the top-level cursor. SQR only creates a second database connection (which cannot see tables created in the first) when a query is invoked from inside another begin-select section. It turns out my posting was unreliable - the programmer was using an older version of SQR (4.2) - when run under 6.0 the problem does not occur. Brian -----Original Message----- From: Philippe Godin [mailto:philippe.godin@VIDEOTRON.CA] Sent: Tuesday, 03 July 2001 18:20 To: SQR-USERS@list.iex.net Subject: Re: Temporary tables in SQL Server 2000 Good day Brian, Here's the solution for your problem... With Sql Server you can use either #mytable or ##mytable. The first statement creates a temporary table that is accessible only to the user that have created it and it only last the time of the connection. The second statement also creates a temp table which is available for all the users connected to the database. My experimentations with this makes me believes that each time you put a BEGIN-SQL and END-SQL block into your code, SQR opens a new connection to the database and then closes it. This means that your table is created but destroyed at the end of the block. When your using a statement like: create temporary table ##mytable (blablabla) SQR is really creating the temp table like this: #mytable. This symbol "#" is usually used to tell SQR that the following variable is to contain a number. If it isn't the case you have to double up the "#" caracter. (This is similar to CGI script if your willing to use a backslach you need to double it in order to use it.) It might be a bit complicated but what you need to use is something like this: create temporary table ###mytable which will really create a ##mytable in Sql Server. Since this table will be available to any user of the database you might want to use a dynamic name when creating such a table. If two users execute the report at the same time there could be errors generated. The solution I've found for this is to create the table using a timestamp. Here's the code I usually use to achieve this: BEGIN-SELECT current_timestamp ×tamp from dummy_table END-SELECT Let $timestamp = translate(×tamp,'-','') Let $timestamp = translate($timestamp,':','') Let $timestamp = translate($timestamp,'/','') Let $timestamp = translate($timestamp,' ','') Let $temptable = '###' || $timestamp BEGIN-SQL CREATE TABLE [$temptable] (col1SQL varchar(30),col2 int,col3 float,col4 float,col5 float,col6 float,col7 float,col8 float,col9 float,col10 float,col11 float,col12 float,col13 float); END-SQL Hope this helps Philippe Godin -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Brian Smith Sent: 3 juillet, 2001 12:03 To: SQR-USERS@list.iex.net Subject: Temporary tables in SQL Server 2000 Importance: High When setting up an ODBC connection to a Microsoft SQL Server 2000 database, the option "Create temporary stored procedures for prepared SQL statements and drop the stored procedures" is forced ON and is not able to be cleared. This has the result that an SQR report which uses any temporary tables (CREATE TABLE ##temp in the begin-setup section) does not work, since the #temp table was created inside a stored procedure, and thus ceases to exist when the procedure ends. SQR then gives an error such as: (SQR 5528) ODBC SQL dbexec: SQLExecute error 208 in cursor 11: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name '#temp'. (SQR 5528) ODBC SQL dbexec: SQLExecute error 8180 in cursor 11: [Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared. Error on line 125: (SQR 3735) Could not execute SQL. This is from numerous reports that work perfectly when targetting a SQL Server 6.5 database. Unfortunately the -XP command-line option is not available under Windows. Is there a fix for this (without changing the report)? 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. ***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. From owner-sqr-users@list.iex.net Tue Jul 3 12:30:42 2001 Date: Tue, 3 Jul 2001 11:27:39 -0600 From: "Ackerson, Glenn" Subject: Printing with bold Hi group, I've been looking through the archives to see if I could figure out why I can get the underline command to work fine, but not the bold command. I'm running an SQR report using the standard Peoplesoft "setenv.sqc" parameters, and I did notice that the default for the printer definition in this sqc is "#define PRINTER_TYPE LINEPRINTER." Based on a message in the archives, I tried changing the #define statement to the "#define PRINTER_TYPE HPLASERJET" instead, but I'm still getting the same result - underlines work fine, bold text doesn't print as bold. Any suggestions? Thanks in advance for your response. If you do respond, if you wouldn't mind cc'ing your response to me directly, I would get the response sooner (I get messages in digest mode.) Thanks! Cheers, Glenn Ackerson ************************************************** Glenn Ackerson Information Technology Professional III Internet Address: Glenn.Ackerson@Unco.edu University of Northern Colorado Information Technology Carter Hall Greeley, CO 80639 From owner-sqr-users@list.iex.net Tue Jul 3 13:02:37 2001 Date: Tue, 3 Jul 2001 14:00:40 -0400 From: Glenn Coulter Subject: Re: Printing with bold Hi Glenn, When I have changed to the HP printer definition I usually add in a 'Declare-Printer' statement as well. I have attached some sample code below which is working fine for me. HTH..Glenn Coulter Begin-Setup #Include 'setupdb.sqc' #define PRINTER_TYPE HPLASERJET Declare-Printer HP-definition Type={PRINTER_TYPE} Font=5 Point-Size=12 Pitch=17 Symbol-Set=0U ! ASCII symbol set End-Declare Declare-Layout default Orientation=Portrait Top-Margin= .4 Left-Margin=.40 !gmc from .6 Max-Lines=63 Max-Columns=130 Char-Width=7.2 Line-Height=12 ! 72/printer_point-size End-Declare End-Setup . . . (print logic example from the main program) !***'Total' print $BEN1-TOTAL (+2,1) bold print '$' (+0,#ccol5) let #col = #ccol5+1 Graphic (+0,#col,8) horz-line {NORM_LNSIZE} ! Horizontal line. -----Original Message----- From: Ackerson, Glenn [mailto:Glenn.Ackerson@UNCO.EDU] Sent: Tuesday, July 03, 2001 1:28 PM To: SQR-USERS@list.iex.net Subject: Printing with bold Hi group, I've been looking through the archives to see if I could figure out why I can get the underline command to work fine, but not the bold command. I'm running an SQR report using the standard Peoplesoft "setenv.sqc" parameters, and I did notice that the default for the printer definition in this sqc is "#define PRINTER_TYPE LINEPRINTER." Based on a message in the archives, I tried changing the #define statement to the "#define PRINTER_TYPE HPLASERJET" instead, but I'm still getting the same result - underlines work fine, bold text doesn't print as bold. Any suggestions? Thanks in advance for your response. If you do respond, if you wouldn't mind cc'ing your response to me directly, I would get the response sooner (I get messages in digest mode.) Thanks! Cheers, Glenn Ackerson ************************************************** Glenn Ackerson Information Technology Professional III Internet Address: Glenn.Ackerson@Unco.edu University of Northern Colorado Information Technology Carter Hall Greeley, CO 80639 From owner-sqr-users@list.iex.net Thu Jul 5 08:31:10 2001 Date: Thu, 5 Jul 2001 09:24:36 -0400 From: Denise White Subject: Re: Printing with bold Hi Glenn, I recently wanted to use bold font for the first time, and couldn't get it to work at first. I tried a lot of different things, including the #define statement you mentioned, but nothing was working. It turned out to be something interesting: I was still using the old setup .sqc files; I knew there were new ones, but since all my programs were working fine, I didn't bother switching to them. I had to change #Include 'setup01a.sqc' to #Include 'setup31.sqc' Then I was able to use bold! But the font size was coming out wrong, so I also had to use the following (I put them at the beginning of BEGIN-PROGRAM): use-printer-type hplaserjet alter-printer point-size=8 pitch=17 HTH, Denise White Sr. Programmer/Analyst Vicor ------------------------------ Date: Tue, 3 Jul 2001 11:27:39 -0600 From: "Ackerson, Glenn" Subject: Printing with bold Hi group, I've been looking through the archives to see if I could figure out why I can get the underline command to work fine, but not the bold command. I'm running an SQR report using the standard Peoplesoft "setenv.sqc" parameters, and I did notice that the default for the printer definition in this sqc is "#define PRINTER_TYPE LINEPRINTER." Based on a message in the archives, I tried changing the #define statement to the "#define PRINTER_TYPE HPLASERJET" instead, but I'm still getting the same result - underlines work fine, bold text doesn't print as bold. Any suggestions? Thanks in advance for your response. If you do respond, if you wouldn't mind cc'ing your response to me directly, I would get the response sooner (I get messages in digest mode.) Thanks! Cheers, Glenn Ackerson ************************************************** Glenn Ackerson Information Technology Professional III Internet Address: Glenn.Ackerson@Unco.edu University of Northern Colorado Information Technology Carter Hall Greeley, CO 80639 From owner-sqr-users@list.iex.net Tue Jul 3 13:19:29 2001 Date: Tue, 3 Jul 2001 13:55:08 -0500 From: Steven Stein Subject: Re: SQR-USERS Digest - 1 Jul 2001 to 2 Jul 2001 (#2001-160) Emil: There's an interesting technique you can use if you want to get fancy. Save the spreadsheet in exactly the format you want as a .SLK file. The code can then be seen in a Text Editor. You can then make the SQR write a .SLK file. Franck Masson taught us this technique in this user group. Here's a sample. By the way, most of that fancy-looking formatting is easy because I use Textpad and write a Macro to wrap the SQR code around the .SLK code. For instance, when I save my sample .SLK file from Excel I get a line like: P;P"$"#,##0_);;[Red]\("$"#,##0\) and I use a Textpad macro to change that to: write 1 from 'P;P"$"#,##0_);;[Red]\("$"#,##0\)' - Steven Stein, CPA Covance Inc. 609-452-4551 BEGIN-PROGRAM let $file = 'C:\INVVAL.txt' Open $file as 1 for-writing record = 1000 LET #Y = 2 LET #COUNT = 0 LET #PUTWY = 0 LET #CNT_PTWY = 0 LET #QTY_PTWY = 0 LET #ISSUES = 0 LET #CNT_ISS = 0 LET #QTY_ISS = 0 LET #ADJ = 0 LET #CNT_ADJ = 0 LET #ADJ_DECR = 0 LET #ADJ_INCR = 0 LET #OTHER = 0 LET #CNT_OTHER = 0 MOVE ' ' TO $BUSUNIT MOVE ' ' TO $ACCNT MOVE ' ' TO $ACCTDESC MOVE ' ' TO $INVID MOVE ' ' TO $UOMSTD MOVE ' ' TO $UOMUOM MOVE ' ' TO $ITEMDESC do write-header DO MAIN-REPORT do write-totals END-PROGRAM ! MAIN REPORT BEGIN-PROCEDURE MAIN-REPORT begin-SELECT A.BUSINESS_UNIT count(*) &COUNT A.ACCOUNT B.DESCR A.INV_ITEM_ID sum(decode( A.TRANSACTION_GROUP,'020', A.MONETARY_AMOUNT,0)) &PUTWY sum(decode( A.TRANSACTION_GROUP,'020',1,0)) &CNT_PTWY sum(decode( A.TRANSACTION_GROUP,'020', C.QTY_BASE,0)) &QTY_PTWY sum(decode( A.TRANSACTION_GROUP,'030', A.MONETARY_AMOUNT,0)) &ISSUES sum(decode( A.TRANSACTION_GROUP,'030',1,0)) &CNT_ISS sum(decode( A.TRANSACTION_GROUP,'030', C.QTY_BASE,0)) &QTY_ISS sum(decode( A.TRANSACTION_GROUP,'050', A.MONETARY_AMOUNT,0)) &ADJ sum(decode( A.TRANSACTION_GROUP,'050',1,0)) &CNT_ADJ sum(decode( A.TRANSACTION_GROUP ,'050', DECODE(C.ADJUST_TYPE,'D',C.QTY_BASE*-1,0),0)) &ADJ_DECR sum(decode( A.TRANSACTION_GROUP ,'050', DECODE(C.ADJUST_TYPE,'I',C.QTY_BASE,0),0)) &ADJ_INCR sum(decode( A.TRANSACTION_GROUP,'020',0,'030',0,'050',0, A.MONETARY_AMOUNT)) &OTHER sum(decode( A.TRANSACTION_GROUP,'020',0,'030',0,'050',0,1)) &CNT_OTHER C.UNIT_MEASURE_STD C.UNIT_OF_MEASURE D.DESCR LET #COUNT = &COUNT LET #PUTWY = &PUTWY LET #CNT_PTWY = &CNT_PTWY LET #QTY_PTWY = &QTY_PTWY LET #ISSUES = &ISSUES LET #CNT_ISS = &CNT_ISS LET #QTY_ISS = &QTY_ISS LET #ADJ = &ADJ LET #CNT_ADJ = &CNT_ADJ LET #ADJ_DECR = &ADJ_DECR LET #ADJ_INCR = &ADJ_INCR LET #OTHER = &OTHER LET #CNT_OTHER = &CNT_OTHER MOVE &A.BUSINESS_UNIT TO $BUSUNIT MOVE &A.ACCOUNT TO $ACCNT MOVE &B.DESCR TO $ACCTDESC MOVE &A.INV_ITEM_ID TO $INVID MOVE &C.UNIT_MEASURE_STD TO $UOMSTD MOVE &C.UNIT_OF_MEASURE TO $UOMUOM MOVE &D.DESCR TO $ITEMDESC DO WRITE-LINES FROM PS_CM_ACCTG_LINE A, PS_GL_ACCOUNT_TBL B, PS_TRANSACTION_INV C, PS_MASTER_ITEM_TBL D WHERE A.BUSINESS_UNIT = 'ABC01' AND B.ACCOUNT = A.ACCOUNT AND A.ACCOUNT LIKE '04%' AND B.EFFDT = (SELECT MAX(B_ED.EFFDT) FROM PS_GL_ACCOUNT_TBL B_ED WHERE B.SETID = B_ED.SETID AND B.ACCOUNT = B_ED.ACCOUNT AND B_ED.EFFDT <= SYSDATE) AND B.SETID = 'XYZ01' AND D.SETID = 'ABC01' AND D.INV_ITEM_ID = C.INV_ITEM_ID AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.INV_ITEM_ID = C.INV_ITEM_ID AND A.DT_TIMESTAMP = C.DT_TIMESTAMP AND A.SEQ_NBR = C.SEQ_NBR AND A.TRANSACTION_GROUP = C.TRANSACTION_GROUP AND A.ACCOUNTING_DT <= TO_DATE('2001-04-30','YYYY-MM-DD') ! AND A.INV_ITEM_ID like '0000000000000078%' GROUP BY A.BUSINESS_UNIT, A.ACCOUNT, B.DESCR, A.INV_ITEM_ID, C.UNIT_MEASURE_STD, C.UNIT_OF_MEASURE, D.DESCR END-SELECT END-PROCEDURE ! WRITE header BEGIN-PROCEDURE WRITE-HEADER write 1 from 'ID;PWXL;N;E' write 1 from 'P;PGeneral' write 1 from 'P;P0' write 1 from 'P;P0.00' write 1 from 'P;P#,##0' write 1 from 'P;P#,##0.00' write 1 from 'P;P#,##0_);;\(#,##0\)' write 1 from 'P;P#,##0_);;[Red]\(#,##0\)' write 1 from 'P;P#,##0.00_);;\(#,##0.00\)' write 1 from 'P;P#,##0.00_);;[Red]\(#,##0.00\)' write 1 from 'P;P"$"#,##0_);;\("$"#,##0\)' write 1 from 'P;P"$"#,##0_);;[Red]\("$"#,##0\)' write 1 from 'P;P"$"#,##0.00_);;\("$"#,##0.00\)' write 1 from 'P;P"$"#,##0.00_);;[Red]\("$"#,##0.00\)' write 1 from 'P;P0%' write 1 from 'P;P0.00%' write 1 from 'P;P0.00E+00' write 1 from 'P;P##0.0E+0' write 1 from 'P;P#\ ?/?' write 1 from 'P;P#\ ??/??' write 1 from 'P;Pm/d/yy' write 1 from 'P;Pd\-mmm\-yy' write 1 from 'P;Pd\-mmm' write 1 from 'P;Pmmm\-yy' write 1 from 'P;Ph:mm\ AM/PM' write 1 from 'P;Ph:mm:ss\ AM/PM' write 1 from 'P;Ph:mm' write 1 from 'P;Ph:mm:ss' write 1 from 'P;Pm/d/yy\ h:mm' write 1 from 'P;Pmm:ss' write 1 from 'P;Pmm:ss.0' write 1 from 'P;P@' write 1 from 'P;P[h]:mm:ss' write 1 from 'P;P_("$"* #,##0_);;_("$"* \(#,##0\);;_("$"* "-"_);;_(@_)' write 1 from 'P;P_(* #,##0_);;_(* \(#,##0\);;_(* "-"_);;_(@_)' write 1 from 'P;P_("$"* #,##0.00_);;_("$"* \(#,##0.00\);;_("$"* "-"??_);;_(@_)' write 1 from 'P;P_(* #,##0.00_);;_(* \(#,##0.00\);;_(* "-"??_);;_(@_)' write 1 from 'P;FArial;M240' write 1 from 'P;FArial;M240' write 1 from 'P;FArial;M240' write 1 from 'P;FArial;M240' write 1 from 'P;EArial;M240' write 1 from 'P;EArial;M240;SB' write 1 from 'F;P0;DG0G8;M300' write 1 from 'B;Y3273;X22;D0 0 3272 21' write 1 from 'O;L;D;V0;K47;G100 0.001' write 1 from 'F;W3 3 0' write 1 from 'F;W5 5 0' write 1 from 'F;W7 7 36' write 1 from 'F;W8 8 0' write 1 from 'F;W9 9 15' write 1 from 'F;W10 11 10' write 1 from 'F;W12 12 16' write 1 from 'F;W13 13 0' write 1 from 'F;W15 15 13' write 1 from 'F;W16 16 0' write 1 from 'F;W17 17 13' write 1 from 'F;W18 18 11' write 1 from 'F;W19 20 0' write 1 from 'F;W22 22 13' write 1 from 'F;P35;FF2G;C9' write 1 from 'F;P1;FI0G;C11' write 1 from 'F;P35;FF2G;C12' write 1 from 'F;P35;FF2G;C15' write 1 from 'F;P7;FF2G;C17' write 1 from 'F;P35;FF2G;C22' write 1 from 'F;P0;FG0C;SDBM6;M315;R1' write 1 from 'NN;NPrint_Titles;ER1' write 1 from 'F;Y1;X1' write 1 from 'C;K"BUSUNIT"' write 1 from 'F;X2' write 1 from 'C;K"ACCNT"' write 1 from 'F;X3' write 1 from 'C;K"ACCTDESC"' write 1 from 'F;X4' write 1 from 'C;K"INVID"' write 1 from 'F;X5' write 1 from 'C;K"UOMSTD"' write 1 from 'F;X6' write 1 from 'C;K"UOM"' write 1 from 'F;X7' write 1 from 'C;K"ITEMDESC"' write 1 from 'F;X8' write 1 from 'C;K"COUNT"' write 1 from 'F;P35;FF2C;X9' write 1 from 'C;K"PUTWY"' write 1 from 'F;X10' write 1 from 'C;K"CNT_PTWY"' write 1 from 'F;P1;FI0C;X11' write 1 from 'C;K"QTY_PTWY"' write 1 from 'F;P35;FF2C;X12' write 1 from 'C;K"ISSUES"' write 1 from 'F;X13' write 1 from 'C;K"CNT_ISS"' write 1 from 'F;X14' write 1 from 'C;K"QTY_ISS"' write 1 from 'F;P35;FF2C;X15' write 1 from 'C;K"ADJ"' write 1 from 'F;X16' write 1 from 'C;K"CNT_ADJ"' write 1 from 'F;P7;FF2C;X17' write 1 from 'C;K"ADJ_DECR"' write 1 from 'F;X18' write 1 from 'C;K"ADJ_INCR"' write 1 from 'F;X19' write 1 from 'C;K"OTHER"' write 1 from 'F;X20' write 1 from 'C;K"CNT_OTHER"' write 1 from 'F;X21' write 1 from 'C;K"AGG_QTY"' write 1 from 'F;P35;FF2C;X22' write 1 from 'C;K"AGG_AMT"' write 1 from 'C;Y2;X1;K" "' END-PROCEDURE ! WRITE lines BEGIN-PROCEDURE WRITE-LINES let #Y = #Y + 1 move #Y to $Y move #COUNT to $COUNT move #PUTWY to $PUTWY move #CNT_PTWY to $CNT_PTWY move #QTY_PTWY to $QTY_PTWY move #ISSUES to $ISSUES move #CNT_ISS to $CNT_ISS move #QTY_ISS to $QTY_ISS move #ADJ to $ADJ move #CNT_ADJ to $CNT_ADJ move #ADJ_DECR to $ADJ_DECR move #ADJ_INCR to $ADJ_INCR move #OTHER to $OTHER move #CNT_OTHER to $CNT_OTHER let #this_item_qty = #QTY_PTWY - #QTY_ISS + #ADJ_DECR + #ADJ_INCR let #this_item_amt = #PUTWY + #ISSUES + #ADJ + #OTHER move #this_item_qty to $this_item_qty move #this_item_amt to $this_item_amt let #tot_COUNT = #tot_COUNT + #COUNT let #tot_PUTWY = #tot_PUTWY + #PUTWY let #tot_CNT_PTWY = #tot_CNT_PTWY + #CNT_PTWY let #tot_QTY_PTWY = #tot_QTY_PTWY + #QTY_PTWY let #tot_ISSUES = #tot_ISSUES + #ISSUES let #tot_CNT_ISS = #tot_CNT_ISS + #CNT_ISS let #tot_QTY_ISS = #tot_QTY_ISS + #QTY_ISS let #tot_ADJ = #tot_ADJ + #ADJ let #tot_CNT_ADJ = #tot_CNT_ADJ + #CNT_ADJ let #tot_ADJ_DECR = #tot_ADJ_DECR + #ADJ_DECR let #tot_ADJ_INCR = #tot_ADJ_INCR + #ADJ_INCR let #tot_OTHER = #tot_OTHER + #OTHER let #tot_CNT_OTHER = #tot_CNT_OTHER + #CNT_OTHER let #tot_item_qty = #tot_item_qty + #this_item_qty let #tot_item_amt = #tot_item_amt + #this_item_amt let $BUSUNIT_SLK = 'C;Y' || $Y || ';K"' || $BUSUNIT || '"' let $ACCNT_SLK = 'C;X2;' || $ACCNT let $ACCTDESC_SLK = 'C;X3;K"' || $ACCTDESC || '"' let $INVID_SLK = 'C;X4;K' || $INVID let $UOMSTD_SLK = 'C;X5;K"' || $UOMSTD || '"' let $UOMUOM_SLK = 'C;X6;K"' || $UOMUOM || '"' let $ITEMDESC_SLK = 'C;X7;K"' || $ITEMDESC || '"' let $COUNT_SLK = 'C;X8;K' || $COUNT let $PUTWY_SLK = 'C;X9;K' || $PUTWY let $CNT_PTWY_SLK = 'C;X10;K' || $CNT_PTWY let $QTY_PTWY_SLK = 'C;X11;K' || $QTY_PTWY let $ISSUES_SLK = 'C;X12;K' || $ISSUES let $CNT_ISS_SLK = 'C;X13;K' || $CNT_ISS let $QTY_ISS_SLK = 'C;X14;K' || $QTY_ISS let $ADJ_SLK = 'C;X15;K || $ADJ let $CNT_ADJ_SLK = 'C;X16;K' || $CNT_ADJ let $ADJ_DECR_SLK = 'C;X17;K' || $ADJ_DECR let $ADJ_INCR_SLK = 'C;X18;K' || $ADJ_INCR let $OTHER_SLK = 'C;X19;K' || $OTHER let $CNT_OTHER_SLK = 'C;X20;K' || $CNT_OTHER let $this_item_qty_SLK = 'C;X21;K' || $this_item_qty let $this_item_amt_SLK = 'C;X22;K' || $this_item_amt write 1 from $BUSUNIT_SLK write 1 from $ACCNT_SLK write 1 from $ACCTDESC_SLK write 1 from $INVID_SLK write 1 from $UOMSTD_SLK write 1 from $UOMUOM_SLK write 1 from $ITEMDESC_SLK write 1 from $COUNT_SLK write 1 from $PUTWY_SLK write 1 from $CNT_PTWY_SLK write 1 from $QTY_PTWY_SLK write 1 from $ISSUES_SLK write 1 from $CNT_ISS_SLK write 1 from $QTY_ISS_SLK write 1 from $ADJ_SLK write 1 from $CNT_ADJ_SLK write 1 from $ADJ_DECR_SLK write 1 from $ADJ_INCR_SLK write 1 from $OTHER_SLK write 1 from $CNT_OTHER_SLK write 1 from $this_item_qty_SLK write 1 from $this_item_amt_SLK END-PROCEDURE begin-procedure write-totals let #Y = #Y + 1 move #Y to $Y move #tot_COUNT to $tot_COUNT move #tot_PUTWY to $tot_PUTWY move #tot_CNT_PTWY to $tot_CNT_PTWY move #tot_QTY_PTWY to $tot_QTY_PTWY move #tot_ISSUES to $tot_ISSUES move #tot_CNT_ISS to $tot_CNT_ISS move #tot_QTY_ISS to $tot_QTY_ISS move #tot_ADJ to $tot_ADJ move #tot_CNT_ADJ to $tot_CNT_ADJ move #tot_ADJ_DECR to $tot_ADJ_DECR move #tot_ADJ_INCR to $tot_ADJ_INCR move #tot_OTHER to $tot_OTHER move #tot_CNT_OTHER to $tot_CNT_OTHER move #tot_item_qty to $tot_item_qty move #tot_item_amt to $tot_item_amt let $firsttotcell = 'C;Y' || Y$ || ';X1;K" "' let $secontotcell = 'C;X2;K" "' let $thirdtotcell = 'C;X3;K" "' let $fourttotcell = 'C;X4;K" "' let $fifthtotcell = 'C;X5;K" "' let $sixthtotcell = 'C;X6;K" "' let $seventotcell = 'C;X7;K" "' let $tot_COUNT_SLK = 'C;X8;K' || $tot_COUNT let $tot_PUTWY_SLK = 'C;X9;K' || $tot_PUTWY let $tot_CNT_PTWY_SLK = 'C;X10;K' || $tot_CNT_PTWY let $tot_QTY_PTWY_SLK = 'C;X11;K' || $tot_QTY_PTWY let $tot_ISSUES_SLK = 'C;X12;K' || $tot_ISSUES let $tot_CNT_ISS_SLK = 'C;X13;K' || $tot_CNT_ISS let $tot_QTY_ISS_SLK = 'C;X14;K' || $tot_QTY_ISS let $tot_ADJ_SLK = 'C;X15;K' || $tot_ADJ let $tot_CNT_ADJ_SLK = 'C;X16;K' || $tot_CNT_ADJ let $tot_ADJ_DECR_SLK = 'C;X17;K' || $tot_ADJ_DECR let $tot_ADJ_INCR_SLK = 'C;X18;K' || $tot_ADJ_INCR let $tot_OTHER_SLK = 'C;X19;K' || $tot_OTHER let $tot_CNT_OTHER_SLK = 'C;X20;K'|| $tot_CNT_OTHER let $tot_item_qty_SLK = 'C;X21;K' || $tot_item_qty let $tot_item_amt_SLK = 'C;X22;K' || $tot_item_amt write 1 from $firsttotcell write 1 from $secontotcell write 1 from $thirdtotcell write 1 from $fourttotcell write 1 from $fifthtotcell write 1 from $sixthtotcell write 1 from $seventotcell write 1 from $tot_COUNT_SLK write 1 from $tot_PUTWY_SLK write 1 from $tot_CNT_PTWY_SLK write 1 from $tot_QTY_PTWY_SLK write 1 from $tot_ISSUES_SLK write 1 from $tot_CNT_ISS_SLK write 1 from $tot_QTY_ISS_SLK write 1 from $tot_ADJ_SLK write 1 from $tot_CNT_ADJ_SLK write 1 from $tot_ADJ_DECR_SLK write 1 from $tot_ADJ_INCR_SLK write 1 from $tot_OTHER_SLK write 1 from $tot_CNT_OTHER_SLK write 1 from $tot_item_qty_SLK write 1 from $tot_item_amt_SLK write 1 from 'E' end-procedure -------------------------------------------------------------------- Emil Galicinao @list.iex.net> on 06/29/2001 > 06:27:01 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: How can SQR generate an excel file with numeric data being > displayed as a string? > > Hi Everyone, > > Does anybody know how to convert a numeric data into a string such that > when I generate the report in excel, that data will no longer be treated > as numeric? Right now, when a numeric data is more than 11 digits > long, excel usually convert the data into an exponential form which is > something Im trying to avoid. > > An example would be: > The number 123456789012 becomes 1.23457E+11 when viewed from excel. > > I was thinking of appending a special character on that numeric data but > unfortunately, that special charater also appear in the report. > > Any suggestions? > > Best Regards, > Emil ----------------------------------------------------- Confidentiality Notice: This e-mail transmission may contain confidential or legally privileged information that is intended only for the individual or entity named in the e-mail address. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or reliance upon the contents of this e-mail is strictly prohibited. If you have received this e-mail transmission in error, please reply to the sender, so that we can arrange for proper delivery, and then please delete the message from your inbox. Thank you. From owner-sqr-users@list.iex.net Tue Jul 3 16:36:14 2001 Date: Tue, 3 Jul 2001 14:13:03 -0700 From: Michael Prodor Subject: SQR Tutorial Files Does anyone have the table load file for the SQR 4.x tutorial? We migrated from 3 to 4 a while back and now have the opportunity to use the tutorial, but our files are not compatible. Thanks in advance for your help! -- Michael Prodor Qualcomm - IT QWBS Business Systems From owner-sqr-users@list.iex.net Thu Jul 5 14:52:03 2001 Date: Thu, 5 Jul 2001 15:45:24 -0400 From: Melanie Hershey Subject: SQR 4.3.4 Error - Executing Cursors This is a repost about getting the "problem executing cursor" error. I've been through the archives and haven't found anything that sounds like a solution to my particular problem. Here's the message I previously posted: "In addition to doing a Psoft upgrade, we are also in the process of upgrading to SQR version 4.3.4 (from 3.0.7.3) and are encountering the following error message intermittently when running an SQR program on our unix server: (SQR 5528) INFORMIX SQL OPEN/EXECUTE error -404 (ISAM: 0) in cursor 11: The cursor or statement is not available. Error on line 375: (SQR 3723) Problem executing cursor. Line 375 starts the following select: begin-procedure Get-Voucher-Id #Debug display 'Getting Voucher Id' let $vchr_found = 'N' begin-select xref.voucher_id let $vchr_found = 'Y' let $voucher_id = &xref.voucher_id from [$cx_ap_xref] xref where xref.invoice_id = &ap.invoice_id and xref.origin = &ap.origin and xref.business_unit = &ap.business_unit and xref.batch_type = 'V' end-select This procedure is called for each line in another table. When running this select statement and plugging in the bind variables in an outside SQL session it runs fine. Also, the statement generally executes fine for the first call to the procedure and errors out on the second call. Another thing to note is that when we run the SQR on the client, there are NO problems. Does this ring any bells? Are there any other environment variables or configuration files that I should look at? Any advice or insights would be greatly appreciated. Thanks! Melanie Hershey Carmax Auto Superstores Financial Systems Development FYI - We are upgrading all of the following at this point: Unix OS from HPUX 10.2 to HPUX 11 Informix from 7.30.UC7 to 7.31.FS7 (64-bit) Informix Connectivity from I-Connect to SDK 2.40 HC1 PeopleTools from 7.03 to 7.07 PS App from 7.01 to 7.02 SQR from 3.0.7.3 to 4.3.4 Tuxedo from 6.3 to 6.5" ---------------- After more research, my I'm thinking that there is a difference between the client SQR executable and the UNIX SQR executable in the way SQR is translating the code to communicate with an Informix database. I read on an Informix website that this error will occur when you try to reuse a cursor that has had a CLOSE or FREE statement issued. Does anyone know how I could determine where this is happening? Is there an SQR trace that will show me the Informix commands being sent to the database? This has me completely puzzled, so any assistance would be appreciated.... Thanks! From owner-sqr-users@list.iex.net Thu Jul 5 15:15:46 2001 Date: Thu, 5 Jul 2001 16:11:50 -0400 From: Glenn Coulter Subject: Re: SQR 4.3.4 Error - Executing Cursors Hi Melanie, Is the calling procedure performing any commits between the first and second call? I have gotten similar messages when a commit slips into the logic, as that command closes all the open cursors. HTH... Glenn -----Original Message----- From: Melanie Hershey [mailto:MelanieHershey@CARMAX.COM] Sent: Thursday, July 05, 2001 3:45 PM To: SQR-USERS@list.iex.net Subject: SQR 4.3.4 Error - Executing Cursors This is a repost about getting the "problem executing cursor" error. I've been through the archives and haven't found anything that sounds like a solution to my particular problem. Here's the message I previously posted: "In addition to doing a Psoft upgrade, we are also in the process of upgrading to SQR version 4.3.4 (from 3.0.7.3) and are encountering the following error message intermittently when running an SQR program on our unix server: (SQR 5528) INFORMIX SQL OPEN/EXECUTE error -404 (ISAM: 0) in cursor 11: The cursor or statement is not available. Error on line 375: (SQR 3723) Problem executing cursor. Line 375 starts the following select: begin-procedure Get-Voucher-Id #Debug display 'Getting Voucher Id' let $vchr_found = 'N' begin-select xref.voucher_id let $vchr_found = 'Y' let $voucher_id = &xref.voucher_id from [$cx_ap_xref] xref where xref.invoice_id = &ap.invoice_id and xref.origin = &ap.origin and xref.business_unit = &ap.business_unit and xref.batch_type = 'V' end-select This procedure is called for each line in another table. When running this select statement and plugging in the bind variables in an outside SQL session it runs fine. Also, the statement generally executes fine for the first call to the procedure and errors out on the second call. Another thing to note is that when we run the SQR on the client, there are NO problems. Does this ring any bells? Are there any other environment variables or configuration files that I should look at? Any advice or insights would be greatly appreciated. Thanks! Melanie Hershey Carmax Auto Superstores Financial Systems Development FYI - We are upgrading all of the following at this point: Unix OS from HPUX 10.2 to HPUX 11 Informix from 7.30.UC7 to 7.31.FS7 (64-bit) Informix Connectivity from I-Connect to SDK 2.40 HC1 PeopleTools from 7.03 to 7.07 PS App from 7.01 to 7.02 SQR from 3.0.7.3 to 4.3.4 Tuxedo from 6.3 to 6.5" ---------------- After more research, my I'm thinking that there is a difference between the client SQR executable and the UNIX SQR executable in the way SQR is translating the code to communicate with an Informix database. I read on an Informix website that this error will occur when you try to reuse a cursor that has had a CLOSE or FREE statement issued. Does anyone know how I could determine where this is happening? Is there an SQR trace that will show me the Informix commands being sent to the database? This has me completely puzzled, so any assistance would be appreciated.... Thanks! From owner-sqr-users@list.iex.net Fri Jul 6 02:52:24 2001 Date: Fri, 6 Jul 2001 09:44:54 +0200 From: "J.-Bernard Favre" Subject: Re: SQR 4.3.4 Error - Executing Cursors I had a similar problem (yesterday), but not exactly the same error message. I added a 'NULL' column in the begin-select like: let $col_null='NULL' begin-select [$col_null] &colnul=char xref.voucher_id let $vchr_found = 'Y' let $voucher_id = &xref.voucher_id from [$cx_ap_xref] xref where xref.invoice_id = &ap.invoice_id and xref.origin = &ap.origin and xref.business_unit = &ap.business_unit and xref.batch_type = 'V' end-select I cannot guarantee it will work, you can always try. Jean-Bernard. Melanie Hershey wrote: > This is a repost about getting the "problem executing cursor" error. I've > been through the archives and haven't found anything that sounds like a > solution to my particular problem. > > Here's the message I previously posted: > > "In addition to doing a Psoft upgrade, we are also in the process of > upgrading to SQR version 4.3.4 (from 3.0.7.3) and are encountering the > following error message intermittently when running an SQR program on our > unix server: > > (SQR 5528) INFORMIX SQL OPEN/EXECUTE error -404 (ISAM: 0) in cursor 11: > The cursor or statement is not available. > Error on line 375: > (SQR 3723) Problem executing cursor. > > Line 375 starts the following select: > > begin-procedure Get-Voucher-Id > #Debug display 'Getting Voucher Id' > > let $vchr_found = 'N' > > begin-select > xref.voucher_id > > let $vchr_found = 'Y' > let $voucher_id = &xref.voucher_id > > from [$cx_ap_xref] xref > where xref.invoice_id = &ap.invoice_id and > xref.origin = &ap.origin and > xref.business_unit = &ap.business_unit and > xref.batch_type = 'V' > end-select > > This procedure is called for each line in another table. When running this > select statement and plugging in the bind variables in an outside SQL > session it runs fine. Also, the statement generally executes fine for the > first call to the procedure and errors out on the second call. Another > thing to note is that when we run the SQR on the client, there are NO > problems. Does this ring any bells? Are there any other environment > variables or configuration files that I should look at? > > Any advice or insights would be greatly appreciated. > Thanks! > Melanie Hershey > Carmax Auto Superstores > Financial Systems Development > > FYI - We are upgrading all of the following at this point: > Unix OS from HPUX 10.2 to HPUX 11 > Informix from 7.30.UC7 to 7.31.FS7 (64-bit) > Informix Connectivity from I-Connect to SDK 2.40 HC1 > PeopleTools from 7.03 to 7.07 > PS App from 7.01 to 7.02 > SQR from 3.0.7.3 to 4.3.4 > Tuxedo from 6.3 to 6.5" > ---------------- > After more research, my I'm thinking that there is a difference between the > client SQR executable and the UNIX SQR executable in the way SQR is > translating the code to communicate with an Informix database. I read on > an Informix website that this error will occur when you try to reuse a > cursor that has had a CLOSE or FREE statement issued. Does anyone know how > I could determine where this is happening? Is there an SQR trace that will > show me the Informix commands being sent to the database? This has me > completely puzzled, so any assistance would be appreciated.... > > Thanks! From owner-sqr-users@list.iex.net Thu Jul 5 16:25:04 2001 Date: Thu, 5 Jul 2001 14:07:58 -0700 From: Charllotte Hurt Subject: help with sql I am working with an sql statement which I need to modify in order to pick up additional information in another table. (The tables involved are from the PeopleSoft Student Administration product and this sql statement is a view.) The outcome I want from this is all the fields currently being selected; but, in addition, I need the descr254a field from the rq_grp_tbl for those courses which have a rqrmrnt_group and also those courses which don't have a rqrmnt_group. The sql below is the original with my additions in bold. I also have put crse_ids to simplify my testing, one has a rqrmnt_group and one does not. My problem is that I receive one row with all the necessary information for the course id which has the rqrmnt_group, but for the one which doesn't I am getting back every row from the rq_grp_tbl (because of my not exists). I only want one row returned for each course_id in my select. I am getting back 243 rows, one for the course with the rqrmnt_group and 242 rows ! for the one which has no rqrmnt_group (242 rows is the totat count of the rq_grp_tbl). I would really appreciate some help on this. Any suggestions? I need to do this in the sql--not in an sqr. (Sqr would allow loops=1). Thanks in advance for your assistance. SELECT A.CRSE_ID ,A.EFFDT ,B.INSTITUTION ,B.SUBJECT ,B.CATALOG_NBR ,A.EFF_STATUS ,A.UNITS_MINIMUM ,A.UNITS_MAXIMUM ,A.COMPONENT ,A.COURSE_TITLE_LONG ,C.DESCRFORMAL ,D.DESCR ,E.XLATLONGNAME ,A.DESCRLONG ,f.descr254a ,b.rqrmnt_group FROM PS_CRSE_CATALOG A, PS_CRSE_OFFER B, PS_SUBJECT_TBL C, PS_INSTITUTION_TBL D, XLATTABLE E, ps_rq_grp_tbl f WHERE A.CRSE_ID = B.CRSE_ID AND a.crse_id in ('001750','000322') and A.EFFDT = ( SELECT MAX(Z.EFFDT) FROM PS_CRSE_CATALOG Z WHERE A.CRSE_ID = Z.CRSE_ID AND Z.EFFDT <= sysdate) AND A.EFF_STATUS = 'A' AND A.EFFDT = B.EFFDT AND B.CATALOG_PRINT = 'Y' AND B.INSTITUTION = C.INSTITUTION AND C.EFFDT = ( SELECT MAX(X.EFFDT) FROM PS_SUBJECT_TBL X WHERE C.INSTITUTION = X.INSTITUTION AND C.SUBJECT = X.SUBJECT AND X.EFFDT <= sysdate) AND B.INSTITUTION = D.INSTITUTION AND D.EFFDT = ( SELECT MAX(Y.EFFDT) FROM PS_INSTITUTION_TBL Y WHERE D.INSTITUTION = Y.INSTITUTION AND Y.EFFDT <= sysdate) AND B.SUBJECT = C.SUBJECT AND B.INSTITUTION = D.INSTITUTION AND E.FIELDNAME = 'COMPONENT' AND E.LANGUAGE_CD = (SELECT LANGUAGE_CD FROM PSOPTIONS) AND A.COMPONENT = E.FIELDVALUE AND E.EFFDT = ( SELECT MAX(W.EFFDT) FROM XLATTABLE W WHERE E.FIELDNAME = W.FIELDNAME AND E.LANGUAGE_CD = W.LANGUAGE_CD AND E.FIELDVALUE = W.FIELDVALUE AND W.EFFDT <= sysdate) and (b.rqrmnt_group = f.rqrmnt_group and f.effdt = ( SELECT MAX(f1.EFFDT) FROM ps_rq_grp_tbl f1 WHERE f1.rqrmnt_group = f.rqrmnt_group AND f1.EFFDT <= sysdate) and f.eff_status = 'A' or (not exists (select 'x' from ps_rq_grp_tbl f2 where f2.rqrmnt_group = b.rqrmnt_group))); From owner-sqr-users@list.iex.net Fri Jul 6 06:45:50 2001 Date: Fri, 6 Jul 2001 04:40:42 -0700 From: Arjan Hoornstra Subject: Re: help with sql Charlotte, You problem seems to be you 'f' table. This table is not joined because of the or clause, causing a carthesian product. Look at this part (I edited the layout for readability): and ( b.rqrmnt_group = f.rqrmnt_group and f.effdt = ( SELECT MAX(f1.EFFDT) FROM ps_rq_grp_tbl f1 WHERE f1.rqrmnt_group = f.rqrmnt_group AND f1.EFFDT <= sysdate ) and f.eff_status = 'A' or ( not exists (select 'x' from ps_rq_grp_tbl f2 where f2.rqrmnt_group = b.rqrmnt_group ) ) ) Because the 'or' is on the same level as the 'and' (twice) and the join it overrules everything. So you would have to use an outerjoin, but because of the 'max' clause in the query and the descr254a column in the select that is not possible. Depending on your database system I think the only way to solve this is create a temporary table in which you insert the contents of table f with only the max(EFFDT) of each group, and then you can use the outerjoin... Something like: select 'EFFDT' = MAX(f1.EFFDT), rqrmnt_group, eff_status, descr254a into #ps_rq_grp_tbl from ps_rq_grp_tbl where EFFDT <= sysdate and eff_status = 'A' group by rqrmnt_group, eff_status, descr254a (eff_status is optional if you only need the 'A' values) Now in your query replace ps_rq_grp_tbl with #ps_rq_grp_tbl as your 'f' table in the FROM clause, and change the join to: and b.rqrmnt_group *= f.rqrmnt_group and f.eff_status = 'A' This should work for Sybase and MS-sql, for Oracle you may need a workaround for the #table. Hope this helps, let me know... Arjan --- Charllotte Hurt wrote: > I am working with an sql statement which I need to modify in order to > pick up additional information in another table. (The tables > involved are from the PeopleSoft Student Administration product and > this sql statement is a view.) The outcome I want from this is all > the fields currently being selected; but, in addition, I need the > descr254a field from the rq_grp_tbl for those courses which have a > rqrmrnt_group and also those courses which don't have a rqrmnt_group. > The sql below is the original with my additions in bold. I also > have put crse_ids to simplify my testing, one has a rqrmnt_group and > one does not. My problem is that I receive one row with all the > necessary information for the course id which has the rqrmnt_group, > but for the one which doesn't I am getting back every row from the > rq_grp_tbl (because of my not exists). I only want one row returned > for each course_id in my select. I am getting back 243 rows, one for > the course with the rqrmnt_group and 242 rows ! > for the one which has no rqrmnt_group (242 rows is the totat count of > the rq_grp_tbl). > > I would really appreciate some help on this. Any suggestions? I > need to do this in the sql--not in an sqr. (Sqr would allow > loops=1). > > Thanks in advance for your assistance. > > SELECT > A.CRSE_ID > ,A.EFFDT > ,B.INSTITUTION > ,B.SUBJECT > ,B.CATALOG_NBR > ,A.EFF_STATUS > ,A.UNITS_MINIMUM > ,A.UNITS_MAXIMUM > ,A.COMPONENT > ,A.COURSE_TITLE_LONG > ,C.DESCRFORMAL > ,D.DESCR > ,E.XLATLONGNAME > ,A.DESCRLONG > ,f.descr254a > ,b.rqrmnt_group > FROM > PS_CRSE_CATALOG A, > PS_CRSE_OFFER B, > PS_SUBJECT_TBL C, > PS_INSTITUTION_TBL D, > XLATTABLE E, > ps_rq_grp_tbl f > WHERE A.CRSE_ID = B.CRSE_ID AND > a.crse_id in ('001750','000322') and > A.EFFDT = > ( SELECT MAX(Z.EFFDT) > FROM PS_CRSE_CATALOG Z > WHERE A.CRSE_ID = Z.CRSE_ID > AND Z.EFFDT <= sysdate) > AND > A.EFF_STATUS = 'A' AND > A.EFFDT = B.EFFDT AND > B.CATALOG_PRINT = 'Y' AND > B.INSTITUTION = C.INSTITUTION AND > C.EFFDT = > ( SELECT MAX(X.EFFDT) > FROM PS_SUBJECT_TBL X > WHERE C.INSTITUTION = X.INSTITUTION > AND C.SUBJECT = X.SUBJECT > AND X.EFFDT <= sysdate) AND > B.INSTITUTION = D.INSTITUTION AND > D.EFFDT = > ( SELECT MAX(Y.EFFDT) > FROM PS_INSTITUTION_TBL Y > WHERE D.INSTITUTION = Y.INSTITUTION > AND Y.EFFDT <= sysdate) AND > B.SUBJECT = C.SUBJECT AND > B.INSTITUTION = D.INSTITUTION AND > E.FIELDNAME = 'COMPONENT' AND > E.LANGUAGE_CD = > (SELECT LANGUAGE_CD FROM PSOPTIONS) > AND > A.COMPONENT = E.FIELDVALUE AND > E.EFFDT = > ( SELECT MAX(W.EFFDT) > FROM XLATTABLE W > WHERE E.FIELDNAME = W.FIELDNAME > AND E.LANGUAGE_CD = W.LANGUAGE_CD > AND E.FIELDVALUE = W.FIELDVALUE > AND W.EFFDT <= sysdate) > and (b.rqrmnt_group = f.rqrmnt_group > and f.effdt = > ( SELECT MAX(f1.EFFDT) > FROM ps_rq_grp_tbl f1 > WHERE f1.rqrmnt_group = f.rqrmnt_group > AND f1.EFFDT <= sysdate) > and f.eff_status = 'A' or > (not exists (select 'x' from ps_rq_grp_tbl f2 > where f2.rqrmnt_group = b.rqrmnt_group))); __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ From owner-sqr-users@list.iex.net Fri Jul 6 08:03:53 2001 Date: Fri, 6 Jul 2001 05:49:23 -0700 From: Michael Nielsen Subject: DECLARING A VARIABLE Currently my report is printing variables as a decimal. For example: 64.0 My report needs to print this value simply as: 64 How do I set my variables in the SQR Workbench? I am not sure what the code needs to look like to make my numbers go from decimals to integers. Thank You Michael Nielsen ___________________________________________________ GO.com Mail Get Your Free, Private E-mail at http://mail.go.com From owner-sqr-users@list.iex.net Fri Jul 6 08:07:39 2001 Date: Fri, 6 Jul 2001 09:03:59 -0400 From: Mario Mendoza Subject: Re: DECLARING A VARIABLE Use an edit mask let $var_a = edit(&var_a,'9,999') Mario Mendoza 1-888-647-6472 x633 mariom@flagshipcredit.com > -----Original Message----- > From: Michael Nielsen [SMTP:mnielsen33@GO.COM] > Sent: July 06, 2001 8:49 AM > To: SQR-USERS@list.iex.net > Subject: DECLARING A VARIABLE > > Currently my report is printing variables as a decimal. For example: > > 64.0 > > My report needs to print this value simply as: > > 64 > > How do I set my variables in the SQR Workbench? I am not sure what the > code needs to look like to make my numbers go from decimals to integers. > > Thank You > > Michael Nielsen > > ___________________________________________________ > GO.com Mail > Get Your Free, Private E-mail at http://mail.go.com From owner-sqr-users@list.iex.net Fri Jul 6 10:40:47 2001 Date: Fri, 6 Jul 2001 08:35:44 -0700 From: Chris Ottens Subject: Re: DECLARING A VARIABLE Or do it right from the print statement: print &var_a (1,1) edit 9,999 ----- Original Message ----- From: "Mario Mendoza" To: Sent: Friday, July 06, 2001 6:03 AM Subject: Re: DECLARING A VARIABLE > Use an edit mask > > let $var_a = edit(&var_a,'9,999') > > Mario Mendoza > 1-888-647-6472 x633 > mariom@flagshipcredit.com > > > -----Original Message----- > > From: Michael Nielsen [SMTP:mnielsen33@GO.COM] > > Sent: July 06, 2001 8:49 AM > > To: SQR-USERS@list.iex.net > > Subject: DECLARING A VARIABLE > > > > Currently my report is printing variables as a decimal. For example: > > > > 64.0 > > > > My report needs to print this value simply as: > > > > 64 > > > > How do I set my variables in the SQR Workbench? I am not sure what the > > code needs to look like to make my numbers go from decimals to integers. > > > > Thank You > > > > Michael Nielsen > > > > ___________________________________________________ > > GO.com Mail > > Get Your Free, Private E-mail at http://mail.go.com From owner-sqr-users@list.iex.net Fri Jul 6 08:59:22 2001 Date: Fri, 6 Jul 2001 06:54:45 -0700 From: Debbie Pavlak Subject: help with sql Charllotte, Why don't you try using an outer join on rq_grp_tbl? Something like this: ............. and (b.rqrmnt_group *= f.rqrmnt_group and f.effdt = ( SELECT MAX(f1.EFFDT) FROM ps_rq_grp_tbl f1 WHERE f1.rqrmnt_group = f.rqrmnt_group AND f1.EFFDT <= sysdate and f.eff_status = 'A')); Debbie > > Date: Thu, 5 Jul 2001 14:07:58 -0700 > From: Charllotte Hurt > Subject: help with sql > > I am working with an sql statement which I need to modify in order to pick up additional information in another table. (The tables involved are from the PeopleSoft Student Administration product and this sql statement is a view.) The outcome I want from this is all the fields currently being selected; but, in addition, I need the descr254a field from the rq_grp_tbl for those courses which have a rqrmrnt_group and also those courses which don't have a rqrmnt_group. The sql below is the original with my additions in bold. I also have put crse_ids to simplify my testing, one has a rqrmnt_group and one does not. My problem is that I receive one row with all the necessary information for the course id which has the rqrmnt_group, but for the one which doesn't I am getting back every row from the rq_grp_tbl (because of my not exists). I only want one row returned for each course_id in my select. I am getting back 243 rows, one for the course with the rqrmnt_group and 242 rows ! > for the one which has no rqrmnt_group (242 rows is the totat count of the rq_grp_tbl). > > I would really appreciate some help on this. Any suggestions? I need to do this in the sql--not in an sqr. (Sqr would allow loops=1). > > Thanks in advance for your assistance. > > SELECT > A.CRSE_ID > ,A.EFFDT > ,B.INSTITUTION > ,B.SUBJECT > ,B.CATALOG_NBR > ,A.EFF_STATUS > ,A.UNITS_MINIMUM > ,A.UNITS_MAXIMUM > ,A.COMPONENT > ,A.COURSE_TITLE_LONG > ,C.DESCRFORMAL > ,D.DESCR > ,E.XLATLONGNAME > ,A.DESCRLONG > ,f.descr254a > ,b.rqrmnt_group > FROM > PS_CRSE_CATALOG A, > PS_CRSE_OFFER B, > PS_SUBJECT_TBL C, > PS_INSTITUTION_TBL D, > XLATTABLE E, > ps_rq_grp_tbl f > WHERE A.CRSE_ID = B.CRSE_ID AND > a.crse_id in ('001750','000322') and > A.EFFDT = > ( SELECT MAX(Z.EFFDT) > FROM PS_CRSE_CATALOG Z > WHERE A.CRSE_ID = Z.CRSE_ID > AND Z.EFFDT <= sysdate) > AND > A.EFF_STATUS = 'A' AND > A.EFFDT = B.EFFDT AND > B.CATALOG_PRINT = 'Y' AND > B.INSTITUTION = C.INSTITUTION AND > C.EFFDT = > ( SELECT MAX(X.EFFDT) > FROM PS_SUBJECT_TBL X > WHERE C.INSTITUTION = X.INSTITUTION > AND C.SUBJECT = X.SUBJECT > AND X.EFFDT <= sysdate) AND > B.INSTITUTION = D.INSTITUTION AND > D.EFFDT = > ( SELECT MAX(Y.EFFDT) > FROM PS_INSTITUTION_TBL Y > WHERE D.INSTITUTION = Y.INSTITUTION > AND Y.EFFDT <= sysdate) AND > B.SUBJECT = C.SUBJECT AND > B.INSTITUTION = D.INSTITUTION AND > E.FIELDNAME = 'COMPONENT' AND > E.LANGUAGE_CD = > (SELECT LANGUAGE_CD FROM PSOPTIONS) > AND > A.COMPONENT = E.FIELDVALUE AND > E.EFFDT = > ( SELECT MAX(W.EFFDT) > FROM XLATTABLE W > WHERE E.FIELDNAME = W.FIELDNAME > AND E.LANGUAGE_CD = W.LANGUAGE_CD > AND E.FIELDVALUE = W.FIELDVALUE > AND W.EFFDT <= sysdate) > and (b.rqrmnt_group = f.rqrmnt_group > and f.effdt = > ( SELECT MAX(f1.EFFDT) > FROM ps_rq_grp_tbl f1 > WHERE f1.rqrmnt_group = f.rqrmnt_group > AND f1.EFFDT <= sysdate) > and f.eff_status = 'A' or > (not exists (select 'x' from ps_rq_grp_tbl f2 > where f2.rqrmnt_group = b.rqrmnt_group))); > > ------------------------------ _______________________________________________________ Send a cool gift with your E-Card http://www.bluemountain.com/giftcenter/ From owner-sqr-users@list.iex.net Fri Jul 6 10:00:13 2001 Date: Fri, 6 Jul 2001 07:57:38 -0700 From: Charllotte Hurt Subject: Re: help with sql Thanks for responding. I'll try your suggestion and try to get back to you. >>> dpavlak@EXCITE.COM 07/06/01 06:54AM >>> Charllotte, Why don't you try using an outer join on rq_grp_tbl? Something like this: ............. and (b.rqrmnt_group *= f.rqrmnt_group and f.effdt = ( SELECT MAX(f1.EFFDT) FROM ps_rq_grp_tbl f1 WHERE f1.rqrmnt_group = f.rqrmnt_group AND f1.EFFDT <= sysdate and f.eff_status = 'A')); Debbie > > Date: Thu, 5 Jul 2001 14:07:58 -0700 > From: Charllotte Hurt > Subject: help with sql > > I am working with an sql statement which I need to modify in order to pick up additional information in another table. (The tables involved are from the PeopleSoft Student Administration product and this sql statement is a view.) The outcome I want from this is all the fields currently being selected; but, in addition, I need the descr254a field from the rq_grp_tbl for those courses which have a rqrmrnt_group and also those courses which don't have a rqrmnt_group. The sql below is the original with my additions in bold. I also have put crse_ids to simplify my testing, one has a rqrmnt_group and one does not. My problem is that I receive one row with all the necessary information for the course id which has the rqrmnt_group, but for the one which doesn't I am getting back every row from the rq_grp_tbl (because of my not exists). I only want one row returned for each course_id in my select. I am getting back 243 rows, one for the course with the rqrmnt_group and 242 rows ! > for the one which has no rqrmnt_group (242 rows is the totat count of the rq_grp_tbl). > > I would really appreciate some help on this. Any suggestions? I need to do this in the sql--not in an sqr. (Sqr would allow loops=1). > > Thanks in advance for your assistance. > > SELECT > A.CRSE_ID > ,A.EFFDT > ,B.INSTITUTION > ,B.SUBJECT > ,B.CATALOG_NBR > ,A.EFF_STATUS > ,A.UNITS_MINIMUM > ,A.UNITS_MAXIMUM > ,A.COMPONENT > ,A.COURSE_TITLE_LONG > ,C.DESCRFORMAL > ,D.DESCR > ,E.XLATLONGNAME > ,A.DESCRLONG > ,f.descr254a > ,b.rqrmnt_group > FROM > PS_CRSE_CATALOG A, > PS_CRSE_OFFER B, > PS_SUBJECT_TBL C, > PS_INSTITUTION_TBL D, > XLATTABLE E, > ps_rq_grp_tbl f > WHERE A.CRSE_ID = B.CRSE_ID AND > a.crse_id in ('001750','000322') and > A.EFFDT = > ( SELECT MAX(Z.EFFDT) > FROM PS_CRSE_CATALOG Z > WHERE A.CRSE_ID = Z.CRSE_ID > AND Z.EFFDT <= sysdate) > AND > A.EFF_STATUS = 'A' AND > A.EFFDT = B.EFFDT AND > B.CATALOG_PRINT = 'Y' AND > B.INSTITUTION = C.INSTITUTION AND > C.EFFDT = > ( SELECT MAX(X.EFFDT) > FROM PS_SUBJECT_TBL X > WHERE C.INSTITUTION = X.INSTITUTION > AND C.SUBJECT = X.SUBJECT > AND X.EFFDT <= sysdate) AND > B.INSTITUTION = D.INSTITUTION AND > D.EFFDT = > ( SELECT MAX(Y.EFFDT) > FROM PS_INSTITUTION_TBL Y > WHERE D.INSTITUTION = Y.INSTITUTION > AND Y.EFFDT <= sysdate) AND > B.SUBJECT = C.SUBJECT AND > B.INSTITUTION = D.INSTITUTION AND > E.FIELDNAME = 'COMPONENT' AND > E.LANGUAGE_CD = > (SELECT LANGUAGE_CD FROM PSOPTIONS) > AND > A.COMPONENT = E.FIELDVALUE AND > E.EFFDT = > ( SELECT MAX(W.EFFDT) > FROM XLATTABLE W > WHERE E.FIELDNAME = W.FIELDNAME > AND E.LANGUAGE_CD = W.LANGUAGE_CD > AND E.FIELDVALUE = W.FIELDVALUE > AND W.EFFDT <= sysdate) > and (b.rqrmnt_group = f.rqrmnt_group > and f.effdt = > ( SELECT MAX(f1.EFFDT) > FROM ps_rq_grp_tbl f1 > WHERE f1.rqrmnt_group = f.rqrmnt_group > AND f1.EFFDT <= sysdate) > and f.eff_status = 'A' or > (not exists (select 'x' from ps_rq_grp_tbl f2 > where f2.rqrmnt_group = b.rqrmnt_group))); > > ------------------------------ _______________________________________________________ Send a cool gift with your E-Card http://www.bluemountain.com/giftcenter/ From owner-sqr-users@list.iex.net Fri Jul 6 10:57:24 2001 Date: Fri, 6 Jul 2001 08:54:40 -0700 From: Charllotte Hurt Subject: I believe I tried a union with no success. I received an error because of the descrlong field, whic I believe I tried a union with no success. I received an error because of the descrlong field, which I do need to as part of my select. Apparetnly union and descrlong don't mix. >>> Arjan Hoornstra 07/06/01 08:37AM >>> Hi Charlotte, The problem is that you have a few things to consider: - you want to see all rows of table B whether they join with F or not. That sounds like an outerjoin. - you want to select a column from the outer-table (f). Does not have to be a problem. - you want to use a max(date). Sounds like a 'group by', but if you use it in a subquery it has to be correlated (inner join). - you have additional statements for the outer table. So, if you would use the outer join you can not use the max function. The other solution given (by Debbie Pavlak) will give you the error like 'You can not use a inner join on a table that is also in an outer join'. Because you have to decide which it is... It's a common problem but you need a work around... There is however one other possibility, and that is the UNION statement. (ansi sql, works for every database platform) Then it looks like this in pseudo code: select everything, f.descr254a from tables a,b,c,d,e and f where clause and b.rqrmnt_group = f.rqrmnt_group ! first the join part and f.effdt = ( SELECT MAX(f1.EFFDT) FROM ps_rq_grp_tbl f1 WHERE f1.rqrmnt_group = f.rqrmnt_group AND f1.EFFDT <= sysdate ) and f.eff_status = 'A' UNION select everything, null ! now the others where there is no row in f from tables a,b,c,d,e where clause and not exists (select 'x' from ps_rq_grp_tbland f2 where f2.rqrmnt_group = b.rqrmnt_group ! index on f2.rqrmnt_group? ) But performance wise, depends on the number of rows in the 6 tables but I would try the #table.... Good luck Arjan PS Why not by the sqr-usergroup? --- Charllotte Hurt wrote: > Thanks for responding. I will consider your suggestion, but I was > hoping that I could accomplish what I needed with mods only to this > sql. Maybe that isn't possible? > __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ From owner-sqr-users@list.iex.net Fri Jul 6 11:11:00 2001 Date: Fri, 6 Jul 2001 09:06:36 -0700 From: Arjan Hoornstra Subject: Re: I believe I tried a union with no success. I received an error because of the descrlong field, whic Well, for using a union you have to make sure that you have the exact same number of clumns in your select list... in the same order and the same datatype. That's why I added the 'null' in the second select. Other than that I can;t think of anything why you would get an error (it's not a special column, is it?) for a descrlong except I see that it is the column right before the descr254a column.... But maybe you can copy the errormessage(s)? They may help... if it doesn't work like this. Arjan --- Charllotte Hurt wrote: > I believe I tried a union with no success. I received an error > because of the descrlong field, which I do need to as part of my > select. Apparetnly union and descrlong don't mix. > > >>> Arjan Hoornstra 07/06/01 08:37AM >>> > Hi Charlotte, > > The problem is that you have a few things to consider: > - you want to see all rows of table B whether they join with F or > not. > That sounds like an outerjoin. > - you want to select a column from the outer-table (f). Does not have > to be a problem. > - you want to use a max(date). Sounds like a 'group by', but if you > use > it in a subquery it has to be correlated (inner join). > - you have additional statements for the outer table. > > So, if you would use the outer join you can not use the max function. > The other solution given (by Debbie Pavlak) will give you the error > like 'You can not use a inner join on a table that is also in an > outer > join'. Because you have to decide which it is... > It's a common problem but you need a work around... > > There is however one other possibility, and that is the UNION > statement. > (ansi sql, works for every database platform) > > Then it looks like this in pseudo code: > > select everything, f.descr254a > from tables a,b,c,d,e and f > where clause > and b.rqrmnt_group = f.rqrmnt_group ! first the join part > and f.effdt = ( SELECT MAX(f1.EFFDT) > FROM ps_rq_grp_tbl f1 > WHERE f1.rqrmnt_group = f.rqrmnt_group > AND f1.EFFDT <= sysdate > ) > and f.eff_status = 'A' > UNION > select everything, null ! now the others where there is no row in > f > from tables a,b,c,d,e > where clause > and not exists (select 'x' > from ps_rq_grp_tbland f2 > where f2.rqrmnt_group = b.rqrmnt_group ! index on > f2.rqrmnt_group? > ) > > But performance wise, depends on the number of rows in the 6 tables > but > I would try the #table.... > > Good luck > > Arjan > > PS Why not by the sqr-usergroup? > > --- Charllotte Hurt wrote: > > Thanks for responding. I will consider your suggestion, but I was > > hoping that I could accomplish what I needed with mods only to this > > sql. Maybe that isn't possible? > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Get personalized email addresses from Yahoo! Mail > http://personal.mail.yahoo.com/ __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ From owner-sqr-users@list.iex.net Fri Jul 6 11:16:40 2001 Date: Fri, 6 Jul 2001 12:13:43 -0400 From: "Love, Kristin" Subject: Re: I believe I tried a union with no success. I received an err or because of the descrlong field, whic Sometimes you have more luck if you put the descrlong after all the other columns. I know it sounds unscientific, but I've seen it work (when using PeopleSoft's query builder) But DO double check your column order and data types. From owner-sqr-users@list.iex.net Fri Jul 6 11:21:21 2001 Date: Fri, 6 Jul 2001 09:18:53 -0700 From: Charllotte Hurt Subject: descrlong I will have to assemble my code again and try it to get the exact error. Descrlong is described as type LONG. Thanks for your responses. I'll get back to you after I try the union again. >>> ahoor@YAHOO.COM 07/06/01 09:06AM >>> Well, for using a union you have to make sure that you have the exact same number of clumns in your select list... in the same order and the same datatype. That's why I added the 'null' in the second select. Other than that I can;t think of anything why you would get an error (it's not a special column, is it?) for a descrlong except I see that it is the column right before the descr254a column.... But maybe you can copy the errormessage(s)? They may help... if it doesn't work like this. Arjan --- Charllotte Hurt wrote: > I believe I tried a union with no success. I received an error > because of the descrlong field, which I do need to as part of my > select. Apparetnly union and descrlong don't mix. > > >>> Arjan Hoornstra 07/06/01 08:37AM >>> > Hi Charlotte, > > The problem is that you have a few things to consider: > - you want to see all rows of table B whether they join with F or > not. > That sounds like an outerjoin. > - you want to select a column from the outer-table (f). Does not have > to be a problem. > - you want to use a max(date). Sounds like a 'group by', but if you > use > it in a subquery it has to be correlated (inner join). > - you have additional statements for the outer table. > > So, if you would use the outer join you can not use the max function. > The other solution given (by Debbie Pavlak) will give you the error > like 'You can not use a inner join on a table that is also in an > outer > join'. Because you have to decide which it is... > It's a common problem but you need a work around... > > There is however one other possibility, and that is the UNION > statement. > (ansi sql, works for every database platform) > > Then it looks like this in pseudo code: > > select everything, f.descr254a > from tables a,b,c,d,e and f > where clause > and b.rqrmnt_group = f.rqrmnt_group ! first the join part > and f.effdt = ( SELECT MAX(f1.EFFDT) > FROM ps_rq_grp_tbl f1 > WHERE f1.rqrmnt_group = f.rqrmnt_group > AND f1.EFFDT <= sysdate > ) > and f.eff_status = 'A' > UNION > select everything, null ! now the others where there is no row in > f > from tables a,b,c,d,e > where clause > and not exists (select 'x' > from ps_rq_grp_tbland f2 > where f2.rqrmnt_group = b.rqrmnt_group ! index on > f2.rqrmnt_group? > ) > > But performance wise, depends on the number of rows in the 6 tables > but > I would try the #table.... > > Good luck > > Arjan > > PS Why not by the sqr-usergroup? > > --- Charllotte Hurt wrote: > > Thanks for responding. I will consider your suggestion, but I was > > hoping that I could accomplish what I needed with mods only to this > > sql. Maybe that isn't possible? > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Get personalized email addresses from Yahoo! Mail > http://personal.mail.yahoo.com/ __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ From owner-sqr-users@list.iex.net Fri Jul 6 11:47:41 2001 Date: Fri, 6 Jul 2001 12:45:35 -0400 From: Philippe Godin Subject: Very important message... I hoping to get as many anwser as possible plz Good day everyone, We need to get as many replies as we can get from any of you who uses MRO's GMAO software called MAXIMO. During our development process of SQR reports using BRIO, we've encountered some severe problems and would like to know if any other users had the same and if so, how they solve it. When using BRIO to develop reports as we use to, there's is no problem at all. We can run them and use the viewer to see the results, we can even compile them without any errors generated. However, we cannot run the report under Oracle and Maximo 4i 4.1. After analysis, we've discovered that we can't use any special caracters such as é, è, û, °, ~, à, etc... in our code or otherwise we get an SQR 4747 error saying "The SQT file is corrupted,". This error is generated if any of these caracters are somehow in the code. As an example, we can't even use simple statements such as "Let $myvar = 'année'". This is quite a problem because we need to accents in our columns labels, report title, etc. when developping french versions of our reports. Moreover, on MS SQL Server 7.0 and Maximo 4i 4.1 it gets even more complex. Again, running the reports and compiling works just fine but running them from Maximo causes a Dr. Watson error. The error tells us that there's an access violation somewhere in memory... We've made several tests and everyhing seems to point out on one thing. We cannot use Begin-select statements otherwise the error is generated. Per example, the following piece of code alone doesn't even works: Begin-program begin-select wonum from workorder end-select end-program We were wondering if any of you had this problem and would like to help out finding a proper solution. Thanks to all for your support Philippe From owner-sqr-users@list.iex.net Fri Jul 6 18:22:07 2001 Date: Fri, 6 Jul 2001 10:52:12 -0700 From: Ben Le Subject: TNS problem-question Once in a while the following abort happens when we run the SQR program at the Unix prompt: "(SQR 5528) ORACLE OCILogon error 12154 in cursor 0: ORA-12154: TNS:could not resolve service name (SQR 4701) Cannot logon to the database. SQR: Program Aborting." Then next day runs fine. Does any body encounters this problem? How do you fix it? Thanks in advance. Oracle 8.1.5 Hp-Ux 11.1 SQR 6.0 for Unix SCT Banner 4.x -------------------------------------------------------------------------------------------------------------------------------- Benjamin Le ITS, System Development Portland Community College 12000 SW 49th Ave. Portland, Oregon 97219 (503)-977-4970 Fax: (503)-977-4987 Mailto:ble@pcc.edu http://www.pcc.edu -------------------------------------------------------------------------------------------------------------------------------- From owner-sqr-users@list.iex.net Mon Jul 9 10:36:23 2001 Date: Mon, 9 Jul 2001 11:14:55 -0400 From: Wendy Biggs Subject: Re: TNS problem-question Ben, When *I* get "TNS:could not resolve service name" errors, it means that I misspelled the sid. I'm not sure how your program is logging your/a userid into the oracle instance and so I can't say that your problem is the same... but essentially Oracle is saying "I can't find an instance with that name in the TNSNAMES file... it is possible but not likely that someone is fiddling with the TNSNAMES file but more likely a misspelling or missing link. Are you familiar with the TNSNAMES.ORA file? --wb -- "It should be challenging, but not impossible, to come up with an acceptable password." Karen Herrington - New criteria for Oracle passwords Ben Le wrote: > > Once in a while the following abort happens when we run the SQR program at > the Unix prompt: > "(SQR 5528) ORACLE OCILogon error 12154 in cursor 0: > ORA-12154: TNS:could not resolve service name > (SQR 4701) Cannot logon to the database. > SQR: Program Aborting." > > Then next day runs fine. Does any body encounters this problem? How do you > fix it? Thanks in advance. > > Oracle 8.1.5 > Hp-Ux 11.1 > SQR 6.0 for Unix > SCT Banner 4.x > > -------------------------------------------------------------------------------------------------------------------------------- > Benjamin Le > ITS, System Development > Portland Community College > 12000 SW 49th Ave. Portland, Oregon 97219 > (503)-977-4970 Fax: (503)-977-4987 > Mailto:ble@pcc.edu http://www.pcc.edu > -------------------------------------------------------------------------------------------------------------------------------- From owner-sqr-users@list.iex.net Wed Jul 11 17:04:03 2001 Date: Wed, 11 Jul 2001 17:59:53 -0400 From: Wendy Biggs Subject: Oracle Forms question If anyone is using Oracle Forms and can help me with populating a pull-down list, could you please contact me off-list at wendy.biggs@vt.edu. Or knows of an O Forms userlist? thanks, --wb -- "It should be challenging, but not impossible, to come up with an acceptable password." Karen Herrington - New criteria for Oracle passwords From owner-sqr-users@list.iex.net Tue Jul 10 02:07:00 2001 Date: Tue, 10 Jul 2001 13:50:11 +0700 From: Naiyanad Ohpanayikool Subject: Date format when retrieving from the database is wrong The date format which is kept in the database is YYYY i.e. 1977. But when I code SQR to retrieve the date field, and print out on the report, using print $date () Edit 'DD/MM/YYYY' The result come out on the report is 2077, not 1977. How can I set SQR to know that the date is in year 19xx not 20xx? BRIO Report Builder 6.1.3 SQR 6.0 ORACLE 8i Windows NT 4.0 Best regards, Nai ______________________________ Naiyanad Ohpanayikool Microsoft Solution Organisation, Accenture Bangkok Tel: +662 636-1616 This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. From owner-sqr-users@list.iex.net Thu Jul 12 11:33:40 2001 Date: Thu, 12 Jul 2001 12:24:45 -0400 From: "Risman, Mark" Subject: Re: Date format when retrieving from the database is wrong If you are getting 2077 here it is because your $date variable says 2077. Check to see where $date is set. - Mark -----Original Message----- From: Naiyanad Ohpanayikool [mailto:naiyanad.ohpanayikool@ACCENTURE.COM] Sent: Tuesday, July 10, 2001 2:50 AM To: SQR-USERS@list.iex.net Subject: Date format when retrieving from the database is wrong The date format which is kept in the database is YYYY i.e. 1977. But when I code SQR to retrieve the date field, and print out on the report, using print $date () Edit 'DD/MM/YYYY' The result come out on the report is 2077, not 1977. How can I set SQR to know that the date is in year 19xx not 20xx? BRIO Report Builder 6.1.3 SQR 6.0 ORACLE 8i Windows NT 4.0 Best regards, Nai ______________________________ Naiyanad Ohpanayikool Microsoft Solution Organisation, Accenture Bangkok Tel: +662 636-1616 This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. 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 Jul 11 09:38:00 2001 Date: Wed, 11 Jul 2001 07:31:38 -0700 From: Michael Nielsen Subject: Exporting SQR into Microsoft Excel Hello everyone: Is their a way I can export information from SQR into a microsoft excel spreadsheet? Thank You Mike Nielsen ___________________________________________________ GO.com Mail Get Your Free, Private E-mail at http://mail.go.com From owner-sqr-users@list.iex.net Wed Jul 11 10:03:08 2001 Date: Wed, 11 Jul 2001 07:57:04 -0700 From: Rachael Beatty Subject: Re: Exporting SQR into Microsoft Excel --0__=9KFrcq1rJNyikAuL8Gy9Ti8J9xYByRYQu5AyThx5uyvCx4LW4fXuMhHp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 7bit You can either open up the lis file in excel and use fixed length to separate the columns or you can create a csv file in your sqr and use that to import into excel. Hope that helps. Rachael > -----Original Message----- > From: "Michael Nielsen" @INTERNET > Sent: Wednesday, July 11, 2001 7:32 AM > To: SQR-USERS@list.iex.net > Subject: Exporting SQR into Microsoft Excel > > > Hello everyone: > > Is their a way I can export information from SQR into a microsoft excel > spreadsheet? > > Thank You > > Mike Nielsen > > ___________________________________________________ > GO.com Mail > Get Your Free, Private E-mail at http://mail.go.com > (See attached file: C.DTF) --0__=9KFrcq1rJNyikAuL8Gy9Ti8J9xYByRYQu5AyThx5uyvCx4LW4fXuMhHp Content-Type: application/octet-stream; name=C.DTF Content-Disposition: attachment; filename=C.DTF Content-Transfer-Encoding: base64 eJ8+IjAOAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQWAAwAOAAAA0QcHAAsABwA5AAQAAwAxAQEggAMADgAAANEHBwAL AAcAKgAuAAMATAEBCYABACEAAABCNkJEMEY5NDhENzVENTExQUM0MjAwMDBFODY3QzBFRgA2BwEE gAEAJwAAAFJFOiBFeHBvcnRpbmcgU1FSIGludG8gTWljcm9zb2Z0IEV4Y2VsAIgNAQ2ABAACAAAA AgACAAEDkAYAAAoAADMAAAADAAFuAAAAAAMAAIAIIAYAAAAAAMAAAAAAAABGAAAAAFKFAAB9bgEA HgABgAggBgAAAAAAwAAAAAAAAEYAAAAAVIUAAAEAAAAEAAAAOS4wAAsAAoAIIAYAAAAAAMAAAAAA AABGAAAAAAaFAAAAAAAAAwADgAggBgAAAAAAwAAAAAAAAEYAAAAAAYUAAAAAAAALAASACCAGAAAA AADAAAAAAAAARgAAAAADhQAAAAAAAAsABYAIIAYAAAAAAMAAAAAAAABGAAAAAA6FAAAAAAAAAwAG gAggBgAAAAAAwAAAAAAAAEYAAAAAEIUAAAAAAAADAAeACCAGAAAAAADAAAAAAAAARgAAAAARhQAA AAAAAAsAD4AIIAYAAAAAAMAAAAAAAABGAAAAABSFAAAAAAAAAwAIgAggBgAAAAAAwAAAAAAAAEYA AAAAGIUAAAAAAAALABGACCAGAAAAAADAAAAAAAAARgAAAACChQAAAQAAAAIBCRABAAAAIwMAAB8D AADLBAAATFpGdaocY7cDAAoAcmNwZzEyNT4yAPQB9wKkA+MCAGNowQrAc2V0MCAHEwKDYwBQD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ldw0AATcBAAAAEA4AAAsAAAAAAAAAwAAAAAAAAEbQzxHgobEa4QAAAAAA AAAAAAAAAAAAAAA+AAMA/v8JAAYAAAAAAAAAAAAAAAEAAAABAAAAAAAAAAAQAAACAAAAAQAAAP7/ //8AAAAAAAAAAP////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////3///8EAAAA/v///wUA AAD+/////v////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////UgBvAG8AdAAgAEUAbgB0 AHIAeQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABYABQD///// /////wIAAAAWAwAAAAAAAMAAAAAAAABGAAAAAAAAAAAAAAAAYMpAjxoKwQEDAAAAQAIAAAAAAAAB AE8AbABlAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAACgACAf///////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAUAAAAAAAAAEMATwBOAFQARQBOAFQAUwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAASAAIBAQAAAAMAAAD/////AAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAQAAAF4BAAAAAAAAAwBNAGEAaQBsAFMAdAByAGUAYQBtAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAgH/////BAAAAP////8AAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAADAAAAAAAAAD+////AgAAAAMAAAAEAAAA BQAAAAYAAAD+/////v////7///////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////wEAAAIAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABCTV4BAAAAAAAA AAAAACgAAAA5AgAABAAAAAEAAQAAAAAAIAEAAMQOAADEDgAAAAAAAAAAAAAAAAAA////AP////// //////////////////////////////////////////////////////////////////////////// ////////////ggAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABggAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgv////////////////////// ////////////////////////////////////////////////////////////////////////ggAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAzzoAAGoAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUgBpAGMAaABFAGQAaQB0AEYA bABhAGcAcwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAAgD///////// //////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAADAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH6v --0__=9KFrcq1rJNyikAuL8Gy9Ti8J9xYByRYQu5AyThx5uyvCx4LW4fXuMhHp-- From owner-sqr-users@list.iex.net Wed Jul 11 10:22:30 2001 Date: Wed, 11 Jul 2001 11:19:08 -0400 From: "Hopper, John" Subject: Re: Exporting SQR into Microsoft Excel But if you use csv be careful because you might have commas used as thousands markers in your data and excel will split those numbers up into separate columns. I usually go with tab delimited for that very reason. --Original Message----- From: Rachael Beatty [mailto:Rachael_Beatty@HILTON.COM] Sent: Wednesday, July 11, 2001 9:57 AM To: SQR-USERS@list.iex.net Subject: Re: Exporting SQR into Microsoft Excel You can either open up the lis file in excel and use fixed length to separate the columns or you can create a csv file in your sqr and use that to import into excel. Hope that helps. Rachael > -----Original Message----- > From: "Michael Nielsen" @INTERNET > Sent: Wednesday, July 11, 2001 7:32 AM > To: SQR-USERS@list.iex.net > Subject: Exporting SQR into Microsoft Excel > > > Hello everyone: > > Is their a way I can export information from SQR into a microsoft excel > spreadsheet? > > Thank You > > Mike Nielsen > > ___________________________________________________ > GO.com Mail > Get Your Free, Private E-mail at http://mail.go.com > (See attached file: C.DTF) From owner-sqr-users@list.iex.net Thu Jul 12 12:51:27 2001 Date: Thu, 12 Jul 2001 13:45:39 -0400 From: Bruce Boutwell Subject: Re: Exporting SQR into Microsoft Excel There is a generic spreadsheet format called Symbolic Link (.slk or .sylk) that you can find when you use the Excel SaveAs Dialog. It can hold formatting, formulas and other neat stuff. It is stored as a text file, therefore sqr can create it. The .slk file format is hugely cryptic and learning would be daunting. Luckily you don't have to learn this format to use it. Create a final format in Excel, Save As .slk, reverse engineer to figure what part the sqr needs to update. To sum it up, .SLK would be useful where: - the user takes a primadonna stance and requires a formatted spreadsheet and won't help make it happen - the spreadsheet format is not so variable that you have to learn .SLK To learn more about this and other file formats, try http://www.wotsit.org and search on SYLK. Bruce >Is there a way I can export information from SQR into a microsoft excel >spreadsheet? _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From owner-sqr-users@list.iex.net Wed Jul 11 11:55:02 2001 Date: Wed, 11 Jul 2001 09:44:39 -0700 From: Brian Pelton Subject: Null Date Problem I'm running a short update-SQL program to push in the description field on the ps_accomplishments table in PeopleSoft HRMS. I'm sure this is a novice question, but I'm stumped. The problem I'm having is that the match for the date issued field (dt_issued) isn't working: Begin-Procedure Update-Descr display ' Attempting to update description...' Begin-SQL update ps_accomplishments set descr = $TrueDescr where emplid = &a.emplid and accomplishment = &a.accomplishment and org = &a.org and descr = &a.descr and dt_issued = &a.dt_issued !PROBLEM WITH THIS MATCH or dt_issued is null !PROBLEM WITH THIS MATCH and major_code = &a.major_code End-SQL End-Procedure The update procedure runs fine if I comment out both of the dt_issued criterias, but I'd rather not do this. The majority of the rows have null values for their dt_issued field, but some don't. When I try a simple select statement in SQLPlus it selects all the rows it should: select * from ps_accomplishments where dt_issued is null But the SQR program doesn't work. I have no idea why. Any thoughts?? PeopleSoft HRMS 7.51 Oracle 8.0.5.0.0 SQRW 4.3.4 Brian Pelton Financial Programmer / Analyst Community Medical Centers From owner-sqr-users@list.iex.net Wed Jul 11 12:00:51 2001 Date: Wed, 11 Jul 2001 11:56:55 -0500 From: "Lu, Clint" Subject: Re: Null Date Problem Try to parentheses between (dt_issued = &a.dt_issued or dt_issued is null) Clint Lu Sr. Programmer/Analyst Caremark Rx, Inc. Phone: (847) 559-4717 Fax : (847) 559-4840 -----Original Message----- From: Brian Pelton [mailto:bpelton@COMMUNITYMEDICAL.ORG] Sent: Wednesday, July 11, 2001 11:45 AM To: SQR-USERS@list.iex.net Subject: Null Date Problem I'm running a short update-SQL program to push in the description field on the ps_accomplishments table in PeopleSoft HRMS. I'm sure this is a novice question, but I'm stumped. The problem I'm having is that the match for the date issued field (dt_issued) isn't working: Begin-Procedure Update-Descr display ' Attempting to update description...' Begin-SQL update ps_accomplishments set descr = $TrueDescr where emplid = &a.emplid and accomplishment = &a.accomplishment and org = &a.org and descr = &a.descr and dt_issued = &a.dt_issued !PROBLEM WITH THIS MATCH or dt_issued is null !PROBLEM WITH THIS MATCH and major_code = &a.major_code End-SQL End-Procedure The update procedure runs fine if I comment out both of the dt_issued criterias, but I'd rather not do this. The majority of the rows have null values for their dt_issued field, but some don't. When I try a simple select statement in SQLPlus it selects all the rows it should: select * from ps_accomplishments where dt_issued is null But the SQR program doesn't work. I have no idea why. Any thoughts?? PeopleSoft HRMS 7.51 Oracle 8.0.5.0.0 SQRW 4.3.4 Brian Pelton Financial Programmer / Analyst Community Medical Centers From owner-sqr-users@list.iex.net Wed Jul 11 12:02:04 2001 Date: Wed, 11 Jul 2001 12:59:37 -0400 From: "Johnson, Dan" Subject: Re: Null Date Problem Assuming that your &a.[variable] variables have the correct information you may want to try this: Begin-Procedure Update-Descr display ' Attempting to update description...' Begin-SQL update ps_accomplishments set descr = $TrueDescr where emplid = &a.emplid and accomplishment = &a.accomplishment and org = &a.org and descr = &a.descr (and dt_issued = &a.dt_issued !PROBLEM WITH THIS MATCH or dt_issued is null) !PROBLEM WITH THIS MATCH and major_code = &a.major_code End-SQL End-Procedure Note the parenthisis. Good luck, Dan -----Original Message----- From: Brian Pelton Sent: Wednesday, July 11, 2001 12:45 PM Subject: Null Date Problem I'm running a short update-SQL program to push in the description field on the ps_accomplishments table in PeopleSoft HRMS. I'm sure this is a novice question, but I'm stumped. The problem I'm having is that the match for the date issued field (dt_issued) isn't working: Begin-Procedure Update-Descr display ' Attempting to update description...' Begin-SQL update ps_accomplishments set descr = $TrueDescr where emplid = &a.emplid and accomplishment = &a.accomplishment and org = &a.org and descr = &a.descr and dt_issued = &a.dt_issued !PROBLEM WITH THIS MATCH or dt_issued is null !PROBLEM WITH THIS MATCH and major_code = &a.major_code End-SQL End-Procedure The update procedure runs fine if I comment out both of the dt_issued criterias, but I'd rather not do this. The majority of the rows have null values for their dt_issued field, but some don't. When I try a simple select statement in SQLPlus it selects all the rows it should: select * from ps_accomplishments where dt_issued is null But the SQR program doesn't work. I have no idea why. Any thoughts?? PeopleSoft HRMS 7.51 Oracle 8.0.5.0.0 SQRW 4.3.4 Brian Pelton Financial Programmer / Analyst Community Medical Centers From owner-sqr-users@list.iex.net Wed Jul 11 12:39:39 2001 Date: Wed, 11 Jul 2001 10:34:48 -0700 From: Rachael Beatty Subject: Re: Null Date Problem --0__=LH1zDzWBUjC0r72wB4e9KaPHC8BCQqpMt8v0QCYmOHSsj5IOATWb0EB6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 7bit Try: Begin-Procedure Update-Descr display ' Attempting to update description...' Begin-SQL update ps_accomplishments set descr = $TrueDescr where emplid = &a.emplid and accomplishment = &a.accomplishment and org = &a.org and descr = &a.descr and (dt_issued = &a.dt_issued !PROBLEM WITH THIS MATCH or dt_issued is null) !PROBLEM WITH THIS MATCH and major_code = &a.major_code End-SQL Hope that helps Rachael > -----Original Message----- > From: "Brian Pelton" @INTERNET > Sent: Wednesday, July 11, 2001 9:45 AM > To: SQR-USERS@list.iex.net > Subject: Null Date Problem > > > I'm running a short update-SQL program to push in the description field on > the > ps_accomplishments table in PeopleSoft HRMS. > > I'm sure this is a novice question, but I'm stumped. > The problem I'm having is that the match for the date issued field > (dt_issued) > isn't working: > > Begin-Procedure Update-Descr > display ' Attempting to update description...' > Begin-SQL > update ps_accomplishments > set descr = $TrueDescr > where emplid = &a.emplid > and accomplishment = &a.accomplishment > and org = &a.org > and descr = &a.descr > and dt_issued = &a.dt_issued !PROBLEM WITH THIS MATCH > or dt_issued is null !PROBLEM WITH THIS MATCH > and major_code = &a.major_code > End-SQL > End-Procedure > > The update procedure runs fine if I comment out both of the dt_issued > criterias, > but I'd rather not do this. > The majority of the rows have null values for their dt_issued field, but > some > don't. > When I try a simple select statement in SQLPlus it selects all the rows it > should: > > select * from ps_accomplishments > where dt_issued is null > > But the SQR program doesn't work. I have no idea why. Any thoughts?? > > PeopleSoft HRMS 7.51 > Oracle 8.0.5.0.0 > SQRW 4.3.4 > > Brian Pelton > Financial Programmer / Analyst > Community Medical Centers > (See attached file: C.DTF) --0__=LH1zDzWBUjC0r72wB4e9KaPHC8BCQqpMt8v0QCYmOHSsj5IOATWb0EB6 Content-Type: application/octet-stream; name=C.DTF Content-Disposition: attachment; filename=C.DTF Content-Transfer-Encoding: base64 eJ8+IiERAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQWAAwAOAAAA0QcHAAsACgAiADAAAwBJAQEggAMADgAAANEHBwAL AAoAFAAdAAMAKAEBCYABACEAAAA2NEFGMTM3NjEwNzZENTExQUM0MjAwMDBFODY3QzBFRgD9BgEE gAEAFgAAAFJFOiBOdWxsIERhdGUgUHJvYmxlbQAbBwENgAQAAgAAAAIAAgABA5AGAGQMAAAzAAAA AwABbgAAAAADAACACCAGAAAAAADAAAAAAAAARgAAAABShQAAfW4BAB4AAYAIIAYAAAAAAMAAAAAA AABGAAAAAFSFAAABAAAABAAAADkuMAALAAKACCAGAAAAAADAAAAAAAAARgAAAAAGhQAAAAAAAAMA A4AIIAYAAAAAAMAAAAAAAABGAAAAAAGFAAAAAAAACwAEgAggBgAAAAAAwAAAAAAAAEYAAAAAA4UA AAAAAAALAAWACCAGAAAAAADAAAAAAAAARgAAAAAOhQAAAAAAAAMABoAIIAYAAAAAAMAAAAAAAABG AAAAABCFAAAAAAAAAwAHgAggBgAAAAAAwAAAAAAAAEYAAAAAEYUAAAAAAAALAA+ACCAGAAAAAADA AAAAAAAARgAAAAAUhQAAAAAAAAMACIAIIAYAAAAAAMAAAAAAAABGAAAAABiFAAAAAAAACwARgAgg BgAAAAAAwAAAAAAAAEYAAAAAgoUAAAEAAAACAQkQAQAAALYFAACyBQAAjwsAAExaRnWzQ1TXAwAK AHJjcGc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AAAEgAAAE51bGwgRGF0ZSBQcm9ibGVtAAAAHgA1EAEA AABBAAAAPEVENjdGRDcwMEEzNUQ0MTFBQzI0MDAwNEFDNEM5NUUzMDMzNUMxRjhAbGF4aGhteHMw MS5oaWx0b24uY29tPgAAAAALACkAAQAAAAsAIwABAAAAAwAGEOXAr5QDAAcQoAUAAAMAEBAAAAAA AwAREAEAAAAeAAgQAQAAAGUAAABUUlk6QkVHSU4tUFJPQ0VEVVJFVVBEQVRFLURFU0NSRElTUExB WUFUVEVNUFRJTkdUT1VQREFURURFU0NSSVBUSU9OQkVHSU4tU1FMVVBEQVRFUFNBQ0NPTVBMSVNI TUVOVFNTAAAAAAIBfwABAAAAQQAAADxFRDY3RkQ3MDBBMzVENDExQUMyNDAwMDRBQzRDOTVFMzAz MzVDMUY4QGxheGhobXhzMDEuaGlsdG9uLmNvbT4AAAAAbEcCApAGAA4AAAACAOUCAAD/////AAAA AOUEAhCAAQAUAAAAVW50aXRsZWQgQXR0YWNobWVudAByBwISgAMADgAAANEHBwALAAoAIgAvAAMA SAECE4ADAA4AAADRBwcACwAKACIALwADAEgBAgWQBgDMDgAADQAAAAMAIQ4AAAAAAwALN+UCAAAD ACAOTg4AAAMA9w8AAAAAAgEQaAEAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAEAABzBAvP3HLwrBAUAA CDBAvP3HLwrBAQMABTcGAAAAAgECNwEAAAAAAAAAHgABMAEAAAABAAAAAAAAAAIBCjcBAAAACwAA ACqGSIb3FAMKAwIBAAIB+Q8BAAAAEAAAAKbIGYkddtURuqcABKxMpXcNAAE3AQAAABAOAAALAAAA AAAAAMAAAAAAAABG0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAAB AAAAAQAAAAAAAAAAEAAAAgAAAAEAAAD+////AAAAAAAAAAD///////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////9////BAAAAP7///8FAAAA/v////7///////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////1IAbwBvAHQAIABFAG4AdAByAHkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAWAAUA//////////8CAAAAFgMAAAAAAADAAAAAAAAARgAAAAAAAAAA AAAAAIChXJgwCsEBAwAAAEACAAAAAAAAAQBPAGwAZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAgH///////////////8AAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAABDAE8ATgBUAEUATgBUAFMAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgACAQEAAAADAAAA /////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAABeAQAAAAAAAAMATQBh AGkAbABTAHQAcgBlAGEAbQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAYAAIB/////wQAAAD/////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAA AAwAAAAAAAAA/v///wIAAAADAAAABAAAAAUAAAAGAAAA/v////7////+//////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////8BAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAQk1eAQAAAAAAAAAAAAAoAAAAOQIAAAQAAAABAAEAAAAAACABAADEDgAA xA4AAAAAAAAAAAAAAAAAAP///wD///////////////////////////////////////////////// /////////////////////////////////////////////4IAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYIAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAYL///////////////////////////////////////////////////////////////// /////////////////////////////4IAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AQAAAM86AABqAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAFIAaQBjAGgARQBkAGkAdABGAGwAYQBnAHMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAcAAIA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAACAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///////////////8AAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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 11 Jul 2001 19:01:42 +0200 From: LEBLANC Philippe FTC Subject: =?ISO-8859-1?Q?R=E9p.=20:=20Null=20Date=20Problem?= Try this ! Begin-Procedure Update-Descr display ' Attempting to update description...' Begin-SQL update ps_accomplishments set descr = $TrueDescr where emplid = &a.emplid and accomplishment = &a.accomplishment and org = &a.org and descr = &a.descr and ( dt_issued is null or dt_issued = &a.dt_issued ) and major_code = &a.major_code End-SQL End-Procedure Cordialement, Philippe. >>> Brian Pelton 11/07/01 18h44 >>> I'm running a short update-SQL program to push in the description field on the ps_accomplishments table in PeopleSoft HRMS. I'm sure this is a novice question, but I'm stumped. The problem I'm having is that the match for the date issued field (dt_issued) isn't working: Begin-Procedure Update-Descr display ' Attempting to update description...' Begin-SQL update ps_accomplishments set descr = $TrueDescr where emplid = &a.emplid and accomplishment = &a.accomplishment and org = &a.org and descr = &a.descr and dt_issued = &a.dt_issued !PROBLEM WITH THIS MATCH or dt_issued is null !PROBLEM WITH THIS MATCH and major_code = &a.major_code End-SQL End-Procedure The update procedure runs fine if I comment out both of the dt_issued criterias, but I'd rather not do this. The majority of the rows have null values for their dt_issued field, but some don't. When I try a simple select statement in SQLPlus it selects all the rows it should: select * from ps_accomplishments where dt_issued is null But the SQR program doesn't work. I have no idea why. Any thoughts?? PeopleSoft HRMS 7.51 Oracle 8.0.5.0.0 SQRW 4.3.4 Brian Pelton Financial Programmer / Analyst Community Medical Centers From owner-sqr-users@list.iex.net Wed Jul 11 19:01:14 2001 Date: Wed, 11 Jul 2001 16:49:12 -0700 From: Sarat Subject: Calling CLP from SQR Hi! I want to know the syntax for calling a CLP from an SQR. My CLP copies a table from TST library to DEV library on AS400/DB2. I have created the CLP and it works on AS400. I want to know how to use CALL command in the SQR. cmd: CALL subroutine USING { src_txt_lit | _var | _col } | { src_num_lit | _var | _col } { dst_txt_var | _num_var } [ param ] ... I donot have any parameters/variables. Can I just say "CALL COPYPROC"? Any help is appreciated. Thanks, Sarat __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ From owner-sqr-users@list.iex.net Thu Jul 12 01:08:36 2001 Date: Thu, 12 Jul 2001 16:33:57 +1100 From: Kylie Rostron Subject: SQR Contracts available in Sydney Our client requires a number of Analyst Programmers in Sydney initially for 3-month contracts. SQR experience is required, especially a strong focus in SQRl build and test. Sponsorship is available to the right candidates and $NEG. Strong cross-platform development experience specifically Unix environment and the following disciplines is also required: - solid technical skills in SQL - Unix, Oracle or other RDBMS essential - Favourable experience with Peoplesoft and/or Cobol Scope includes analysis of Technical Designs, Creation of Detailed Design documentation, build and technical testing. For more information, or to apply, please email your resume to kylie.rostron@diversiti.com.au Kylie Rostron ph: 61 2 9005 6071 fx: 61 2 9957 6549 mbl: 0416 100 588 Diversiti, an Accenture business www.diversiti.com.au Diversiti, a leader in IT recruitment solutions - unlocking the power in people This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. From owner-sqr-users@list.iex.net Tue Aug 7 07:53:51 2001 Date: Tue, 7 Aug 2001 07:35:40 -0500 From: Lawrence Baier Subject: Re: SQR Contracts available in Sydney Does anyone have a sample SQR that converts from their old fixed asset system into the INTFC_FIN, INTFC_PHY_A, and INTFC_PHY_B tables. I will be performing a data conversion from our legacy IVIS fixed asset system into PS Asset Management version 7.53 in the next year or so. Lawrence Baier Senior Programmer Application Development larry_baier@aal.org Aid Association for Lutherans (AAL) 4321 N. Ballard Road, Appleton, WI 54919-0001 From owner-sqr-users@list.iex.net Thu Jul 12 04:16:44 2001 Date: Thu, 12 Jul 2001 09:58:40 +0100 From: Steve Hearne Subject: SQR editor Hello all. Does anyone know of a good SQR editor? Something that highlights keywords and has good editing faciities? Cheers, Steve From owner-sqr-users@list.iex.net Thu Jul 12 04:22:10 2001 Date: Thu, 12 Jul 2001 11:02:55 +0200 From: Patricia Quarnstrom-Judkins Subject: Re: SQR editor Textpad with add-on is good Also Ultra-Edit Patricia Quarnstrom-Judkins COE Finance Paris -Phone : +33 (0)1 44 01 17 41 ============================================================================================= "-Think like a wise man but communicate in the language of the people." - William Butler Yeats ============================================================================================= Steve Hearne Sent by: "Discussion of SQR, Brio Technology's database reporting language" 07/12/01 10:58 AM Please respond to sqr-users To: SQR-USERS@list.iex.net cc: Subject: SQR editor Hello all. Does anyone know of a good SQR editor? Something that highlights keywords and has good editing faciities? Cheers, Steve From owner-sqr-users@list.iex.net Thu Jul 12 04:27:25 2001 Date: Thu, 12 Jul 2001 10:14:40 +0100 From: Tim Wilkinson Subject: Re: SQR editor We use Ultraedit-32 here which is good and which I've used to knock out 64 reports so far. www.ultraedit.com should give you more info Tim -----Original Message----- From: Steve Hearne [mailto:steve.hearne@MVC-ENT.CO.UK] Sent: 12 July 2001 09:59 To: SQR-USERS@list.iex.net Subject: SQR editor Hello all. Does anyone know of a good SQR editor? Something that highlights keywords and has good editing faciities? Cheers, Steve From owner-sqr-users@list.iex.net Thu Jul 12 07:52:50 2001 Date: Thu, 12 Jul 2001 08:56:38 -0400 From: "Beller, Jay" Subject: Re: SQR editor We use Codewright 6.0 (from Premia) which, aside from great editing capabilities, performs file-dependent editing, formatting and highlighting based on file type. Although many common file types have built-in support, we had to create our own lexer and highlighting specifically for .SQR and .SQC files (fairly easy). -----Original Message----- From: Steve Hearne [mailto:steve.hearne@MVC-ENT.CO.UK] Sent: Thursday, July 12, 2001 4:59 AM To: SQR-USERS@list.iex.net Subject: SQR editor Hello all. Does anyone know of a good SQR editor? Something that highlights keywords and has good editing faciities? Cheers, Steve From owner-sqr-users@list.iex.net Thu Jul 12 08:12:57 2001 Date: Thu, 12 Jul 2001 08:15:42 -0500 From: "Brahmbhatt, Mike" Subject: Re: SQR editor I've used both Multi-Edit and UltraEdit-32. Both are good, both do keyword highlights. But I would give UltraEdit-32 the edge, since it has a built in FTP and it cost less. Mike -----Original Message----- From: Steve Hearne [mailto:steve.hearne@MVC-ENT.CO.UK] Sent: Thursday, July 12, 2001 3:59 AM To: SQR-USERS@list.iex.net Subject: SQR editor Hello all. Does anyone know of a good SQR editor? Something that highlights keywords and has good editing faciities? Cheers, Steve From owner-sqr-users@list.iex.net Thu Jul 12 08:56:23 2001 Date: Thu, 12 Jul 2001 09:49:27 -0400 From: Jamie Harris Subject: Re: SQR editor I've always been fond of the editor formerly known as "Qedit" (now known as TSE). It's available at www.semware.com. (it's kind of expensive though) It has a ton of features, including the ability to execute many common compilers (and any you manually add - such as SQRW) and has the ability to parse the compile logs and show you a list of the errors and take you directly to them. (It's preconfigured for languages like C++, Perl, Pascal, etc. - you just tell it which compiler you're using for that file type and it will remember it). For SQR it's mostly manual setup - I had to define my own syntax highlighting scheme (but it's easy to do) and had to configure the compile feature myself (though it only runs the SQR - I haven't been able to get it to do the extra stuff it'll do for other languages). The macro language is powerful too - and many of the included macros are quite useful. Ultra Edit isn't bad either - I'd be using that if I didn't have TSE. I'd recommend you try both - I prefer TSE but some might prefer UE because TSE isn't graphical (it's still a text-mode application despite being a 32-bit application). ----------------------------------------------------- Jamie Harris Junior Programmer/Analyst/Software Integrator Office of Information Technology Frederick Community College ----------------------------------------------------- >>> steve.hearne@MVC-ENT.CO.UK 7/12/2001 4:58:40 AM >>> Hello all. Does anyone know of a good SQR editor? Something that highlights keywords and has good editing faciities? Cheers, Steve From owner-sqr-users@list.iex.net Thu Jul 12 09:52:24 2001 Date: Thu, 12 Jul 2001 09:40:10 -0500 From: Shekar PSoft Subject: Re: SQR editor you can use SQR Runner... ----- Original Message ----- From: "Steve Hearne" To: Sent: Thursday, July 12, 2001 3:58 AM Subject: SQR editor > Hello all. > > Does anyone know of a good SQR editor? Something that highlights keywords and has good editing faciities? > > Cheers, > Steve _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From owner-sqr-users@list.iex.net Thu Jul 12 10:19:41 2001 Date: Thu, 12 Jul 2001 09:04:21 -0600 From: Raj Amoli Subject: Re: SQR editor Try Ultra edit (UE), it's great. Raj >From: Shekar PSoft >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: SQR editor >Date: Thu, 12 Jul 2001 09:40:10 -0500 >MIME-Version: 1.0 >Received: from [192.156.196.15] by hotmail.com (3.2) with ESMTP id >MHotMailBD170668009C400438DBC09CC40F9F770; Thu, 12 Jul 2001 07:59:59 -0700 >Received: from list.iex.net (list.iex.net [192.156.196.15]) by list.iex.net >(8.9.3/8.9.3) with ESMTP id IAA01893; Thu, 12 Jul 2001 08:41:56 -0600 (MDT) >Received: from LIST.IEX.NET by LIST.IEX.NET (LISTSERV-TCP/IP release 1.8d) >with spool id 691445 for SQR-USERS@LIST.IEX.NET; Thu, 12 Jul 2001 >08:41:54 -0600 >Received: from smtp017.mail.yahoo.com (smtp017.mail.yahoo.com >[216.136.174.114]) by list.iex.net (8.9.3/8.9.3) with SMTP id >IAA01687 for ; Thu, 12 Jul 2001 08:31:50 >-0600 (MDT) >Received: from unknown (HELO SMEELA) (156.101.1.5) by >smtp.mail.vip.sc5.yahoo.com with SMTP; 12 Jul 2001 14:40:12 -0000 >From owner-sqr-users@list.iex.net Thu, 12 Jul 2001 08:01:27 -0700 >X-Apparently-From: >References: >X-Priority: 3 >X-MSMail-Priority: Normal >X-Mailer: Microsoft Outlook Express 5.50.4133.2400 >X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 >Message-ID: <002d01c10ae0$8dde6940$4f0112ac@wm.com> >Sender: "Discussion of SQR, Brio Technology's database >reporting language" > >you can use SQR Runner... >----- Original Message ----- >From: "Steve Hearne" >To: >Sent: Thursday, July 12, 2001 3:58 AM >Subject: SQR editor > > > > Hello all. > > > > Does anyone know of a good SQR editor? Something that highlights >keywords >and has good editing faciities? > > > > Cheers, > > Steve > > >_________________________________________________________ >Do You Yahoo!? >Get your free @yahoo.com address at http://mail.yahoo.com _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From owner-sqr-users@list.iex.net Thu Jul 12 10:19:59 2001 Date: Thu, 12 Jul 2001 11:17:29 -0400 From: Pamela Lantzy Subject: Re: SQR editor A feature we discovered within Ultraedit is to run the current SQR you are modifying through SQRW right from within ultraedit, so you don't have to open SQRW. -----Original Message----- From: Steve Hearne [mailto:steve.hearne@MVC-ENT.CO.UK] Sent: Thursday, July 12, 2001 4:59 AM To: SQR-USERS@LIST.IEX.NET Subject: SQR editor Hello all. Does anyone know of a good SQR editor? Something that highlights keywords and has good editing faciities? Cheers, Steve From owner-sqr-users@list.iex.net Thu Jul 12 10:42:54 2001 Date: Thu, 12 Jul 2001 11:35:29 -0400 From: "Dorman, Tony" Subject: Re: SQR editor You may also want to check out EditPlus. You can download it at editplus.com, or tucows.com (my personal favorite). -----Original Message----- From: Steve Hearne [mailto:steve.hearne@MVC-ENT.CO.UK] Sent: Thursday, July 12, 2001 4:59 AM To: SQR-USERS@list.iex.net Subject: SQR editor Hello all. Does anyone know of a good SQR editor? Something that highlights keywords and has good editing faciities? Cheers, Steve From owner-sqr-users@list.iex.net Thu Jul 12 10:51:42 2001 Date: Thu, 12 Jul 2001 12:46:40 -0300 From: Peter Clark Subject: Re: SQR editor Pamela, how is this done? We use UE but haven't had time to explore anything more than the basic features we need. Thanks, Peter >>> Pamela Lantzy 2001/07/12 12:17:29 pm >>> A feature we discovered within Ultraedit is to run the current SQR you are modifying through SQRW right from within ultraedit, so you don't have to open SQRW. -----Original Message----- From: Steve Hearne [mailto:steve.hearne@MVC-ENT.CO.UK] Sent: Thursday, July 12, 2001 4:59 AM To: SQR-USERS@LIST.IEX.NET Subject: SQR editor Hello all. Does anyone know of a good SQR editor? Something that highlights keywords and has good editing faciities? Cheers, Steve From owner-sqr-users@list.iex.net Thu Jul 12 11:09:18 2001 Date: Thu, 12 Jul 2001 09:05:01 -0700 From: Carlton Conley Subject: Re: SQR editor with UltraEdit under the Advanced menu Item you can choose run windows program, place your SQR command line in the command line box and select run. The command line will remain in the box and not have to be typed in over and over, you can include all your flag, SQR name data base password, just like you would in the properties of an SQRW shortcut. Most good editors have a similar feature. -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Peter Clark Sent: Thursday, July 12, 2001 8:47 AM To: SQR-USERS@list.iex.net Subject: Re: SQR editor Pamela, how is this done? We use UE but haven't had time to explore anything more than the basic features we need. Thanks, Peter >>> Pamela Lantzy 2001/07/12 12:17:29 pm >>> A feature we discovered within Ultraedit is to run the current SQR you are modifying through SQRW right from within ultraedit, so you don't have to open SQRW. -----Original Message----- From: Steve Hearne [mailto:steve.hearne@MVC-ENT.CO.UK] Sent: Thursday, July 12, 2001 4:59 AM To: SQR-USERS@LIST.IEX.NET Subject: SQR editor Hello all. Does anyone know of a good SQR editor? Something that highlights keywords and has good editing faciities? Cheers, Steve From owner-sqr-users@list.iex.net Thu Jul 12 11:15:23 2001 Date: Thu, 12 Jul 2001 11:14:16 -0500 From: Bill Beckner Subject: Re: SQR editor Yes..please post your solution. We're very interested in this too!!! Thanks!! -- William Beckner -- Stunt Programmer (Just call me "Bill") Illinois Central College, Rm L141 -- East Peoria, IL 61635-0001 PH: (309) 694-8419 -- FAX: (309) 694-8995 "An unfinished thought is like a day without..." -----Original Message----- From: Peter Clark [mailto:PGCLARK@VAC-ACC.GC.CA] Sent: Thursday, July 12, 2001 10:47 AM To: SQR-USERS@list.iex.net Subject: Re: SQR editor Pamela, how is this done? We use UE but haven't had time to explore anything more than the basic features we need. Thanks, Peter >>> Pamela Lantzy 2001/07/12 12:17:29 pm >>> A feature we discovered within Ultraedit is to run the current SQR you are modifying through SQRW right from within ultraedit, so you don't have to open SQRW. -----Original Message----- From: Steve Hearne [mailto:steve.hearne@MVC-ENT.CO.UK] Sent: Thursday, July 12, 2001 4:59 AM To: SQR-USERS@LIST.IEX.NET Subject: SQR editor Hello all. Does anyone know of a good SQR editor? Something that highlights keywords and has good editing faciities? Cheers, Steve From owner-sqr-users@list.iex.net Thu Jul 12 11:42:41 2001 Date: Thu, 12 Jul 2001 09:38:08 -0700 From: Sarat Subject: Re: SQR editor We use Multi Edit and Text Pad! Can anyone tell if we can use the feature of running SQR from (ME or Text Pad) editor instead of SQRW and if we can do FTP also? How about highlighting in Text Pad? -Sarat --- Bill Beckner wrote: > Yes..please post your solution. We're very > interested in this too!!! > Thanks!! > > -- > William Beckner -- Stunt Programmer (Just call me > "Bill") > Illinois Central College, Rm L141 -- East Peoria, IL > 61635-0001 > PH: (309) 694-8419 -- FAX: (309) 694-8995 > "An unfinished thought is like a day without..." > > -----Original Message----- > From: Peter Clark [mailto:PGCLARK@VAC-ACC.GC.CA] > Sent: Thursday, July 12, 2001 10:47 AM > To: SQR-USERS@list.iex.net > Subject: Re: SQR editor > > Pamela, how is this done? We use UE but haven't had > time to explore anything > more than the basic features we need. > > Thanks, > Peter > > >>> Pamela Lantzy > 2001/07/12 12:17:29 pm >>> > A feature we discovered within Ultraedit is to run > the current SQR you are > modifying through SQRW right from within ultraedit, > so you don't have to > open SQRW. > > > > > -----Original Message----- > From: Steve Hearne > [mailto:steve.hearne@MVC-ENT.CO.UK] > Sent: Thursday, July 12, 2001 4:59 AM > To: SQR-USERS@LIST.IEX.NET > Subject: SQR editor > > Hello all. > > Does anyone know of a good SQR editor? Something > that highlights keywords > and has good editing faciities? > > Cheers, > Steve __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ From owner-sqr-users@list.iex.net Thu Jul 12 12:11:27 2001 Date: Thu, 12 Jul 2001 13:13:04 -0400 From: Pamela Lantzy Subject: Re: SQR editor In Ultraedit, under Advanced, Tool Configuration Set the: Command Line: "%f" Working directory: Menu Item: Check the boxes - check if windows program and Save all files first Leave the radio button to Append to existing Example: command line: j:\he76\sqrbinw\sqrw.exe "%f" -ij:\he76\sqr -mj:\he76\sqr\allmaxes.max -fc:\temp\sqr.lis -oc:\temp\sqr.log -ZIFj:\he76\sqr\pssqr.ini -cb Working directory: c:\Oracle\Ora81\bin\ Menu: Run SQR against HE76DEVL To test it out, open a SQR and go to the menu item under Advanced it should run the SQR. The only glitch, is once you hit OK, you can not see or modify these settings again within ultraedit. The only way to modify is edit the file c:\windows\uedit.ini - go to the [Tools] sections. Then you must close and open ultraedit again for your settings to take. Pam -----Original Message----- From: Bill Beckner [mailto:Bbeckner@ICC.CC.IL.US] Sent: Thursday, July 12, 2001 12:14 PM To: SQR-USERS@LIST.IEX.NET Subject: Re: SQR editor Yes..please post your solution. We're very interested in this too!!! Thanks!! -- William Beckner -- Stunt Programmer (Just call me "Bill") Illinois Central College, Rm L141 -- East Peoria, IL 61635-0001 PH: (309) 694-8419 -- FAX: (309) 694-8995 "An unfinished thought is like a day without..." -----Original Message----- From: Peter Clark [mailto:PGCLARK@VAC-ACC.GC.CA] Sent: Thursday, July 12, 2001 10:47 AM To: SQR-USERS@list.iex.net Subject: Re: SQR editor Pamela, how is this done? We use UE but haven't had time to explore anything more than the basic features we need. Thanks, Peter >>> Pamela Lantzy 2001/07/12 12:17:29 pm >>> A feature we discovered within Ultraedit is to run the current SQR you are modifying through SQRW right from within ultraedit, so you don't have to open SQRW. -----Original Message----- From: Steve Hearne [mailto:steve.hearne@MVC-ENT.CO.UK] Sent: Thursday, July 12, 2001 4:59 AM To: SQR-USERS@LIST.IEX.NET Subject: SQR editor Hello all. Does anyone know of a good SQR editor? Something that highlights keywords and has good editing faciities? Cheers, Steve From owner-sqr-users@list.iex.net Thu Jul 12 12:46:02 2001 Date: Thu, 12 Jul 2001 10:39:14 -0700 From: "Shaver, Richard H" Subject: Re: SQR editor In TextPad, under Tools, Run... Command: sqrw.exe (include full path) Parameters: path to file you are editing and database logon and sqr flags Initial Folder: path to sqrw folder Example: Command: C:\SQRIBE\SQRServer\ODB\BINW\sqrw.exe Parameters: C:\SQRIBE\VisualSQRIBE\PROGRAM\file_name.sqr database/userID/Password -ziv -whatever_else Initial Folder: C:\SQRIBE\SQRServer\ODB\BINW Thanks to the motivation provided by the SQR Users Group, I have forced myself to find the time to use something other than VisualSqribe as a text editor for Brio. I like TextPad (and the company bought it for us), but this is the first time I have used some of its power. Now, can some one smart please tell me how to compile from TextPad? Thanks Rick -----Original Message----- From: Pamela Lantzy [mailto:PLantzy@UAMAIL.ALBANY.EDU] Sent: Thursday, July 12, 2001 10:13 AM To: SQR-USERS@list.iex.net Subject: Re: SQR editor In Ultraedit, under Advanced, Tool Configuration Set the: Command Line: "%f" Working directory: Menu Item: Check the boxes - check if windows program and Save all files first Leave the radio button to Append to existing Example: command line: j:\he76\sqrbinw\sqrw.exe "%f" -ij:\he76\sqr -mj:\he76\sqr\allmaxes.max -fc:\temp\sqr.lis -oc:\temp\sqr.log -ZIFj:\he76\sqr\pssqr.ini -cb Working directory: c:\Oracle\Ora81\bin\ Menu: Run SQR against HE76DEVL To test it out, open a SQR and go to the menu item under Advanced it should run the SQR. The only glitch, is once you hit OK, you can not see or modify these settings again within ultraedit. The only way to modify is edit the file c:\windows\uedit.ini - go to the [Tools] sections. Then you must close and open ultraedit again for your settings to take. Pam -----Original Message----- From: Bill Beckner [mailto:Bbeckner@ICC.CC.IL.US] Sent: Thursday, July 12, 2001 12:14 PM To: SQR-USERS@LIST.IEX.NET Subject: Re: SQR editor Yes..please post your solution. We're very interested in this too!!! Thanks!! -- William Beckner -- Stunt Programmer (Just call me "Bill") Illinois Central College, Rm L141 -- East Peoria, IL 61635-0001 PH: (309) 694-8419 -- FAX: (309) 694-8995 "An unfinished thought is like a day without..." -----Original Message----- From: Peter Clark [mailto:PGCLARK@VAC-ACC.GC.CA] Sent: Thursday, July 12, 2001 10:47 AM To: SQR-USERS@list.iex.net Subject: Re: SQR editor Pamela, how is this done? We use UE but haven't had time to explore anything more than the basic features we need. Thanks, Peter >>> Pamela Lantzy 2001/07/12 12:17:29 pm >>> A feature we discovered within Ultraedit is to run the current SQR you are modifying through SQRW right from within ultraedit, so you don't have to open SQRW. -----Original Message----- From: Steve Hearne [mailto:steve.hearne@MVC-ENT.CO.UK] Sent: Thursday, July 12, 2001 4:59 AM To: SQR-USERS@LIST.IEX.NET Subject: SQR editor Hello all. Does anyone know of a good SQR editor? Something that highlights keywords and has good editing faciities? Cheers, Steve From owner-sqr-users@list.iex.net Thu Jul 12 13:13:03 2001 Date: Thu, 12 Jul 2001 12:08:54 -0600 From: Roger Harris Subject: Re: SQR editor There is a simpler way to do this. In the Parameters field instead of entering the {path}\file_name.sqr you can enter the tool macro "$File" this will run the file in the active window of TextPad. And in the Initial Directory field use the tool macro "$FileDir". As for compiling, if you mean generate an SQT just use the -rs flag in the Parameters field. Roger Harris "Shaver, Richard H" To: SQR-USERS@list.iex.net Subject: Re: SQR editor Sent by: "Discussion of SQR, Brio Technology's database reporting language" 07/12/2001 11:39 AM Please respond to sqr-users In TextPad, under Tools, Run... Command: sqrw.exe (include full path) Parameters: path to file you are editing and database logon and sqr flags Initial Folder: path to sqrw folder Example: Command: C:\SQRIBE\SQRServer\ODB\BINW\sqrw.exe Parameters: C:\SQRIBE\VisualSQRIBE\PROGRAM\file_name.sqr database/userID/Password -ziv -whatever_else Initial Folder: C:\SQRIBE\SQRServer\ODB\BINW Thanks to the motivation provided by the SQR Users Group, I have forced myself to find the time to use something other than VisualSqribe as a text editor for Brio. I like TextPad (and the company bought it for us), but this is the first time I have used some of its power. Now, can some one smart please tell me how to compile from TextPad? Thanks Rick From owner-sqr-users@list.iex.net Sun Jul 15 19:39:45 2001 Date: Mon, 16 Jul 2001 11:21:16 +1100 From: Gopal Krishan Subject: Re: SQR editor I use SqrPlus workbench and pfe editor. Infact you can integrate any editor with SqrPlus workbench. Gopal Sarat cc: Sent by: Subject: Re: SQR editor "Discussion of SQR, Brio Technology's database reporting language" 13-07-01 02:38 AM Please respond to sqr-users We use Multi Edit and Text Pad! Can anyone tell if we can use the feature of running SQR from (ME or Text Pad) editor instead of SQRW and if we can do FTP also? How about highlighting in Text Pad? -Sarat --- Bill Beckner wrote: > Yes..please post your solution. We're very > interested in this too!!! > Thanks!! > > -- > William Beckner -- Stunt Programmer (Just call me > "Bill") > Illinois Central College, Rm L141 -- East Peoria, IL > 61635-0001 > PH: (309) 694-8419 -- FAX: (309) 694-8995 > "An unfinished thought is like a day without..." > > -----Original Message----- > From: Peter Clark [mailto:PGCLARK@VAC-ACC.GC.CA] > Sent: Thursday, July 12, 2001 10:47 AM > To: SQR-USERS@list.iex.net > Subject: Re: SQR editor > > Pamela, how is this done? We use UE but haven't had > time to explore anything > more than the basic features we need. > > Thanks, > Peter > > >>> Pamela Lantzy > 2001/07/12 12:17:29 pm >>> > A feature we discovered within Ultraedit is to run > the current SQR you are > modifying through SQRW right from within ultraedit, > so you don't have to > open SQRW. > > > > > -----Original Message----- > From: Steve Hearne > [mailto:steve.hearne@MVC-ENT.CO.UK] > Sent: Thursday, July 12, 2001 4:59 AM > To: SQR-USERS@LIST.IEX.NET > Subject: SQR editor > > Hello all. > > Does anyone know of a good SQR editor? Something > that highlights keywords > and has good editing faciities? > > Cheers, > Steve __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ From owner-sqr-users@list.iex.net Mon Jul 23 23:31:39 2001 Date: Mon, 23 Jul 2001 23:59:56 -0400 From: Dennis Palmer Subject: Re: SQR editor We use EditPlus in our shop and love it to pieces. Dp Steve Hearne wrote: > Hello all. > > Does anyone know of a good SQR editor? Something that highlights keywords and has good editing faciities? > > Cheers, > Steve From owner-sqr-users@list.iex.net Tue Jul 24 07:15:27 2001 Date: Tue, 24 Jul 2001 05:03:55 -0700 From: Nicolas Moscaritolo Subject: Re: SQR editor Brio ReportBuilder gives you full editing features. Look on the Brio web site for more info. Nick Moscaritolo Brio Technology Systems Consultant - East Region 15 Crestwood Drive Ashland, MA 01721 (617) 823-6783 > -----Original Message----- > From: Discussion of SQR, Brio Technology's database reporting language > [mailto:SQR-USERS@list.iex.net]On Behalf Of Dennis Palmer > Sent: Tuesday, July 24, 2001 12:00 AM > To: SQR-USERS@list.iex.net > Subject: Re: SQR editor > > > We use EditPlus in our shop and love it to pieces. > Dp > > Steve Hearne wrote: > > > Hello all. > > > > Does anyone know of a good SQR editor? Something that > highlights keywords and has good editing faciities? > > > > Cheers, > > Steve From owner-sqr-users@list.iex.net Thu Jul 12 05:00:27 2001 Date: Thu, 12 Jul 2001 11:16:09 +0200 From: LEBLANC Philippe FTC Subject: =?ISO-8859-1?Q?R=E9p.=20:=20SQR=20editor?= 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. --=_94CEEFE0.B7D6BA42 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Use UltraEdit with file Wordfile.txt for SQR keywords Cordialement, Philippe. >>> Steve Hearne 12/07/01 10h58 >>> Hello all. Does anyone know of a good SQR editor? Something that highlights keywords = and has good editing faciities? Cheers, Steve --=_94CEEFE0.B7D6BA42 Content-Type: application/x-zip-compressed Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="sqrwordfile.zip" UEsDBBQAAAAIAFhlMiplMEXgOCcAAPxfAAAMAAAAV09SREZJTEUuVFhUrXz7k+NGcubPZgT/h9JI a+9Ky21L2nXEnTXj46u7qeFrCLJHI1maAMEiiW0Q4ODRD63tv/2+L7MKBLtbF3sORzerMhOFQj3y VVUJXIy/ftW/6H/11SszjlNr+tnhYNPSvDYXF6aXZNFtTZqlpH75lLrdgvzlhRkWUXhEBfswB+Hf TVDmcboTvADh1T+ZyzixZvhQ2rSIs5TEvunP56bfN9fmGkD3/dt262Jgk/gQl1Zu+6/P/s/vfvnH L3//h85Xr//j3y/+9p8//fy///XVP333xvzxH/70byh9WaVRier88/Ck3/0Udn7tdn78+POXf/jp v/7151coNko3bK0Wkvb8jeRVGj+78J+80P/61Vv7eJ/lmwJoWJVZu7XObXjbbkVhYU3EbkboRcm0 jNPKtlsbuw2rpDSbDP/VOgHJJihs0+pgLDqep+3WNsnC0myzvN3aZaw23po4LdutJEt37VZud3GB kia3ZcXyxT7LS1PEu9RukP1qs60pyrCMI2R5FeHafVxG+3arfDxaNKHdqlIOSJX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+wH10n8+79QSwECFAAU AAAACABYZTIqZTBF4DgnAAD8XwAADAAAAAAAAAABACAAtoEAAAAAV09SREZJTEUuVFhUUEsFBgAA AAABAAEAOgAAAGInAAAAAA== --=_94CEEFE0.B7D6BA42-- From owner-sqr-users@list.iex.net Thu Jul 12 07:50:31 2001 Date: Thu, 12 Jul 2001 05:38:17 -0700 From: Arun Kumar Subject: Re: Rép. : SQR editor I am new to this usergroup. I use sqr-runner. This is exclusively for sqr and I find its extremely helpfull. Any feedback on this product? Is ultraedit is better than SQR Runner? --- LEBLANC Philippe FTC wrote: > Use UltraEdit with file Wordfile.txt for SQR > keywords > > Cordialement, Philippe. > > >>> Steve Hearne > 12/07/01 10h58 >>> > Hello all. > > Does anyone know of a good SQR editor? Something > that highlights keywords and has good editing > faciities? > > Cheers, > Steve > > > ATTACHMENT part 2 application/x-zip-compressed __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ From owner-sqr-users@list.iex.net Thu Jul 12 08:14:25 2001 Date: Thu, 12 Jul 2001 09:00:59 -0400 From: Christine Young Subject: How can I supress the automatic generation of a link tag? I have encountered a problem producing an HTML report with SQR. The report is working properly except that a tag is being generated that I don't want and have no idea how to get rid of. HTML>

is generated automatically, but I want to get rid of the .

We found that if this tag is removed from the source code, it drastically reduced the size of the file.  This is obviously a big plus!  I get the feeling that it is generated because of the table of contents.  Can anyone help?!!

From owner-sqr-users@list.iex.net  Thu Jul 12 09:27:35 2001
Date:         Thu, 12 Jul 2001 10:31:05 -0400
From: "Beller, Jay" 
Subject:      Win 2000 & C:\temp

We're running 4.3 in a development environment containing both Win 98 and
Win 2000.  We use C:\temp for reading and writing.  Developers who are now
on Win 2000 encounter an error trying to open the output log file in C:\temp
(other programs have no problem writing to that directory).

Has anyone encountered this problem and resolved it without having to change
the C:\temp specification?

Jay B.

From owner-sqr-users@list.iex.net  Thu Jul 12 09:31:22 2001
Date:         Thu, 12 Jul 2001 09:28:50 -0500
From: Sunil Kanderi 
Subject:      Re: Win 2000 & C:\temp

Iy might not be a general case, but on my Win 2000  machine there was no
c:\Temp directory. I was getting the same error and once I created the
C:\temp directory on my Win 2000, I was back in business.

Sunil.

-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Beller, Jay
Sent: Thursday, July 12, 2001 9:31 AM
To: SQR-USERS@list.iex.net
Subject: Win 2000 & C:\temp


We're running 4.3 in a development environment containing both Win 98 and
Win 2000.  We use C:\temp for reading and writing.  Developers who are now
on Win 2000 encounter an error trying to open the output log file in C:\temp
(other programs have no problem writing to that directory).

Has anyone encountered this problem and resolved it without having to change
the C:\temp specification?

Jay B.

From owner-sqr-users@list.iex.net  Thu Jul 12 10:11:35 2001
Date:         Thu, 12 Jul 2001 09:57:19 -0500
From: "Barnes, Tracy" 
Subject:      Re: Win 2000 & C:\temp

By default Windows 2000 doesn't come with a c:\temp directory installed.
The "temp" folder is buried on Documents and Settings somewhere.  You can
either change your "-f" parameter in the SQR settings to point to a valid
folder, or simply create a temp folder on the C: drive.

 -----Original Message-----
From:   Beller, Jay [mailto:jbeller@LBISOFTWARE.COM]
Sent:   Thursday, July 12, 2001 9:31 AM
To:     SQR-USERS@list.iex.net
Subject:        Win 2000 & C:\temp

We're running 4.3 in a development environment containing both Win 98 and
Win 2000.  We use C:\temp for reading and writing.  Developers who are now
on Win 2000 encounter an error trying to open the output log file in C:\temp
(other programs have no problem writing to that directory).

Has anyone encountered this problem and resolved it without having to change
the C:\temp specification?

Jay B.

From owner-sqr-users@list.iex.net  Thu Jul 12 12:20:48 2001
Date:         Thu, 12 Jul 2001 13:15:48 -0400
From: "Schelske, Steve K." 
Subject:      Re: Win 2000 & C:\temp

If seen posts on the PeopleSoft list that suggest this may be a problem with
W2K SP2.  Many report that going back to SP1 resolves the problem.

-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Barnes, Tracy
Sent: Thursday, July 12, 2001 10:57 AM
To: SQR-USERS@list.iex.net
Subject: Re: Win 2000 & C:\temp


By default Windows 2000 doesn't come with a c:\temp directory installed.
The "temp" folder is buried on Documents and Settings somewhere.  You can
either change your "-f" parameter in the SQR settings to point to a valid
folder, or simply create a temp folder on the C: drive.

 -----Original Message-----
From:   Beller, Jay [mailto:jbeller@LBISOFTWARE.COM]
Sent:   Thursday, July 12, 2001 9:31 AM
To:     SQR-USERS@list.iex.net
Subject:        Win 2000 & C:\temp

We're running 4.3 in a development environment containing both Win 98 and
Win 2000.  We use C:\temp for reading and writing.  Developers who are now
on Win 2000 encounter an error trying to open the output log file in C:\temp
(other programs have no problem writing to that directory).

Has anyone encountered this problem and resolved it without having to change
the C:\temp specification?

Jay B.

From owner-sqr-users@list.iex.net  Thu Jul 12 11:15:18 2001
Date:         Thu, 12 Jul 2001 11:13:29 -0500
From: Bill Beckner 
Subject:      Numeric Vars

Here's a puzzle for all you SQR experts....

I've got these two numeric variables, assigned the same amount, and I
display their values like this:

    SHOW '#New_Posted_amt ' #New_Posted_amt
    SHOW '#Ttl_Proj_Amt2  ' #Ttl_Proj_Amt2

And the following shows in the sqr.log:

    #New_Posted_amt 12696.840000
    #Ttl_Proj_Amt2  12696.840000

When the following comparison is performed:

    if #New_Posted_amt > #Ttl_Proj_Amt2
        do Print-Error-Message
    end-if

I always get an error message!!!  Any ideas?  We're using SQR 4.3.4

Thanks!!!

Why does SQR

--
William Beckner -- Stunt Programmer (Just call me "Bill")
Illinois Central College, Rm L141 -- East Peoria, IL  61635-0001
PH: (309) 694-8419 -- FAX: (309) 694-8995
"An unfinished thought is like a day without..."

From owner-sqr-users@list.iex.net  Thu Jul 12 11:31:29 2001
Date:         Thu, 12 Jul 2001 09:27:24 -0700
From: Arun Kumar 
Subject:      Re: Numeric Vars

What kind of Error is received.
There could be error  in the procedure you are
calling....
--- Bill Beckner  wrote:
> Here's a puzzle for all you SQR experts....
>
> I've got these two numeric variables, assigned the
> same amount, and I
> display their values like this:
>
>     SHOW '#New_Posted_amt ' #New_Posted_amt
>     SHOW '#Ttl_Proj_Amt2  ' #Ttl_Proj_Amt2
>
> And the following shows in the sqr.log:
>
>     #New_Posted_amt 12696.840000
>     #Ttl_Proj_Amt2  12696.840000
>
> When the following comparison is performed:
>
>     if #New_Posted_amt > #Ttl_Proj_Amt2
>         do Print-Error-Message
>     end-if
>
> I always get an error message!!!  Any ideas?  We're
> using SQR 4.3.4
>
> Thanks!!!
>
> Why does SQR
>
> --
> William Beckner -- Stunt Programmer (Just call me
> "Bill")
> Illinois Central College, Rm L141 -- East Peoria, IL
>  61635-0001
> PH: (309) 694-8419 -- FAX: (309) 694-8995
> "An unfinished thought is like a day without..."


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

From owner-sqr-users@list.iex.net  Thu Jul 12 11:36:58 2001
Date:         Thu, 12 Jul 2001 12:35:54 -0400
From: Kiryl Lamakin
              
Subject:      Re: Numeric Vars

Bill,

Try to display the variables right after the IF:

if #New_Posted_amt > #Ttl_Proj_Amt2
     SHOW '#New_Posted_amt ' #New_Posted_amt
     SHOW '#Ttl_Proj_Amt2  ' #Ttl_Proj_Amt2
      do Print-Error-Message
end-if




Bill Beckner @list.iex.net> on 07/12/2001 12:13:29
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:  Numeric Vars


Here's a puzzle for all you SQR experts....

I've got these two numeric variables, assigned the same amount, and I
display their values like this:

    SHOW '#New_Posted_amt ' #New_Posted_amt
    SHOW '#Ttl_Proj_Amt2  ' #Ttl_Proj_Amt2

And the following shows in the sqr.log:

    #New_Posted_amt 12696.840000
    #Ttl_Proj_Amt2  12696.840000

When the following comparison is performed:

    if #New_Posted_amt > #Ttl_Proj_Amt2
        do Print-Error-Message
    end-if

I always get an error message!!!  Any ideas?  We're using SQR 4.3.4

Thanks!!!

Why does SQR

--
William Beckner -- Stunt Programmer (Just call me "Bill")
Illinois Central College, Rm L141 -- East Peoria, IL  61635-0001
PH: (309) 694-8419 -- FAX: (309) 694-8995
"An unfinished thought is like a day without..."

From owner-sqr-users@list.iex.net  Thu Jul 12 11:43:05 2001
Date:         Thu, 12 Jul 2001 12:38:27 -0400
From: "Risman, Mark" 
Subject:      Re: Numeric Vars

two questions:

(1) is anything changing between your SHOW statement and your IF statement?

(2) I noticed you only show the first six decimal places of each number.  What about to the right of the sixth decimal
place?  What data types are you using for these numbers -- float?

- Mark



-----Original Message-----
From: Bill Beckner [mailto:Bbeckner@ICC.CC.IL.US]
Sent: Thursday, July 12, 2001 12:13 PM
To: SQR-USERS@list.iex.net
Subject: Numeric Vars


Here's a puzzle for all you SQR experts....

I've got these two numeric variables, assigned the same amount, and I
display their values like this:

    SHOW '#New_Posted_amt ' #New_Posted_amt
    SHOW '#Ttl_Proj_Amt2  ' #Ttl_Proj_Amt2

And the following shows in the sqr.log:

    #New_Posted_amt 12696.840000
    #Ttl_Proj_Amt2  12696.840000

When the following comparison is performed:

    if #New_Posted_amt > #Ttl_Proj_Amt2
        do Print-Error-Message
    end-if

I always get an error message!!!  Any ideas?  We're using SQR 4.3.4

Thanks!!!

Why does SQR

--
William Beckner -- Stunt Programmer (Just call me "Bill")
Illinois Central College, Rm L141 -- East Peoria, IL  61635-0001
PH: (309) 694-8419 -- FAX: (309) 694-8995
"An unfinished thought is like a day without..."

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 Jul 12 11:43:28 2001
Date:         Thu, 12 Jul 2001 09:39:35 -0700
From: Arjan Hoornstra 
Subject:      Re: Numeric Vars

This is a know problem with SQR... it maybe the 16th number after the
comma which is causing the problem. You probably calculated the values
for the variables? You have to use an edit mask for the calculation...
must be some more threads about this in the history of this
mailinglist.

Arjan

--- Bill Beckner  wrote:
> Here's a puzzle for all you SQR experts....
>
> I've got these two numeric variables, assigned the same amount, and I
> display their values like this:
>
>     SHOW '#New_Posted_amt ' #New_Posted_amt
>     SHOW '#Ttl_Proj_Amt2  ' #Ttl_Proj_Amt2
>
> And the following shows in the sqr.log:
>
>     #New_Posted_amt 12696.840000
>     #Ttl_Proj_Amt2  12696.840000
>
> When the following comparison is performed:
>
>     if #New_Posted_amt > #Ttl_Proj_Amt2
>         do Print-Error-Message
>     end-if
>
> I always get an error message!!!  Any ideas?  We're using SQR 4.3.4
>
> Thanks!!!
>
> Why does SQR
>
> --
> William Beckner -- Stunt Programmer (Just call me "Bill")
> Illinois Central College, Rm L141 -- East Peoria, IL  61635-0001
> PH: (309) 694-8419 -- FAX: (309) 694-8995
> "An unfinished thought is like a day without..."


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

From owner-sqr-users@list.iex.net  Thu Jul 12 11:56:18 2001
Date:         Thu, 12 Jul 2001 11:54:48 -0500
From: Bill Beckner 
Subject:      Re: Numeric Vars

Thanks for the suggestion of using an edit mask - the numbers look like you
described!!!!
So, what I did was round the two variables to 2 decimal places, and the
program ran as expected!

Thanks to everyone for all of your helpful suggestions!!!!!

--
William Beckner -- Stunt Programmer (Just call me "Bill")
Illinois Central College, Rm L141 -- East Peoria, IL  61635-0001
PH: (309) 694-8419 -- FAX: (309) 694-8995
"An unfinished thought is like a day without..."

 -----Original Message-----
From:   the dragon [mailto:ceprn@hotmail.com]
Sent:   Thursday, July 12, 2001 11:37 AM
To:     Bill Beckner
Subject:        Re: Numeric Vars

bill,

because you don't see the entire number, just what the default edit mask
shows.

one of your numbers may be like 12696.840000000000000000001.  It's kind of
like that Pentium bug they had 7 years ago.  What version of sqr are you
using?

Try this....  Convert the numbers to characters, with an identical edit mask

and compare them....

clark 'the dragon' willis
dragon enterpises, consulting services


----Original Message Follows----

Here's a puzzle for all you SQR experts....

I've got these two numeric variables, assigned the same amount, and I
display their values like this:

     SHOW '#New_Posted_amt ' #New_Posted_amt
     SHOW '#Ttl_Proj_Amt2  ' #Ttl_Proj_Amt2

And the following shows in the sqr.log:

     #New_Posted_amt 12696.840000
     #Ttl_Proj_Amt2  12696.840000

When the following comparison is performed:

     if #New_Posted_amt > #Ttl_Proj_Amt2
         do Print-Error-Message
     end-if

I always get an error message!!!  Any ideas?  We're using SQR 4.3.4

Thanks!!!

Why does SQR

--
William Beckner -- Stunt Programmer (Just call me "Bill")
Illinois Central College, Rm L141 -- East Peoria, IL  61635-0001
PH: (309) 694-8419 -- FAX: (309) 694-8995
"An unfinished thought is like a day without..."


PSA: Salary <> Slavery.  If you earn a salary, your employer is renting your

services for 40 hours a week, not purchasing your soul.

NOTICE:  The information contained in this message is protected under United

States and international copyright laws and is intended for the personal and

confidential use of the addressee.  If you are not the addressee or an agent

of the addressee, you are hereby notified that you have received this
message in error and that any review, dissemination, distribution, taking of

any action in reliance upon or copying of this message without the express
written permission of the sender or his agent is strictly prohibited and in
violation of referenced statutes.  If you have received this message in
error, please notify me (the sender) immediately and you are instructed to
delete this message from any computer it resides on, including mail servers.

SIGNATURE :
Do not meddle in the affairs of dragons, for you are crunchy and taste good
with ketchup.
You've got to be a Spirit; don't need no Ghosts.
Do or Do Not; There is NO Try.
Any clod can have facts, but having an opinion is an art !
A conclusion is simply the place where someone got tired of thinking.
When a continuing state of defiance and disorder can not be checked by the
rules, then new and sometimes drastic rules must be forged to maintain
order; the alternative is anarchy.
M. Clark Willis III - Sr Systems Analyst, Sr Consultant ceprn@hotmail.com
aolim:ceprn ICQ 6633136

Help stamp out SPAM!! http://www.cauce.org

The senders of unsolicited commercial e-mail to me at any site are liable
for a $500 per message cost under USC 47, which may be found at
http://www.law.cornell.edu/uscode/47
Contents of this message, in it's entirety, (c) 2000 M. Clark Willis III /
Dragon Enterprises inc.  All rights reserved.



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

From owner-sqr-users@list.iex.net  Fri Jul 13 13:17:13 2001
Date:         Fri, 13 Jul 2001 20:23:42 +0200
From: Franck Masson 
Subject:      Re: Numeric Vars

You case is common for any language that manipulate numerics.
when these numeric are float (not integer) the equality is never garantee.
In scientific environnement we use these fomula to compare two real number
if ( (X1 - x2)< Epsilon)
 then equal is true
 else false
fi

and epsilon is set to the precision of your computer and this value will
depend mostly of  your processor.

in your case you can position epsilon to 0.000001 if this precisioon is
sufficient.

Franck,

-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Bill Beckner
Sent: jeudi 12 juillet 2001 18:13
To: SQR-USERS@list.iex.net
Subject: Numeric Vars


Here's a puzzle for all you SQR experts....

I've got these two numeric variables, assigned the same amount, and I
display their values like this:

    SHOW '#New_Posted_amt ' #New_Posted_amt
    SHOW '#Ttl_Proj_Amt2  ' #Ttl_Proj_Amt2

And the following shows in the sqr.log:

    #New_Posted_amt 12696.840000
    #Ttl_Proj_Amt2  12696.840000

When the following comparison is performed:

    if #New_Posted_amt > #Ttl_Proj_Amt2
        do Print-Error-Message
    end-if

I always get an error message!!!  Any ideas?  We're using SQR 4.3.4

Thanks!!!

Why does SQR

--
William Beckner -- Stunt Programmer (Just call me "Bill")
Illinois Central College, Rm L141 -- East Peoria, IL  61635-0001
PH: (309) 694-8419 -- FAX: (309) 694-8995
"An unfinished thought is like a day without..."

From owner-sqr-users@list.iex.net  Thu Jul 12 11:33:30 2001
Date:         Thu, 12 Jul 2001 09:30:23 -0700
From: Charllotte Hurt 
Subject:      I am trying to update an oracle table with a numeric value which
              needs to be eight positions.  No ma

I am trying to update an oracle table with a numeric value which needs to be eight positions.  No matter what I try the number is coming out without the leading zeros.  For example, the number should be 00001739, but the database says 1739 after my update using sqr.

Even in sql if I say update table-in-question set field-in-question = 00001739, the value comes out in the database as 1739.

(The field is defined in the database as numeric.  I'm selecting the number from the table and adding +1 to increment as I add records.)

Any help would be appreciated.  Thanks.

From owner-sqr-users@list.iex.net  Thu Jul 12 11:57:46 2001
Date:         Thu, 12 Jul 2001 09:53:15 -0700
From: Charllotte Hurt 
Subject:      Re: I am trying to update an oracle table with a numeric value
              which needs to be eight positions.  No ma

Even when I edit the field using a character variable--and upon display it shows 00001739--when I do the set on the update to this new variable, the zeros are still stripped off.  I don't think I can change the value in the database, a mod our dba would not want.


>>> Jason.Sekkes@STROEHMANN.COM 07/12/01 09:43AM >>>
If the field in Oracle is numeric you will not be able to get leading zeros
without editing the field when selecting it or changing the table definition
to alpha numeric.

Jason Sekkes
Programmer Analyst
Stroehmann Bakeries, LC
* (610)-631-8214
* Jason.Sekkes@Stroehmann.com


-----Original Message-----
From: Charllotte Hurt [mailto:CHurt@YAR.MIRACOSTA.CC.CA.US]
Sent: Thursday, July 12, 2001 12:30 PM
To: SQR-USERS@list.iex.net
Subject: I am trying to update an oracle table with a numeric value
which needs to be eight positions. No ma


I am trying to update an oracle table with a numeric value which needs to be
eight positions.  No matter what I try the number is coming out without the
leading zeros.  For example, the number should be 00001739, but the database
says 1739 after my update using sqr.

Even in sql if I say update table-in-question set field-in-question =
00001739, the value comes out in the database as 1739.

(The field is defined in the database as numeric.  I'm selecting the number
from the table and adding +1 to increment as I add records.)

Any help would be appreciated.  Thanks.

From owner-sqr-users@list.iex.net  Thu Jul 12 11:50:15 2001
Date:         Thu, 12 Jul 2001 12:43:45 -0400
From: "Jason Sekkes (SB)" 
Subject:      Re: I am trying to update an oracle table with a numeric value wh
              ich needs to be eight positions.  No ma

If the field in Oracle is numeric you will not be able to get leading zeros
without editing the field when selecting it or changing the table definition
to alpha numeric.

Jason Sekkes
Programmer Analyst
Stroehmann Bakeries, LC
* (610)-631-8214
* Jason.Sekkes@Stroehmann.com


-----Original Message-----
From: Charllotte Hurt [mailto:CHurt@YAR.MIRACOSTA.CC.CA.US]
Sent: Thursday, July 12, 2001 12:30 PM
To: SQR-USERS@list.iex.net
Subject: I am trying to update an oracle table with a numeric value
which needs to be eight positions. No ma


I am trying to update an oracle table with a numeric value which needs to be
eight positions.  No matter what I try the number is coming out without the
leading zeros.  For example, the number should be 00001739, but the database
says 1739 after my update using sqr.

Even in sql if I say update table-in-question set field-in-question =
00001739, the value comes out in the database as 1739.

(The field is defined in the database as numeric.  I'm selecting the number
from the table and adding +1 to increment as I add records.)

Any help would be appreciated.  Thanks.

From owner-sqr-users@list.iex.net  Thu Jul 12 12:01:56 2001
Date:         Thu, 12 Jul 2001 09:53:31 -0700
From: Peter Burton 
Subject:      Re: I am trying to update an oracle table with a numeric value wh
              ich needs to be eight positions.  No ma

If you want to have SQR display a number with leading zeros then you should
use the "0" edit mask as described in the SQR Language Reference Manual:

  Print 1234 () edit '099999'

would appear as

  001234

Peter Alan Burton, A.S.E.


-----Original Message-----
From: Charllotte Hurt [mailto:CHurt@YAR.MIRACOSTA.CC.CA.US]
Sent: Thursday, July 12, 2001 12:53 PM
To: SQR-USERS@list.iex.net
Subject: Re: I am trying to update an oracle table with a numeric value
which needs to be eight positions. No ma


Even when I edit the field using a character variable--and upon display it
shows 00001739--when I do the set on the update to this new variable, the
zeros are still stripped off.  I don't think I can change the value in the
database, a mod our dba would not want.


>>> Jason.Sekkes@STROEHMANN.COM 07/12/01 09:43AM >>>
If the field in Oracle is numeric you will not be able to get leading zeros
without editing the field when selecting it or changing the table definition
to alpha numeric.

Jason Sekkes
Programmer Analyst
Stroehmann Bakeries, LC
* (610)-631-8214
* Jason.Sekkes@Stroehmann.com


-----Original Message-----
From: Charllotte Hurt [mailto:CHurt@YAR.MIRACOSTA.CC.CA.US]
Sent: Thursday, July 12, 2001 12:30 PM
To: SQR-USERS@list.iex.net
Subject: I am trying to update an oracle table with a numeric value
which needs to be eight positions. No ma


I am trying to update an oracle table with a numeric value which needs to be
eight positions.  No matter what I try the number is coming out without the
leading zeros.  For example, the number should be 00001739, but the database
says 1739 after my update using sqr.

Even in sql if I say update table-in-question set field-in-question =
00001739, the value comes out in the database as 1739.

(The field is defined in the database as numeric.  I'm selecting the number
from the table and adding +1 to increment as I add records.)

Any help would be appreciated.  Thanks.

From owner-sqr-users@list.iex.net  Thu Jul 12 12:53:02 2001
Date:         Thu, 12 Jul 2001 12:50:32 -0500
From: James Womeldorf 
Subject:      Re: I am trying to update an oracle table with a numeric value wh
              ich needs to be eight positions.  No ma

If the leading zeros are important as data items then the field should be a
character field rather than numeric.  Then your leading zeros will 'stick'.

Jim Womeldorf
Programmer/Analyst
Fastenal Company
jwomeldo@fastenal.com
(507) 453-8250


-----Original Message-----
From: Peter Burton [mailto:pburton@BRIO.COM]
Sent: Thursday, July 12, 2001 11:54 AM
To: SQR-USERS@list.iex.net
Subject: Re: I am trying to update an oracle table with a numeric value
wh ich needs to be eight positions. No ma


If you want to have SQR display a number with leading zeros then you should
use the "0" edit mask as described in the SQR Language Reference Manual:

  Print 1234 () edit '099999'

would appear as

  001234

Peter Alan Burton, A.S.E.


-----Original Message-----
From: Charllotte Hurt [mailto:CHurt@YAR.MIRACOSTA.CC.CA.US]
Sent: Thursday, July 12, 2001 12:53 PM
To: SQR-USERS@list.iex.net
Subject: Re: I am trying to update an oracle table with a numeric value
which needs to be eight positions. No ma


Even when I edit the field using a character variable--and upon display it
shows 00001739--when I do the set on the update to this new variable, the
zeros are still stripped off.  I don't think I can change the value in the
database, a mod our dba would not want.


>>> Jason.Sekkes@STROEHMANN.COM 07/12/01 09:43AM >>>
If the field in Oracle is numeric you will not be able to get leading zeros
without editing the field when selecting it or changing the table definition
to alpha numeric.

Jason Sekkes
Programmer Analyst
Stroehmann Bakeries, LC
* (610)-631-8214
* Jason.Sekkes@Stroehmann.com


-----Original Message-----
From: Charllotte Hurt [mailto:CHurt@YAR.MIRACOSTA.CC.CA.US]
Sent: Thursday, July 12, 2001 12:30 PM
To: SQR-USERS@list.iex.net
Subject: I am trying to update an oracle table with a numeric value
which needs to be eight positions. No ma


I am trying to update an oracle table with a numeric value which needs to be
eight positions.  No matter what I try the number is coming out without the
leading zeros.  For example, the number should be 00001739, but the database
says 1739 after my update using sqr.

Even in sql if I say update table-in-question set field-in-question =
00001739, the value comes out in the database as 1739.

(The field is defined in the database as numeric.  I'm selecting the number
from the table and adding +1 to increment as I add records.)

Any help would be appreciated.  Thanks.

From owner-sqr-users@list.iex.net  Thu Jul 12 13:30:30 2001
Date:         Thu, 12 Jul 2001 14:26:35 -0400
From: "Risman, Mark" 
Subject:      Re: I am trying to update an oracle table with a numeric value wh
              ich needs to be eight positions.  No ma

Or, if you cannot change the field from numeric to character type, maybe you can leave the database field the way it is
and display it with the leading zeroes when you want to read the value.  For example, if you were using SQR to get the
data out, and you knew you wanted eight positions, you could do something like

begin-select
this_field    ()  edit '00000000'
...
end-select


If you're looking at the data from some other reporting language or querying tool (e.g. PL/SQL), you should be able to
accomplish the same thing there.

hope this helps,
- Mark

-----Original Message-----
From: James Womeldorf [mailto:jwomeldo@FASTENAL.COM]
Sent: Thursday, July 12, 2001 1:51 PM
To: SQR-USERS@list.iex.net
Subject: Re: I am trying to update an oracle table with a numeric value
wh ich needs to be eight positions. No ma


If the leading zeros are important as data items then the field should be a
character field rather than numeric.  Then your leading zeros will 'stick'.

Jim Womeldorf
Programmer/Analyst
Fastenal Company
jwomeldo@fastenal.com
(507) 453-8250


-----Original Message-----
From: Peter Burton [mailto:pburton@BRIO.COM]
Sent: Thursday, July 12, 2001 11:54 AM
To: SQR-USERS@list.iex.net
Subject: Re: I am trying to update an oracle table with a numeric value
wh ich needs to be eight positions. No ma


If you want to have SQR display a number with leading zeros then you should
use the "0" edit mask as described in the SQR Language Reference Manual:

  Print 1234 () edit '099999'

would appear as

  001234

Peter Alan Burton, A.S.E.


-----Original Message-----
From: Charllotte Hurt [mailto:CHurt@YAR.MIRACOSTA.CC.CA.US]
Sent: Thursday, July 12, 2001 12:53 PM
To: SQR-USERS@list.iex.net
Subject: Re: I am trying to update an oracle table with a numeric value
which needs to be eight positions. No ma


Even when I edit the field using a character variable--and upon display it
shows 00001739--when I do the set on the update to this new variable, the
zeros are still stripped off.  I don't think I can change the value in the
database, a mod our dba would not want.


>>> Jason.Sekkes@STROEHMANN.COM 07/12/01 09:43AM >>>
If the field in Oracle is numeric you will not be able to get leading zeros
without editing the field when selecting it or changing the table definition
to alpha numeric.

Jason Sekkes
Programmer Analyst
Stroehmann Bakeries, LC
* (610)-631-8214
* Jason.Sekkes@Stroehmann.com


-----Original Message-----
From: Charllotte Hurt [mailto:CHurt@YAR.MIRACOSTA.CC.CA.US]
Sent: Thursday, July 12, 2001 12:30 PM
To: SQR-USERS@list.iex.net
Subject: I am trying to update an oracle table with a numeric value
which needs to be eight positions. No ma


I am trying to update an oracle table with a numeric value which needs to be
eight positions.  No matter what I try the number is coming out without the
leading zeros.  For example, the number should be 00001739, but the database
says 1739 after my update using sqr.

Even in sql if I say update table-in-question set field-in-question =
00001739, the value comes out in the database as 1739.

(The field is defined in the database as numeric.  I'm selecting the number
from the table and adding +1 to increment as I add records.)

Any help would be appreciated.  Thanks.

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 Jul 12 13:48:47 2001
Date:         Thu, 12 Jul 2001 14:45:53 -0400
From: "Johnson, Dan" 
Subject:      Re: I am trying to update an oracle table with a numeric value wh
              ich needs to be eight positions.  No ma

For Oracle use: lpad(some_column,8,'0')
which you can use in your SQR as

begin-select
lpad(some_column,8,'0') &padded_value
from some_table
where some_criteria
end-select

If this value is often used for mathematical calculations then you will want
to leave this as numeric in the database. If you are only using this value
for display purposes then you may want to consider using a character field
and padding the data as it is inserted into the table.

Dan

-----Original Message-----
From: Risman, Mark
Sent: Thursday, July 12, 2001 2:27 PM
Subject: Re: I am trying to update an oracle table with a numeric value
wh ich needs to be eight positions. No ma


Or, if you cannot change the field from numeric to character type, maybe you
can leave the database field the way it is
and display it with the leading zeroes when you want to read the value.  For
example, if you were using SQR to get the
data out, and you knew you wanted eight positions, you could do something
like

begin-select
this_field    ()  edit '00000000'
...
end-select


If you're looking at the data from some other reporting language or querying
tool (e.g. PL/SQL), you should be able to
accomplish the same thing there.

hope this helps,
- Mark

-----Original Message-----
From: James Womeldorf [mailto:jwomeldo@FASTENAL.COM]
Sent: Thursday, July 12, 2001 1:51 PM
To: SQR-USERS@list.iex.net
Subject: Re: I am trying to update an oracle table with a numeric value
wh ich needs to be eight positions. No ma


If the leading zeros are important as data items then the field should be a
character field rather than numeric.  Then your leading zeros will 'stick'.

Jim Womeldorf
Programmer/Analyst
Fastenal Company
jwomeldo@fastenal.com
(507) 453-8250


-----Original Message-----
From: Peter Burton [mailto:pburton@BRIO.COM]
Sent: Thursday, July 12, 2001 11:54 AM
To: SQR-USERS@list.iex.net
Subject: Re: I am trying to update an oracle table with a numeric value
wh ich needs to be eight positions. No ma


If you want to have SQR display a number with leading zeros then you should
use the "0" edit mask as described in the SQR Language Reference Manual:

  Print 1234 () edit '099999'

would appear as

  001234

Peter Alan Burton, A.S.E.


-----Original Message-----
From: Charllotte Hurt [mailto:CHurt@YAR.MIRACOSTA.CC.CA.US]
Sent: Thursday, July 12, 2001 12:53 PM
To: SQR-USERS@list.iex.net
Subject: Re: I am trying to update an oracle table with a numeric value
which needs to be eight positions. No ma


Even when I edit the field using a character variable--and upon display it
shows 00001739--when I do the set on the update to this new variable, the
zeros are still stripped off.  I don't think I can change the value in the
database, a mod our dba would not want.


>>> Jason.Sekkes@STROEHMANN.COM 07/12/01 09:43AM >>>
If the field in Oracle is numeric you will not be able to get leading zeros
without editing the field when selecting it or changing the table definition
to alpha numeric.

Jason Sekkes
Programmer Analyst
Stroehmann Bakeries, LC
* (610)-631-8214
* Jason.Sekkes@Stroehmann.com


-----Original Message-----
From: Charllotte Hurt [mailto:CHurt@YAR.MIRACOSTA.CC.CA.US]
Sent: Thursday, July 12, 2001 12:30 PM
To: SQR-USERS@list.iex.net
Subject: I am trying to update an oracle table with a numeric value
which needs to be eight positions. No ma


I am trying to update an oracle table with a numeric value which needs to be
eight positions.  No matter what I try the number is coming out without the
leading zeros.  For example, the number should be 00001739, but the database
says 1739 after my update using sqr.

Even in sql if I say update table-in-question set field-in-question =
00001739, the value comes out in the database as 1739.

(The field is defined in the database as numeric.  I'm selecting the number
from the table and adding +1 to increment as I add records.)

Any help would be appreciated.  Thanks.

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 Jul 12 12:28:36 2001
Date:         Thu, 12 Jul 2001 13:16:00 -0400
From: Geek Unlimited 
Subject:      graphics using various output

I am creating a series of GRAPHIC BOXes.

When I run the report for .pdf or .spf formats, my output looks
fine.  My HTML output looks out of whack.

What happens is: I have 3 sets of 4 boxes going across.  The left-
most box in each set is thinner in width than the other 3.  I have 4
shaded boxes across the top (for a heading); which are attached to 4
boxes of equal width but greater length and unshaded (for the report
body); then underneath 4 single line shaded (boxes for the grand
totals).

The header boxes and the data-body boxes line up fine.  The bottom
boxes for the grand totals don't.  The left-most is 2 lines too
high and they proceed 1 line down progressively until the last
one is 1 line too low.  The first box is also thinner in height
and it's border is too thin.

As an experiment, I removed all PRINTs from the body of my report.
So there is no data output expect the boxes.  They still don't
line up right in the HTML.

Here are some relevant code snips:

Begin-Procedure PrintFooterBoxes local

  Graphic ({footerrow},{boxcol1},{box1width}) box {footerlines} {boxborder} {footershade}
  Graphic ({footerrow},{boxcol2},{boxwidth}) box {footerlines} {boxborder} {footershade}
  Graphic ({footerrow},{boxcol3},{boxwidth}) box {footerlines} {boxborder} {footershade}
  Graphic ({footerrow},{boxcol4},{boxwidth}) box {footerlines} {boxborder} {footershade}

end-Procedure PrintFooterBoxes
!==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)!

!==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)
Begin-Procedure PrintHeaderBoxes local
  Graphic ({headerrow},{boxcol1},{box1width}) box {headerlines} {boxborder} {headershade}
  Graphic ({headerrow},{boxcol2},{boxwidth}) box {headerlines} {boxborder} {headershade}
  Graphic ({headerrow},{boxcol3},{boxwidth}) box {headerlines} {boxborder} {headershade}
  Graphic ({headerrow},{boxcol4},{boxwidth}) box {headerlines} {boxborder} {headershade}

end-Procedure PrintHeaderBoxes
!==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)!

!==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)==:)
Begin-Procedure CreateBoxes local

  do PrintHeaderBoxes

  Graphic ({boxrow},{boxcol1},{box1width}) box {boxlines} {boxborder} 0
  Graphic ({boxrow},{boxcol2},{boxwidth}) box {boxlines} {boxborder} 0
  Graphic ({boxrow},{boxcol3},{boxwidth}) box {boxlines} {boxborder} 0
  Graphic ({boxrow},{boxcol4},{boxwidth}) box {boxlines} {boxborder} 0

  do PrintFooterBoxes

end-Procedure CreateBoxes

What should I do?

The Geek  @{o,o}@

From owner-sqr-users@list.iex.net  Thu Jul 12 13:20:31 2001
Date:         Thu, 12 Jul 2001 11:10:50 -0700
From: Brian Pelton 
Subject:      Re: SQR editor (Running SQRW from UltraEdit)

I'm having a little trouble using the Tool Configuration menu with the
UltraEdit.

This is the command line that I'm using:

p:\hr751\sqrbinw\sqrw.exe "%f" bpelton asdf htst -ic:\user\sqr\;p:\HR751\sqr\
-mp:\HR751\sqr\allmaxes.max -S -fC:\TEMP\ -ZIFp:\HR751\sqr\pssqr.ini

Username:  bpelton
Password:  asdf
Database:  htst

When I run the menu, I am getting an error message that it cannot find
sysadm.sqr.
I think the problem is with the %F part.  I'm not familiar with that, so I might
have it wrong.
Can someone show me an example of how it should look???

Also, I'm able to edit the entires in the Tool Config window, simply
double-click on the name and the information is reloaded into the menu, I then
delete the entry from the list and reinsert the entry again.  A lot easier than
editing the INI file.


----Version----
UltraEdit-32 Professional version 6.10a

----Error Message----
(SQR 4700) Cannot open the program file: 'sysadm.sqr'
(2): No such file or directory

SQR: Program Aborting.








Pamela Lantzy  on 07/12/2001 10:13:04 AM

Please respond to sqr-users@list.iex.net

To:   SQR-USERS@list.iex.net
cc:    (bcc: Brian Pelton)
Subject:  Re: SQR editor



In Ultraedit, under Advanced, Tool Configuration

Set the:

Command Line:   "%f"   
Working directory: 
Menu Item: 

Check the boxes - check if windows program and  Save all files first
Leave the radio button to Append to existing

Example:

command line:
j:\he76\sqrbinw\sqrw.exe "%f"  -ij:\he76\sqr
-mj:\he76\sqr\allmaxes.max -fc:\temp\sqr.lis -oc:\temp\sqr.log
-ZIFj:\he76\sqr\pssqr.ini -cb

Working directory:
c:\Oracle\Ora81\bin\

Menu:
Run SQR against HE76DEVL


To test it out, open a SQR and go to the menu item under Advanced it should
run the SQR.


The only glitch, is once you hit OK, you can not see or modify these
settings again within ultraedit.  The only way to modify is edit the file
c:\windows\uedit.ini - go to the [Tools] sections.  Then you must close and
open ultraedit again for your settings to take.


Pam



 -----Original Message-----
From:   Bill Beckner [mailto:Bbeckner@ICC.CC.IL.US]
Sent:   Thursday, July 12, 2001 12:14 PM
To:     SQR-USERS@LIST.IEX.NET
Subject:        Re: SQR editor

Yes..please post your solution.  We're very interested in this too!!!
Thanks!!

--
William Beckner -- Stunt Programmer (Just call me "Bill")
Illinois Central College, Rm L141 -- East Peoria, IL  61635-0001
PH: (309) 694-8419 -- FAX: (309) 694-8995
"An unfinished thought is like a day without..."

 -----Original Message-----
From:   Peter Clark [mailto:PGCLARK@VAC-ACC.GC.CA]
Sent:   Thursday, July 12, 2001 10:47 AM
To:     SQR-USERS@list.iex.net
Subject:        Re: SQR editor

Pamela, how is this done? We use UE but haven't had time to explore anything
more than the basic features we need.

Thanks,
Peter

>>> Pamela Lantzy  2001/07/12 12:17:29 pm >>>
A feature we discovered within Ultraedit is to run the current SQR you are
modifying through SQRW right from within ultraedit, so you don't have to
open SQRW.




 -----Original Message-----
From:   Steve Hearne [mailto:steve.hearne@MVC-ENT.CO.UK]
Sent:   Thursday, July 12, 2001 4:59 AM
To:     SQR-USERS@LIST.IEX.NET
Subject:        SQR editor

Hello all.

Does anyone know of a good SQR editor?  Something that highlights keywords
and has good editing faciities?

Cheers,
Steve

From owner-sqr-users@list.iex.net  Fri Jul 13 05:37:21 2001
Date:         Fri, 13 Jul 2001 07:32:36 -0300
From: Peter Clark 
Subject:      Re: SQR editor (Running SQRW from UltraEdit)

Your login should be formatted as "bpelton/asdf@htst" presuming that bpelton is a valid Oracle user ID on your system ... most PeopleSoft shops (which you seem to be, judging from your command line path names) use "sysadm" as the user ID (you'd have to get the password from your DBA).

>>> Brian Pelton  2001/07/12 3:10:50 pm >>>
I'm having a little trouble using the Tool Configuration menu with the
UltraEdit.

This is the command line that I'm using:

p:\hr751\sqrbinw\sqrw.exe "%f" bpelton asdf htst -ic:\user\sqr\;p:\HR751\sqr\
-mp:\HR751\sqr\allmaxes.max -S -fC:\TEMP\ -ZIFp:\HR751\sqr\pssqr.ini

Username:  bpelton
Password:  asdf
Database:  htst

When I run the menu, I am getting an error message that it cannot find
sysadm.sqr.
I think the problem is with the %F part.  I'm not familiar with that, so I might
have it wrong.
Can someone show me an example of how it should look???

Also, I'm able to edit the entires in the Tool Config window, simply
double-click on the name and the information is reloaded into the menu, I then
delete the entry from the list and reinsert the entry again.  A lot easier than
editing the INI file.


----Version----
UltraEdit-32 Professional version 6.10a

----Error Message----
(SQR 4700) Cannot open the program file: 'sysadm.sqr'
(2): No such file or directory

SQR: Program Aborting.








Pamela Lantzy  on 07/12/2001 10:13:04 AM

Please respond to sqr-users@list.iex.net

To:   SQR-USERS@list.iex.net
cc:    (bcc: Brian Pelton)
Subject:  Re: SQR editor



In Ultraedit, under Advanced, Tool Configuration

Set the:

Command Line:   "%f"   
Working directory: 
Menu Item: 

Check the boxes - check if windows program and  Save all files first
Leave the radio button to Append to existing

Example:

command line:
j:\he76\sqrbinw\sqrw.exe "%f"  -ij:\he76\sqr
-mj:\he76\sqr\allmaxes.max -fc:\temp\sqr.lis -oc:\temp\sqr.log
-ZIFj:\he76\sqr\pssqr.ini -cb

Working directory:
c:\Oracle\Ora81\bin\

Menu:
Run SQR against HE76DEVL


To test it out, open a SQR and go to the menu item under Advanced it should
run the SQR.


The only glitch, is once you hit OK, you can not see or modify these
settings again within ultraedit.  The only way to modify is edit the file
c:\windows\uedit.ini - go to the [Tools] sections.  Then you must close and
open ultraedit again for your settings to take.


Pam



 -----Original Message-----
From:   Bill Beckner [mailto:Bbeckner@ICC.CC.IL.US]
Sent:   Thursday, July 12, 2001 12:14 PM
To:     SQR-USERS@LIST.IEX.NET
Subject:        Re: SQR editor

Yes..please post your solution.  We're very interested in this too!!!
Thanks!!

--
William Beckner -- Stunt Programmer (Just call me "Bill")
Illinois Central College, Rm L141 -- East Peoria, IL  61635-0001
PH: (309) 694-8419 -- FAX: (309) 694-8995
"An unfinished thought is like a day without..."

 -----Original Message-----
From:   Peter Clark [mailto:PGCLARK@VAC-ACC.GC.CA]
Sent:   Thursday, July 12, 2001 10:47 AM
To:     SQR-USERS@list.iex.net
Subject:        Re: SQR editor

Pamela, how is this done? We use UE but haven't had time to explore anything
more than the basic features we need.

Thanks,
Peter

>>> Pamela Lantzy  2001/07/12 12:17:29 pm >>>
A feature we discovered within Ultraedit is to run the current SQR you are
modifying through SQRW right from within ultraedit, so you don't have to
open SQRW.




 -----Original Message-----
From:   Steve Hearne [mailto:steve.hearne@MVC-ENT.CO.UK]
Sent:   Thursday, July 12, 2001 4:59 AM
To:     SQR-USERS@LIST.IEX.NET
Subject:        SQR editor

Hello all.

Does anyone know of a good SQR editor?  Something that highlights keywords
and has good editing faciities?

Cheers,
Steve

From owner-sqr-users@list.iex.net  Fri Jul 13 08:16:24 2001
Date:         Fri, 13 Jul 2001 09:10:34 -0400
From: Bruce Kelling 
Subject:      Re: SQR editor (Running SQRW from UltraEdit)

Use ?%f instead of  "%f" (no quotes) to execute the current active SQR
program in UltraEdit in addition to user/password@dbname.

Bruce


-----Original Message-----
From: Peter Clark [mailto:PGCLARK@VAC-ACC.GC.CA]
Sent: Friday, July 13, 2001 6:33 AM
To: SQR-USERS@list.iex.net
Subject: Re: SQR editor (Running SQRW from UltraEdit)


Your login should be formatted as "bpelton/asdf@htst" presuming that bpelton
is a valid Oracle user ID on your system ... most PeopleSoft shops (which
you seem to be, judging from your command line path names) use "sysadm" as
the user ID (you'd have to get the password from your DBA).

>>> Brian Pelton  2001/07/12 3:10:50 pm >>>
I'm having a little trouble using the Tool Configuration menu with the
UltraEdit.

This is the command line that I'm using:

p:\hr751\sqrbinw\sqrw.exe "%f" bpelton asdf htst
-ic:\user\sqr\;p:\HR751\sqr\
-mp:\HR751\sqr\allmaxes.max -S -fC:\TEMP\ -ZIFp:\HR751\sqr\pssqr.ini

Username:  bpelton
Password:  asdf
Database:  htst

When I run the menu, I am getting an error message that it cannot find
sysadm.sqr.
I think the problem is with the %F part.  I'm not familiar with that, so I
might
have it wrong.
Can someone show me an example of how it should look???

Also, I'm able to edit the entires in the Tool Config window, simply
double-click on the name and the information is reloaded into the menu, I
then
delete the entry from the list and reinsert the entry again.  A lot easier
than
editing the INI file.


----Version----
UltraEdit-32 Professional version 6.10a

----Error Message----
(SQR 4700) Cannot open the program file: 'sysadm.sqr'
(2): No such file or directory

SQR: Program Aborting.








Pamela Lantzy  on 07/12/2001 10:13:04 AM

Please respond to sqr-users@list.iex.net

To:   SQR-USERS@list.iex.net
cc:    (bcc: Brian Pelton)
Subject:  Re: SQR editor



In Ultraedit, under Advanced, Tool Configuration

Set the:

Command Line:   "%f"   
Working directory: 
Menu Item: 

Check the boxes - check if windows program and  Save all files first
Leave the radio button to Append to existing

Example:

command line:
j:\he76\sqrbinw\sqrw.exe "%f"  -ij:\he76\sqr
-mj:\he76\sqr\allmaxes.max -fc:\temp\sqr.lis -oc:\temp\sqr.log
-ZIFj:\he76\sqr\pssqr.ini -cb

Working directory:
c:\Oracle\Ora81\bin\

Menu:
Run SQR against HE76DEVL


To test it out, open a SQR and go to the menu item under Advanced it should
run the SQR.


The only glitch, is once you hit OK, you can not see or modify these
settings again within ultraedit.  The only way to modify is edit the file
c:\windows\uedit.ini - go to the [Tools] sections.  Then you must close and
open ultraedit again for your settings to take.


Pam



 -----Original Message-----
From:   Bill Beckner [mailto:Bbeckner@ICC.CC.IL.US]
Sent:   Thursday, July 12, 2001 12:14 PM
To:     SQR-USERS@LIST.IEX.NET
Subject:        Re: SQR editor

Yes..please post your solution.  We're very interested in this too!!!
Thanks!!

--
William Beckner -- Stunt Programmer (Just call me "Bill")
Illinois Central College, Rm L141 -- East Peoria, IL  61635-0001
PH: (309) 694-8419 -- FAX: (309) 694-8995
"An unfinished thought is like a day without..."

 -----Original Message-----
From:   Peter Clark [mailto:PGCLARK@VAC-ACC.GC.CA]
Sent:   Thursday, July 12, 2001 10:47 AM
To:     SQR-USERS@list.iex.net
Subject:        Re: SQR editor

Pamela, how is this done? We use UE but haven't had time to explore anything
more than the basic features we need.

Thanks,
Peter

>>> Pamela Lantzy  2001/07/12 12:17:29 pm >>>
A feature we discovered within Ultraedit is to run the current SQR you are
modifying through SQRW right from within ultraedit, so you don't have to
open SQRW.




 -----Original Message-----
From:   Steve Hearne [mailto:steve.hearne@MVC-ENT.CO.UK]
Sent:   Thursday, July 12, 2001 4:59 AM
To:     SQR-USERS@LIST.IEX.NET
Subject:        SQR editor

Hello all.

Does anyone know of a good SQR editor?  Something that highlights keywords
and has good editing faciities?

Cheers,
Steve

From owner-sqr-users@list.iex.net  Fri Jul 13 08:25:03 2001
Date:         Fri, 13 Jul 2001 08:22:16 -0500
From: Lawrence Baier 
Subject:      Re: SQR editor (Running SQRW from UltraEdit)

Does anyone use Ultraedit to run SQR's against a DB2 database?

Lawrence Baier
larry_baier@aal.org

Aid Association for Lutherans (AAL)
4321 N. Ballard Road, Appleton, WI 54919-0001



|--------+-------------------------------------->
|        |          Bruce Kelling               |
|        |                            |
|        |                                      |
|        |          07/13/2001 08:10 AM         |
|        |          Please respond to sqr-users |
|        |                                      |
|--------+-------------------------------------->
  >--------------------------------------------------------|
  |                                                        |
  |       To:     SQR-USERS@list.iex.net                   |
  |       cc:     (bcc: Larry Baier/AAL)                   |
  |       Subject:     Re: SQR editor (Running SQRW from   |
  |       UltraEdit)                                       |
  >--------------------------------------------------------|





Use ?%f instead of  "%f" (no quotes) to execute the current active SQR
program in UltraEdit in addition to user/password@dbname.

Bruce


-----Original Message-----
From: Peter Clark [mailto:PGCLARK@VAC-ACC.GC.CA]
Sent: Friday, July 13, 2001 6:33 AM
To: SQR-USERS@list.iex.net
Subject: Re: SQR editor (Running SQRW from UltraEdit)


Your login should be formatted as "bpelton/asdf@htst" presuming that bpelton
is a valid Oracle user ID on your system ... most PeopleSoft shops (which
you seem to be, judging from your command line path names) use "sysadm" as
the user ID (you'd have to get the password from your DBA).

>>> Brian Pelton  2001/07/12 3:10:50 pm >>>
I'm having a little trouble using the Tool Configuration menu with the
UltraEdit.

This is the command line that I'm using:

p:\hr751\sqrbinw\sqrw.exe "%f" bpelton asdf htst
-ic:\user\sqr\;p:\HR751\sqr\
-mp:\HR751\sqr\allmaxes.max -S -fC:\TEMP\ -ZIFp:\HR751\sqr\pssqr.ini

Username:  bpelton
Password:  asdf
Database:  htst

When I run the menu, I am getting an error message that it cannot find
sysadm.sqr.
I think the problem is with the %F part.  I'm not familiar with that, so I
might
have it wrong.
Can someone show me an example of how it should look???

Also, I'm able to edit the entires in the Tool Config window, simply
double-click on the name and the information is reloaded into the menu, I
then
delete the entry from the list and reinsert the entry again.  A lot easier
than
editing the INI file.


----Version----
UltraEdit-32 Professional version 6.10a

----Error Message----
(SQR 4700) Cannot open the program file: 'sysadm.sqr'
(2): No such file or directory

SQR: Program Aborting.








Pamela Lantzy  on 07/12/2001 10:13:04 AM

Please respond to sqr-users@list.iex.net

To:   SQR-USERS@list.iex.net
cc:    (bcc: Brian Pelton)
Subject:  Re: SQR editor



In Ultraedit, under Advanced, Tool Configuration

Set the:

Command Line:   "%f"   
Working directory: 
Menu Item: 

Check the boxes - check if windows program and  Save all files first
Leave the radio button to Append to existing

Example:

command line:
j:\he76\sqrbinw\sqrw.exe "%f"  -ij:\he76\sqr
-mj:\he76\sqr\allmaxes.max -fc:\temp\sqr.lis -oc:\temp\sqr.log
-ZIFj:\he76\sqr\pssqr.ini -cb

Working directory:
c:\Oracle\Ora81\bin\

Menu:
Run SQR against HE76DEVL


To test it out, open a SQR and go to the menu item under Advanced it should
run the SQR.


The only glitch, is once you hit OK, you can not see or modify these
settings again within ultraedit.  The only way to modify is edit the file
c:\windows\uedit.ini - go to the [Tools] sections.  Then you must close and
open ultraedit again for your settings to take.


Pam



 -----Original Message-----
From:   Bill Beckner [mailto:Bbeckner@ICC.CC.IL.US]
Sent:   Thursday, July 12, 2001 12:14 PM
To:     SQR-USERS@LIST.IEX.NET
Subject:        Re: SQR editor

Yes..please post your solution.  We're very interested in this too!!!
Thanks!!

--
William Beckner -- Stunt Programmer (Just call me "Bill")
Illinois Central College, Rm L141 -- East Peoria, IL  61635-0001
PH: (309) 694-8419 -- FAX: (309) 694-8995
"An unfinished thought is like a day without..."

 -----Original Message-----
From:   Peter Clark [mailto:PGCLARK@VAC-ACC.GC.CA]
Sent:   Thursday, July 12, 2001 10:47 AM
To:     SQR-USERS@list.iex.net
Subject:        Re: SQR editor

Pamela, how is this done? We use UE but haven't had time to explore anything
more than the basic features we need.

Thanks,
Peter

>>> Pamela Lantzy  2001/07/12 12:17:29 pm >>>
A feature we discovered within Ultraedit is to run the current SQR you are
modifying through SQRW right from within ultraedit, so you don't have to
open SQRW.




 -----Original Message-----
From:   Steve Hearne [mailto:steve.hearne@MVC-ENT.CO.UK]
Sent:   Thursday, July 12, 2001 4:59 AM
To:     SQR-USERS@LIST.IEX.NET
Subject:        SQR editor

Hello all.

Does anyone know of a good SQR editor?  Something that highlights keywords
and has good editing faciities?

Cheers,
Steve

From owner-sqr-users@list.iex.net  Fri Jul 13 08:58:16 2001
Date:         Fri, 13 Jul 2001 10:51:58 -0300
From: Peter Clark 
Subject:      Re: SQR editor (Running SQRW from UltraEdit)

"%f" (with quotes) works just fine for me ... perhaps the syntax is dependent on the Windows version being used?

>>> Bruce Kelling  2001/07/13 10:10:34 am >>>
Use ?%f instead of  "%f" (no quotes) to execute the current active SQR
program in UltraEdit in addition to user/password@dbname.

Bruce


-----Original Message-----
From: Peter Clark [mailto:PGCLARK@VAC-ACC.GC.CA]
Sent: Friday, July 13, 2001 6:33 AM
To: SQR-USERS@list.iex.net
Subject: Re: SQR editor (Running SQRW from UltraEdit)


Your login should be formatted as "bpelton/asdf@htst" presuming that bpelton
is a valid Oracle user ID on your system ... most PeopleSoft shops (which
you seem to be, judging from your command line path names) use "sysadm" as
the user ID (you'd have to get the password from your DBA).

>>> Brian Pelton  2001/07/12 3:10:50 pm >>>
I'm having a little trouble using the Tool Configuration menu with the
UltraEdit.

This is the command line that I'm using:

p:\hr751\sqrbinw\sqrw.exe "%f" bpelton asdf htst
-ic:\user\sqr\;p:\HR751\sqr\
-mp:\HR751\sqr\allmaxes.max -S -fC:\TEMP\ -ZIFp:\HR751\sqr\pssqr.ini

Username:  bpelton
Password:  asdf
Database:  htst

When I run the menu, I am getting an error message that it cannot find
sysadm.sqr.
I think the problem is with the %F part.  I'm not familiar with that, so I
might
have it wrong.
Can someone show me an example of how it should look???

Also, I'm able to edit the entires in the Tool Config window, simply
double-click on the name and the information is reloaded into the menu, I
then
delete the entry from the list and reinsert the entry again.  A lot easier
than
editing the INI file.


----Version----
UltraEdit-32 Professional version 6.10a

----Error Message----
(SQR 4700) Cannot open the program file: 'sysadm.sqr'
(2): No such file or directory

SQR: Program Aborting.








Pamela Lantzy  on 07/12/2001 10:13:04 AM

Please respond to sqr-users@list.iex.net

To:   SQR-USERS@list.iex.net
cc:    (bcc: Brian Pelton)
Subject:  Re: SQR editor



In Ultraedit, under Advanced, Tool Configuration

Set the:

Command Line:   "%f"   
Working directory: 
Menu Item: 

Check the boxes - check if windows program and  Save all files first
Leave the radio button to Append to existing

Example:

command line:
j:\he76\sqrbinw\sqrw.exe "%f"  -ij:\he76\sqr
-mj:\he76\sqr\allmaxes.max -fc:\temp\sqr.lis -oc:\temp\sqr.log
-ZIFj:\he76\sqr\pssqr.ini -cb

Working directory:
c:\Oracle\Ora81\bin\

Menu:
Run SQR against HE76DEVL


To test it out, open a SQR and go to the menu item under Advanced it should
run the SQR.


The only glitch, is once you hit OK, you can not see or modify these
settings again within ultraedit.  The only way to modify is edit the file
c:\windows\uedit.ini - go to the [Tools] sections.  Then you must close and
open ultraedit again for your settings to take.


Pam



 -----Original Message-----
From:   Bill Beckner [mailto:Bbeckner@ICC.CC.IL.US]
Sent:   Thursday, July 12, 2001 12:14 PM
To:     SQR-USERS@LIST.IEX.NET
Subject:        Re: SQR editor

Yes..please post your solution.  We're very interested in this too!!!
Thanks!!

--
William Beckner -- Stunt Programmer (Just call me "Bill")
Illinois Central College, Rm L141 -- East Peoria, IL  61635-0001
PH: (309) 694-8419 -- FAX: (309) 694-8995
"An unfinished thought is like a day without..."

 -----Original Message-----
From:   Peter Clark [mailto:PGCLARK@VAC-ACC.GC.CA]
Sent:   Thursday, July 12, 2001 10:47 AM
To:     SQR-USERS@list.iex.net
Subject:        Re: SQR editor

Pamela, how is this done? We use UE but haven't had time to explore anything
more than the basic features we need.

Thanks,
Peter

>>> Pamela Lantzy  2001/07/12 12:17:29 pm >>>
A feature we discovered within Ultraedit is to run the current SQR you are
modifying through SQRW right from within ultraedit, so you don't have to
open SQRW.




 -----Original Message-----
From:   Steve Hearne [mailto:steve.hearne@MVC-ENT.CO.UK]
Sent:   Thursday, July 12, 2001 4:59 AM
To:     SQR-USERS@LIST.IEX.NET
Subject:        SQR editor

Hello all.

Does anyone know of a good SQR editor?  Something that highlights keywords
and has good editing faciities?

Cheers,
Steve

From owner-sqr-users@list.iex.net  Thu Jul 12 15:18:10 2001
Date:         Thu, 12 Jul 2001 13:12:25 -0700
From: BOB LANG 
Subject:      SQRDIR  missing

I haven't written any SQRs in a while. So, I don't remember the resolution
to the SQRDIR problem. Does anybody recall what the problem and solution
would be?
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

From owner-sqr-users@list.iex.net  Thu Jul 12 15:29:01 2001
Date:         Thu, 12 Jul 2001 15:24:11 -0500
From: Chuck.L.King@SEALEDAIR.COM
Subject:      Re: SQRDIR  missing

Right-click on My Computer and select properties and enviorment.   Create a
variable named SQRDIR and set it to the path of your SQR3 report directory.

Chuck L. King
Information Systems Support
TEL (940) 592-2111 x511
FAX (940) 592-2665




                    BOB LANG
                                  cc:
                    Sent by:                Subject:     SQRDIR  missing
                    "Discussion of
                    SQR,
                    Brio
                    Technology's
                    database
                    reporting
                    language"
                    


                    07/12/2001 03:12
                    PM
                    Please respond
                    to sqr-users






I haven't written any SQRs in a while. So, I don't remember the resolution
to the SQRDIR problem. Does anybody recall what the problem and solution
would be?
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

From owner-sqr-users@list.iex.net  Thu Jul 12 17:56:22 2001
Date:         Thu, 12 Jul 2001 15:49:37 -0700
From: BOB LANG 
Subject:      SQRDIR  missing - Problem Sovled!!!!!!!!

I needed to use the -ZIF option to point to the PSSQR.INI file since I was
running outside of PeopleSoft.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

From owner-sqr-users@list.iex.net  Thu Jul 12 18:06:40 2001
Date:         Thu, 12 Jul 2001 16:01:00 -0700
From: BOB LANG 
Subject:      Re: SQRDIR missing

Thanks Chuck.


>From: Chuck.L.King@SEALEDAIR.COM
>Reply-To: sqr-users@list.iex.net
>To: SQR-USERS@list.iex.net
>Subject: Re: SQRDIR  missing
>Date: Thu, 12 Jul 2001 15:24:11 -0500
>
>Right-click on My Computer and select properties and enviorment.   Create a
>variable named SQRDIR and set it to the path of your SQR3 report directory.
>
>Chuck L. King
>Information Systems Support
>TEL (940) 592-2111 x511
>FAX (940) 592-2665
>
>
>
>
>                     BOB LANG
>                                          TMAIL.COM>              cc:
>                     Sent by:                Subject:     SQRDIR  missing
>                     "Discussion of
>                     SQR,
>                     Brio
>                     Technology's
>                     database
>                     reporting
>                     language"
>                                          iex.net>
>
>
>                     07/12/2001 03:12
>                     PM
>                     Please respond
>                     to sqr-users
>
>
>
>
>
>
>I haven't written any SQRs in a while. So, I don't remember the resolution
>to the SQRDIR problem. Does anybody recall what the problem and solution
>would be?
>_________________________________________________________________
>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  Fri Jul 13 03:39:45 2001
Date:         Fri, 13 Jul 2001 15:38:55 +0700
From: Naiyanad Ohpanayikool 
Subject:      Problem with putting -Mfile parameter

I have a constant file which contains only #define statements (heaps of
them...around 1000+) and that file is save in a file format *.sqh

When I run the program which include this constant file. There's an error
saying "(SQR 3601) Out of substitution or #DEFINE variables; use -Mfile to
increase SUBVARS."

So, I created a text file containing only the subvars limitation as
SUBVARS=10000, save as 'allmaxes.max' and then put the -Mallmaxes.max in
the preferences in BRIO Report Builder 6.1.3. (By the way, did I do this
correctly? Is it necessary to put all the limitations into this file? or
only subvars can do?)

This solves the subvars problem. However, when I put the -Mfile parameter
in BRIO and run the program, there's an error saying "Failed to create
(this program)_frm.htm" and the output comes out wrong (no images). I then
removed the -Mfile parameter, comment out the include file, and run again.
The output is OK.

Another thing is, when the -Mfile parameter is set in the preferences,
whatever changes I make to the code don't seem to affect the program. It
will only generate the old output for me. Anybody help me please....

Thanks!
Nai
______________________________
Naiyanad Ohpanayikool
Microsoft Solution Organisation, Accenture Bangkok
Tel: +662 636-1616
naiyanad.ohpanayikool@accenture.com
This message is for the designated recipient only and may contain
privileged or confidential information.  If you have received it in error,
please notify the sender immediately and delete the original.  Any other
use of the email by you is prohibited.

From owner-sqr-users@list.iex.net  Fri Jul 13 08:18:34 2001
Date:         Fri, 13 Jul 2001 09:15:20 -0400
From: Kenneth Lawrence Gartman 
Subject:      Re: Problem with putting -Mfile parameter

Hello, Naiyanad!

Why do you use so many #DEFINE statements?
Are they all necessary?
How big is your program?

    Happy computing,
    Ken Gartman


Naiyanad Ohpanayikool wrote:

> I have a constant file which contains only #define statements (heaps of
> them...around 1000+) and that file is save in a file format *.sqh
>
> When I run the program which include this constant file. There's an error
> saying "(SQR 3601) Out of substitution or #DEFINE variables; use -Mfile to
> increase SUBVARS."
>
> So, I created a text file containing only the subvars limitation as
> SUBVARS=10000, save as 'allmaxes.max' and then put the -Mallmaxes.max in
> the preferences in BRIO Report Builder 6.1.3. (By the way, did I do this
> correctly? Is it necessary to put all the limitations into this file? or
> only subvars can do?)
>
> This solves the subvars problem. However, when I put the -Mfile parameter
> in BRIO and run the program, there's an error saying "Failed to create
> (this program)_frm.htm" and the output comes out wrong (no images). I then
> removed the -Mfile parameter, comment out the include file, and run again.
> The output is OK.
>
> Another thing is, when the -Mfile parameter is set in the preferences,
> whatever changes I make to the code don't seem to affect the program. It
> will only generate the old output for me. Anybody help me please....
>
> Thanks!
> Nai
> ______________________________
> Naiyanad Ohpanayikool
> Microsoft Solution Organisation, Accenture Bangkok
> Tel: +662 636-1616
> naiyanad.ohpanayikool@accenture.com
> This message is for the designated recipient only and may contain
> privileged or confidential information.  If you have received it in error,
> please notify the sender immediately and delete the original.  Any other
> use of the email by you is prohibited.

From owner-sqr-users@list.iex.net  Sat Jul 14 22:44:04 2001
Date:         Sun, 15 Jul 2001 10:26:29 +0700
From: Naiyanad Ohpanayikool 
Subject:      Re: Problem with putting -Mfile parameter

I want to use constant files for all the constants to avoid hard coding.
They all are not necessary at the moment but will be needed in the future.

Nai
______________________________
Naiyanad Ohpanayikool
Microsoft Solution Organisation, Accenture Bangkok
Tel: +662 636-1616
naiyanad.ohpanayikool@accenture.com



            Kenneth Lawrence
            Gartman                       To:     SQR-USERS@list.iex.net
                        cc:
            Sent by: "Discussion          Subject:     Re: Problem with putting -Mfile parameter
            of SQR,
            Brio Technology's
            database reporting
            language"
            


            07/13/2001 08:15 PM
            Please respond to
            sqr-users






Hello, Naiyanad!

Why do you use so many #DEFINE statements?
Are they all necessary?
How big is your program?

    Happy computing,
    Ken Gartman


Naiyanad Ohpanayikool wrote:

> I have a constant file which contains only #define statements (heaps of
> them...around 1000+) and that file is save in a file format *.sqh
>
> When I run the program which include this constant file. There's an error
> saying "(SQR 3601) Out of substitution or #DEFINE variables; use -Mfile
to
> increase SUBVARS."
>
> So, I created a text file containing only the subvars limitation as
> SUBVARS=10000, save as 'allmaxes.max' and then put the -Mallmaxes.max in
> the preferences in BRIO Report Builder 6.1.3. (By the way, did I do this
> correctly? Is it necessary to put all the limitations into this file? or
> only subvars can do?)
>
> This solves the subvars problem. However, when I put the -Mfile parameter
> in BRIO and run the program, there's an error saying "Failed to create
> (this program)_frm.htm" and the output comes out wrong (no images). I
then
> removed the -Mfile parameter, comment out the include file, and run
again.
> The output is OK.
>
> Another thing is, when the -Mfile parameter is set in the preferences,
> whatever changes I make to the code don't seem to affect the program. It
> will only generate the old output for me. Anybody help me please....
>
> Thanks!
> Nai
> ______________________________
> Naiyanad Ohpanayikool
> Microsoft Solution Organisation, Accenture Bangkok
> Tel: +662 636-1616
> naiyanad.ohpanayikool@accenture.com
> This message is for the designated recipient only and may contain
> privileged or confidential information.  If you have received it in
error,
> please notify the sender immediately and delete the original.  Any other
> use of the email by you is prohibited.


This message is for the designated recipient only and may contain
privileged or confidential information.  If you have received it in error,
please notify the sender immediately and delete the original.  Any other
use of the email by you is prohibited.

From owner-sqr-users@list.iex.net  Fri Jul 13 05:06:25 2001
Date:         Fri, 13 Jul 2001 10:58:31 +0100
From: Steve Hearne 
Subject:      SQR Editor - thanks all

Thanks for your advice.  Going download UltraEdit for a test run shortly.
Cheers,
Steve

From owner-sqr-users@list.iex.net  Fri Jul 13 11:59:31 2001
Date:         Fri, 13 Jul 2001 11:54:49 -0500
From: Don Mellen 
Subject:      Ultra-Edit wordfile.txt available

Since so many other people seem to be using Ultra-Edit, I put up the
updated sqr_wordfile.txt I use when using UE at...

   https://www.ontko.com/sqr/

(that's our sqr library page).  I've updated the syntax file to version
6.1.4 of SQR (let me know off-list if you find anything missing so I can
update the file)

HTH,
-----------------------------------------------------------------------
Donald Mellen  | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/
donm@ontko.com |  "In the beginning, there was nothing, which exploded"

From owner-sqr-users@list.iex.net  Fri Jul 13 12:52:42 2001
Date:         Fri, 13 Jul 2001 13:46:41 -0400
From: Rick_Creel@AONCONS.COM
Subject:      How to use HINT statement in SQR ?

I am trying use a HINT in an SQR select.  The only way I could get it to be
accepted syntax-wise was to code the statement like this:

begin-select distinct on-error=sql_error
/*+ALL_ROWS*/
pa.business_unit      &pa.business_unit
pa.contract_num_pc    &pa.contract_num_pc
pa.contract_line_num  &pa.contract_line_num
cl.eff_status         &cl.eff_status
cl.effdt              &cl.effdt
   do process_stuff
from ps_proj_activity   pa,
     ps_pc_contract_lin cl
where pa.business_unit = $req_business_unit
and   pa.project_id    = $req_project_id
and   blah blah blah
end-select

When SQR parses out this command, it becomes:

select distinct /*+ALL_ROWS*/ pa.business_unit,
pa.contract_num_pc,
pa.contract_line_num   .... blah blah blah

However, in order for it to work properly, it needs to be parsed as:

select  /*+ALL_ROWS*/ distinct pa.business_unit,
pa.contract_num_pc,
pa.contract_line_num   .... blah blah blah

Anyone know how to make this happen?  I have tried many different versions of
the BEGIN-SELECT statement,
but the only one I could get to work was the one shown above.

Any help would be greatly appreciated!

From owner-sqr-users@list.iex.net  Fri Jul 13 12:59:04 2001
Date:         Fri, 13 Jul 2001 13:58:04 -0400
From: Scott Eubank 
Subject:      Re: How to use HINT statement in SQR ?

begin-sql
select distinct /*+ALL_ROWS*/ pa.business_unit,
pa.contract_num_pc,
pa.contract_line_num   .... blah blah blah

end-sql

should work

-----Original Message-----
From: Rick_Creel@AONCONS.COM [mailto:Rick_Creel@AONCONS.COM]
Sent: Friday, July 13, 2001 1:47 PM
To: SQR-USERS@list.iex.net
Subject: How to use HINT statement in SQR ?


I am trying use a HINT in an SQR select.  The only way I could get it to be
accepted syntax-wise was to code the statement like this:

begin-select distinct on-error=sql_error
/*+ALL_ROWS*/
pa.business_unit      &pa.business_unit
pa.contract_num_pc    &pa.contract_num_pc
pa.contract_line_num  &pa.contract_line_num
cl.eff_status         &cl.eff_status
cl.effdt              &cl.effdt
   do process_stuff
from ps_proj_activity   pa,
     ps_pc_contract_lin cl
where pa.business_unit = $req_business_unit
and   pa.project_id    = $req_project_id
and   blah blah blah
end-select

When SQR parses out this command, it becomes:

select distinct /*+ALL_ROWS*/ pa.business_unit,
pa.contract_num_pc,
pa.contract_line_num   .... blah blah blah

However, in order for it to work properly, it needs to be parsed as:

select  /*+ALL_ROWS*/ distinct pa.business_unit,
pa.contract_num_pc,
pa.contract_line_num   .... blah blah blah

Anyone know how to make this happen?  I have tried many different versions
of
the BEGIN-SELECT statement,
but the only one I could get to work was the one shown above.

Any help would be greatly appreciated!

From owner-sqr-users@list.iex.net  Fri Jul 13 13:35:09 2001
Date:         Fri, 13 Jul 2001 11:32:06 -0700
From: Arun Kumar 
Subject:      Re: How to use HINT statement in SQR ?

Rick
try this....


begin-select on-error=sql_error
/*+ALL_ROWS*/
distinct pa.business_unit      &pa.business_unit
pa.contract_num_pc    &pa.contract_num_pc

--- Rick_Creel@AONCONS.COM wrote:
> I am trying use a HINT in an SQR select.  The only
> way I could get it to be
> accepted syntax-wise was to code the statement like
> this:
>
> begin-select distinct on-error=sql_error
> /*+ALL_ROWS*/
> pa.business_unit      &pa.business_unit
> pa.contract_num_pc    &pa.contract_num_pc
> pa.contract_line_num  &pa.contract_line_num
> cl.eff_status         &cl.eff_status
> cl.effdt              &cl.effdt
>    do process_stuff
> from ps_proj_activity   pa,
>      ps_pc_contract_lin cl
> where pa.business_unit = $req_business_unit
> and   pa.project_id    = $req_project_id
> and   blah blah blah
> end-select
>
> When SQR parses out this command, it becomes:
>
> select distinct /*+ALL_ROWS*/ pa.business_unit,
> pa.contract_num_pc,
> pa.contract_line_num   .... blah blah blah
>
> However, in order for it to work properly, it needs
> to be parsed as:
>
> select  /*+ALL_ROWS*/ distinct pa.business_unit,
> pa.contract_num_pc,
> pa.contract_line_num   .... blah blah blah
>
> Anyone know how to make this happen?  I have tried
> many different versions of
> the BEGIN-SELECT statement,
> but the only one I could get to work was the one
> shown above.
>
> Any help would be greatly appreciated!


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

From owner-sqr-users@list.iex.net  Fri Jul 13 13:39:16 2001
Date:         Fri, 13 Jul 2001 14:33:18 -0400
From: Rick_Creel@AONCONS.COM
Subject:      Re: How to use HINT statement in SQR ?

I tried Scott's syntax and it does NOT work.  According to the manual, a SELECT
statement may not be used in a BEGIN-SQL / END-SQL construct.  Select statements
must be used in a BEGIN-SELECT statement.

Any other suggestions?

Thanks again.





Scott Eubank  on 07/13/2001 01:58:04 PM

Please respond to sqr-users@list.iex.net

To:   SQR-USERS@list.iex.net
cc:    (bcc: Rick Creel/IT/Aon Consulting)

Subject:  Re: How to use HINT statement in SQR ?



begin-sql
select distinct /*+ALL_ROWS*/ pa.business_unit,
pa.contract_num_pc,
pa.contract_line_num   .... blah blah blah

end-sql

should work

-----Original Message-----
From: Rick_Creel@AONCONS.COM [mailto:Rick_Creel@AONCONS.COM]
Sent: Friday, July 13, 2001 1:47 PM
To: SQR-USERS@list.iex.net
Subject: How to use HINT statement in SQR ?


I am trying use a HINT in an SQR select.  The only way I could get it to be
accepted syntax-wise was to code the statement like this:

begin-select distinct on-error=sql_error
/*+ALL_ROWS*/
pa.business_unit      &pa.business_unit
pa.contract_num_pc    &pa.contract_num_pc
pa.contract_line_num  &pa.contract_line_num
cl.eff_status         &cl.eff_status
cl.effdt              &cl.effdt
   do process_stuff
from ps_proj_activity   pa,
     ps_pc_contract_lin cl
where pa.business_unit = $req_business_unit
and   pa.project_id    = $req_project_id
and   blah blah blah
end-select

When SQR parses out this command, it becomes:

select distinct /*+ALL_ROWS*/ pa.business_unit,
pa.contract_num_pc,
pa.contract_line_num   .... blah blah blah

However, in order for it to work properly, it needs to be parsed as:

select  /*+ALL_ROWS*/ distinct pa.business_unit,
pa.contract_num_pc,
pa.contract_line_num   .... blah blah blah

Anyone know how to make this happen?  I have tried many different versions
of
the BEGIN-SELECT statement,
but the only one I could get to work was the one shown above.

Any help would be greatly appreciated!

From owner-sqr-users@list.iex.net  Fri Jul 13 14:00:50 2001
Date:         Fri, 13 Jul 2001 13:57:26 -0500
From: Don Mellen 
Subject:      Re: How to use HINT statement in SQR ?

On Fri, 13 Jul 2001 Rick_Creel@AONCONS.COM wrote:

> I tried Scott's syntax and it does NOT work.  According to the manual, a
> SELECT statement may not be used in a BEGIN-SQL / END-SQL construct.
> Select statements must be used in a BEGIN-SELECT statement.
>
> Any other suggestions?

Well, other than trying /*+ ALL_ROWS */ instead of /*+ALL_ROWS*/ you could
always group by....

begin-select on-error=sql_error
/*+ ALL_ROWS */
pa.business_unit      &pa.business_unit
pa.contract_num_pc    &pa.contract_num_pc
pa.contract_line_num  &pa.contract_line_num
cl.eff_status         &cl.eff_status
cl.effdt              &cl.effdt
   do process_stuff
from ps_proj_activity   pa,
     ps_pc_contract_lin cl
where pa.business_unit = $req_business_unit
  and pa.project_id    = $req_project_id
  and blah blah blah
group by pa.business_unit,
         pa.contract_num_pc,
         pa.contract_line_num,
         cl.eff_status
end-select


-----------------------------------------------------------------------
Donald Mellen  | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/
donm@ontko.com |  "In the beginning, there was nothing, which exploded"

From owner-sqr-users@list.iex.net  Fri Jul 13 13:50:27 2001
Date:         Fri, 13 Jul 2001 12:45:29 -0600
From: Jon Alsager 
Subject:      Re: How to use HINT statement in SQR ?

While I'm not familiar with using Oracle hints, I did find this in the
archives:

"Place your Oracle hint on the same line as the Begin-Select -- NOT on
its
own line and especially not in column 1."

I searched under 'hints'.

HTH.

Jon

-----Original Message-----
From: Rick_Creel@AONCONS.COM [mailto:Rick_Creel@AONCONS.COM]
Sent: Friday, July 13, 2001 12:33 PM
To: SQR-USERS@list.iex.net
Subject: Re: How to use HINT statement in SQR ?


I tried Scott's syntax and it does NOT work.  According to the manual, a
SELECT
statement may not be used in a BEGIN-SQL / END-SQL construct.  Select
statements
must be used in a BEGIN-SELECT statement.

Any other suggestions?

Thanks again.





Scott Eubank  on 07/13/2001 01:58:04 PM

Please respond to sqr-users@list.iex.net

To:   SQR-USERS@list.iex.net
cc:    (bcc: Rick Creel/IT/Aon Consulting)

Subject:  Re: How to use HINT statement in SQR ?



begin-sql
select distinct /*+ALL_ROWS*/ pa.business_unit,
pa.contract_num_pc,
pa.contract_line_num   .... blah blah blah

end-sql

should work

-----Original Message-----
From: Rick_Creel@AONCONS.COM [mailto:Rick_Creel@AONCONS.COM]
Sent: Friday, July 13, 2001 1:47 PM
To: SQR-USERS@list.iex.net
Subject: How to use HINT statement in SQR ?


I am trying use a HINT in an SQR select.  The only way I could get it to
be
accepted syntax-wise was to code the statement like this:

begin-select distinct on-error=sql_error
/*+ALL_ROWS*/
pa.business_unit      &pa.business_unit
pa.contract_num_pc    &pa.contract_num_pc
pa.contract_line_num  &pa.contract_line_num
cl.eff_status         &cl.eff_status
cl.effdt              &cl.effdt
   do process_stuff
from ps_proj_activity   pa,
     ps_pc_contract_lin cl
where pa.business_unit = $req_business_unit
and   pa.project_id    = $req_project_id
and   blah blah blah
end-select

When SQR parses out this command, it becomes:

select distinct /*+ALL_ROWS*/ pa.business_unit,
pa.contract_num_pc,
pa.contract_line_num   .... blah blah blah

However, in order for it to work properly, it needs to be parsed as:

select  /*+ALL_ROWS*/ distinct pa.business_unit,
pa.contract_num_pc,
pa.contract_line_num   .... blah blah blah

Anyone know how to make this happen?  I have tried many different
versions
of
the BEGIN-SELECT statement,
but the only one I could get to work was the one shown above.

Any help would be greatly appreciated!

From owner-sqr-users@list.iex.net  Fri Jul 13 14:12:36 2001
Date:         Fri, 13 Jul 2001 15:08:48 -0400
From: George Jansen 
Subject:      Re: How to use HINT statement in SQR ?

Within Oracle, you can use an in-line view for the DISTINCT selection
the following SQR
******
begin-program
begin-select
/*+ALL_ROWS */
emplid (+1,1)
name   (,10)
descr  (,40)
from
(select distinct
p.emplid,
p.name,
jc.descr
from ps_personal_data p, ps_job j, ps_jobcode_tbl jc
where p.emplid = j.emplid
  and j.jobcode = jc.jobcode
)
order by name
end-select
end-program
******

when run, does pass through the hint, as you can see from the following
output:


>sqr -S hintit
Enter Username: gjansen
Enter Password:

SQR V4.3.2.2
Copyright (C) SQRIBE Technologies, 1994-98.  All Worldwide Rights
Reserved.


Cursor Status:

 Cursor #1:
   SQL = select /*+ALL_ROWS */emplid, name, descr  from (select
distinct
         p.emplid, p.name, jc.descr from ps_personal_data p, ps_job j,
         ps_jobcode_tbl jc where p.emplid = j.emplid and j.jobcode =
         jc.jobcode ) order by name
 Compiles = 1
 Executes = 1
 Rows     = 2134


SQR: End of Run.

From owner-sqr-users@list.iex.net  Fri Jul 13 15:24:44 2001
Date:         Fri, 13 Jul 2001 13:19:01 -0700
From: "Van, Lily @ IT Center" 
Subject:      How do I get the filename from a dos directory?

Hi all,

Does anyone know how to get a 'filename' into SQR so the file name can be
manipulated?

The original request was to copy a filename that is greater than 8
characters in length from a specified directory (DOS) into another directory
with a filename that only has 8 characters.  This renaming needs to be
automated in a .BAT file.

Example:   copy c:\temp\test01012001.pos  c:\01012001.pos

Any help is greatly appreciated.

Cara

From owner-sqr-users@list.iex.net  Fri Jul 13 15:46:59 2001
Date:         Fri, 13 Jul 2001 16:35:10 -0400
From: Jamie Harris 
Subject:      Re: How do I get the filename from a dos directory?

Are there any patterns to the names of the files?

You may not need to use SQR at all.

In the example you gave,  "copy c:\temp\test01012001.pos  c:\01012001.pos" you could type:

copy c:\temp\test*.pos c:\*.pos

That would do what you're asking.

This works in reverse too, if you ever need to add a word to the beginning or end of every filename.


-----------------------------------------------------
Jamie Harris
Junior Programmer/Analyst/Software Integrator
Office of Information Technology
Frederick Community College
-----------------------------------------------------

>>> LVan@CBRE.COM 7/13/2001 4:19:01 PM >>>
Hi all,

Does anyone know how to get a 'filename' into SQR so the file name can be
manipulated?

The original request was to copy a filename that is greater than 8
characters in length from a specified directory (DOS) into another directory
with a filename that only has 8 characters.  This renaming needs to be
automated in a .BAT file.

Example:   copy c:\temp\test01012001.pos  c:\01012001.pos

Any help is greatly appreciated.

Cara

From owner-sqr-users@list.iex.net  Fri Jul 13 15:47:19 2001
Date:         Fri, 13 Jul 2001 16:50:44 -0400
From: Scott Barnes 
Subject:      Re: How do I get the filename from a dos directory?

Run a dos command to pipe the directory into a file by using
call-system.  Make sure you order it in a way that will make life easy for
you,
then read the file and parse through it until you get your file name./


scotty


At 04:19 PM 7/13/01, you wrote:
>Hi all,
>
>Does anyone know how to get a 'filename' into SQR so the file name can be
>manipulated?
>
>The original request was to copy a filename that is greater than 8
>characters in length from a specified directory (DOS) into another directory
>with a filename that only has 8 characters.  This renaming needs to be
>automated in a .BAT file.
>
>Example:   copy c:\temp\test01012001.pos  c:\01012001.pos
>
>Any help is greatly appreciated.
>
>Cara


----------

Scott A Barnes
Programmer/Analyst
Wesleyan University
North College
860-685-2807


----------

From owner-sqr-users@list.iex.net  Fri Jul 13 17:16:47 2001
Date:         Fri, 13 Jul 2001 18:14:17 -0400
From: Geek Unlimited 
Subject:      Re: How do I get the filename from a dos directory?

>Does anyone know how to get a 'filename' into SQR so the file name
>can be manipulated?
>
>This renaming needs to be automated in a .BAT file.

Tell us more about what you want.  You don't need to use SQR if
you are running a .BAT process.

By the way, the following is mis-information:

>>In the example you gave,  "copy c:\temp\test01012001.pos
>>c:\01012001.pos" you could type:

>>copy c:\temp\test*.pos c:\*.pos

>>That would do what you're asking.

The file would copy to the new directory with the name unchanged.

>>This works in reverse too, if you ever need to add a word to the
>>beginning or end of every filename.

The best you could hope for is to overwrite the beginning characters.
"Copy c:\01012001.pos c:\temp\test*.pos"  would yield:
c:\temp\test2001.pos

The Geek   @{o,o}@

From owner-sqr-users@list.iex.net  Mon Jul 16 08:49:54 2001
Date:         Mon, 16 Jul 2001 09:38:34 -0400
From: Jamie Harris 
Subject:      Re: How do I get the filename from a dos directory?

The Geek is correct - the commands I gave do NOT work.  Sorry about the confusion - I could swear that I had done that before.  The closest you can come to what I was telling you to do is remove a word from the beginning of multiple files with the same name but different extensions (ie. test0001.doc, test0001.txt, test0001.tmp, test0001.pos, test0001.etc) by the following:
ren test0001.* 0001.*

Since you've got multiple files with the same extension, it can't be done this way.  I'd use Perl to do it, but it can certainly be done with SQR - as someone else mentioned you can do a directory listing and pipe it into a file which SQR can then open and parse.

Look into the "/B" switch on the Dir command.  "DIR /B" gives you filenames only - no other information.  It's much easier to parse that way.

-----------------------------------------------------
Jamie Harris
Junior Programmer/Analyst/Software Integrator
Office of Information Technology
Frederick Community College
-----------------------------------------------------

>>> geek.unlimited@MINDSPRING.COM 7/13/2001 6:14:17 PM >>>
>Does anyone know how to get a 'filename' into SQR so the file name
>can be manipulated?
>
>This renaming needs to be automated in a .BAT file.

Tell us more about what you want.  You don't need to use SQR if
you are running a .BAT process.

By the way, the following is mis-information:

>>In the example you gave,  "copy c:\temp\test01012001.pos
>>c:\01012001.pos" you could type:

>>copy c:\temp\test*.pos c:\*.pos

>>That would do what you're asking.

The file would copy to the new directory with the name unchanged.

>>This works in reverse too, if you ever need to add a word to the
>>beginning or end of every filename.

The best you could hope for is to overwrite the beginning characters.
"Copy c:\01012001.pos c:\temp\test*.pos"  would yield:
c:\temp\test2001.pos

The Geek   @{o,o}@

From owner-sqr-users@list.iex.net  Mon Jul 16 10:44:34 2001
Date:         Mon, 16 Jul 2001 08:24:52 -0700
From: vishwanath kanagal 
Subject:      Re: How do I get the filename from a dos directory?

--0-933771484-995297092=:64295
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

hi

HERE IS THE FILE READING Program, PLEASE FEEL FREE TO
USE IT.

Cheers

VISHWANATH KANAGAL

P.S.  Its just a sample program for reading files






__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
--0-933771484-995297092=:64295
Content-Type: text/plain; name="TESTFIL.SQR"
Content-Description: TESTFIL.SQR
Content-Disposition: inline; filename="TESTFIL.SQR"

!***********************************************************************
!  TSTFIL:  Loading Daily ************ Feeds to Peoplesoft             *
!***********************************************************************
! AUTHOR:    Vishwanath Kanagal (VISH) -  PEOPLESOFT CONSULTANT        *
! DATE:      04/06/98                                                  *
!***********************************************************************
!                                                                      *
! PROGRAM        THIS PROGRAM WILL LOAD THE DAILY ****** FEED INTO     *
! DESCRIPTION:   PEOPLESOFT. WE GET DAILY ****** FEED IN OUR TAMPA     *
!                DIRECOTRY LOCATED IN PSDIR \\PSDIR\TAMPA              *
!                                                                      *
!                THIS PROGRAM WILL BE TRIGGERED BY PROCESS SCHEDULER   *
!                DAILY AT 9 AM AND THIS PROGRAM READS THE FILE AND     *
!                LOADS INTO TEMP TABLE, THEN ON AFTER VALIDATION WITH  *
!                CURRENT BI SYSTEM (PEOPLESOFT) IT WOULD LOAD INTO     *
!                THE PEOPLESOFT TABLES.                                *
!                                                                      *
!                                                                      *
!***********************************************************************
!                                                                      *
!***********************************************************************
!***********************************************************************


#INCLUDE 'SETENV.SQC'



!----------------------------------------------------------------------------
!       Substitution Variables Defined
!----------------------------------------------------------------------------
#define LOADPATH                'C:\ABC'

BEGIN-PROGRAM
DISPLAY 'I AM HERE'


BEGIN-SELECT
DB_NAME()   &DBNME
END-SELECT

LET $DBNAME = &DBNME
 DISPLAY &DBNME
 DISPLAY 'DISPLAYING DATABASE NAME: '
 DISPLAY $DBNAME


DO INIT_FILES

END-PROGRAM



!************************************************************************
! Procedure:    init_files
! Description:  Initialize field, and open file for processing
!************************************************************************
begin-procedure init_files

move 'N'            to $ERRORS_FOUND
move $IN_SETID      to $SETID

LET $PATH = {LOADPATH}
LET #IS_C_ABC=EXISTS($PATH)

IF #IS_C_ABC <> 0
   SHOW 'DIR DO NOT EXIST '  $PATH
    STOP
ELSE
   SHOW 'DIRECTORY EXISTS ' $PATH
END-IF

SHOW ' '

! READING THE DIRECTORY HAVING *.TXT
! AND transmitting INFO TO TXTLIST.DIR


let $dir = '"dir ' || $PATH || '\*.txt /L /on /b > ' || $PATH || '\txtlist.dir "'

! TAKE A LOOK ABOVE FOR " ITS NOT ' ITS "

LET $COMMAND = $DIR

SHOW 'THIS IS THE COMMAND: ' $DIR

SHOW ' '

let $runlisting =  getenv('COMSPEC') || ' /C @start /min /wait ' || GETENV('COMSPEC') || ' /c  '

LET $EXCDIRCMD = $runlisting || $command

SHOW ' THIS IS RUNLISTING : ' $EXCDIRCMD

SHOW ' '

Call System Using $EXCDIRCMD #retval WAIT

SHOW 'RETVAL1 :' #RETVAL

IF #RETVAL <> 0
   SHOW 'ERROR EXECUTING DIR COMMAND ON C:\ABC DIRECTORY'
   STOP
END-IF

let $outfile = $path || '\TXTLIST.DIR'

open $OUTFILE as 1 for-reading record=80:Vary  status=#FILESTAT1

if #FILESTAT1 != 0
   show 'Error in opening file ' $FILENAME
   let #return_status = -1
   stop
end-if


  while #end-file=0 or #FILESTAT1<>0
    ! read until EOF, or #FILESTAT1 returned by READ is not 0
    read 1 into $TEMP:40
    if NOT (#END-FILE = 1)
      LET $FILENAME = RTRIM($TEMP,' ')
      UPPERCASE $FILENAME
      show ' '
      show 'here is the file name : ' $filename
      show ' '
      DO PROCESSFILE($path, $FILENAME)
    end-if
  end-while

CLOSE 1

let $CXCOPY = '"XCOPY ' || $PATH || ' ' || $PATH || '\OLD /Y "'

LET $EXCCPYCMD = $runlisting || $CXCOPY

Call System Using $EXCCPYCMD #retval WAIT

SHOW 'RETVAL2 :' #RETVAL

IF #RETVAL <> 0
   SHOW 'ERROR EXECUTING COPY COMMAND ON C:\ABC DIRECTORY'
   STOP
ELSE
   SHOW 'SUCCESSFUL COPY : '
END-IF


LET $CDEL = '" DEL ' || $PATH || '\*.TXT "'

LET $EXCDELCMD = $runlisting || $CDEL

Call System Using $EXCDELCMD #retval WAIT

SHOW 'RETVAL3 :' #RETVAL

IF #RETVAL <> 0
   SHOW 'ERROR EXECUTING DEL COMMAND ON C:\ABC DIRECTORY'
   STOP
ELSE
   SHOW 'SUCCESSFUL DELETE: '
END-IF

END-PROCEDURE INIT_FILES




!************************************************************************
! Procedure:    PROCESSFILE
! Description:  Initialize field, and open file for processing
!************************************************************************
begin-procedure PROCESSFILE($cpath, $LCLFILE)

let $opath_file = $cpath || '\' || $lclfile
let $newfilename = $cpath || '\D_' || $lclfile

if substr($lclfile,1,2) <> 'D_'

open $opath_file as 2 for-reading record=80:Vary  status=#FILESTAT3

  IF #FILESTAT3 = 0
    CLOSE 2
  ELSE
    SHOW 'ERROR Opening File : ' $opath_file
  END-IF

  IF #FILESTAT3 = 0

        let #status = rename($opath_file,$newfilename)

        if #status = 0
            show 'file ' $filename ' renamed to ' $newfilename
        else
            show 'error renaming ' $filename ' to ' $newfilename ', status = ' #status
        end-if
  END-IF
ELSE
   SHOW 'THIS FILE IS ALREADY READ INTO SYSTEM: ' $OPATH_FILE
END-IF

END-PROCEDURE

--0-933771484-995297092=:64295--

From owner-sqr-users@list.iex.net  Mon Jul 16 12:00:59 2001
Date:         Mon, 16 Jul 2001 13:55:19 -0300
From: Peter Clark 
Subject:      Numeric decimal positioning

I am reading a flat file that contains a numeric field that I need to insert into a table.

The field contains, for example, the value 123456789. The column in the table is defined 5.4 i.e. 5 integer positions and 4 decimal positions.

How do I define to SQR that the field read from the flat file has an implied decimal point between the fifth and sixth numbers of the field so that when I look at the table column, I will see 12345.6789 instead of 56789.0000?

I suspect that there is some way to do it with a declare-variable but the reference manual is confusing and lacking in examples.

Thanks for any help,
Peter

From owner-sqr-users@list.iex.net  Mon Jul 16 12:11:51 2001
Date:         Mon, 16 Jul 2001 10:08:20 -0700
From: Rachael Beatty 
Subject:      Re: Numeric decimal positioning

--0__=ZQL6P0JK0frCwyzVduuaK80C1njEe3bE8S5u1LG6Bahg3mOiItmy25xo
Content-Type: text/plain;
 charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: 7bit




I would read the value in as a string and then format edit($variable,
'99999.9999')

hope that helps,

Rachael

>  -----Original Message-----
> From:   "Peter Clark" @INTERNET
> Sent:   Monday, July 16, 2001 9:55 AM
> To:     SQR-USERS@list.iex.net
> Subject:     Numeric decimal positioning
>
>
> I am reading a flat file that contains a numeric field that I need to
> insert into a table.
>
> The field contains, for example, the value 123456789. The column in the
> table is defined 5.4 i.e. 5 integer positions and 4 decimal positions.
>
> How do I define to SQR that the field read from the flat file has an
> implied decimal point between the fifth and sixth numbers of the field so
> that when I look at the table column, I will see 12345.6789 instead of
> 56789.0000?
>
> I suspect that there is some way to do it with a declare-variable but the
> reference manual is confusing and lacking in examples.
>
> Thanks for any help,
> Peter
>

(See attached file: C.DTF)

--0__=ZQL6P0JK0frCwyzVduuaK80C1njEe3bE8S5u1LG6Bahg3mOiItmy25xo
Content-Type: application/octet-stream;
 name=C.DTF
Content-Disposition: attachment;
 filename=C.DTF
Content-Transfer-Encoding: base64

eJ8+IicQAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQWAAwAOAAAA0QcHABAACgAIABQAAQAWAQEggAMADgAAANEHBwAQ
AAkANQAlAAEAUwEBCYABACEAAABBOUQzREI2RTAwN0FENTExQUM0MjAwMDBFODY3QzBFRgA3BwEE
gAEAIAAAAFJFOiBOdW1lcmljIGRlY2ltYWwgcG9zaXRpb25pbmcAhgsBDYAEAAIAAAACAAIAAQOQ
BgC0CgAAMwAAAAMAAW4AAAAAAwAAgAggBgAAAAAAwAAAAAAAAEYAAAAAUoUAAH1uAQAeAAGACCAG
AAAAAADAAAAAAAAARgAAAABUhQAAAQAAAAQAAAA5LjAACwACgAggBgAAAAAAwAAAAAAAAEYAAAAA
BoUAAAAAAAADAAOACCAGAAAAAADAAAAAAAAARgAAAAABhQAAAAAAAAsABIAIIAYAAAAAAMAAAAAA
AABGAAAAAAOFAAAAAAAACwAFgAggBgAAAAAAwAAAAAAAAEYAAAAADoUAAAAAAAADAAaACCAGAAAA
AADAAAAAAAAARgAAAAAQhQAAAAAAAAMAB4AIIAYAAAAAAMAAAAAAAABGAAAAABGFAAAAAAAACwAP
gAggBgAAAAAAwAAAAAAAAEYAAAAAFIUAAAAAAAADAAiACCAGAAAAAADAAAAAAAAARgAAAAAYhQAA
AAAAAAsAEYAIIAYAAAAAAMAAAAAAAABGAAAAAIKFAAABAAAAAgEJEAEAAADuAwAA6gMAAOgFAABM
WkZ1sGKRYgMACgByY3BnMTI1PjIA9AH3AqQD4wIAY2jBCsBzZXQwIAcTAoNjAFAPpnBycQ5QEBhU
PGFoA3ECgx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AAA0QcHABAACgAIABMA
AQAVAQIFkAYAzA4AAA0AAAADACEOAAAAAAMACzc1AQAAAwAgDk4OAAADAPcPAAAAAAIBEGgBAAAA
DgAAAAAAAAAAAAAAAAAAAAAAAABAAAcwQNEk6RkOwQFAAAgwQNEk6RkOwQEDAAU3BgAAAAIBAjcB
AAAAAAAAAB4AATABAAAAAQAAAAAAAAACAQo3AQAAAAsAAAAqhkiG9xQDCgMCAQACAfkPAQAAABAA
AAB1dwiM/nnVEbqnAASsTKV3DQABNwEAAAAQDgAACwAAAAAAAADAAAAAAAAARtDPEeChsRrhAAAA
AAAAAAAAAAAAAAAAAD4AAwD+/wkABgAAAAAAAAAAAAAAAQAAAAEAAAAAAAAAABAAAAIAAAABAAAA
/v///wAAAAAAAAAA////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////f///wQAAAD+////
BQAAAP7////+////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////9SAG8AbwB0ACAARQBu
AHQAcgB5AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFgAFAP//
////////AgAAABYDAAAAAAAAwAAAAAAAAEYAAAAAAAAAAAAAAADAeB7CGg7BAQMAAABAAgAAAAAA
AAEATwBsAGUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAKAAIB////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAABQAAAAAAAAAQwBPAE4AVABFAE4AVABTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAABIAAgEBAAAAAwAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAABAAAAXgEAAAAAAAADAE0AYQBpAGwAUwB0AHIAZQBhAG0AAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAACAf////8EAAAA/////wAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAMAAAAAAAAAP7///8CAAAAAwAAAAQA
AAAFAAAABgAAAP7////+/////v//////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////AQAAAgAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEJNXgEAAAAA
AAAAAAAAKAAAADkCAAAEAAAAAQABAAAAAAAgAQAAxA4AAMQOAAAAAAAAAAAAAAAAAAD///8A////
////////////////////////////////////////////////////////////////////////////
//////////////+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH/////////////////////
//////////////////////////////////////////////////////////////////////////+A
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfa4=

--0__=ZQL6P0JK0frCwyzVduuaK80C1njEe3bE8S5u1LG6Bahg3mOiItmy25xo--

From owner-sqr-users@list.iex.net  Mon Jul 16 12:13:35 2001
Date:         Mon, 16 Jul 2001 13:09:41 -0400
From: Rick_Creel@AONCONS.COM
Subject:      Re: Numeric decimal positioning

Will the input field ever have the actual decimal point in it?
If not, could it be as simple saying:
    let database_field = #input field / 10000 ?






Peter Clark  on 07/16/2001 12:55:19 PM

Please respond to sqr-users@list.iex.net

To:   SQR-USERS@list.iex.net
cc:    (bcc: Rick Creel/IT/Aon Consulting)

Subject:  Numeric decimal positioning



I am reading a flat file that contains a numeric field that I need to insert
into a table.

The field contains, for example, the value 123456789. The column in the table is
defined 5.4 i.e. 5 integer positions and 4 decimal positions.

How do I define to SQR that the field read from the flat file has an implied
decimal point between the fifth and sixth numbers of the field so that when I
look at the table column, I will see 12345.6789 instead of 56789.0000?

I suspect that there is some way to do it with a declare-variable but the
reference manual is confusing and lacking in examples.

Thanks for any help,
Peter

From owner-sqr-users@list.iex.net  Mon Jul 16 12:40:45 2001
Date:         Mon, 16 Jul 2001 10:37:32 -0700
From: Carlton Conley 
Subject:      Re: Numeric decimal positioning

You can do this several ways

use the edit command as in edit($input, '99999.9999)

or divide by 10000

as in let #input = $input
      let #input = #input / 10000

or substring and concat the decimal into a string and then convert to a
number

as in  let $front = substr($input, 1, 5)
          let $back = substr($input, 6, 4)
          let $new = $front || '.' || $back

I would go with the divide by my self

-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Peter Clark
Sent: Monday, July 16, 2001 9:55 AM
To: SQR-USERS@list.iex.net
Subject: Numeric decimal positioning


I am reading a flat file that contains a numeric field that I need to insert
into a table.

The field contains, for example, the value 123456789. The column in the
table is defined 5.4 i.e. 5 integer positions and 4 decimal positions.

How do I define to SQR that the field read from the flat file has an implied
decimal point between the fifth and sixth numbers of the field so that when
I look at the table column, I will see 12345.6789 instead of 56789.0000?

I suspect that there is some way to do it with a declare-variable but the
reference manual is confusing and lacking in examples.

Thanks for any help,
Peter

From owner-sqr-users@list.iex.net  Mon Jul 16 12:42:58 2001
Date:         Mon, 16 Jul 2001 14:38:35 -0300
From: Peter Clark 
Subject:      Re: Numeric decimal positioning

Thanks Rick, that did the trick. Can you tell that I am an old COBOL geek where implied decimal points were a snap to define and process? :-)

Peter

>>>  2001/07/16 2:09:41 pm >>>
Will the input field ever have the actual decimal point in it?
If not, could it be as simple saying:
    let database_field = #input field / 10000 ?


Peter Clark  on 07/16/2001 12:55:19 PM

Please respond to sqr-users@list.iex.net

To:   SQR-USERS@list.iex.net
cc:    (bcc: Rick Creel/IT/Aon Consulting)

Subject:  Numeric decimal positioning



I am reading a flat file that contains a numeric field that I need to insert
into a table.

The field contains, for example, the value 123456789. The column in the table is
defined 5.4 i.e. 5 integer positions and 4 decimal positions.

How do I define to SQR that the field read from the flat file has an implied
decimal point between the fifth and sixth numbers of the field so that when I
look at the table column, I will see 12345.6789 instead of 56789.0000?

I suspect that there is some way to do it with a declare-variable but the
reference manual is confusing and lacking in examples.

Thanks for any help,
Peter

From owner-sqr-users@list.iex.net  Mon Jul 16 12:52:53 2001
Date:         Mon, 16 Jul 2001 13:45:37 -0400
From: Rhonda Hudgins 
Subject:      Re: Numeric decimal positioning

I always divide the input from the flat file with the appropriate value

Example:

let #number = inputnumber /  10000


Thanks!

Rhonda Hudgins
@}---'----,----
Genencor International, Inc
716/256-5266
rhudgins@genencor.com



                    Peter Clark
                                 cc:
                    Sent by:              Subject:     Numeric decimal positioning
                    "Discussion of
                    SQR,Brio
                    Technology's
                    database
                    reporting
                    language"
                    


                    07/16/2001
                    01:25 PM
                    Please respond
                    to sqr-users






I am reading a flat file that contains a numeric field that I need to
insert into a table.

The field contains, for example, the value 123456789. The column in the
table is defined 5.4 i.e. 5 integer positions and 4 decimal positions.

How do I define to SQR that the field read from the flat file has an
implied decimal point between the fifth and sixth numbers of the field so
that when I look at the table column, I will see 12345.6789 instead of
56789.0000?

I suspect that there is some way to do it with a declare-variable but the
reference manual is confusing and lacking in examples.

Thanks for any help,
Peter

From owner-sqr-users@list.iex.net  Mon Jul 16 17:34:23 2001
Date:         Mon, 16 Jul 2001 15:18:33 -0700
From: "Jain, Amit" 
Subject:      select query & Ampersand

Hello,
  I have a select query in which I have to use ampersand(&) in a string. Can
anyone help me with the exact format.
The query has to be in this format:

"Select * from Table1 where Field1 like 'AB&B';

In oracle it is not accepting ampersand(&). Help will be appriciated.

Thanks,
Amit Jain

From owner-sqr-users@list.iex.net  Mon Jul 16 17:42:49 2001
Date:         Mon, 16 Jul 2001 17:39:27 -0500
From: "Lu, Clint" 
Subject:      Re: select query & Ampersand

Try this will work for you

select *
from table_name
where field_name = 'AB'||'&'||'B'


Clint Lu
Sr. Programmer/Analyst
Caremark Rx, Inc.
Phone: (847) 559-4717
Fax    : (847) 559-4840


-----Original Message-----
From: Jain, Amit [mailto:Amit.Jain@HONEYWELL.COM]
Sent: Monday, July 16, 2001 5:19 PM
To: SQR-USERS@list.iex.net
Subject: select query & Ampersand


Hello,
  I have a select query in which I have to use ampersand(&) in a string. Can
anyone help me with the exact format.
The query has to be in this format:

"Select * from Table1 where Field1 like 'AB&B';

In oracle it is not accepting ampersand(&). Help will be appriciated.

Thanks,
Amit Jain

From owner-sqr-users@list.iex.net  Mon Jul 16 20:45:00 2001
Date:         Mon, 16 Jul 2001 21:18:59 -0400
From: Pamela Lantzy 
Subject:      Re: select query & Ampersand

You can also use the ascii value for ampersand.

'AB' || chr(38) || 'B'


 -----Original Message-----
From:   Lu, Clint [mailto:clint.lu@CAREMARK.COM]
Sent:   Monday, July 16, 2001 6:39 PM
To:     SQR-USERS@LIST.IEX.NET
Subject:        Re: select query & Ampersand

Try this will work for you

select *
from table_name
where field_name = 'AB'||'&'||'B'


Clint Lu
Sr. Programmer/Analyst
Caremark Rx, Inc.
Phone: (847) 559-4717
Fax    : (847) 559-4840


-----Original Message-----
From: Jain, Amit [mailto:Amit.Jain@HONEYWELL.COM]
Sent: Monday, July 16, 2001 5:19 PM
To: SQR-USERS@list.iex.net
Subject: select query & Ampersand


Hello,
  I have a select query in which I have to use ampersand(&) in a string. Can
anyone help me with the exact format.
The query has to be in this format:

"Select * from Table1 where Field1 like 'AB&B';

In oracle it is not accepting ampersand(&). Help will be appriciated.

Thanks,
Amit Jain

From owner-sqr-users@list.iex.net  Fri Jul 20 06:49:49 2001
Date:         Fri, 20 Jul 2001 06:40:34 -0500
From: Yogesh Kulkarni 
Subject:      Re: select query & Ampersand

Amit,

     Use
"Select * from Table1 where Field1 like 'AB%B';

In Oracle, the % sign is used for wild entry.

...Yogesh





"Discussion of SQR,              Brio Technology's database reporting
language"              
07/16/2001 05:18 PM


Please respond to sqr-users@list.iex.net



To:   SQR-USERS@list.iex.net
cc:
Subject:  select query & Ampersand


Hello,
  I have a select query in which I have to use ampersand(&) in a string.
Can
anyone help me with the exact format.
The query has to be in this format:

"Select * from Table1 where Field1 like 'AB&B';

In oracle it is not accepting ampersand(&). Help will be appriciated.

Thanks,
Amit Jain

From owner-sqr-users@list.iex.net  Tue Jul 17 14:55:31 2001
Date:         Tue, 17 Jul 2001 15:46:48 -0400
From: Mario Mendoza 
Subject:      .lis file to Excel

Does anyone know how to format a tab delimited .lis file so Excel will not
omit leading zeroes (0)?

The zip code information on the .lis file is correct i.e. 06514, however,
when the file is opened through Excel, the zip code is 6514.

Thank you for any guidance.

Mario Mendoza
1-888-647-6472 x633
mariom@flagshipcredit.com

From owner-sqr-users@list.iex.net  Tue Jul 17 14:55:31 2001
Date:         Tue, 17 Jul 2001 14:53:11 -0500
From: Lawrence Baier 
Subject:      Re: .lis file to Excel

Import the numeric field as text.

Lawrence Baier
Senior Programmer
Application Development
(920) 628-2412
larry_baier@aal.org

Aid Association for Lutherans (AAL)
4321 N. Ballard Road, Appleton, WI 54919-0001



|--------+--------------------------->
|        |          Mario Mendoza    |
|        |                 |
|        |                           |
|        |          07/17/2001 02:46 |
|        |          PM               |
|        |          Please respond to|
|        |          sqr-users        |
|        |                           |
|--------+--------------------------->
  >--------------------------------------------------------|
  |                                                        |
  |       To:     SQR-USERS@list.iex.net                   |
  |       cc:     (bcc: Larry Baier/AAL)                   |
  |       Subject:     .lis file to Excel                  |
  >--------------------------------------------------------|





Does anyone know how to format a tab delimited .lis file so Excel will not
omit leading zeroes (0)?

The zip code information on the .lis file is correct i.e. 06514, however,
when the file is opened through Excel, the zip code is 6514.

Thank you for any guidance.

Mario Mendoza
1-888-647-6472 x633
mariom@flagshipcredit.com

From owner-sqr-users@list.iex.net  Tue Jul 17 15:00:14 2001
Date:         Tue, 17 Jul 2001 14:58:30 -0500
From: David Thompson-Hall 
Subject:      Re: .lis file to Excel

At 03:46 PM 7/17/01 -0400, you wrote:
>Does anyone know how to format a tab delimited .lis file so Excel will not
>omit leading zeroes (0)?

You can format the field once it's open in Excel.  Go to Format -> Cells,
and under the Number tab, choose "Custom" (it's at the bottom).  For the
Custom format, type in '00000' (i.e. make it a five digit field, with
leading zeros).

>The zip code information on the .lis file is correct i.e. 06514, however,
>when the file is opened through Excel, the zip code is 6514.

With this format, you should get '06514' for your zip on the screen in Excel.

I'm not sure if you can actually format the data itself, just how it looks
when open in Excel.

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  Tue Jul 17 15:45:54 2001
Date:         Tue, 17 Jul 2001 15:28:59 -0500
From: Ben Stevens 
Subject:      (SQR 5703) Error opening the sqr log file (PeopleSoft SQR)

Hi, hello.  I'm working on a PeopleSoft upgrade, and as usual I'm batching
many of the .DMS and .SQR scripts together to run unattended.  Everything
was fine until my Windows 95 workstation was upgraded to Windows 2000.  Now,
the batch file fails when I try to run an SQR on the command line.

Does anyone have any insight why this batch file would run on Windows 95,
but not on Windows 2000?

Thanks

benj  (surreal@speakeasy.org)
An example is sysaudit.bat:


setlocal
rem =============  edit below for db information ==========
SET DBNAME=HR75UPG

rem =============  edit below for db login ================
SET DBLOGIN=SYSADM
SET DBPASSWD=SYSADM

rem =============  edit below for PS login
SET PSLOGIN=PS
SET PSPASSWD=PS

rem =============  edit below for SQR constants ===========
SET SQREXE=Q:\APPS\Hr75\HR751\sqrbinw\sqrw.exe
SET SQRLOC=Q:\APPS\HR75\HR751\SQR
SET DIRLIST=-iQ:\APPS\hr75\hr751\sqr\
SET ALLMAXES=-mq:\APPS\hr75\hr751\sqr\allmaxes.max
SET SQRINI=-ZIFQ:\APPS\hr75\hr751\sqr\pssqr.ini

rem =============  edit below for Data Mover constants ====
SET DMSEXE=Q:\APPS\Hr75\HR751\bin\CLIENT\WINX86\PSDMT.EXE
SET DMSLOC=Q:\APPS\HR75\HR751\SCRIPTS

rem =============  local drive, change to dbbin directory
c:
cd \orawin95\bin

rem ====================== for SQL's
rem ===START /W C:\ORAWIN95\BIN\SQLPLUS.EXE %DBLOGIN%/%DBPASSWD%@%DBNAME%
@%DMSLOC%\XXXXSCRIPTNAMEXXXX.SQL


rem ====================== for SQRs
rem ===SET SQRPROG=XXXXXXX
rem ===IF EXIST C:\TEMP\%SQRPROG%.LOG PAUSE
rem ===IF EXIST C:\TEMP\%SQRPROG%.LIS PAUSE
rem ===START /W %SQREXE% %SQRLOC%\%SQRPROG%.SQR
%DBLOGIN%/%DBPASSWD%@%DBNAME% %DIRLIST% -EC:\TEMP\%SQRPROG%.ERR
%ALLMAXES% -fC:\TEMP\%SQRPROG%.LIS %SQRINI% -Oc:\temp\%SQRPROG%.log
rem ===if EXIST C:\TEMP\%SQRPROG%.ERR PAUSE

rem ====================== for data mover
rem ===SET DMSSCRIPT=XXXXXXX
rem ===IF EXIST C:\TEMP\%DMSSCRIPT%.LOG PAUSE
rem ===IF EXIST C:\TEMP\%DMSSCRIPT%.LIS PAUSE
rem ===START /W %DMSEXE%   -SS NO -CT ORACLE -CD %DBNAME% -CO %PSLOGIN% -CP
%PSPASSWD% -FP %DMSLOC%\%DMSSCRIPT%.DMS

rem ======================for restart
REM goto restart
:restart

set | more
pause

rem ====================== SYSAUDIT.SQR
SET SQRPROG=SYSAUDIT
IF EXIST C:\TEMP\%SQRPROG%.LOG PAUSE
IF EXIST C:\TEMP\%SQRPROG%.LIS PAUSE
rem START /WAIT Q:\APPS\Hr75\HR751\sqrbinw\sqrw.exe
Q:\APPS\HR75\HR751\SQR\SYSAUDIT.SQR
SYSADM/SYSADM@HR75UPG -iQ:\APPS\hr75\hr751\sqr\ -EC:\TEMP\SYSAUDIT.ERR -mq:\
APPS\hr75\hr751\sqr\allmaxes.max -fC:\TEMP\SYSAUDIT.LIS -ZIFQ:\APPS\hr75\hr7
51\sqr\pssqr.ini -Oc:\temp
START /W %SQREXE% %SQRLOC%\%SQRPROG%.SQR %DBLOGIN%/%DBPASSWD%@%DBNAME%
%DIRLIST% -EC:\TEMP\%SQRPROG%.ERR %ALLMAXES% -fC:\TEMP\%SQRPROG%.LIS
%SQRINI% -Oc:\temp\%SQRPROG%.log
if EXIST C:\TEMP\%SQRPROG%.ERR PAUSE

From owner-sqr-users@list.iex.net  Tue Jul 17 16:06:38 2001
Date:         Tue, 17 Jul 2001 16:00:39 -0500
From: "Cullina, Adam" 
Subject:      Re: (SQR 5703) Error opening the sqr log file (PeopleSoft SQR)

I would suggest you might not have a  \orawin95\bin anymore... perhaps an \orant\
I don't think c:\temp\ is a stock directory in Windows 2000 either.  c:\winnt\temp exists by defaults, but I think c:\temp\ only exists if you (or another application) creates it.

Not SURE about either, but it would be worth checking.

Adam

-----Original Message-----
From: Ben Stevens [mailto:surreal@SPEAKEASY.ORG]
Sent: Tuesday, July 17, 2001 3:29 PM
To: SQR-USERS@list.iex.net
Subject: (SQR 5703) Error opening the sqr log file (PeopleSoft SQR)


Hi, hello.  I'm working on a PeopleSoft upgrade, and as usual I'm batching
many of the .DMS and .SQR scripts together to run unattended.  Everything
was fine until my Windows 95 workstation was upgraded to Windows 2000.  Now,
the batch file fails when I try to run an SQR on the command line.

Does anyone have any insight why this batch file would run on Windows 95,
but not on Windows 2000?

Thanks

benj  (surreal@speakeasy.org)
An example is sysaudit.bat:


setlocal
rem =============  edit below for db information ==========
SET DBNAME=HR75UPG

rem =============  edit below for db login ================
SET DBLOGIN=SYSADM
SET DBPASSWD=SYSADM

rem =============  edit below for PS login
SET PSLOGIN=PS
SET PSPASSWD=PS

rem =============  edit below for SQR constants ===========
SET SQREXE=Q:\APPS\Hr75\HR751\sqrbinw\sqrw.exe
SET SQRLOC=Q:\APPS\HR75\HR751\SQR
SET DIRLIST=-iQ:\APPS\hr75\hr751\sqr\
SET ALLMAXES=-mq:\APPS\hr75\hr751\sqr\allmaxes.max
SET SQRINI=-ZIFQ:\APPS\hr75\hr751\sqr\pssqr.ini

rem =============  edit below for Data Mover constants ====
SET DMSEXE=Q:\APPS\Hr75\HR751\bin\CLIENT\WINX86\PSDMT.EXE
SET DMSLOC=Q:\APPS\HR75\HR751\SCRIPTS

rem =============  local drive, change to dbbin directory
c:
cd \orawin95\bin

rem ====================== for SQL's
rem ===START /W C:\ORAWIN95\BIN\SQLPLUS.EXE %DBLOGIN%/%DBPASSWD%@%DBNAME%
@%DMSLOC%\XXXXSCRIPTNAMEXXXX.SQL


rem ====================== for SQRs
rem ===SET SQRPROG=XXXXXXX
rem ===IF EXIST C:\TEMP\%SQRPROG%.LOG PAUSE
rem ===IF EXIST C:\TEMP\%SQRPROG%.LIS PAUSE
rem ===START /W %SQREXE% %SQRLOC%\%SQRPROG%.SQR
%DBLOGIN%/%DBPASSWD%@%DBNAME% %DIRLIST% -EC:\TEMP\%SQRPROG%.ERR
%ALLMAXES% -fC:\TEMP\%SQRPROG%.LIS %SQRINI% -Oc:\temp\%SQRPROG%.log
rem ===if EXIST C:\TEMP\%SQRPROG%.ERR PAUSE

rem ====================== for data mover
rem ===SET DMSSCRIPT=XXXXXXX
rem ===IF EXIST C:\TEMP\%DMSSCRIPT%.LOG PAUSE
rem ===IF EXIST C:\TEMP\%DMSSCRIPT%.LIS PAUSE
rem ===START /W %DMSEXE%   -SS NO -CT ORACLE -CD %DBNAME% -CO %PSLOGIN% -CP
%PSPASSWD% -FP %DMSLOC%\%DMSSCRIPT%.DMS

rem ======================for restart
REM goto restart
:restart

set | more
pause

rem ====================== SYSAUDIT.SQR
SET SQRPROG=SYSAUDIT
IF EXIST C:\TEMP\%SQRPROG%.LOG PAUSE
IF EXIST C:\TEMP\%SQRPROG%.LIS PAUSE
rem START /WAIT Q:\APPS\Hr75\HR751\sqrbinw\sqrw.exe
Q:\APPS\HR75\HR751\SQR\SYSAUDIT.SQR
SYSADM/SYSADM@HR75UPG -iQ:\APPS\hr75\hr751\sqr\ -EC:\TEMP\SYSAUDIT.ERR -mq:\
APPS\hr75\hr751\sqr\allmaxes.max -fC:\TEMP\SYSAUDIT.LIS -ZIFQ:\APPS\hr75\hr7
51\sqr\pssqr.ini -Oc:\temp
START /W %SQREXE% %SQRLOC%\%SQRPROG%.SQR %DBLOGIN%/%DBPASSWD%@%DBNAME%
%DIRLIST% -EC:\TEMP\%SQRPROG%.ERR %ALLMAXES% -fC:\TEMP\%SQRPROG%.LIS
%SQRINI% -Oc:\temp\%SQRPROG%.log
if EXIST C:\TEMP\%SQRPROG%.ERR PAUSE

From owner-sqr-users@list.iex.net  Tue Jul 17 16:22:49 2001
Date:         Tue, 17 Jul 2001 16:20:55 -0500
From: Ben Stevens 
Subject:      Re: (SQR 5703) Error opening the sqr log file (PeopleSoft SQR)

Thanks for your email.

\orawin95\bin contains the NT executables for the Oracle Client.  It is
there due to the lazy and clueless Netware Application Admins who rule this
little serfdom with the Netware Application Launcher (NAL).   The Oracle
client and tools run fine from this obsolete location.

c:\temp exists, with full permissions for Everyone and SYSTEM.

I found this article from my archives:
Problem: After applying a security patch (security bulletin MS01-017) dated
April 2, 2001 customers are no longer able to  send any SQR output to their
c:\temp directory. This only affects SQR 4.3.4. SQR version 6.1.1 and 6.1.4
are not affected.
You will aloso get this error when trying to send the log file to the temp
directory. (SQR 5703) Error opening the sqr log file
Solution: At this time there is only a work around you must send the output
to any other directory other than c:\temp. PeoplesSoft is looking into a
more permenent fix and will notify cusotmers when we have more information.

I tried switching the output directory from c:\temp to c:\ps\temp and even
c:\winnt\temp.  Same error message (SQR 5703)

Any other guesses/hints?


-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Cullina, Adam
Sent: Tuesday, July 17, 2001 4:01 PM
To: SQR-USERS@list.iex.net
Subject: Re: (SQR 5703) Error opening the sqr log file (PeopleSoft SQR)


I would suggest you might not have a  \orawin95\bin anymore... perhaps an
\orant\
I don't think c:\temp\ is a stock directory in Windows 2000 either.
c:\winnt\temp exists by defaults, but I think c:\temp\ only exists if you
(or another application) creates it.

Not SURE about either, but it would be worth checking.

Adam

-----Original Message-----
From: Ben Stevens [mailto:surreal@SPEAKEASY.ORG]
Sent: Tuesday, July 17, 2001 3:29 PM
To: SQR-USERS@list.iex.net
Subject: (SQR 5703) Error opening the sqr log file (PeopleSoft SQR)


Hi, hello.  I'm working on a PeopleSoft upgrade, and as usual I'm batching
many of the .DMS and .SQR scripts together to run unattended.  Everything
was fine until my Windows 95 workstation was upgraded to Windows 2000.  Now,
the batch file fails when I try to run an SQR on the command line.

Does anyone have any insight why this batch file would run on Windows 95,
but not on Windows 2000?

Thanks

benj  (surreal@speakeasy.org)
An example is sysaudit.bat:


setlocal
rem =============  edit below for db information ==========
SET DBNAME=HR75UPG

rem =============  edit below for db login ================
SET DBLOGIN=SYSADM
SET DBPASSWD=SYSADM

rem =============  edit below for PS login
SET PSLOGIN=PS
SET PSPASSWD=PS

rem =============  edit below for SQR constants ===========
SET SQREXE=Q:\APPS\Hr75\HR751\sqrbinw\sqrw.exe
SET SQRLOC=Q:\APPS\HR75\HR751\SQR
SET DIRLIST=-iQ:\APPS\hr75\hr751\sqr\
SET ALLMAXES=-mq:\APPS\hr75\hr751\sqr\allmaxes.max
SET SQRINI=-ZIFQ:\APPS\hr75\hr751\sqr\pssqr.ini

rem =============  edit below for Data Mover constants ====
SET DMSEXE=Q:\APPS\Hr75\HR751\bin\CLIENT\WINX86\PSDMT.EXE
SET DMSLOC=Q:\APPS\HR75\HR751\SCRIPTS

rem =============  local drive, change to dbbin directory
c:
cd \orawin95\bin

rem ====================== for SQL's
rem ===START /W C:\ORAWIN95\BIN\SQLPLUS.EXE %DBLOGIN%/%DBPASSWD%@%DBNAME%
@%DMSLOC%\XXXXSCRIPTNAMEXXXX.SQL


rem ====================== for SQRs
rem ===SET SQRPROG=XXXXXXX
rem ===IF EXIST C:\TEMP\%SQRPROG%.LOG PAUSE
rem ===IF EXIST C:\TEMP\%SQRPROG%.LIS PAUSE
rem ===START /W %SQREXE% %SQRLOC%\%SQRPROG%.SQR
%DBLOGIN%/%DBPASSWD%@%DBNAME% %DIRLIST% -EC:\TEMP\%SQRPROG%.ERR
%ALLMAXES% -fC:\TEMP\%SQRPROG%.LIS %SQRINI% -Oc:\temp\%SQRPROG%.log
rem ===if EXIST C:\TEMP\%SQRPROG%.ERR PAUSE

rem ====================== for data mover
rem ===SET DMSSCRIPT=XXXXXXX
rem ===IF EXIST C:\TEMP\%DMSSCRIPT%.LOG PAUSE
rem ===IF EXIST C:\TEMP\%DMSSCRIPT%.LIS PAUSE
rem ===START /W %DMSEXE%   -SS NO -CT ORACLE -CD %DBNAME% -CO %PSLOGIN% -CP
%PSPASSWD% -FP %DMSLOC%\%DMSSCRIPT%.DMS

rem ======================for restart
REM goto restart
:restart

set | more
pause

rem ====================== SYSAUDIT.SQR
SET SQRPROG=SYSAUDIT
IF EXIST C:\TEMP\%SQRPROG%.LOG PAUSE
IF EXIST C:\TEMP\%SQRPROG%.LIS PAUSE
rem START /WAIT Q:\APPS\Hr75\HR751\sqrbinw\sqrw.exe
Q:\APPS\HR75\HR751\SQR\SYSAUDIT.SQR
SYSADM/SYSADM@HR75UPG -iQ:\APPS\hr75\hr751\sqr\ -EC:\TEMP\SYSAUDIT.ERR -mq:\
APPS\hr75\hr751\sqr\allmaxes.max -fC:\TEMP\SYSAUDIT.LIS -ZIFQ:\APPS\hr75\hr7
51\sqr\pssqr.ini -Oc:\temp
START /W %SQREXE% %SQRLOC%\%SQRPROG%.SQR %DBLOGIN%/%DBPASSWD%@%DBNAME%
%DIRLIST% -EC:\TEMP\%SQRPROG%.ERR %ALLMAXES% -fC:\TEMP\%SQRPROG%.LIS
%SQRINI% -Oc:\temp\%SQRPROG%.log
if EXIST C:\TEMP\%SQRPROG%.ERR PAUSE

From owner-sqr-users@list.iex.net  Tue Jul 17 16:57:19 2001
Date:         Tue, 17 Jul 2001 14:52:14 -0700
From: Rachael Beatty 
Subject:      Re: (SQR 5703) Error opening the sqr log file (PeopleSoft SQR)

--0__=dfZvifdaQwvc1gJCGVqnnq7sIB1yNfF5eUuw25GiUDaLNfhmYQkz3zfi
Content-Type: text/plain;
 charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: 7bit




Try to validate all of your directories.  From previous postings, it has
been noted that Windows 2000 does not automatically come with a C:\temp
directory.  The included batch file points to c:\temp.

Hope that helps.

>  -----Original Message-----
> From:   "Ben Stevens" @INTERNET
> Sent:   Tuesday, July 17, 2001 1:29 PM
> To:     SQR-USERS@list.iex.net
> Subject:     (SQR 5703) Error opening the sqr log file (PeopleSoft SQR)
>
>
> Hi, hello.  I'm working on a PeopleSoft upgrade, and as usual I'm batching
> many of the .DMS and .SQR scripts together to run unattended.  Everything
> was fine until my Windows 95 workstation was upgraded to Windows 2000.
> Now,
> the batch file fails when I try to run an SQR on the command line.
>
> Does anyone have any insight why this batch file would run on Windows 95,
> but not on Windows 2000?
>
> Thanks
>
> benj  (surreal@speakeasy.org)
> An example is sysaudit.bat:
>
>
> setlocal
> rem =============  edit below for db information ==========
> SET DBNAME=HR75UPG
>
> rem =============  edit below for db login ================
> SET DBLOGIN=SYSADM
> SET DBPASSWD=SYSADM
>
> rem =============  edit below for PS login
> SET PSLOGIN=PS
> SET PSPASSWD=PS
>
> rem =============  edit below for SQR constants ===========
> SET SQREXE=Q:\APPS\Hr75\HR751\sqrbinw\sqrw.exe
> SET SQRLOC=Q:\APPS\HR75\HR751\SQR
> SET DIRLIST=-iQ:\APPS\hr75\hr751\sqr\
> SET ALLMAXES=-mq:\APPS\hr75\hr751\sqr\allmaxes.max
> SET SQRINI=-ZIFQ:\APPS\hr75\hr751\sqr\pssqr.ini
>
> rem =============  edit below for Data Mover constants ====
> SET DMSEXE=Q:\APPS\Hr75\HR751\bin\CLIENT\WINX86\PSDMT.EXE
> SET DMSLOC=Q:\APPS\HR75\HR751\SCRIPTS
>
> rem =============  local drive, change to dbbin directory
> c:
> cd \orawin95\bin
>
> rem ====================== for SQL's
> rem ===START /W C:\ORAWIN95\BIN\SQLPLUS.EXE %DBLOGIN%/%DBPASSWD%@%DBNAME%
> @%DMSLOC%\XXXXSCRIPTNAMEXXXX.SQL
>
>
> rem ====================== for SQRs
> rem ===SET SQRPROG=XXXXXXX
> rem ===IF EXIST C:\TEMP\%SQRPROG%.LOG PAUSE
> rem ===IF EXIST C:\TEMP\%SQRPROG%.LIS PAUSE
> rem ===START /W %SQREXE% %SQRLOC%\%SQRPROG%.SQR
> %DBLOGIN%/%DBPASSWD%@%DBNAME% %DIRLIST% -EC:\TEMP\%SQRPROG%.ERR
> %ALLMAXES% -fC:\TEMP\%SQRPROG%.LIS %SQRINI% -Oc:\temp\%SQRPROG%.log
> rem ===if EXIST C:\TEMP\%SQRPROG%.ERR PAUSE
>
> rem ====================== for data mover
> rem ===SET DMSSCRIPT=XXXXXXX
> rem ===IF EXIST C:\TEMP\%DMSSCRIPT%.LOG PAUSE
> rem ===IF EXIST C:\TEMP\%DMSSCRIPT%.LIS PAUSE
> rem ===START /W %DMSEXE%   -SS NO -CT ORACLE -CD %DBNAME% -CO %PSLOGIN%
> -CP
> %PSPASSWD% -FP %DMSLOC%\%DMSSCRIPT%.DMS
>
> rem ======================for restart
> REM goto restart
> :restart
>
> set | more
> pause
>
> rem ====================== SYSAUDIT.SQR
> SET SQRPROG=SYSAUDIT
> IF EXIST C:\TEMP\%SQRPROG%.LOG PAUSE
> IF EXIST C:\TEMP\%SQRPROG%.LIS PAUSE
> rem START /WAIT Q:\APPS\Hr75\HR751\sqrbinw\sqrw.exe
> Q:\APPS\HR75\HR751\SQR\SYSAUDIT.SQR
> SYSADM/SYSADM@HR75UPG -iQ:\APPS\hr75\hr751\sqr\ -EC:\TEMP\SYSAUDIT.ERR
> -mq:\
> APPS\hr75\hr751\sqr\allmaxes.max -fC:\TEMP\SYSAUDIT.LIS
> -ZIFQ:\APPS\hr75\hr7
> 51\sqr\pssqr.ini -Oc:\temp
> START /W %SQREXE% %SQRLOC%\%SQRPROG%.SQR %DBLOGIN%/%DBPASSWD%@%DBNAME%
> %DIRLIST% -EC:\TEMP\%SQRPROG%.ERR %ALLMAXES% -fC:\TEMP\%SQRPROG%.LIS
> %SQRINI% -Oc:\temp\%SQRPROG%.log
> if EXIST C:\TEMP\%SQRPROG%.ERR PAUSE
>

(See attached file: C.DTF)

--0__=dfZvifdaQwvc1gJCGVqnnq7sIB1yNfF5eUuw25GiUDaLNfhmYQkz3zfi
Content-Type: application/octet-stream;
 name=C.DTF
Content-Disposition: attachment;
 filename=C.DTF
Content-Transfer-Encoding: base64

eJ8+IhsVAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQWAAwAOAAAA0QcHABEADgA0AA4AAgBCAQEggAMADgAAANEHBwAR
AA4AJQAZAAIAPgEBCYABACEAAAA2MDI1MjlGM0VFN0FENTExQUM0MjAwMDBFODY3QzBFRgAgBwEE
gAEAPwAAAFJFOiAoU1FSIDU3MDMpIEVycm9yIG9wZW5pbmcgdGhlIHNxciBsb2cgZmlsZSAoUGVv
cGxlU29mdCBTUVIpAOITAQ2ABAACAAAAAgACAAEDkAYA4A4AADMAAAADAAFuAAAAAAMAAIAIIAYA
AAAAAMAAAAAAAABGAAAAAFKFAAB9bgEAHgABgAggBgAAAAAAwAAAAAAAAEYAAAAAVIUAAAEAAAAE
AAAAOS4wAAsAAoAIIAYAAAAAAMAAAAAAAABGAAAAAAaFAAAAAAAAAwADgAggBgAAAAAAwAAAAAAA
AEYAAAAAAYUAAAAAAAALAASACCAGAAAAAADAAAAAAAAARgAAAAADhQAAAAAAAAsABYAIIAYAAAAA
AMAAAAAAAABGAAAAAA6FAAAAAAAAAwAGgAggBgAAAAAAwAAAAAAAAEYAAAAAEIUAAAAAAAADAAeA
CCAGAAAAAADAAAAAAAAARgAAAAARhQAAAAAAAAsAD4AIIAYAAAAAAMAAAAAAAABGAAAAABSFAAAA
AAAAAwAIgAggBgAAAAAAwAAAAAAAAEYAAAAAGIUAAAAAAAALABGACCAGAAAAAADAAAAAAAAARgAA
AACChQAAAQAAAAIBCRABAAAAugcAALYHAACBEAAATFpGdfbOaHwDAAoAcmNwZzEyNT4yAPQB9wKk
A+MCAGNowQrAc2V0MCAHEwKDYwBQD6ZwcnEOUBAYVDxhaANxAoMSIQNkVG3RBCBSbW4Cg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0ZST01QUkVWSU9V
U1BPU1RJTkdTLElUSEFTQkVFTk5PVEVEVEhBVFdJTkRPV1MyMDAwRE9FU05PVEFVVE9NQVRJQ0EA
AAAAAgF/AAEAAABBAAAAPEVENjdGRDcwMEEzNUQ0MTFBQzI0MDAwNEFDNEM5NUUzMDMzNUMyMjFA
bGF4aGhteHMwMS5oaWx0b24uY29tPgAAAAAggQICkAYADgAAAAIAvgEAAP////8AAAAAvQQCEIAB
ABQAAABVbnRpdGxlZCBBdHRhY2htZW50AHIHAhKAAwAOAAAA0QcHABEADgA0AA0AAgBBAQITgAMA
DgAAANEHBwARAA4ANAANAAIAQQECBZAGAMwOAAANAAAAAwAhDgAAAAADAAs3vgEAAAMAIA5ODgAA
AwD3DwAAAAACARBoAQAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAQAAHMGBV97wKD8EBQAAIMGBV97wK
D8EBAwAFNwYAAAACAQI3AQAAAAAAAAAeAAEwAQAAAAEAAAAAAAAAAgEKNwEAAAALAAAAKoZIhvcU
AwoDAgEAAgH5DwEAAAAQAAAAzMx2FeJ61RG6pwAErEyldw0AATcBAAAAEA4AAAsAAAAAAAAAwAAA
AAAAAEbQzxHgobEa4QAAAAAAAAAAAAAAAAAAAAA+AAMA/v8JAAYAAAAAAAAAAAAAAAEAAAABAAAA
AAAAAAAQAAACAAAAAQAAAP7///8AAAAAAAAAAP//////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
//////3///8EAAAA/v///wUAAAD+/////v//////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////UgBvAG8AdAAgAEUAbgB0AHIAeQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAABYABQD//////////wIAAAAWAwAAAAAAAMAAAAAAAABGAAAAAAAAAAAAAAAAQG0j
mAsPwQEDAAAAQAIAAAAAAAABAE8AbABlAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgACAf///////////////wAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAEMATwBOAFQARQBOAFQAUwAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAAIBAQAAAAMAAAD/////AAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAF4BAAAAAAAAAwBNAGEAaQBsAFMA
dAByAGUAYQBtAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAgH/
////BAAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAADAAAAAAA
AAD+////AgAAAAMAAAAEAAAABQAAAAYAAAD+/////v////7/////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
/wEAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAABCTV4BAAAAAAAAAAAAACgAAAA5AgAABAAAAAEAAQAAAAAAIAEAAMQOAADEDgAAAAAA
AAAAAAAAAAAA////AP//////////////////////////////////////////////////////////
////////////////////////////////////gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB
gP//////////////////////////////////////////////////////////////////////////
////////////////////gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAzzoA
AGoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
UgBpAGMAaABFAGQAaQB0AEYAbABhAGcAcwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAABwAAgD///////////////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAIAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///////////////wAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////////////////AAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////
//////////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB
AABAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMmu


--0__=dfZvifdaQwvc1gJCGVqnnq7sIB1yNfF5eUuw25GiUDaLNfhmYQkz3zfi--

From owner-sqr-users@list.iex.net  Wed Jul 18 08:00:28 2001
Date:         Wed, 18 Jul 2001 09:04:41 -0400
From: "Beller, Jay" 
Subject:      Re: (SQR 5703) Error opening the sqr log file (PeopleSoft SQR)

Ben,

We've encountered this problem after moving to Win2k and the simplest
solution right now is to use a directory whose name is not "temp" - you can
even use c:\SQRtemp, just not "temp".

-----Original Message-----
From: Ben Stevens [mailto:surreal@SPEAKEASY.ORG]
Sent: Tuesday, July 17, 2001 4:29 PM
To: SQR-USERS@list.iex.net
Subject: (SQR 5703) Error opening the sqr log file (PeopleSoft SQR)


Hi, hello.  I'm working on a PeopleSoft upgrade, and as usual I'm batching
many of the .DMS and .SQR scripts together to run unattended.  Everything
was fine until my Windows 95 workstation was upgraded to Windows 2000.  Now,
the batch file fails when I try to run an SQR on the command line.

Does anyone have any insight why this batch file would run on Windows 95,
but not on Windows 2000?

Thanks

benj  (surreal@speakeasy.org)
An example is sysaudit.bat:


setlocal
rem =============  edit below for db information ==========
SET DBNAME=HR75UPG

rem =============  edit below for db login ================
SET DBLOGIN=SYSADM
SET DBPASSWD=SYSADM

rem =============  edit below for PS login
SET PSLOGIN=PS
SET PSPASSWD=PS

rem =============  edit below for SQR constants ===========
SET SQREXE=Q:\APPS\Hr75\HR751\sqrbinw\sqrw.exe
SET SQRLOC=Q:\APPS\HR75\HR751\SQR
SET DIRLIST=-iQ:\APPS\hr75\hr751\sqr\
SET ALLMAXES=-mq:\APPS\hr75\hr751\sqr\allmaxes.max
SET SQRINI=-ZIFQ:\APPS\hr75\hr751\sqr\pssqr.ini

rem =============  edit below for Data Mover constants ====
SET DMSEXE=Q:\APPS\Hr75\HR751\bin\CLIENT\WINX86\PSDMT.EXE
SET DMSLOC=Q:\APPS\HR75\HR751\SCRIPTS

rem =============  local drive, change to dbbin directory
c:
cd \orawin95\bin

rem ====================== for SQL's
rem ===START /W C:\ORAWIN95\BIN\SQLPLUS.EXE %DBLOGIN%/%DBPASSWD%@%DBNAME%
@%DMSLOC%\XXXXSCRIPTNAMEXXXX.SQL


rem ====================== for SQRs
rem ===SET SQRPROG=XXXXXXX
rem ===IF EXIST C:\TEMP\%SQRPROG%.LOG PAUSE
rem ===IF EXIST C:\TEMP\%SQRPROG%.LIS PAUSE
rem ===START /W %SQREXE% %SQRLOC%\%SQRPROG%.SQR
%DBLOGIN%/%DBPASSWD%@%DBNAME% %DIRLIST% -EC:\TEMP\%SQRPROG%.ERR
%ALLMAXES% -fC:\TEMP\%SQRPROG%.LIS %SQRINI% -Oc:\temp\%SQRPROG%.log
rem ===if EXIST C:\TEMP\%SQRPROG%.ERR PAUSE

rem ====================== for data mover
rem ===SET DMSSCRIPT=XXXXXXX
rem ===IF EXIST C:\TEMP\%DMSSCRIPT%.LOG PAUSE
rem ===IF EXIST C:\TEMP\%DMSSCRIPT%.LIS PAUSE
rem ===START /W %DMSEXE%   -SS NO -CT ORACLE -CD %DBNAME% -CO %PSLOGIN% -CP
%PSPASSWD% -FP %DMSLOC%\%DMSSCRIPT%.DMS

rem ======================for restart
REM goto restart
:restart

set | more
pause

rem ====================== SYSAUDIT.SQR
SET SQRPROG=SYSAUDIT
IF EXIST C:\TEMP\%SQRPROG%.LOG PAUSE
IF EXIST C:\TEMP\%SQRPROG%.LIS PAUSE
rem START /WAIT Q:\APPS\Hr75\HR751\sqrbinw\sqrw.exe
Q:\APPS\HR75\HR751\SQR\SYSAUDIT.SQR
SYSADM/SYSADM@HR75UPG -iQ:\APPS\hr75\hr751\sqr\ -EC:\TEMP\SYSAUDIT.ERR -mq:\
APPS\hr75\hr751\sqr\allmaxes.max -fC:\TEMP\SYSAUDIT.LIS -ZIFQ:\APPS\hr75\hr7
51\sqr\pssqr.ini -Oc:\temp
START /W %SQREXE% %SQRLOC%\%SQRPROG%.SQR %DBLOGIN%/%DBPASSWD%@%DBNAME%
%DIRLIST% -EC:\TEMP\%SQRPROG%.ERR %ALLMAXES% -fC:\TEMP\%SQRPROG%.LIS
%SQRINI% -Oc:\temp\%SQRPROG%.log
if EXIST C:\TEMP\%SQRPROG%.ERR PAUSE

From owner-sqr-users@list.iex.net  Wed Jul 18 09:30:52 2001
Date:         Wed, 18 Jul 2001 10:21:31 -0400
From: Rod Wright 
Subject:      Re: (SQR 5703) Error opening the sqr log file (PeopleSoft SQR)

Hi Ben,

You may want to search the archives on the message board. While I'm not a
W2K user, I seem to remember some messages in the past 2 weeks dealing with
this issue. I believe one suggestion had something to do with setting
environment variables for the PC.

HTH,
Rod





Ben Stevens @list.iex.net> on 07/17/2001 05:20:55 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 5703) Error opening the sqr log file (PeopleSoft SQR)


Thanks for your email.

\orawin95\bin contains the NT executables for the Oracle Client.  It is
there due to the lazy and clueless Netware Application Admins who rule this
little serfdom with the Netware Application Launcher (NAL).   The Oracle
client and tools run fine from this obsolete location.

c:\temp exists, with full permissions for Everyone and SYSTEM.

I found this article from my archives:
Problem: After applying a security patch (security bulletin MS01-017) dated
April 2, 2001 customers are no longer able to  send any SQR output to their
c:\temp directory. This only affects SQR 4.3.4. SQR version 6.1.1 and 6.1.4
are not affected.
You will aloso get this error when trying to send the log file to the temp
directory. (SQR 5703) Error opening the sqr log file
Solution: At this time there is only a work around you must send the output
to any other directory other than c:\temp. PeoplesSoft is looking into a
more permenent fix and will notify cusotmers when we have more information.

I tried switching the output directory from c:\temp to c:\ps\temp and even
c:\winnt\temp.  Same error message (SQR 5703)

Any other guesses/hints?


-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Cullina, Adam
Sent: Tuesday, July 17, 2001 4:01 PM
To: SQR-USERS@list.iex.net
Subject: Re: (SQR 5703) Error opening the sqr log file (PeopleSoft SQR)


I would suggest you might not have a  \orawin95\bin anymore... perhaps an
\orant\
I don't think c:\temp\ is a stock directory in Windows 2000 either.
c:\winnt\temp exists by defaults, but I think c:\temp\ only exists if you
(or another application) creates it.

Not SURE about either, but it would be worth checking.

Adam

-----Original Message-----
From: Ben Stevens [mailto:surreal@SPEAKEASY.ORG]
Sent: Tuesday, July 17, 2001 3:29 PM
To: SQR-USERS@list.iex.net
Subject: (SQR 5703) Error opening the sqr log file (PeopleSoft SQR)


Hi, hello.  I'm working on a PeopleSoft upgrade, and as usual I'm batching
many of the .DMS and .SQR scripts together to run unattended.  Everything
was fine until my Windows 95 workstation was upgraded to Windows 2000.
Now,
the batch file fails when I try to run an SQR on the command line.

Does anyone have any insight why this batch file would run on Windows 95,
but not on Windows 2000?

Thanks

benj  (surreal@speakeasy.org)
An example is sysaudit.bat:


setlocal
rem =============  edit below for db information ==========
SET DBNAME=HR75UPG

rem =============  edit below for db login ================
SET DBLOGIN=SYSADM
SET DBPASSWD=SYSADM

rem =============  edit below for PS login
SET PSLOGIN=PS
SET PSPASSWD=PS

rem =============  edit below for SQR constants ===========
SET SQREXE=Q:\APPS\Hr75\HR751\sqrbinw\sqrw.exe
SET SQRLOC=Q:\APPS\HR75\HR751\SQR
SET DIRLIST=-iQ:\APPS\hr75\hr751\sqr\
SET ALLMAXES=-mq:\APPS\hr75\hr751\sqr\allmaxes.max
SET SQRINI=-ZIFQ:\APPS\hr75\hr751\sqr\pssqr.ini

rem =============  edit below for Data Mover constants ====
SET DMSEXE=Q:\APPS\Hr75\HR751\bin\CLIENT\WINX86\PSDMT.EXE
SET DMSLOC=Q:\APPS\HR75\HR751\SCRIPTS

rem =============  local drive, change to dbbin directory
c:
cd \orawin95\bin

rem ====================== for SQL's
rem ===START /W C:\ORAWIN95\BIN\SQLPLUS.EXE %DBLOGIN%/%DBPASSWD%@%DBNAME%
@%DMSLOC%\XXXXSCRIPTNAMEXXXX.SQL


rem ====================== for SQRs
rem ===SET SQRPROG=XXXXXXX
rem ===IF EXIST C:\TEMP\%SQRPROG%.LOG PAUSE
rem ===IF EXIST C:\TEMP\%SQRPROG%.LIS PAUSE
rem ===START /W %SQREXE% %SQRLOC%\%SQRPROG%.SQR
%DBLOGIN%/%DBPASSWD%@%DBNAME% %DIRLIST% -EC:\TEMP\%SQRPROG%.ERR
%ALLMAXES% -fC:\TEMP\%SQRPROG%.LIS %SQRINI% -Oc:\temp\%SQRPROG%.log
rem ===if EXIST C:\TEMP\%SQRPROG%.ERR PAUSE

rem ====================== for data mover
rem ===SET DMSSCRIPT=XXXXXXX
rem ===IF EXIST C:\TEMP\%DMSSCRIPT%.LOG PAUSE
rem ===IF EXIST C:\TEMP\%DMSSCRIPT%.LIS PAUSE
rem ===START /W %DMSEXE%   -SS NO -CT ORACLE -CD %DBNAME% -CO %PSLOGIN% -CP
%PSPASSWD% -FP %DMSLOC%\%DMSSCRIPT%.DMS

rem ======================for restart
REM goto restart
:restart

set | more
pause

rem ====================== SYSAUDIT.SQR
SET SQRPROG=SYSAUDIT
IF EXIST C:\TEMP\%SQRPROG%.LOG PAUSE
IF EXIST C:\TEMP\%SQRPROG%.LIS PAUSE
rem START /WAIT Q:\APPS\Hr75\HR751\sqrbinw\sqrw.exe
Q:\APPS\HR75\HR751\SQR\SYSAUDIT.SQR
SYSADM/SYSADM@HR75UPG -iQ:\APPS\hr75\hr751\sqr\ -EC:\TEMP\SYSAUDIT.ERR -mq:
\
APPS\hr75\hr751\sqr\allmaxes.max -fC:\TEMP\SYSAUDIT.LIS -ZIFQ:
\APPS\hr75\hr7
51\sqr\pssqr.ini -Oc:\temp
START /W %SQREXE% %SQRLOC%\%SQRPROG%.SQR %DBLOGIN%/%DBPASSWD%@%DBNAME%
%DIRLIST% -EC:\TEMP\%SQRPROG%.ERR %ALLMAXES% -fC:\TEMP\%SQRPROG%.LIS
%SQRINI% -Oc:\temp\%SQRPROG%.log
if EXIST C:\TEMP\%SQRPROG%.ERR PAUSE

From owner-sqr-users@list.iex.net  Wed Jul 18 16:11:00 2001
Date:         Wed, 18 Jul 2001 16:05:54 -0500
From: Ben Stevens 
Subject:      Re: (SQR 5703) Error opening the sqr log file (PeopleSoft SQR)

Thanks Rod.

The fix to this problem is the destination directory (-f ) cannot be named
TEMP:
-fC:\ps\temp\ - no
-fc:\temp\ - no
-fc:\winnt\temp\ - no
-fc:\sqr_kruft\ - works

I'm unable to reproduce this error on Win 2000 SP1.
Seems something happens in Win2000 SP2.


happy coding,  thanks.

-b


-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Rod Wright
Sent: Wednesday, July 18, 2001 9:22 AM
To: SQR-USERS@list.iex.net
Subject: Re: (SQR 5703) Error opening the sqr log file (PeopleSoft SQR)


Hi Ben,

You may want to search the archives on the message board. While I'm not a
W2K user, I seem to remember some messages in the past 2 weeks dealing with
this issue. I believe one suggestion had something to do with setting
environment variables for the PC.

HTH,
Rod





Ben Stevens @list.iex.net> on 07/17/2001 05:20:55 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 5703) Error opening the sqr log file (PeopleSoft SQR)


Thanks for your email.

\orawin95\bin contains the NT executables for the Oracle Client.  It is
there due to the lazy and clueless Netware Application Admins who rule this
little serfdom with the Netware Application Launcher (NAL).   The Oracle
client and tools run fine from this obsolete location.

c:\temp exists, with full permissions for Everyone and SYSTEM.

I found this article from my archives:
Problem: After applying a security patch (security bulletin MS01-017) dated
April 2, 2001 customers are no longer able to  send any SQR output to their
c:\temp directory. This only affects SQR 4.3.4. SQR version 6.1.1 and 6.1.4
are not affected.
You will aloso get this error when trying to send the log file to the temp
directory. (SQR 5703) Error opening the sqr log file
Solution: At this time there is only a work around you must send the output
to any other directory other than c:\temp. PeoplesSoft is looking into a
more permenent fix and will notify cusotmers when we have more information.

I tried switching the output directory from c:\temp to c:\ps\temp and even
c:\winnt\temp.  Same error message (SQR 5703)

Any other guesses/hints?


-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Cullina, Adam
Sent: Tuesday, July 17, 2001 4:01 PM
To: SQR-USERS@list.iex.net
Subject: Re: (SQR 5703) Error opening the sqr log file (PeopleSoft SQR)


I would suggest you might not have a  \orawin95\bin anymore... perhaps an
\orant\
I don't think c:\temp\ is a stock directory in Windows 2000 either.
c:\winnt\temp exists by defaults, but I think c:\temp\ only exists if you
(or another application) creates it.

Not SURE about either, but it would be worth checking.

Adam

-----Original Message-----
From: Ben Stevens [mailto:surreal@SPEAKEASY.ORG]
Sent: Tuesday, July 17, 2001 3:29 PM
To: SQR-USERS@list.iex.net
Subject: (SQR 5703) Error opening the sqr log file (PeopleSoft SQR)


Hi, hello.  I'm working on a PeopleSoft upgrade, and as usual I'm batching
many of the .DMS and .SQR scripts together to run unattended.  Everything
was fine until my Windows 95 workstation was upgraded to Windows 2000.
Now,
the batch file fails when I try to run an SQR on the command line.

Does anyone have any insight why this batch file would run on Windows 95,
but not on Windows 2000?

Thanks

benj  (surreal@speakeasy.org)
An example is sysaudit.bat:


setlocal
rem =============  edit below for db information ==========
SET DBNAME=HR75UPG

rem =============  edit below for db login ================
SET DBLOGIN=SYSADM
SET DBPASSWD=SYSADM

rem =============  edit below for PS login
SET PSLOGIN=PS
SET PSPASSWD=PS

rem =============  edit below for SQR constants ===========
SET SQREXE=Q:\APPS\Hr75\HR751\sqrbinw\sqrw.exe
SET SQRLOC=Q:\APPS\HR75\HR751\SQR
SET DIRLIST=-iQ:\APPS\hr75\hr751\sqr\
SET ALLMAXES=-mq:\APPS\hr75\hr751\sqr\allmaxes.max
SET SQRINI=-ZIFQ:\APPS\hr75\hr751\sqr\pssqr.ini

rem =============  edit below for Data Mover constants ====
SET DMSEXE=Q:\APPS\Hr75\HR751\bin\CLIENT\WINX86\PSDMT.EXE
SET DMSLOC=Q:\APPS\HR75\HR751\SCRIPTS

rem =============  local drive, change to dbbin directory
c:
cd \orawin95\bin

rem ====================== for SQL's
rem ===START /W C:\ORAWIN95\BIN\SQLPLUS.EXE %DBLOGIN%/%DBPASSWD%@%DBNAME%
@%DMSLOC%\XXXXSCRIPTNAMEXXXX.SQL


rem ====================== for SQRs
rem ===SET SQRPROG=XXXXXXX
rem ===IF EXIST C:\TEMP\%SQRPROG%.LOG PAUSE
rem ===IF EXIST C:\TEMP\%SQRPROG%.LIS PAUSE
rem ===START /W %SQREXE% %SQRLOC%\%SQRPROG%.SQR
%DBLOGIN%/%DBPASSWD%@%DBNAME% %DIRLIST% -EC:\TEMP\%SQRPROG%.ERR
%ALLMAXES% -fC:\TEMP\%SQRPROG%.LIS %SQRINI% -Oc:\temp\%SQRPROG%.log
rem ===if EXIST C:\TEMP\%SQRPROG%.ERR PAUSE

rem ====================== for data mover
rem ===SET DMSSCRIPT=XXXXXXX
rem ===IF EXIST C:\TEMP\%DMSSCRIPT%.LOG PAUSE
rem ===IF EXIST C:\TEMP\%DMSSCRIPT%.LIS PAUSE
rem ===START /W %DMSEXE%   -SS NO -CT ORACLE -CD %DBNAME% -CO %PSLOGIN% -CP
%PSPASSWD% -FP %DMSLOC%\%DMSSCRIPT%.DMS

rem ======================for restart
REM goto restart
:restart

set | more
pause

rem ====================== SYSAUDIT.SQR
SET SQRPROG=SYSAUDIT
IF EXIST C:\TEMP\%SQRPROG%.LOG PAUSE
IF EXIST C:\TEMP\%SQRPROG%.LIS PAUSE
rem START /WAIT Q:\APPS\Hr75\HR751\sqrbinw\sqrw.exe
Q:\APPS\HR75\HR751\SQR\SYSAUDIT.SQR
SYSADM/SYSADM@HR75UPG -iQ:\APPS\hr75\hr751\sqr\ -EC:\TEMP\SYSAUDIT.ERR -mq:
\
APPS\hr75\hr751\sqr\allmaxes.max -fC:\TEMP\SYSAUDIT.LIS -ZIFQ:
\APPS\hr75\hr7
51\sqr\pssqr.ini -Oc:\temp
START /W %SQREXE% %SQRLOC%\%SQRPROG%.SQR %DBLOGIN%/%DBPASSWD%@%DBNAME%
%DIRLIST% -EC:\TEMP\%SQRPROG%.ERR %ALLMAXES% -fC:\TEMP\%SQRPROG%.LIS
%SQRINI% -Oc:\temp\%SQRPROG%.log
if EXIST C:\TEMP\%SQRPROG%.ERR PAUSE

From owner-sqr-users@list.iex.net  Wed Jul 18 16:30:36 2001
Date:         Wed, 18 Jul 2001 16:25:22 -0500
From: Rick Hansen 
Subject:      Re: (SQR 5703) Error opening the sqr log file (PeopleSoft SQR)

I do not mean to disagree but this is not a fix.  Ok, maybe it is.  What's the

definition of the word is?    You can choose to simply not name your output

directory TEMP.  However, there is a problem with Win2000 machines, Peoplesoft,

and SQR.  If you would like a solution.  Contact Peoplesoft, as they have one.

As mentioned below, a search of this users group archive will uncover the
problem/solution # from PeopleSoft.

Others have reported seeing it using SP1 with certain other packages
installed.  Yet others, only with SP2 installed.  You can work around this
problem by using another directory name or look up the PeopleSoft fix and solve

it.  Your choice.

Good luck!

Rick





        sqr-users@list.iex.net
        07/18/2001 04:05 PM

                 To: SQR-USERS@list.iex.net
                 cc: (bcc: Rick Hansen/Davenport/MP/RSMi)
                 Subject: Re: (SQR 5703) Error opening the sqr log file (PeopleSoft SQR)



Thanks Rod.

The fix to this problem is the destination directory (-f ) cannot be named
TEMP:
-fC:\ps\temp\ - no
-fc:\temp\ - no
-fc:\winnt\temp\ - no
-fc:\sqr_kruft\ - works

I'm unable to reproduce this error on Win 2000 SP1.
Seems something happens in Win2000 SP2.


happy coding,  thanks.

-b


-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Rod Wright
Sent: Wednesday, July 18, 2001 9:22 AM
To: SQR-USERS@list.iex.net
Subject: Re: (SQR 5703) Error opening the sqr log file (PeopleSoft SQR)


Hi Ben,

You may want to search the archives on the message board. While I'm not a
W2K user, I seem to remember some messages in the past 2 weeks dealing with
this issue. I believe one suggestion had something to do with setting
environment variables for the PC.

HTH,
Rod





Ben Stevens @list.iex.net> on 07/17/2001 05:20:55 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 5703) Error opening the sqr log file (PeopleSoft SQR)


Thanks for your email.

\orawin95\bin contains the NT executables for the Oracle Client.  It is
there due to the lazy and clueless Netware Application Admins who rule this
little serfdom with the Netware Application Launcher (NAL).   The Oracle
client and tools run fine from this obsolete location.

c:\temp exists, with full permissions for Everyone and SYSTEM.

I found this article from my archives:
Problem: After applying a security patch (security bulletin MS01-017) dated
April 2, 2001 customers are no longer able to  send any SQR output to their
c:\temp directory. This only affects SQR 4.3.4. SQR version 6.1.1 and 6.1.4
are not affected.
You will aloso get this error when trying to send the log file to the temp
directory. (SQR 5703) Error opening the sqr log file
Solution: At this time there is only a work around you must send the output
to any other directory other than c:\temp. PeoplesSoft is looking into a
more permenent fix and will notify cusotmers when we have more information.

I tried switching the output directory from c:\temp to c:\ps\temp and even
c:\winnt\temp.  Same error message (SQR 5703)

Any other guesses/hints?


-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Cullina, Adam
Sent: Tuesday, July 17, 2001 4:01 PM
To: SQR-USERS@list.iex.net
Subject: Re: (SQR 5703) Error opening the sqr log file (PeopleSoft SQR)


I would suggest you might not have a  \orawin95\bin anymore... perhaps an
\orant\
I don't think c:\temp\ is a stock directory in Windows 2000 either.
c:\winnt\temp exists by defaults, but I think c:\temp\ only exists if you
(or another application) creates it.

Not SURE about either, but it would be worth checking.

Adam

-----Original Message-----
From: Ben Stevens [mailto:surreal@SPEAKEASY.ORG]
Sent: Tuesday, July 17, 2001 3:29 PM
To: SQR-USERS@list.iex.net
Subject: (SQR 5703) Error opening the sqr log file (PeopleSoft SQR)


Hi, hello.  I'm working on a PeopleSoft upgrade, and as usual I'm batching
many of the .DMS and .SQR scripts together to run unattended.  Everything
was fine until my Windows 95 workstation was upgraded to Windows 2000.
Now,
the batch file fails when I try to run an SQR on the command line.

Does anyone have any insight why this batch file would run on Windows 95,
but not on Windows 2000?

Thanks

benj  (surreal@speakeasy.org)
An example is sysaudit.bat:


setlocal
rem =============  edit below for db information ==========
SET DBNAME=HR75UPG

rem =============  edit below for db login ================
SET DBLOGIN=SYSADM
SET DBPASSWD=SYSADM

rem =============  edit below for PS login
SET PSLOGIN=PS
SET PSPASSWD=PS

rem =============  edit below for SQR constants ===========
SET SQREXE=Q:\APPS\Hr75\HR751\sqrbinw\sqrw.exe
SET SQRLOC=Q:\APPS\HR75\HR751\SQR
SET DIRLIST=-iQ:\APPS\hr75\hr751\sqr\
SET ALLMAXES=-mq:\APPS\hr75\hr751\sqr\allmaxes.max
SET SQRINI=-ZIFQ:\APPS\hr75\hr751\sqr\pssqr.ini

rem =============  edit below for Data Mover constants ====
SET DMSEXE=Q:\APPS\Hr75\HR751\bin\CLIENT\WINX86\PSDMT.EXE
SET DMSLOC=Q:\APPS\HR75\HR751\SCRIPTS

rem =============  local drive, change to dbbin directory
c:
cd \orawin95\bin

rem ====================== for SQL's
rem ===START /W C:\ORAWIN95\BIN\SQLPLUS.EXE %DBLOGIN%/%DBPASSWD%@%DBNAME%
@%DMSLOC%\XXXXSCRIPTNAMEXXXX.SQL


rem ====================== for SQRs
rem ===SET SQRPROG=XXXXXXX
rem ===IF EXIST C:\TEMP\%SQRPROG%.LOG PAUSE
rem ===IF EXIST C:\TEMP\%SQRPROG%.LIS PAUSE
rem ===START /W %SQREXE% %SQRLOC%\%SQRPROG%.SQR
%DBLOGIN%/%DBPASSWD%@%DBNAME% %DIRLIST% -EC:\TEMP\%SQRPROG%.ERR
%ALLMAXES% -fC:\TEMP\%SQRPROG%.LIS %SQRINI% -Oc:\temp\%SQRPROG%.log
rem ===if EXIST C:\TEMP\%SQRPROG%.ERR PAUSE

rem ====================== for data mover
rem ===SET DMSSCRIPT=XXXXXXX
rem ===IF EXIST C:\TEMP\%DMSSCRIPT%.LOG PAUSE
rem ===IF EXIST C:\TEMP\%DMSSCRIPT%.LIS PAUSE
rem ===START /W %DMSEXE%   -SS NO -CT ORACLE -CD %DBNAME% -CO %PSLOGIN% -CP
%PSPASSWD% -FP %DMSLOC%\%DMSSCRIPT%.DMS

rem ======================for restart
REM goto restart
:restart

set | more
pause

rem ====================== SYSAUDIT.SQR
SET SQRPROG=SYSAUDIT
IF EXIST C:\TEMP\%SQRPROG%.LOG PAUSE
IF EXIST C:\TEMP\%SQRPROG%.LIS PAUSE
rem START /WAIT Q:\APPS\Hr75\HR751\sqrbinw\sqrw.exe
Q:\APPS\HR75\HR751\SQR\SYSAUDIT.SQR
SYSADM/SYSADM@HR75UPG -iQ:\APPS\hr75\hr751\sqr\ -EC:\TEMP\SYSAUDIT.ERR -mq:
\
APPS\hr75\hr751\sqr\allmaxes.max -fC:\TEMP\SYSAUDIT.LIS -ZIFQ:
\APPS\hr75\hr7
51\sqr\pssqr.ini -Oc:\temp
START /W %SQREXE% %SQRLOC%\%SQRPROG%.SQR %DBLOGIN%/%DBPASSWD%@%DBNAME%
%DIRLIST% -EC:\TEMP\%SQRPROG%.ERR %ALLMAXES% -fC:\TEMP\%SQRPROG%.LIS
%SQRINI% -Oc:\temp\%SQRPROG%.log
if EXIST C:\TEMP\%SQRPROG%.ERR PAUSE

From owner-sqr-users@list.iex.net  Tue Jul 17 15:01:01 2001
Date:         Tue, 17 Jul 2001 16:04:43 -0400
From: "Lauri H. Macha" 
Subject:      Re: .lis file to Excel

At 03:46 PM 7/17/01 -0400, you wrote:
>Does anyone know how to format a tab delimited .lis file so Excel will not
>omit leading zeroes (0)?
>
>The zip code information on the .lis file is correct i.e. 06514, however,
>when the file is opened through Excel, the zip code is 6514.

Mario, try stringing it together with quotes.
For example:

let $quote = '"'  (that's single quote, double quote, single quote)
string $quote $zipcode $quote by '' into $newzipcode

Regards,
Lauri Macha

From owner-sqr-users@list.iex.net  Tue Jul 17 16:53:21 2001
Date:         Tue, 17 Jul 2001 14:49:36 -0700
From: Rachael Beatty 
Subject:      Re: .lis file to Excel

--0__=Mmm6x3uoFYpJTieAPULIGZiBtNqfgZK2WDvroHbKke6NhCs4GSWgMuJi
Content-Type: text/plain;
 charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: 7bit




In order for excel to retain the leading zeros, the column must be formatted
as text.

Hope that helps.

Rachael

>  -----Original Message-----
> From:   "Mario Mendoza" @INTERNET
> Sent:   Tuesday, July 17, 2001 12:47 PM
> To:     SQR-USERS@list.iex.net
> Subject:     .lis file to Excel
>
>
> Does anyone know how to format a tab delimited .lis file so Excel will not
> omit leading zeroes (0)?
>
> The zip code information on the .lis file is correct i.e. 06514, however,
> when the file is opened through Excel, the zip code is 6514.
>
> Thank you for any guidance.
>
> Mario Mendoza
> 1-888-647-6472 x633
> mariom@flagshipcredit.com
>

(See attached file: C.DTF)

--0__=Mmm6x3uoFYpJTieAPULIGZiBtNqfgZK2WDvroHbKke6NhCs4GSWgMuJi
Content-Type: application/octet-stream;
 name=C.DTF
Content-Disposition: attachment;
 filename=C.DTF
Content-Transfer-Encoding: base64

eJ8+IjEVAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQWAAwAOAAAA0QcHABEADgAxACQAAgBVAQEggAMADgAAANEHBwAR
AA4AIgAvAAIAUQEBCYABACEAAABBRTI0MjlGM0VFN0FENTExQUM0MjAwMDBFODY3QzBFRgA/BwEE
gAEAFwAAAFJFOiAubGlzIGZpbGUgdG8gRXhjZWwAOwcBDYAEAAIAAAACAAIAAQOQBgDsCQAAMwAA
AAMAAW4AAAAAAwAAgAggBgAAAAAAwAAAAAAAAEYAAAAAUoUAAH1uAQAeAAGACCAGAAAAAADAAAAA
AAAARgAAAABUhQAAAQAAAAQAAAA5LjAACwACgAggBgAAAAAAwAAAAAAAAEYAAAAABoUAAAAAAAAD
AAOACCAGAAAAAADAAAAAAAAARgAAAAABhQAAAAAAAAsABIAIIAYAAAAAAMAAAAAAAABGAAAAAAOF
AAAAAAAACwAFgAggBgAAAAAAwAAAAAAAAEYAAAAADoUAAAAAAAADAAaACCAGAAAAAADAAAAAAAAA
RgAAAAAQhQAAAAAAAAMAB4AIIAYAAAAAAMAAAAAAAABGAAAAABGFAAAAAAAACwAPgAggBgAAAAAA
wAAAAAAAAEYAAAAAFIUAAAAAAAADAAiACCAGAAAAAADAAAAAAAAARgAAAAAYhQAAAAAAAAsAEYAI
IAYAAAAAAMAAAAAAAABGAAAAAIKFAAABAAAAAgEJEAEAAABAA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AEwAQAAAAEAAAAAAAAAAgEKNwEAAAALAAAAKoZI
hvcUAwoDAgEAAgH5DwEAAAAQAAAAfMx2FeJ61RG6pwAErEyldw0AATcBAAAAEA4AAAsAAAAAAAAA
wAAAAAAAAEbQzxHgobEa4QAAAAAAAAAAAAAAAAAAAAA+AAMA/v8JAAYAAAAAAAAAAAAAAAEAAAAB
AAAAAAAAAAAQAAACAAAAAQAAAP7///8AAAAAAAAAAP//////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
//////////3///8EAAAA/v///wUAAAD+/////v//////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////UgBvAG8AdAAgAEUAbgB0AHIAeQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAABYABQD//////////wIAAAAWAwAAAAAAAMAAAAAAAABGAAAAAAAAAAAAAAAA
YJS0OAsPwQEDAAAAQAIAAAAAAAABAE8AbABlAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgACAf///////////////wAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAEMATwBOAFQARQBOAFQAUwAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAAIBAQAAAAMAAAD/////
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAF4BAAAAAAAAAwBNAGEAaQBs
AFMAdAByAGUAYQBtAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgA
AgH/////BAAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAADAAA
AAAAAAD+////AgAAAAMAAAAEAAAABQAAAAYAAAD+/////v////7/////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
/////wEAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAABCTV4BAAAAAAAAAAAAACgAAAA5AgAABAAAAAEAAQAAAAAAIAEAAMQOAADEDgAA
AAAAAAAAAAAAAAAA////AP//////////////////////////////////////////////////////
////////////////////////////////////////gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABugAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAABgP//////////////////////////////////////////////////////////////////////
////////////////////////ugAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
zzoAAGoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAUgBpAGMAaABFAGQAaQB0AEYAbABhAGcAcwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAA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
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AOOt

--0__=Mmm6x3uoFYpJTieAPULIGZiBtNqfgZK2WDvroHbKke6NhCs4GSWgMuJi--

From owner-sqr-users@list.iex.net  Wed Jul 18 03:48:41 2001
Date:         Wed, 18 Jul 2001 16:49:57 +0800
From: Emil Galicinao 
Subject:      Re: .lis file to Excel

Excel will preserve the leading zeroes if its in the format  ="06514"  but Im
not sure  if you would like this same format to appear in your .lis file.
-Emil

Mario Mendoza wrote:

> Does anyone know how to format a tab delimited .lis file so Excel will not
> omit leading zeroes (0)?
>
> The zip code information on the .lis file is correct i.e. 06514, however,
> when the file is opened through Excel, the zip code is 6514.
>
> Thank you for any guidance.
>
> Mario Mendoza
> 1-888-647-6472 x633
> mariom@flagshipcredit.com

From owner-sqr-users@list.iex.net  Wed Jul 18 08:29:06 2001
Date:         Wed, 18 Jul 2001 09:23:37 -0400
From: Rod Wright 
Subject:      Re: .lis file to Excel

You can do this by surrounding the field with an = and double quotes. For
example:

="01157"

Excel will then pull it in and display it as text with the leading zero.





Mario Mendoza @list.iex.net> on 07/17/2001
03:46:48 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:  .lis file to Excel


Does anyone know how to format a tab delimited .lis file so Excel will not
omit leading zeroes (0)?

The zip code information on the .lis file is correct i.e. 06514, however,
when the file is opened through Excel, the zip code is 6514.

Thank you for any guidance.

Mario Mendoza
1-888-647-6472 x633
mariom@flagshipcredit.com

From owner-sqr-users@list.iex.net  Wed Jul 18 08:35:00 2001
Date:         Wed, 18 Jul 2001 09:27:40 -0400
From: Denise White 
Subject:      Re: .lis file to Excel

Mario,

The other suggestions appear to all involve something that you do when you open
the file in Excel.  If you want to put a field in your data that will
automatically retain the leading zeroes, enclose it in double quotes and put an
equal sign in front of it.  What you end up with in your output file should look
like this:

="06514"

HTH,
Denise White
Sr. Programmer/Analyst
Vicor

----------------------------------------------------------------------

Date:    Tue, 17 Jul 2001 15:46:48 -0400
From:    Mario Mendoza 
Subject: .lis file to Excel

Does anyone know how to format a tab delimited .lis file so Excel will not
omit leading zeroes (0)?

The zip code information on the .lis file is correct i.e. 06514, however,
when the file is opened through Excel, the zip code is 6514.

Thank you for any guidance.

Mario Mendoza
1-888-647-6472 x633
mariom@flagshipcredit.com

From owner-sqr-users@list.iex.net  Tue Jul 17 15:35:44 2001
Date:         Tue, 17 Jul 2001 16:27:25 -0400
From: Rick_Creel@AONCONS.COM
Subject:      Directing output of files ?

I know you can use the -o and -f flags in the command line or configuration
settings to specify the directory name that the log and lis files will go to.
We have a special situation where the log and lis files would be better placed
in a directory other than the default.  So, my question is... can this be
overridden from within the SQR program itself?  If so, how do you specify the
directory for the 2 files?

Thanks a bunch for your help!

From owner-sqr-users@list.iex.net  Tue Jul 17 17:11:14 2001
Date:         Tue, 17 Jul 2001 17:08:39 -0500
From: Victor M Sotomayor III 
Subject:      Re: Directing output of files ?

The output lis file can be redirected in your SQR with no problem.  What you
have to do is use the new-report 'c:\temp\output.lis'  the only thing is
that this report will go to that directory everytime no matter what you put
in your -f param.

I am not sure about your logs within the SQR I don't think that is possible.
How are you running your SQR's you can set that in your process scheduler
configuration file there is a parameter for a Log Directory that you can
direct your log files to go to a specific location.  Actually you can set
your reports directory there also instead of touching every SQR to define a
new-report.  I hope this helps.

Victor


-----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: Tuesday, July 17, 2001 3:27 PM
To: SQR-USERS@list.iex.net
Subject: Directing output of files ?


I know you can use the -o and -f flags in the command line or configuration
settings to specify the directory name that the log and lis files will go
to.
We have a special situation where the log and lis files would be better
placed
in a directory other than the default.  So, my question is... can this be
overridden from within the SQR program itself?  If so, how do you specify
the
directory for the 2 files?

Thanks a bunch for your help!

From owner-sqr-users@list.iex.net  Wed Jul 18 10:17:04 2001
Date:         Wed, 18 Jul 2001 10:54:17 -0400
From: "Marcellus, Scott" 
Subject:      SQR Math Oddity...1=1...or does it?

I have tried the following snippet of code in SQR (6.1.4) and I am a little
baffled at the results when it evaluates that the values are not equal:
Oddly enough, converting the number with the to_char function properly
evaluates these statements correctly. I have tried this on several instances
of SQR that we have and found the results strange. Does anyone have any
ideas what may cause this? Can anyone else verify if this error occurs? Does
anyone have any ideas on how to resolve it?

Thanks,

Scott Marcellus

!Begin Code Snippet

let #x = 231.00
let #y = 16.17
let #z = 247.17
if to_char(#x + #y) = to_char(#z)
    print 'This is correct' (+1,20,0)
else
    print 'This is NOT correct' (+1,20,0)
end-if

if #x + #y = #z
    print 'This is correct' (+1,20,0)
else
    print 'This is NOT correct' (+1,20,0)
end-if

Let #y = 16.16
Let #z = 247.16
if #x + #y = #z
    print 'This is correct' (+1,20,0)
else
    print 'This is NOT correct' (+1,20,0)
end-if

let #x = 427667.1
let #y = -34.83
let #z = 427632.27
if #x + #y = #z
    print 'This is correct' (+1,20,0)
else
    print 'This is NOT correct' (+1,20,0)
let #tmpxy = #x + #y
    print #tmpxy                (+1,20,0)
    print #z                    (+1,20,0)

end-if

!End Code Snippet

From owner-sqr-users@list.iex.net  Wed Jul 18 10:21:27 2001
Date:         Wed, 18 Jul 2001 11:19:10 -0400
From: "Johnson, Dan" 
Subject:      Re: SQR Math Oddity...1=1...or does it?

Rounding error. Somewhere out at the nth decimal point these values are not
the same. Use an edit mask to truncate the values to only the number of
decimal places that you need.

-----Original Message-----
From: Marcellus, Scott [mailto:SMarcellus@AMILINK.COM]
Sent: Wednesday, July 18, 2001 10:54 AM
To: SQR-USERS@list.iex.net
Subject: SQR Math Oddity...1=1...or does it?


I have tried the following snippet of code in SQR (6.1.4) and I am a little
baffled at the results when it evaluates that the values are not equal:
Oddly enough, converting the number with the to_char function properly
evaluates these statements correctly. I have tried this on several instances
of SQR that we have and found the results strange. Does anyone have any
ideas what may cause this? Can anyone else verify if this error occurs? Does
anyone have any ideas on how to resolve it?

Thanks,

Scott Marcellus

!Begin Code Snippet

let #x = 231.00
let #y = 16.17
let #z = 247.17
if to_char(#x + #y) = to_char(#z)
    print 'This is correct' (+1,20,0)
else
    print 'This is NOT correct' (+1,20,0)
end-if

if #x + #y = #z
    print 'This is correct' (+1,20,0)
else
    print 'This is NOT correct' (+1,20,0)
end-if

Let #y = 16.16
Let #z = 247.16
if #x + #y = #z
    print 'This is correct' (+1,20,0)
else
    print 'This is NOT correct' (+1,20,0)
end-if

let #x = 427667.1
let #y = -34.83
let #z = 427632.27
if #x + #y = #z
    print 'This is correct' (+1,20,0)
else
    print 'This is NOT correct' (+1,20,0)
let #tmpxy = #x + #y
    print #tmpxy                (+1,20,0)
    print #z                    (+1,20,0)

end-if

!End Code Snippet

From owner-sqr-users@list.iex.net  Wed Jul 18 10:48:47 2001
Date:         Wed, 18 Jul 2001 08:43:24 -0700
From: Arjan Hoornstra 
Subject:      Re: SQR Math Oddity...1=1...or does it?

Scott,

This is a common problem, see also the 'Numeric vars' posts in this
maillinglist from a few days ago... and there are several other
examples in the history.

Arjan


--- "Marcellus, Scott"  wrote:
> I have tried the following snippet of code in SQR (6.1.4) and I am a
> little
> baffled at the results when it evaluates that the values are not
> equal:
> Oddly enough, converting the number with the to_char function
> properly
> evaluates these statements correctly. I have tried this on several
> instances
> of SQR that we have and found the results strange. Does anyone have
> any
> ideas what may cause this? Can anyone else verify if this error
> occurs? Does
> anyone have any ideas on how to resolve it?
>
> Thanks,
>
> Scott Marcellus
>
> !Begin Code Snippet
>
> let #x = 231.00
> let #y = 16.17
> let #z = 247.17
> if to_char(#x + #y) = to_char(#z)
>     print 'This is correct' (+1,20,0)
> else
>     print 'This is NOT correct' (+1,20,0)
> end-if
>
> if #x + #y = #z
>     print 'This is correct' (+1,20,0)
> else
>     print 'This is NOT correct' (+1,20,0)
> end-if
>
> Let #y = 16.16
> Let #z = 247.16
> if #x + #y = #z
>     print 'This is correct' (+1,20,0)
> else
>     print 'This is NOT correct' (+1,20,0)
> end-if
>
> let #x = 427667.1
> let #y = -34.83
> let #z = 427632.27
> if #x + #y = #z
>     print 'This is correct' (+1,20,0)
> else
>     print 'This is NOT correct' (+1,20,0)
> let #tmpxy = #x + #y
>     print #tmpxy                (+1,20,0)
>     print #z                    (+1,20,0)
>
> end-if
>
> !End Code Snippet


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

From owner-sqr-users@list.iex.net  Wed Jul 18 10:48:31 2001
Date:         Wed, 18 Jul 2001 10:44:25 -0500
From: "Lu, Clint" 
Subject:      Re: SQR Math Oddity...1=1...or does it?

Scott,

Try to put this default-numeric=DECIMAL in your pssqr.ini at
[Default-Settings] section. It will solve your problems.




Clint Lu
Sr. Programmer/Analyst
Caremark Rx, Inc.
Phone: (847) 559-4717
Fax    : (847) 559-4840


-----Original Message-----
From: Marcellus, Scott [mailto:SMarcellus@AMILINK.COM]
Sent: Wednesday, July 18, 2001 9:54 AM
To: SQR-USERS@list.iex.net
Subject: SQR Math Oddity...1=1...or does it?


I have tried the following snippet of code in SQR (6.1.4) and I am a little
baffled at the results when it evaluates that the values are not equal:
Oddly enough, converting the number with the to_char function properly
evaluates these statements correctly. I have tried this on several instances
of SQR that we have and found the results strange. Does anyone have any
ideas what may cause this? Can anyone else verify if this error occurs? Does
anyone have any ideas on how to resolve it?

Thanks,

Scott Marcellus

!Begin Code Snippet

let #x = 231.00
let #y = 16.17
let #z = 247.17
if to_char(#x + #y) = to_char(#z)
    print 'This is correct' (+1,20,0)
else
    print 'This is NOT correct' (+1,20,0)
end-if

if #x + #y = #z
    print 'This is correct' (+1,20,0)
else
    print 'This is NOT correct' (+1,20,0)
end-if

Let #y = 16.16
Let #z = 247.16
if #x + #y = #z
    print 'This is correct' (+1,20,0)
else
    print 'This is NOT correct' (+1,20,0)
end-if

let #x = 427667.1
let #y = -34.83
let #z = 427632.27
if #x + #y = #z
    print 'This is correct' (+1,20,0)
else
    print 'This is NOT correct' (+1,20,0)
let #tmpxy = #x + #y
    print #tmpxy                (+1,20,0)
    print #z                    (+1,20,0)

end-if

!End Code Snippet

From owner-sqr-users@list.iex.net  Wed Jul 18 10:49:20 2001
Date:         Wed, 18 Jul 2001 08:45:32 -0700
From: "Shaver, Richard H" 
Subject:      Re: SQR Math Oddity...1=1...or does it?

I declared #y as a decimal variable out to 10 places and it resolved the
problem.
Rick

-----Original Message-----
From: Marcellus, Scott [mailto:SMarcellus@AMILINK.COM]
Sent: Wednesday, July 18, 2001 7:54 AM
To: SQR-USERS@list.iex.net
Subject: SQR Math Oddity...1=1...or does it?


I have tried the following snippet of code in SQR (6.1.4) and I am a little
baffled at the results when it evaluates that the values are not equal:
Oddly enough, converting the number with the to_char function properly
evaluates these statements correctly. I have tried this on several instances
of SQR that we have and found the results strange. Does anyone have any
ideas what may cause this? Can anyone else verify if this error occurs? Does
anyone have any ideas on how to resolve it?

Thanks,

Scott Marcellus

!Begin Code Snippet

let #x = 231.00
let #y = 16.17
let #z = 247.17
if to_char(#x + #y) = to_char(#z)
    print 'This is correct' (+1,20,0)
else
    print 'This is NOT correct' (+1,20,0)
end-if

if #x + #y = #z
    print 'This is correct' (+1,20,0)
else
    print 'This is NOT correct' (+1,20,0)
end-if

Let #y = 16.16
Let #z = 247.16
if #x + #y = #z
    print 'This is correct' (+1,20,0)
else
    print 'This is NOT correct' (+1,20,0)
end-if

let #x = 427667.1
let #y = -34.83
let #z = 427632.27
if #x + #y = #z
    print 'This is correct' (+1,20,0)
else
    print 'This is NOT correct' (+1,20,0)
let #tmpxy = #x + #y
    print #tmpxy                (+1,20,0)
    print #z                    (+1,20,0)

end-if

!End Code Snippet

From owner-sqr-users@list.iex.net  Wed Jul 18 12:55:27 2001
Date:         Wed, 18 Jul 2001 10:46:50 -0700
From: Charllotte Hurt 
Subject:      writing to two output files in sqr

Can someone share their code to write out two different print files from one sqr.  We are trying to write checks and then print the register right behind the checks.  Any assistance would be appreciated.

We are using an HP laser printer.  I once had access to a very good reference provided by HP of escape sequences.  I would like to get another copy of that publication.  I want to send a command for manual feed so that the operator has time to change the forms.

From owner-sqr-users@list.iex.net  Wed Jul 18 13:10:18 2001
Date:         Wed, 18 Jul 2001 14:04:45 -0400
From: Rod Wright 
Subject:      Re: writing to two output files in sqr

Charlotte,

For a complete list of the PCL commands, visit HP.COM

http://www.hp.com/cposupport/printers/support_doc/bpl02705.html

HTH,
Rod





Charllotte Hurt @list.iex.net> on 07/18/2001
01:46:50 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:  writing to two output files in sqr


Can someone share their code to write out two different print files from
one sqr.  We are trying to write checks and then print the register right
behind the checks.  Any assistance would be appreciated.

We are using an HP laser printer.  I once had access to a very good
reference provided by HP of escape sequences.  I would like to get another
copy of that publication.  I want to send a command for manual feed so that
the operator has time to change the forms.

From owner-sqr-users@list.iex.net  Wed Jul 18 13:21:30 2001
Date:         Wed, 18 Jul 2001 13:06:18 -0500
From: Randall Rivers 
Subject:      Re: writing to two output files in sqr

Charlotte,
I saw a posting on the PeopleSoft users Listserv:

Try adding an HP PCL command for this in your output.

Manual Feed Paper Ec&l2H (h)
Tray 1 Ec&l8H (h)

There is a complete list of HP PCL commands at HP.COM

http://www.hp.com/cposupport/printers/support_doc/bpl02705.html

Hope this helps.

Randall.Rivers@BOSSCorporation.com

----- Original Message -----
From: "Charllotte Hurt" 
To: 
Sent: Wednesday, July 18, 2001 12:46 PM
Subject: writing to two output files in sqr


> Can someone share their code to write out two different print files from
one sqr.  We are trying to write checks and then print the register right
behind the checks.  Any assistance would be appreciated.
>
> We are using an HP laser printer.  I once had access to a very good
reference provided by HP of escape sequences.  I would like to get another
copy of that publication.  I want to send a command for manual feed so that
the operator has time to change the forms.
>
>

From owner-sqr-users@list.iex.net  Wed Jul 18 16:16:40 2001
Date:         Wed, 18 Jul 2001 17:14:13 -0400
From: Joy Hoyte 
Subject:      Capturing DB2 SQLCODE values in SQR

Good Evening,

Has anyone been successful at capturing, from within SQR, the SQLCODE values
returned by DB2?  I'm referring to the Sqlcode values such as 100 (no rows
found), or -803 (duplicate row), etc.  Is there some way to check this value
from within an SQR in order to perform conditional processing based on the
value?

In case you are going to suggest the reserved variable #sql-status, that
does not work.

The word from Brio tech support is that currently SQR cannot capture these
values.  However, I thought it was worth a shot to check to see if some
crafty SQR programmer out there had possibly come up with a way.

Thanks in advance.

Joy Hoyte

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

From owner-sqr-users@list.iex.net  Wed Jul 18 17:02:12 2001
Date:         Wed, 18 Jul 2001 14:58:58 -0700
From: mandava 
Subject:      Re: Capturing DB2 SQLCODE values in SQR

Hi,

  Try with #return-status

This may help.

Srini Mandava
Sr. Enterprise IT Applications Analyst
WebGain Inc.
admin@techmagix.com

----- Original Message -----
From: "Joy Hoyte" 
To: 
Sent: Wednesday, July 18, 2001 2:14 PM
Subject: Capturing DB2 SQLCODE values in SQR


> Good Evening,
>
> Has anyone been successful at capturing, from within SQR, the SQLCODE
values
> returned by DB2?  I'm referring to the Sqlcode values such as 100 (no rows
> found), or -803 (duplicate row), etc.  Is there some way to check this
value
> from within an SQR in order to perform conditional processing based on the
> value?
>
> In case you are going to suggest the reserved variable #sql-status, that
> does not work.
>
> The word from Brio tech support is that currently SQR cannot capture these
> values.  However, I thought it was worth a shot to check to see if some
> crafty SQR programmer out there had possibly come up with a way.
>
> Thanks in advance.
>
> Joy Hoyte
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>

From owner-sqr-users@list.iex.net  Wed Jul 18 22:34:05 2001
Date:         Wed, 18 Jul 2001 23:26:01 -0400
From: Joy Hoyte 
Subject:      Re: Capturing DB2 SQLCODE values in SQR

Thanks, Srini, but that doesn't work either.

Joy
----- Original Message -----
From: "mandava" 
To: 
Sent: Wednesday, July 18, 2001 5:58 PM
Subject: Re: Capturing DB2 SQLCODE values in SQR


> Hi,
>
>   Try with #return-status
>
> This may help.
>
> Srini Mandava
> Sr. Enterprise IT Applications Analyst
> WebGain Inc.
> admin@techmagix.com
>
> ----- Original Message -----
> From: "Joy Hoyte" 
> To: 
> Sent: Wednesday, July 18, 2001 2:14 PM
> Subject: Capturing DB2 SQLCODE values in SQR
>
>
> > Good Evening,
> >
> > Has anyone been successful at capturing, from within SQR, the SQLCODE
> values
> > returned by DB2?  I'm referring to the Sqlcode values such as 100 (no
rows
> > found), or -803 (duplicate row), etc.  Is there some way to check this
> value
> > from within an SQR in order to perform conditional processing based on
the
> > value?
> >
> > In case you are going to suggest the reserved variable #sql-status, that
> > does not work.
> >
> > The word from Brio tech support is that currently SQR cannot capture
these
> > values.  However, I thought it was worth a shot to check to see if some
> > crafty SQR programmer out there had possibly come up with a way.
> >
> > Thanks in advance.
> >
> > Joy Hoyte
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at http://explorer.msn.com
> >
>

From owner-sqr-users@list.iex.net  Thu Jul 19 06:38:13 2001
Date:         Thu, 19 Jul 2001 05:23:50 -0600
From: Scott Hitchcock 
Subject:      Re: Capturing DB2 SQLCODE values in SQR

Joy,

Does the reserved variable $sql-error work?  In oracle I get the complete
text of the error such as:

ORA-06512: at "STG.CG$BIR_TEMP_PO_LINES", line 73

You can the parse the message to get the error number.

or

Does db2 have a system table or error stack you can select the error for the
current cursor from?



>From: Joy Hoyte 
>Reply-To: sqr-users@list.iex.net
>To: SQR-USERS@list.iex.net
>Subject: Capturing DB2 SQLCODE values in SQR
>Date: Wed, 18 Jul 2001 17:14:13 -0400
>
>Good Evening,
>
>Has anyone been successful at capturing, from within SQR, the SQLCODE
>values
>returned by DB2?  I'm referring to the Sqlcode values such as 100 (no rows
>found), or -803 (duplicate row), etc.  Is there some way to check this
>value
>from within an SQR in order to perform conditional processing based on the
>value?
>
>In case you are going to suggest the reserved variable #sql-status, that
>does not work.
>
>The word from Brio tech support is that currently SQR cannot capture these
>values.  However, I thought it was worth a shot to check to see if some
>crafty SQR programmer out there had possibly come up with a way.
>
>Thanks in advance.
>
>Joy Hoyte
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

From owner-sqr-users@list.iex.net  Thu Jul 19 07:44:31 2001
Date:         Thu, 19 Jul 2001 08:36:32 -0400
From: "Schelske, Steve K." 
Subject:      Re: Capturing DB2 SQLCODE values in SQR

I've been able to do the following to detect -803 SQLCODE on a DB2 database.

My BEGIN-SQL looks like;

BEGIN-SQL       ON-ERROR=SQLInsertError

INSERT
.
.
.
END-SQL

Then, procedure SQLInsertError looks like (I defined {DUP-INSERT} as -803
earlier in the program):

begin-procedure SQLInsertError

  if #sql-status = {DUP-INSERT}
      let $line = 'User exists, no action taken (' || $table || ')'
      print $line                  (,{ACTION-POS})
      add 1                        to #dup-inserts
  else
      do SQLError
  end-if

end-procedure

I'm not sure exactly what triggers an ON-ERROR condition.  I'd assume that
for a BEGIN-SQL it is probably SQLCODE < 0, while BEGIN-SELECTs maybe
anything other than +0 or +100.  What is the correct answer?

In a BEGIN-SELECT, you know you've hit a +100 when the next line of code
after the BEGIN-SELECT is executed.  If you need to know whether any rows
were returned in the BEGIN-SELECT, you have to set some sort of flag within
the BEGIN-SELECT and then check it's value after the BEGIN-SELECT has ended.

I do know that I have successfully used #sql-status, but have heard other
complaints like yours.  Maybe it depends on the specific use?

Here's a snip of code where I use #sql-status:

if #user-exists
        if #sql-status = 0         ! SQL Status from insert to oprcls table
            do Update-User
            print 'Update'         (,{ACTION-POS})
        end-if
else
.
.
end-if

hth
-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Joy Hoyte
Sent: Wednesday, July 18, 2001 5:14 PM
To: SQR-USERS@list.iex.net
Subject: Capturing DB2 SQLCODE values in SQR


Good Evening,

Has anyone been successful at capturing, from within SQR, the SQLCODE values
returned by DB2?  I'm referring to the Sqlcode values such as 100 (no rows
found), or -803 (duplicate row), etc.  Is there some way to check this value
from within an SQR in order to perform conditional processing based on the
value?

In case you are going to suggest the reserved variable #sql-status, that
does not work.

The word from Brio tech support is that currently SQR cannot capture these
values.  However, I thought it was worth a shot to check to see if some
crafty SQR programmer out there had possibly come up with a way.

Thanks in advance.

Joy Hoyte

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

From owner-sqr-users@list.iex.net  Thu Jul 19 10:16:38 2001
Date:         Thu, 19 Jul 2001 15:13:03 -0000
From: "Maculsay, Gary R" 
Subject:      Re: Capturing DB2 SQLCODE values in SQR

One of our folks has discovered an anomaly with sqr-db2 on-error.  We are
discussing it with Brio.

If you have a begin-select distinct, all errors (negative sql codes) are
passed to the on-error routine.  Without the distinct, we know that a -904
is NOT captured/passed to the routine.  After the -904, DB2 closes the
cursor, and then sqr internally discovers this and dumps a -501 to the error
log.  Note that sqr must be doing this programmatically - DB2 did not issue
the -501. That's a little eery.

I'm wondering Steve/Joy - are you using the sqr-db2 software, or sqr odbc??

SQR Solaris V6.1.3
DB2/OS390 V6.1

-----Original Message-----
From: Schelske, Steve K. [mailto:SKSchelske@AAAMICHIGAN.COM]
Sent: Thursday, July 19, 2001 5:37 AM
To: SQR-USERS@list.iex.net
Subject: Re: Capturing DB2 SQLCODE values in SQR


I've been able to do the following to detect -803 SQLCODE on a DB2 database.

My BEGIN-SQL looks like;

BEGIN-SQL       ON-ERROR=SQLInsertError

INSERT
.
.
.
END-SQL

Then, procedure SQLInsertError looks like (I defined {DUP-INSERT} as -803
earlier in the program):

begin-procedure SQLInsertError

  if #sql-status = {DUP-INSERT}
      let $line = 'User exists, no action taken (' || $table || ')'
      print $line                  (,{ACTION-POS})
      add 1                        to #dup-inserts
  else
      do SQLError
  end-if

end-procedure

I'm not sure exactly what triggers an ON-ERROR condition.  I'd assume that
for a BEGIN-SQL it is probably SQLCODE < 0, while BEGIN-SELECTs maybe
anything other than +0 or +100.  What is the correct answer?

In a BEGIN-SELECT, you know you've hit a +100 when the next line of code
after the BEGIN-SELECT is executed.  If you need to know whether any rows
were returned in the BEGIN-SELECT, you have to set some sort of flag within
the BEGIN-SELECT and then check it's value after the BEGIN-SELECT has ended.

I do know that I have successfully used #sql-status, but have heard other
complaints like yours.  Maybe it depends on the specific use?

Here's a snip of code where I use #sql-status:

if #user-exists
        if #sql-status = 0         ! SQL Status from insert to oprcls table
            do Update-User
            print 'Update'         (,{ACTION-POS})
        end-if
else
.
.
end-if

hth
-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Joy Hoyte
Sent: Wednesday, July 18, 2001 5:14 PM
To: SQR-USERS@list.iex.net
Subject: Capturing DB2 SQLCODE values in SQR


Good Evening,

Has anyone been successful at capturing, from within SQR, the SQLCODE values
returned by DB2?  I'm referring to the Sqlcode values such as 100 (no rows
found), or -803 (duplicate row), etc.  Is there some way to check this value
from within an SQR in order to perform conditional processing based on the
value?

In case you are going to suggest the reserved variable #sql-status, that
does not work.

The word from Brio tech support is that currently SQR cannot capture these
values.  However, I thought it was worth a shot to check to see if some
crafty SQR programmer out there had possibly come up with a way.

Thanks in advance.

Joy Hoyte

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

From owner-sqr-users@list.iex.net  Fri Jul 20 13:34:07 2001
Date:         Fri, 20 Jul 2001 14:21:16 -0400
From: Joy Hoyte 
Subject:      Re: Capturing DB2 SQLCODE values in SQR

> I'm wondering Steve/Joy - are you using the sqr-db2 software, or sqr
odbc??
>

SQR ODBC here.  Thanks for the heads up on the sqr-db2 problem.

Thanks for your input too Steve.  I need to have my client do some
additional testing on these codes.

Joy
----- Original Message -----
From: "Maculsay, Gary R" 
To: 
Sent: Thursday, July 19, 2001 11:13 AM
Subject: Re: Capturing DB2 SQLCODE values in SQR


> One of our folks has discovered an anomaly with sqr-db2 on-error.  We are
> discussing it with Brio.
>
> If you have a begin-select distinct, all errors (negative sql codes) are
> passed to the on-error routine.  Without the distinct, we know that a -904
> is NOT captured/passed to the routine.  After the -904, DB2 closes the
> cursor, and then sqr internally discovers this and dumps a -501 to the
error
> log.  Note that sqr must be doing this programmatically - DB2 did not
issue
> the -501. That's a little eery.
>
> I'm wondering Steve/Joy - are you using the sqr-db2 software, or sqr
odbc??
>
> SQR Solaris V6.1.3
> DB2/OS390 V6.1
>
> -----Original Message-----
> From: Schelske, Steve K. [mailto:SKSchelske@AAAMICHIGAN.COM]
> Sent: Thursday, July 19, 2001 5:37 AM
> To: SQR-USERS@list.iex.net
> Subject: Re: Capturing DB2 SQLCODE values in SQR
>
>
> I've been able to do the following to detect -803 SQLCODE on a DB2
database.
>
> My BEGIN-SQL looks like;
>
> BEGIN-SQL       ON-ERROR=SQLInsertError
>
> INSERT
> .
> .
> .
> END-SQL
>
> Then, procedure SQLInsertError looks like (I defined {DUP-INSERT} as -803
> earlier in the program):
>
> begin-procedure SQLInsertError
>
>   if #sql-status = {DUP-INSERT}
>       let $line = 'User exists, no action taken (' || $table || ')'
>       print $line                  (,{ACTION-POS})
>       add 1                        to #dup-inserts
>   else
>       do SQLError
>   end-if
>
> end-procedure
>
> I'm not sure exactly what triggers an ON-ERROR condition.  I'd assume that
> for a BEGIN-SQL it is probably SQLCODE < 0, while BEGIN-SELECTs maybe
> anything other than +0 or +100.  What is the correct answer?
>
> In a BEGIN-SELECT, you know you've hit a +100 when the next line of code
> after the BEGIN-SELECT is executed.  If you need to know whether any rows
> were returned in the BEGIN-SELECT, you have to set some sort of flag
within
> the BEGIN-SELECT and then check it's value after the BEGIN-SELECT has
ended.
>
> I do know that I have successfully used #sql-status, but have heard other
> complaints like yours.  Maybe it depends on the specific use?
>
> Here's a snip of code where I use #sql-status:
>
> if #user-exists
>         if #sql-status = 0         ! SQL Status from insert to oprcls
table
>             do Update-User
>             print 'Update'         (,{ACTION-POS})
>         end-if
> else
> .
> .
> end-if
>
> hth
> -----Original Message-----
> From: Discussion of SQR, Brio Technology's database reporting language
> [mailto:SQR-USERS@list.iex.net]On Behalf Of Joy Hoyte
> Sent: Wednesday, July 18, 2001 5:14 PM
> To: SQR-USERS@list.iex.net
> Subject: Capturing DB2 SQLCODE values in SQR
>
>
> Good Evening,
>
> Has anyone been successful at capturing, from within SQR, the SQLCODE
values
> returned by DB2?  I'm referring to the Sqlcode values such as 100 (no rows
> found), or -803 (duplicate row), etc.  Is there some way to check this
value
> from within an SQR in order to perform conditional processing based on the
> value?
>
> In case you are going to suggest the reserved variable #sql-status, that
> does not work.
>
> The word from Brio tech support is that currently SQR cannot capture these
> values.  However, I thought it was worth a shot to check to see if some
> crafty SQR programmer out there had possibly come up with a way.
>
> Thanks in advance.
>
> Joy Hoyte
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>

From owner-sqr-users@list.iex.net  Thu Jul 19 11:21:34 2001
Date:         Thu, 19 Jul 2001 12:13:08 -0400
From: "Schelske, Steve K." 
Subject:      Re: Capturing DB2 SQLCODE values in SQR


Subject:      Order By

Hi All,

I am using order by clause in SQR6.1.4 .It appears to work fine with a =
particular
column but then it very weird when I am using other columns with order =
by i.e
I get a random result .Does anyone have any ideas what may be the cause =
?Does
anyone have any ideas on how to resolve it?

Thanks

dipu sudhakaran

From owner-sqr-users@list.iex.net  Thu Jul 19 06:51:56 2001
Date:         Thu, 19 Jul 2001 06:41:38 -0500
From: Yogesh Kulkarni 
Subject:      Different dates are returned

Hi All,

     We are on Sun Solaris Unix with Oracle. I have a sqr which I run from
2 different directories(different owners). The date returned from the sqr
statement

begin-select
ADD_MONTHS(sysdate,-4)         &tab_dt

  move &tab_dt  to $old_po_dt
  show 'Processing for PO vouchers dated before ' $old_po_dt

from dual
end-select

is '19-MAR-2001' for one run and '19-MAR-01' for the other.  Any ideas why
this is happening ?

Thanks,
Yogesh

From owner-sqr-users@list.iex.net  Thu Jul 19 08:05:15 2001
Date:         Thu, 19 Jul 2001 09:55:06 -0300
From: Peter Clark 
Subject:      Re: Different dates are returned

Yogesh, check to see if each owner has their own SQR.INI file (PSSQR.INI if PeopleSoft) ... if so, then there is probably a difference in the SQR_DB_DATE_FORMAT statement.

>>> Yogesh Kulkarni  2001/07/19 8:41:38 am >>>
Hi All,

     We are on Sun Solaris Unix with Oracle. I have a sqr which I run from
2 different directories(different owners). The date returned from the sqr
statement

begin-select
ADD_MONTHS(sysdate,-4)         &tab_dt

  move &tab_dt  to $old_po_dt
  show 'Processing for PO vouchers dated before ' $old_po_dt

from dual
end-select

is '19-MAR-2001' for one run and '19-MAR-01' for the other.  Any ideas why
this is happening ?

Thanks,
Yogesh

From owner-sqr-users@list.iex.net  Thu Jul 19 09:56:06 2001
Date:         Thu, 19 Jul 2001 07:48:18 -0700
From: Rachael Beatty 
Subject:      Re: Different dates are returned

--0__=RXpQrO82sXhH6sbRODATYWx7pfEWDvx3eDYM5sHqBQ9ioZASkfcyOrha
Content-Type: text/plain;
 charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: 7bit




Also check if they have their own setenv.sqc sqr, this is where PeopleSoft
sets all the formats for the database types.

Hope that helps.

Rachael

>  -----Original Message-----
> From:   "Yogesh Kulkarni" @INTERNET
> Sent:   Thursday, July 19, 2001 4:42 AM
> To:     SQR-USERS@list.iex.net
> Subject:     Different dates are returned
>
>
> Hi All,
>
>      We are on Sun Solaris Unix with Oracle. I have a sqr which I run from
> 2 different directories(different owners). The date returned from the sqr
> statement
>
> begin-select
> ADD_MONTHS(sysdate,-4)         &tab_dt
>
>   move &tab_dt  to $old_po_dt
>   show 'Processing for PO vouchers dated before ' $old_po_dt
>
> from dual
> end-select
>
> is '19-MAR-2001' for one run and '19-MAR-01' for the other.  Any ideas why
> this is happening ?
>
> Thanks,
> Yogesh
>

(See attached file: C.DTF)

--0__=RXpQrO82sXhH6sbRODATYWx7pfEWDvx3eDYM5sHqBQ9ioZASkfcyOrha
Content-Type: application/octet-stream;
 name=C.DTF
Content-Disposition: attachment;
 filename=C.DTF
Content-Transfer-Encoding: base64

eJ8+IhYOAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQWAAwAOAAAA0QcHABMABwAwABIABAA/AQEggAMADgAAANEHBwAT
AAcAIQAVAAQAMwEBCYABACEAAAA0REEzRjMzMzEyN0NENTExQUM0MjAwMDBFODY3QzBFRgAVBwEE
gAEAIQAAAFJFOiBEaWZmZXJlbnQgZGF0ZXMgYXJlIHJldHVybmVkAJoLAQ2ABAACAAAAAgACAAED
kAYAoAoAADMAAAADAAFuAAAAAAMAAIAIIAYAAAAAAMAAAAAAAABGAAAAAFKFAAB9bgEAHgABgAgg
BgAAAAAAwAAAAAAAAEYAAAAAVIUAAAEAAAAEAAAAOS4wAAsAAoAIIAYAAAAAAMAAAAAAAABGAAAA
AAaFAAAAAAAAAwADgAggBgAAAAAAwAAAAAAAAEYAAAAAAYUAAAAAAAALAASACCAGAAAAAADAAAAA
AAAARgAAAAADhQAAAAAAAAsABYAIIAYAAAAAAMAAAAAAAABGAAAAAA6FAAAAAAAAAwAGgAggBgAA
AAAAwAAAAAAAAEYAAAAAEIUAAAAAAAADAAeACCAGAAAAAADAAAAAAAAARgAAAAARhQAAAAAAAAsA
D4AIIAYAAAAAAMAAAAAAAABGAAAAABSFAAAAAAAAAwAIgAggBgAAAAAAwAAAAAAAAEYAAAAAGIUA
AAAAAAALABGACCAGAAAAAADAAAAAAAAARgAAAACChQAAAQAAAAIBCRABAAAAzQMAAMkDAACbBQAA
TFpGdeVe6fcDAAoAcmNwZzEyNT4yAPQB9wKkA+MCAG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AA4AAADRBwcAEwAHADAAEQAEAD4BAgWQBgDMDgAADQAAAAMA
IQ4AAAAAAwALN2MBAAADACAOTg4AAAMA9w8AAAAAAgEQaAEAAAAOAAAAAAAAAAAAAAAAAAAAAAAA
AEAABzBgtVrYYRDBAUAACDBgtVrYYRDBAQMABTcGAAAAAgECNwEAAAAAAAAAHgABMAEAAAABAAAA
AAAAAAIBCjcBAAAACwAAACqGSIb3FAMKAwIBAAIB+Q8BAAAAEAAAAIePmmBEfNURuqcABKxMpXcN
AAE3AQAAABAOAAALAAAAAAAAAMAAAAAAAABG0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/
CQAGAAAAAAAAAAAAAAABAAAAAQAAAAAAAAAAEAAAAgAAAAEAAAD+////AAAAAAAAAAD/////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
///////////////////////////////////9////BAAAAP7///8FAAAA/v////7/////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
/////////////////////////////////1IAbwBvAHQAIABFAG4AdAByAHkAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWAAUA//////////8CAAAAFgMAAAAAAADA
AAAAAAAARgAAAAAAAAAAAAAAAEAsgLViEMEBAwAAAEACAAAAAAAAAQBPAGwAZQAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAgH/////////
//////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAABDAE8A
TgBUAEUATgBUAFMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAEgACAQEAAAADAAAA/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEA
AABeAQAAAAAAAAMATQBhAGkAbABTAHQAcgBlAGEAbQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAYAAIB/////wQAAAD/////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAABwAAAAwAAAAAAAAA/v///wIAAAADAAAABAAAAAUAAAAGAAAA/v////7////+
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
//////////////////////////////8BAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQk1eAQAAAAAAAAAAAAAoAAAAOQIAAAQAAAAB
AAEAAAAAACABAADEDgAAxA4AAAAAAAAAAAAAAAAAAP///wD/////////////////////////////
/////////////////////////////////////////////////////////////////4AAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAYD/////////////////////////////////////////////
/////////////////////////////////////////////////4AAAAAAAAAAAAAAAAAAAAAAAAAA
AAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAC+rg==

--0__=RXpQrO82sXhH6sbRODATYWx7pfEWDvx3eDYM5sHqBQ9ioZASkfcyOrha--

From owner-sqr-users@list.iex.net  Fri Jul 20 05:37:05 2001
Date:         Fri, 20 Jul 2001 05:27:42 -0500
From: Yogesh Kulkarni 
Subject:      Re: Different dates are returned

Hi Peter,

     I checked it out and there is only one sqr.ini file. Also, as Rachael
suggested, I checked that there is a single setenv.sqc file. Any other
suggestions where the problem might lie ?

Thanks,
Yogesh





Peter Clark 
07/19/2001 07:55 AM


Please respond to sqr-users@list.iex.net



To:   SQR-USERS@list.iex.net
cc:    (bcc: Yogesh S. Kulkarni/USVEN/Household)
Subject:  Re: Different dates are returned



Yogesh, check to see if each owner has their own SQR.INI file (PSSQR.INI if
PeopleSoft) ... if so, then there is probably a difference in the
SQR_DB_DATE_FORMAT statement.

>>> Yogesh Kulkarni  2001/07/19 8:41:38 am >>>
Hi All,

     We are on Sun Solaris Unix with Oracle. I have a sqr which I run from
2 different directories(different owners). The date returned from the sqr
statement

begin-select
ADD_MONTHS(sysdate,-4)         &tab_dt

  move &tab_dt  to $old_po_dt
  show 'Processing for PO vouchers dated before ' $old_po_dt

from dual
end-select

is '19-MAR-2001' for one run and '19-MAR-01' for the other.  Any ideas why
this is happening ?

Thanks,
Yogesh

From owner-sqr-users@list.iex.net  Fri Jul 20 07:53:44 2001
Date:         Fri, 20 Jul 2001 07:51:44 -0500
From: John Letourneau 
Subject:      Re: Different dates are returned

Look for NLS_DATE_FORMAT in setupdb.sqc.

jml

Yogesh Kulkarni wrote:

> Hi Peter,
>
>      I checked it out and there is only one sqr.ini file. Also, as Rachael
> suggested, I checked that there is a single setenv.sqc file. Any other
> suggestions where the problem might lie ?
>
> Thanks,
> Yogesh
>
> Peter Clark 
> 07/19/2001 07:55 AM
>
> Please respond to sqr-users@list.iex.net
>
> To:   SQR-USERS@list.iex.net
> cc:    (bcc: Yogesh S. Kulkarni/USVEN/Household)
> Subject:  Re: Different dates are returned
>
> Yogesh, check to see if each owner has their own SQR.INI file (PSSQR.INI if
> PeopleSoft) ... if so, then there is probably a difference in the
> SQR_DB_DATE_FORMAT statement.
>
> >>> Yogesh Kulkarni  2001/07/19 8:41:38 am >>>
> Hi All,
>
>      We are on Sun Solaris Unix with Oracle. I have a sqr which I run from
> 2 different directories(different owners). The date returned from the sqr
> statement
>
> begin-select
> ADD_MONTHS(sysdate,-4)         &tab_dt
>
>   move &tab_dt  to $old_po_dt
>   show 'Processing for PO vouchers dated before ' $old_po_dt
>
> from dual
> end-select
>
> is '19-MAR-2001' for one run and '19-MAR-01' for the other.  Any ideas why
> this is happening ?
>
> Thanks,
> Yogesh

From owner-sqr-users@list.iex.net  Fri Jul 20 08:13:01 2001
Date:         Fri, 20 Jul 2001 06:11:44 -0700
From: Arun Kumar 
Subject:      Re: Different dates are returned

Yogesh,
Also Check the NLS_DATE_FORMAT parameter in the
oracle.ini file.

--- John Letourneau  wrote:
> Look for NLS_DATE_FORMAT in setupdb.sqc.
>
> jml
>
> Yogesh Kulkarni wrote:
>
> > Hi Peter,
> >
> >      I checked it out and there is only one
> sqr.ini file. Also, as Rachael
> > suggested, I checked that there is a single
> setenv.sqc file. Any other
> > suggestions where the problem might lie ?
> >
> > Thanks,
> > Yogesh
> >
> > Peter Clark 
> > 07/19/2001 07:55 AM
> >
> > Please respond to sqr-users@list.iex.net
> >
> > To:   SQR-USERS@list.iex.net
> > cc:    (bcc: Yogesh S. Kulkarni/USVEN/Household)
> > Subject:  Re: Different dates are returned
> >
> > Yogesh, check to see if each owner has their own
> SQR.INI file (PSSQR.INI if
> > PeopleSoft) ... if so, then there is probably a
> difference in the
> > SQR_DB_DATE_FORMAT statement.
> >
> > >>> Yogesh Kulkarni 
> 2001/07/19 8:41:38 am >>>
> > Hi All,
> >
> >      We are on Sun Solaris Unix with Oracle. I
> have a sqr which I run from
> > 2 different directories(different owners). The
> date returned from the sqr
> > statement
> >
> > begin-select
> > ADD_MONTHS(sysdate,-4)         &tab_dt
> >
> >   move &tab_dt  to $old_po_dt
> >   show 'Processing for PO vouchers dated before '
> $old_po_dt
> >
> > from dual
> > end-select
> >
> > is '19-MAR-2001' for one run and '19-MAR-01' for
> the other.  Any ideas why
> > this is happening ?
> >
> > Thanks,
> > Yogesh


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

From owner-sqr-users@list.iex.net  Fri Jul 20 08:10:45 2001
Date:         Fri, 20 Jul 2001 08:06:39 -0500
From: "Thomas D. Hins" 
Subject:      Re: Different dates are returned

Have your administrator check the date format on both servers to make sure
they have the century set on.

-----Original Message-----
From: Yogesh Kulkarni [mailto:yskulkarni@HOUSEHOLD.COM]
Sent: Friday, July 20, 2001 5:28 AM
To: SQR-USERS@list.iex.net
Subject: Re: Different dates are returned


Hi Peter,

     I checked it out and there is only one sqr.ini file. Also, as Rachael
suggested, I checked that there is a single setenv.sqc file. Any other
suggestions where the problem might lie ?

Thanks,
Yogesh





Peter Clark 
07/19/2001 07:55 AM


Please respond to sqr-users@list.iex.net



To:   SQR-USERS@list.iex.net
cc:    (bcc: Yogesh S. Kulkarni/USVEN/Household)
Subject:  Re: Different dates are returned



Yogesh, check to see if each owner has their own SQR.INI file (PSSQR.INI if
PeopleSoft) ... if so, then there is probably a difference in the
SQR_DB_DATE_FORMAT statement.

>>> Yogesh Kulkarni  2001/07/19 8:41:38 am >>>
Hi All,

     We are on Sun Solaris Unix with Oracle. I have a sqr which I run from
2 different directories(different owners). The date returned from the sqr
statement

begin-select
ADD_MONTHS(sysdate,-4)         &tab_dt

  move &tab_dt  to $old_po_dt
  show 'Processing for PO vouchers dated before ' $old_po_dt

from dual
end-select

is '19-MAR-2001' for one run and '19-MAR-01' for the other.  Any ideas why
this is happening ?

Thanks,
Yogesh

From owner-sqr-users@list.iex.net  Fri Jul 20 09:05:32 2001
Date:         Fri, 20 Jul 2001 10:00:19 -0400
From: George Jansen 
Subject:      Re: Different dates are returned

>>> yskulkarni@HOUSEHOLD.COM 07/20/01 06:27AM >>>
Hi Peter,

     I checked it out and there is only one sqr.ini file. Also, as
Rachael
suggested, I checked that there is a single setenv.sqc file. Any other
suggestions where the problem might lie ?

Thanks,
Yogesh





Peter Clark 
07/19/2001 07:55 AM


Please respond to sqr-users@list.iex.net



To:   SQR-USERS@list.iex.net
cc:    (bcc: Yogesh S. Kulkarni/USVEN/Household)
Subject:  Re: Different dates are returned



Yogesh, check to see if each owner has their own SQR.INI file
(PSSQR.INI if
PeopleSoft) ... if so, then there is probably a difference in the
SQR_DB_DATE_FORMAT statement.

>>> Yogesh Kulkarni  2001/07/19 8:41:38 am
>>>
Hi All,

     We are on Sun Solaris Unix with Oracle. I have a sqr which I run
from
2 different directories(different owners). The date returned from the
sqr
statement

begin-select
ADD_MONTHS(sysdate,-4)         &tab_dt

  move &tab_dt  to $old_po_dt
  show 'Processing for PO vouchers dated before ' $old_po_dt

from dual
end-select

is '19-MAR-2001' for one run and '19-MAR-01' for the other.  Any ideas
why
this is happening ?

Thanks,
Yogesh

From owner-sqr-users@list.iex.net  Fri Jul 20 09:17:18 2001
Date:         Fri, 20 Jul 2001 10:13:46 -0400
From: "Schutz, Jay" 
Subject:      Re: Different dates are returned

Are you both signing in to the same database?  Try including setupdb.sqc in
the program or set this command off in Oracle before you run the
sqlplus...ALTER SESSION SET NLS_DATE_FORMAT='DD-MON-YYYY'

                     Thanks,
                         Jay R. Schutz

Toys R Us - HRSystems
(201)802-5434
schutzj@toysrus.com
"C code...C code run,...Run code Run!"

-----Original Message-----
From: George Jansen [mailto:GJANSEN@AFLCIO.ORG]
Sent: Friday, July 20, 2001 10:00 AM
To: SQR-USERS@list.iex.net
Subject: Re: Different dates are returned


>>> yskulkarni@HOUSEHOLD.COM 07/20/01 06:27AM >>>
Hi Peter,

     I checked it out and there is only one sqr.ini file. Also, as
Rachael
suggested, I checked that there is a single setenv.sqc file. Any other
suggestions where the problem might lie ?

Thanks,
Yogesh





Peter Clark 
07/19/2001 07:55 AM


Please respond to sqr-users@list.iex.net



To:   SQR-USERS@list.iex.net
cc:    (bcc: Yogesh S. Kulkarni/USVEN/Household)
Subject:  Re: Different dates are returned



Yogesh, check to see if each owner has their own SQR.INI file
(PSSQR.INI if
PeopleSoft) ... if so, then there is probably a difference in the
SQR_DB_DATE_FORMAT statement.

>>> Yogesh Kulkarni  2001/07/19 8:41:38 am
>>>
Hi All,

     We are on Sun Solaris Unix with Oracle. I have a sqr which I run
from
2 different directories(different owners). The date returned from the
sqr
statement

begin-select
ADD_MONTHS(sysdate,-4)         &tab_dt

  move &tab_dt  to $old_po_dt
  show 'Processing for PO vouchers dated before ' $old_po_dt

from dual
end-select

is '19-MAR-2001' for one run and '19-MAR-01' for the other.  Any ideas
why
this is happening ?

Thanks,
Yogesh

From owner-sqr-users@list.iex.net  Thu Jul 19 08:36:55 2001
Date:         Thu, 19 Jul 2001 06:20:27 -0700
From: sathya ananth 
Subject:      create executable

Hi,
I am a new user to SQR.  I would like to know to
generate an sqt file from an SQR .  thanks.

Sathya Ananth

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

From owner-sqr-users@list.iex.net  Thu Jul 19 08:46:15 2001
Date:         Thu, 19 Jul 2001 08:39:16 -0500
From: "Hallmark, Robert J" 
Subject:      Re: create executable

Tanya,

Run your sqr report with a -rs parameter.  That will create the .sqt file.

Bob Hallmark
************************************************
-----Original Message-----
From: sathya ananth
Sent: Thursday, July 19, 2001 8:20 AM


Hi,
I am a new user to SQR.  I would like to know to
generate an sqt file from an SQR .  thanks.

Sathya Ananth

From owner-sqr-users@list.iex.net  Thu Jul 19 10:23:49 2001
Date:         Thu, 19 Jul 2001 11:23:03 -0400
From: Scott Eubank 
Subject:      Any One here Understand PS Tree Hierarchy

I need to write an SQR that creates a report that is eventually sorted by
ACCOUNT  but the USER wants accounts grouped according to the TREE ( i guess
leaf) that they are on.

I looked at Tony's tree SQR program.  Man I get lostin there.  I can tell
there is some kind of Hierarchy among the tables and that you need info from
some table to determine which table to select data from .  But how is all
this put together.

I have a simple sql that uses pstreenode and pstreeleaf TO POPULATE  a tree
veiw control in VB that looks like it has every thing I need but TONY's tree
SQR pulls data from a plethora of tables(  like all those numbered
PSTREESELECT## tables).

I just want a quick run down on how all these tables CREATE a TREE , then I
could determine if I could do this .

Thanks
Scott

From owner-sqr-users@list.iex.net  Thu Jul 19 10:51:14 2001
Date:         Thu, 19 Jul 2001 08:47:03 -0700
From: Rachael Beatty 
Subject:      Re: Any One here Understand PS Tree Hierarchy

--0__=U2VPaGAbDe8TfnAJROTRmX6hQ5zXPMtZUlRA6WwVNzMLYO0731bxusxW
Content-Type: text/plain;
 charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: 7bit




We have an sqr that parses thorough the tree, trying to emulate the data an
nvision layout would return.

The sqr uses PSTREENODE and for each node, selects the account range from
PSTREELEAF and that is all.

Hope that helps.

Rachael

>  -----Original Message-----
> From:   "Scott Eubank" @INTERNET
> Sent:   Thursday, July 19, 2001 8:23 AM
> To:     SQR-USERS@list.iex.net
> Subject:     Any One here Understand PS Tree Hierarchy
>
>
> I need to write an SQR that creates a report that is eventually sorted by
> ACCOUNT  but the USER wants accounts grouped according to the TREE ( i
> guess
> leaf) that they are on.
>
> I looked at Tony's tree SQR program.  Man I get lostin there.  I can tell
> there is some kind of Hierarchy among the tables and that you need info
> from
> some table to determine which table to select data from .  But how is all
> this put together.
>
> I have a simple sql that uses pstreenode and pstreeleaf TO POPULATE  a
> tree
> veiw control in VB that looks like it has every thing I need but TONY's
> tree
> SQR pulls data from a plethora of tables(  like all those numbered
> PSTREESELECT## tables).
>
> I just want a quick run down on how all these tables CREATE a TREE , then
> I
> could determine if I could do this .
>
> Thanks
> Scott
>

(See attached file: C.DTF)

--0__=U2VPaGAbDe8TfnAJROTRmX6hQ5zXPMtZUlRA6WwVNzMLYO0731bxusxW
Content-Type: application/octet-stream;
 name=C.DTF
Content-Disposition: attachment;
 filename=C.DTF
Content-Transfer-Encoding: base64

eJ8+IgcPAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQWAAwAOAAAA0QcHABMACAAvAAMABAAwAQEggAMADgAAANEHBwAT
AAgAIAAFAAQAIwEBCYABACEAAAA1NUFFRjMzMzEyN0NENTExQUM0MjAwMDBFODY3QzBFRgAZBwEE
gAEALgAAAFJFOiBBbnkgT25lIGhlcmUgVW5kZXJzdGFuZCBQUyBUcmVlIEhpZXJhcmNoeQCJDwEN
gAQAAgAAAAIAAgABA5AGAPALAAAzAAAAAwABbgAAAAADAACACCAGAAAAAADAAAAAAAAARgAAAABS
hQAAfW4BAB4AAYAIIAYAAAAAAMAAAAAAAABGAAAAAFSFAAABAAAABAAAADkuMAALAAKACCAGAAAA
AADAAAAAAAAARgAAAAAGhQAAAAAAAAMAA4AIIAYAAAAAAMAAAAAAAABGAAAAAAGFAAAAAAAACwAE
gAggBgAAAAAAwAAAAAAAAEYAAAAAA4UAAAAAAAALAAWACCAGAAAAAADAAAAAAAAARgAAAAAOhQAA
AAAAAAMABoAIIAYAAAAAAMAAAAAAAABGAAAAAB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D4AAwD+/wkABgAAAAAAAAAAAAAAAQAAAAEAAAAAAAAAABAAAAIAAAABAAAA/v///wAAAAAAAAAA
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////f///wQAAAD+////BQAAAP7////+////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////9SAG8AbwB0ACAARQBuAHQAcgB5AAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFgAFAP//////////AgAAABYD
AAAAAAAAwAAAAAAAAEYAAAAAAAAAAAAAAACAOoHqahDBAQMAAABAAgAAAAAAAAEATwBsAGUAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAIB
////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAA
AAAAQwBPAE4AVABFAE4AVABTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAABIAAgEBAAAAAwAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAABAAAAXgEAAAAAAAADAE0AYQBpAGwAUwB0AHIAZQBhAG0AAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAACAf////8EAAAA/////wAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAMAAAAAAAAAP7///8CAAAAAwAAAAQAAAAFAAAABgAAAP7/
///+/////v//////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////AQAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEJNXgEAAAAAAAAAAAAAKAAAADkC
AAAEAAAAAQABAAAAAAAgAQAAxA4AAMQOAAAAAAAAAAAAAAAAAAD///8A////////////////////
//////////////////////////////////////////////////////////////////////////+A
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGA////////////////////////////////////
//////////////////////////////////////////////////////////+AAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAADPOgAAagAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABSAGkAYwBoAEUAZABpAHQARgBsAGEAZwBzAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAACAP///////////////wAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA2q0=

--0__=U2VPaGAbDe8TfnAJROTRmX6hQ5zXPMtZUlRA6WwVNzMLYO0731bxusxW--

From owner-sqr-users@list.iex.net  Thu Jul 19 10:38:14 2001
Date:         Thu, 19 Jul 2001 08:33:25 -0700
From: Laxman Reddy 
Subject:      HELP --- locking  a table in ORACLE ..using SQR

All,
  Can we lock a table through SQL code from SQR
program.

Here is the situation:
two programs go and grab the max value from a control
table. when one sqr is selecting the table and
updating it ... the other sqr program call should wait
untill the lock is removed ...

any suggestions are welcome.

thanks in advance.
Laxman.


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

From owner-sqr-users@list.iex.net  Thu Jul 19 10:43:19 2001
Date:         Thu, 19 Jul 2001 11:39:02 -0400
From: "Johnson, Dan" 
Subject:      Re: HELP --- locking  a table in ORACLE ..using SQR

Perhaps you could call a PL/SQL procedure that has a select for update
cursor. There is probably a better way but this came to mind first.

Dan

-----Original Message-----
From: Laxman Reddy
Sent: Thursday, July 19, 2001 11:33 AM
Subject: HELP --- locking a table in ORACLE ..using SQR


All,
  Can we lock a table through SQL code from SQR
program.

Here is the situation:
two programs go and grab the max value from a control
table. when one sqr is selecting the table and
updating it ... the other sqr program call should wait
untill the lock is removed ...

any suggestions are welcome.

thanks in advance.
Laxman.


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

From owner-sqr-users@list.iex.net  Thu Jul 19 10:42:43 2001
Date:         Thu, 19 Jul 2001 10:39:55 -0500
From: Pragya Chandra 
Subject:      Re: HELP --- locking  a table in ORACLE ..using SQR

this is what we do in a similar situation: ( i would  use hte for update
command in both the programs that are clashing)

BEGIN-SELECT on-error=SQR-Error-Record
LAST_INTFC_ID    &LAST_INTFC_ID
   Let #intfc_id = &last_intfc_id + 1
FROM PS_INSTALLATION_BI
FOR UPDATE
END-SELECT

BEGIN-SQL ON-ERROR=SQL-ERROR
UPDATE PS_INSTALLATION_BI
  SET LAST_INTFC_ID = #INTFC_ID
END-SQL

COMMIT

-----Original Message-----
From: Laxman Reddy [mailto:laxmanreddy@YAHOO.COM]
Sent: Thursday, July 19, 2001 10:33 AM
To: SQR-USERS@list.iex.net
Subject: HELP --- locking a table in ORACLE ..using SQR


All,
  Can we lock a table through SQL code from SQR
program.

Here is the situation:
two programs go and grab the max value from a control
table. when one sqr is selecting the table and
updating it ... the other sqr program call should wait
untill the lock is removed ...

any suggestions are welcome.

thanks in advance.
Laxman.


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

From owner-sqr-users@list.iex.net  Thu Jul 19 10:59:23 2001
Date:         Thu, 19 Jul 2001 11:43:51 -0400
From: Raemil Billings 
Subject:      Re: HELP --- locking  a table in ORACLE ..using SQR

This might work but I haven't tested it.  In the SQR, perform a select for
update query but not for a max value.  Use an order by clause to get the
first record, which should be the maximum value you are seeking.  This will
also speed up your query according to some Oracle query optimization books.
If the select for update works, it will lock all the rows of the query
until you release the SQL.

Hope this helps,
Raemil Billings




                    laxmanreddy@Y
                    AHOO.COM             To:     SQR-USERS@list.iex.net
                    Sent by:             cc:
                    SQR-USERS@lis        Subject:     HELP --- locking  a table in ORACLE ..using
                    t.iex.net            SQR


                    07/19/2001
                    11:33 AM
                    Please
                    respond to
                    sqr-users






All,
  Can we lock a table through SQL code from SQR
program.

Here is the situation:
two programs go and grab the max value from a control
table. when one sqr is selecting the table and
updating it ... the other sqr program call should wait
untill the lock is removed ...

any suggestions are welcome.

thanks in advance.
Laxman.


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

From owner-sqr-users@list.iex.net  Thu Jul 19 11:11:02 2001
Date:         Thu, 19 Jul 2001 11:47:52 -0400
From: "Hopper, John" 
Subject:      Re: HELP --- locking  a table in ORACLE ..using SQR

In this case the updated table will remain locked until it is committed.
This is usually done at the end of the program. Either commit quickly, if
you can, or use a sequence instead of the table to get your next value.

-----Original Message-----
From: Laxman Reddy [mailto:laxmanreddy@YAHOO.COM]
Sent: Thursday, July 19, 2001 10:33 AM
To: SQR-USERS@list.iex.net
Subject: HELP --- locking a table in ORACLE ..using SQR


All,
  Can we lock a table through SQL code from SQR
program.

Here is the situation:
two programs go and grab the max value from a control
table. when one sqr is selecting the table and
updating it ... the other sqr program call should wait
untill the lock is removed ...

any suggestions are welcome.

thanks in advance.
Laxman.


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

From owner-sqr-users@list.iex.net  Thu Jul 19 10:58:55 2001
Date:         Thu, 19 Jul 2001 11:54:36 -0400
From: George Jansen 
Subject:      Re: HELP --- locking  a table in ORACLE ..using SQR

With Oracle 8i you can use a RETURNING clause on an  UPDATE statement to
get the modified value of the row:

begin-program
begin-sql
declare
  v_val number;;
begin
update a
  set b = b+1
  returning b into v_val;;
commit;;
#b := v_val - 1;;
end;;
end-sql
display 'b was '
display #b
end-program


>>> pchandra@FASTENAL.COM 07/19/01 11:39AM >>>
this is what we do in a similar situation: ( i would  use hte for
update
command in both the programs that are clashing)

BEGIN-SELECT on-error=SQR-Error-Record
LAST_INTFC_ID    &LAST_INTFC_ID
   Let #intfc_id = &last_intfc_id + 1
FROM PS_INSTALLATION_BI
FOR UPDATE
END-SELECT

BEGIN-SQL ON-ERROR=SQL-ERROR
UPDATE PS_INSTALLATION_BI
  SET LAST_INTFC_ID = #INTFC_ID
END-SQL

COMMIT

-----Original Message-----
From: Laxman Reddy [mailto:laxmanreddy@YAHOO.COM]
Sent: Thursday, July 19, 2001 10:33 AM
To: SQR-USERS@list.iex.net
Subject: HELP --- locking a table in ORACLE ..using SQR


All,
  Can we lock a table through SQL code from SQR
program.

Here is the situation:
two programs go and grab the max value from a control
table. when one sqr is selecting the table and
updating it ... the other sqr program call should wait
untill the lock is removed ...

any suggestions are welcome.

thanks in advance.
Laxman.


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

From owner-sqr-users@list.iex.net  Thu Jul 19 12:09:16 2001
Date:         Thu, 19 Jul 2001 12:19:50 -0400
From: "Salem, Mark" 
Subject:      Re: HELP --- locking  a table in ORACLE ..using SQR

AFTER THE UPDATE, the row should remain locked until a commit or a rollback
occurs. If neither is explicitly stated, then a commit occurs when the
report execution ends.  If an abort occurs, then Oracle will issue a
rollback.  Just selecting the max value does not lock the row.  You could
also try Dan's suggestion of using PL/SQL code to do a "Select for
update..." to lock the row at the time of selecting from it.

> -----Original Message-----
> From: Johnson, Dan [SMTP:Dan_Johnson@WRIGHTEXPRESS.COM]
> Sent: Thursday, July 19, 2001 11:39 AM
> To:   SQR-USERS@list.iex.net
> Subject:      Re: HELP --- locking  a table in ORACLE ..using SQR
>
> Perhaps you could call a PL/SQL procedure that has a select for update
> cursor. There is probably a better way but this came to mind first.
>
> Dan
>
> -----Original Message-----
> From: Laxman Reddy
> Sent: Thursday, July 19, 2001 11:33 AM
> Subject: HELP --- locking a table in ORACLE ..using SQR
>
>
> All,
>   Can we lock a table through SQL code from SQR
> program.
>
> Here is the situation:
> two programs go and grab the max value from a control
> table. when one sqr is selecting the table and
> updating it ... the other sqr program call should wait
> untill the lock is removed ...
>
> any suggestions are welcome.
>
> thanks in advance.
> Laxman.
>
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/

From owner-sqr-users@list.iex.net  Thu Jul 19 15:13:37 2001
Date:         Thu, 19 Jul 2001 15:49:55 -0400
From: "Weinstein, Bruce" 
Subject:      SQR format issue

I have request from user to create SQR report but they would like it to be
in Wordperfect format as they have to do some editing to it once it has been
ran.  Is there a way to convert the SPF or LIS file inot another format?

Thanks in advance.

Bruce Weinstein
NRCan
Peoplesoft Technical
bweinste@nrcan.gc.ca
995-2209

From owner-sqr-users@list.iex.net  Thu Jul 19 20:35:52 2001
Date:         Thu, 19 Jul 2001 21:32:35 -0400
From: Kenneth Lawrence Gartman 
Subject:      Re: SQR format issue

Hi, Bruce!

1.  "I have a request from a user."
        a)  Has his supervisor approved his request?
        b)  Has YOUR supervisor approved his request?
        c)  Have your analysts considered alternate solutions?
        d)  Has he specified his needs exactly?

2.  "in Wordperfect format"
        a)  Perhaps all the editing can be done in SQR.
        b)  Create the report in ASCII format (.LIS file), and let Wordperfect
read it.
        c)  Perhaps it can all be done in Wordperfect.

3.  "they have to do some editing to it "
        a)  Can this editing be automated?
        b)  If they want a paper report, perhaps you can convince them to view
the data on-screen.
        c)  On-screen data can be displayed directly from SQR, then edited (as
in a form).


                                Happy computing,
                                Ken Gartman


"Weinstein, Bruce" wrote:

> I have request from user to create SQR report but they would like it to be
> in Wordperfect format as they have to do some editing to it once it has been
> ran.  Is there a way to convert the SPF or LIS file inot another format?
>
> Thanks in advance.
>
> Bruce Weinstein
> NRCan
> Peoplesoft Technical
> bweinste@nrcan.gc.ca
> 995-2209

From owner-sqr-users@list.iex.net  Thu Jul 19 17:24:34 2001
Date:         Thu, 19 Jul 2001 14:09:03 -0700
From: geetha kethireddy 
Subject:      Quick sort - Multi dimensional array

Hi guys,

I am trying to implement Quick sort(recursive) of a
multi-dimensional array in my program. First of all, I
want to know whether it is possible and if it is can
anybody give me directions or sample code. Is it
similar to sorting simple arrays? I have created my
array as follows:

create-array name=EAArray
             size=5000
             field=emplid:char
             field=emplrcd:number
             field=Name:char
             field=deptid:char
             field=deptName:char
             field=lvtype:char:6
             field=acrcls:char:6
             field=cur_c:number:6
             field=cur_t:number:6
             field=cur_e:number:6
             field=prev_c:number:6
             field=prev_t:number:6
             field=prev_e:number:6
Any help is really appreciated and I need it very
urgently, because I have a deadline to meet.

Thanks in advance
Geetha

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

From owner-sqr-users@list.iex.net  Thu Jul 19 20:13:15 2001
Date:         Thu, 19 Jul 2001 21:17:45 -0400
From: Tony DeLia 
Subject:      Re: Quick sort - Multi dimensional array

Hi Geetha,

I have a sample on my site... http://www.sqrtools.com

-Tony

geetha kethireddy wrote:
>
> Hi guys,
>
> I am trying to implement Quick sort(recursive) of a
> multi-dimensional array in my program. First of all, I
> want to know whether it is possible and if it is can
> anybody give me directions or sample code. Is it
> similar to sorting simple arrays? I have created my
> array as follows:
>
> create-array name=EAArray
>              size=5000
>              field=emplid:char
>              field=emplrcd:number
>              field=Name:char
>              field=deptid:char
>              field=deptName:char
>              field=lvtype:char:6
>              field=acrcls:char:6
>              field=cur_c:number:6
>              field=cur_t:number:6
>              field=cur_e:number:6
>              field=prev_c:number:6
>              field=prev_t:number:6
>              field=prev_e:number:6
> Any help is really appreciated and I need it very
> urgently, because I have a deadline to meet.
>
> Thanks in advance
> Geetha
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/

--
Tony DeLia
AnswerThink Consulting Group
PeopleSoft Solutions Practice - Delphi Partners
tdelia@erols.com
http://www.sqrtools.com

From owner-sqr-users@list.iex.net  Fri Jul 20 09:18:13 2001
Date:         Fri, 20 Jul 2001 07:14:01 -0700
From: geetha kethireddy 
Subject:      Re: Quick sort - Multi dimensional array

Thanks Tony,

Wonderful. I have found an example using multiple sort
keys. (It is exactly what I am trying to implement).
But Still I am having some trouble with all the multi
dimensional elements in the array.

BTW: I loved your site, especially your pictures.

Geetha:-)
--- Tony DeLia  wrote:
> Hi Geetha,
>
> I have a sample on my site...
> http://www.sqrtools.com
>
> -Tony
>
> geetha kethireddy wrote:
> >
> > Hi guys,
> >
> > I am trying to implement Quick sort(recursive) of
> a
> > multi-dimensional array in my program. First of
> all, I
> > want to know whether it is possible and if it is
> can
> > anybody give me directions or sample code. Is it
> > similar to sorting simple arrays? I have created
> my
> > array as follows:
> >
> > create-array name=EAArray
> >              size=5000
> >              field=emplid:char
> >              field=emplrcd:number
> >              field=Name:char
> >              field=deptid:char
> >              field=deptName:char
> >              field=lvtype:char:6
> >              field=acrcls:char:6
> >              field=cur_c:number:6
> >              field=cur_t:number:6
> >              field=cur_e:number:6
> >              field=prev_c:number:6
> >              field=prev_t:number:6
> >              field=prev_e:number:6
> > Any help is really appreciated and I need it very
> > urgently, because I have a deadline to meet.
> >
> > Thanks in advance
> > Geetha
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> > http://personal.mail.yahoo.com/
>
> --
> Tony DeLia
> AnswerThink Consulting Group
> PeopleSoft Solutions Practice - Delphi Partners
> tdelia@erols.com
> http://www.sqrtools.com


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

From owner-sqr-users@list.iex.net  Thu Jul 19 16:42:23 2001
Date:         Thu, 19 Jul 2001 15:28:50 -0600
From: "Ackerson, Glenn" 
Subject:      Check printing SQR (PAY003) problem

Hi group,
I have a problem that's a hybrid problem - it's either an SQR problem
(customized version of program PAY003) or a hardware/printer problem - this
has just started occurring with the printing of checks and specifically, the
check signature - we have a SIMM chip with our authorized signatures for
check printing, and a few days ago, when printing a range of checks, the
first check printed fine, but after that, what we got was a series of pages
with multiple signatures all over the place on the next page. My suspicions
on this have been that the printer may not be resetting correctly after the
signature font is printed, but I can't figure out why this has mysteriously
started occurring. Anyone else seen this before? Any ideas on correcting it?
Thanks in advance. By the way, we're running HRMS 7.5x, and the program we
modified to print our own signature is PAY003...
Regards,
Glenn Ackerson
**************************************************
Glenn Ackerson
Information Technology Professional III
Internet Address: Glenn.Ackerson@Unco.edu
University of Northern Colorado
Information Technology
Carter Hall Greeley, CO 80639


**************************************************
Glenn Ackerson
Information Technology Professional III
Internet Address: Glenn.Ackerson@Unco.edu
University of Northern Colorado
Information Technology
Carter Hall                  Greeley, CO  80639

From owner-sqr-users@list.iex.net  Fri Jul 20 07:05:01 2001
Date:         Fri, 20 Jul 2001 06:53:17 -0500
From: "Wendel, Robbi" 
Subject:      Re: Check printing SQR (PAY003) problem

Glenn,
        Am I assuming correctly that this program ran through completion
(printing all checks successfully) before and is just now acting up?
        We use a modified version of Pay003 as well, but we download
signatures as a soft font instead of using the SIMM chip.  We have seen
trouble in the past when there were network issues.  In our case the .LIS
file is quite large and it seems that if we experience any 'hiccups' in the
connection (rare but does happen), during the copy to LPT, the printer seems
to get lost in the control characters. Sorry for the lack of technical
explanation...
        In our case we cancel the print job, recycle the printer and start
the copy/download fresh. So far, this has always corrected any problems. To
date, this has not been an issue/problem with the SQR program. We use an
HP8100 for check printing.
HTH,
Robbi

-----Original Message-----
From: Ackerson, Glenn [mailto:Glenn.Ackerson@UNCO.EDU]
Sent: Thursday, July 19, 2001 4:29 PM
To: SQR-USERS@list.iex.net
Subject: Check printing SQR (PAY003) problem


Hi group,
I have a problem that's a hybrid problem - it's either an SQR problem
(customized version of program PAY003) or a hardware/printer problem - this
has just started occurring with the printing of checks and specifically, the
check signature - we have a SIMM chip with our authorized signatures for
check printing, and a few days ago, when printing a range of checks, the
first check printed fine, but after that, what we got was a series of pages
with multiple signatures all over the place on the next page. My suspicions
on this have been that the printer may not be resetting correctly after the
signature font is printed, but I can't figure out why this has mysteriously
started occurring. Anyone else seen this before? Any ideas on correcting it?
Thanks in advance. By the way, we're running HRMS 7.5x, and the program we
modified to print our own signature is PAY003...
Regards,
Glenn Ackerson
**************************************************
Glenn Ackerson
Information Technology Professional III
Internet Address: Glenn.Ackerson@Unco.edu
University of Northern Colorado
Information Technology
Carter Hall Greeley, CO 80639


**************************************************
Glenn Ackerson
Information Technology Professional III
Internet Address: Glenn.Ackerson@Unco.edu
University of Northern Colorado
Information Technology
Carter Hall                  Greeley, CO  80639

From owner-sqr-users@list.iex.net  Fri Jul 20 09:19:13 2001
Date:         Fri, 20 Jul 2001 15:02:24 +0100
From: Matthew Tatum 
Subject:      'Backtracking' within a report

I have a report that prints sales orders, each sales order has a header and a number of lines, when a sales order is updated this report is printed.

At the moment what is printed is the header, and any lines that have been amended.

However I want to perform a check so that if all lines will fit onto one page regardless of whether they have been ammended or not the report should print every line.

The problem is telling how much room printing all lines is going to take until they have all been printed, I know the last page() command allows the report to know how many pages are going to be taken up, so I thought if I could somehow use that information, and if the total number of pages is more than 1, wipe out the report so far and start again setting a flag to say only print out the ammendments.

Thanks

Matthew

From owner-sqr-users@list.iex.net  Fri Jul 20 09:50:14 2001
Date:         Fri, 20 Jul 2001 09:43:10 -0500
From: "Wendel, Robbi" 
Subject:      Re: 'Backtracking' within a report

You can count the number of items returned from your select and if the is
greater than your available print lines, then set a flag that controls which
print process you would use - one for everything, one for items that only
meet your amended status.

HTH,
Robbi

-----Original Message-----
From: Matthew Tatum [mailto:Matthew.Tatum@MARSHALLAEROSPACE.COM]
Sent: Friday, July 20, 2001 9:02 AM
To: SQR-USERS@list.iex.net
Subject: 'Backtracking' within a report


I have a report that prints sales orders, each sales order has a header and
a number of lines, when a sales order is updated this report is printed.

At the moment what is printed is the header, and any lines that have been
amended.

However I want to perform a check so that if all lines will fit onto one
page regardless of whether they have been ammended or not the report should
print every line.

The problem is telling how much room printing all lines is going to take
until they have all been printed, I know the last page() command allows the
report to know how many pages are going to be taken up, so I thought if I
could somehow use that information, and if the total number of pages is more
than 1, wipe out the report so far and start again setting a flag to say
only print out the ammendments.

Thanks

Matthew

From owner-sqr-users@list.iex.net  Fri Jul 20 10:03:28 2001
Date:         Fri, 20 Jul 2001 15:53:37 +0100
From: Matthew Tatum 
Subject:      Re: 'Backtracking' within a report

The problem with that is, is that one of the items returned is 'notes' which can be any number of lines... any thoughts? thanks anyway

>>> rwendel@NESPOWER.COM 20/07/2001 15:43:10 >>>
You can count the number of items returned from your select and if the is
greater than your available print lines, then set a flag that controls which
print process you would use - one for everything, one for items that only
meet your amended status.

HTH,
Robbi

-----Original Message-----
From: Matthew Tatum [mailto:Matthew.Tatum@MARSHALLAEROSPACE.COM]
Sent: Friday, July 20, 2001 9:02 AM
To: SQR-USERS@list.iex.net
Subject: 'Backtracking' within a report


I have a report that prints sales orders, each sales order has a header and
a number of lines, when a sales order is updated this report is printed.

At the moment what is printed is the header, and any lines that have been
amended.

However I want to perform a check so that if all lines will fit onto one
page regardless of whether they have been ammended or not the report should
print every line.

The problem is telling how much room printing all lines is going to take
until they have all been printed, I know the last page() command allows the
report to know how many pages are going to be taken up, so I thought if I
could somehow use that information, and if the total number of pages is more
than 1, wipe out the report so far and start again setting a flag to say
only print out the ammendments.

Thanks

Matthew

From owner-sqr-users@list.iex.net  Fri Jul 20 10:16:53 2001
Date:         Fri, 20 Jul 2001 10:13:20 -0500
From: Don Mellen 
Subject:      Re: 'Backtracking' within a report

On Fri, 20 Jul 2001, Matthew Tatum wrote:

> The problem with that is, is that one of the items returned is 'notes'
> which can be any number of lines... any thoughts? thanks anyway

I assume you're printing the notes with a "print .... wrap ...".  Check
out the wrapdepth function of the let command (assuming you have ver 4.1
or later of SQR).

-----------------------------------------------------------------------
Donald Mellen  | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/
donm@ontko.com |  "In the beginning, there was nothing, which exploded"

From owner-sqr-users@list.iex.net  Fri Jul 20 18:26:04 2001
Date:         Fri, 20 Jul 2001 16:20:27 -0700
From: Greg Gargett 
Subject:      Re: 'Backtracking' within a report

Matthew Tatum wrote:

> The problem with that is, is that one of the items returned is 'notes' which can be any number of lines... any thoughts? thanks anyway
>

I had a similar issue.  What I did was to  create a "scratch" report that had the same layout as the real report.  I would first print to
the scratch report in order to find out how many lines would be printed.  Then compare that count to the lines available on the real
report.

Hope this helps.

--
Greg

From owner-sqr-users@list.iex.net  Fri Jul 20 10:08:47 2001
Date:         Fri, 20 Jul 2001 11:03:40 -0400
From: "Jamadagni, Rajendra" 
Subject:      Re: 'Backtracking' within a report

Matt,

I had a similar problem and they way I resolved it was to populate an array
with each line as I'd like to see it printed. Then write a routine to scan
what can and can't fit on one page and flag where page breaks should occur.
Then the printing routine took the array, started printing just by reading
from the array, page breaks would occur where indicated.

everyone lived happily ever after since then ...

Raj
______________________________________________________
Rajendra Jamadagni              MIS, ESPN Inc.
Rajendra dot Jamadagni at ESPN dot com
Any opinion expressed here is personal and doesn't reflect that of ESPN Inc.

QOTD: Any clod can have facts, but having an opinion is an art !

*********************************************************************2

This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you.

*********************************************************************2

From owner-sqr-users@list.iex.net  Fri Jul 20 10:11:09 2001
Date:         Fri, 20 Jul 2001 10:05:55 -0500
From: "Wendel, Robbi" 
Subject:      Re: 'Backtracking' within a report

Maybe a check on the string length to determine how many lines it will take
up...?

-----Original Message-----
From: Matthew Tatum [mailto:Matthew.Tatum@MARSHALLAEROSPACE.COM]
Sent: Friday, July 20, 2001 9:54 AM
To: SQR-USERS@list.iex.net
Subject: Re: 'Backtracking' within a report


The problem with that is, is that one of the items returned is 'notes' which
can be any number of lines... any thoughts? thanks anyway

>>> rwendel@NESPOWER.COM 20/07/2001 15:43:10 >>>
You can count the number of items returned from your select and if the is
greater than your available print lines, then set a flag that controls which
print process you would use - one for everything, one for items that only
meet your amended status.

HTH,
Robbi

-----Original Message-----
From: Matthew Tatum [mailto:Matthew.Tatum@MARSHALLAEROSPACE.COM]
Sent: Friday, July 20, 2001 9:02 AM
To: SQR-USERS@list.iex.net
Subject: 'Backtracking' within a report


I have a report that prints sales orders, each sales order has a header and
a number of lines, when a sales order is updated this report is printed.

At the moment what is printed is the header, and any lines that have been
amended.

However I want to perform a check so that if all lines will fit onto one
page regardless of whether they have been ammended or not the report should
print every line.

The problem is telling how much room printing all lines is going to take
until they have all been printed, I know the last page() command allows the
report to know how many pages are going to be taken up, so I thought if I
could somehow use that information, and if the total number of pages is more
than 1, wipe out the report so far and start again setting a flag to say
only print out the ammendments.

Thanks

Matthew

From owner-sqr-users@list.iex.net  Fri Jul 20 10:52:15 2001
Date:         Fri, 20 Jul 2001 11:47:31 -0400
From: Geek Unlimited 
Subject:      Charts - 100% or more / 0% or less

I am creating a chart to show percent of quota reached.
The chart should be able to show quota attainments of
greater than 100%, which the 100%-bar chart does not
seem to allow (am I wrong?).

I could use a regular bar chart to allow values of over
100, but I am hitting a snag.

If all of the values are under 100% then the graph scales
so that the highest value is the top of the graph (instead
of 100%).  So a graph that shows values of 100%, 80% 60%,
and $40% looks exactly the same as a graph that shows 50%,
40%, 30% and 20% (except, of course, for the values on the
left axis).

I could set a y-axis-max-value of 100, which would force
the 100 line to show up, but then, of course, I can't show
values over 100.  Is there any way to tell the graph to
scale, but to not let the top line be less than 100?

Extra credit:

Is there any way to get the % to show up on the tick marks
so they say 20%, 40%, etc., instead of just 20, 40, etc.?

Double Extra Credit: What is the most clever way you have
come up with to represent negative percentage values on a graph
(apparently commission can be rescinded here)?

Thanks :)

The Geek  @{o,o}@

From owner-sqr-users@list.iex.net  Fri Jul 20 20:44:30 2001
Date:         Fri, 20 Jul 2001 21:16:06 -0400
From: Christine Stevenson 
Subject:      Printing color w/SQR

Currently on SQR V4.2.3 using w/Oracle-PeopleSoft.

Is there anyway to control the printing of color, possibly shading in graphic
boxes, and to specify what color?

The only references to color in the books I can find are the Yes/No parameter of
the declare-printer statement and the fill parameter of the declare-chart.

I've seen some references to color in past listserv emails and use of RGB parms,
but these looked like users of v6.

Any input would be helpful.  Thanks.

From owner-sqr-users@list.iex.net  Sat Jul 21 18:28:43 2001
Date:         Sat, 21 Jul 2001 16:20:53 -0700
From: Debbie Pavlak 
Subject:      maximum values for in SQR

I am using Brio Reports 6.0.  I was under the assumption that $variable
could be as large as I need it to be.  I am trying to string many values
together that I will later insert into a Sybase text field.  But I get a
message that I've run out of memory.  I've increased expressionsize and
sqlsize to their maximum vales in my -mmaxsize.dat file but that didn't
help.

I looked through the archives and didn't find anything on this topic.  What
good is a Sybase text field if you can't go past 65535 characters using SQR?

Any ideas would be greatly appreciated.





_______________________________________________________
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/

From owner-sqr-users@list.iex.net  Mon Jul 23 13:34:55 2001
Date:         Mon, 23 Jul 2001 14:12:40 -0400
From: Michael Wheeler 
Subject:      Calling Oracle Functions throught Report Builder

Can Brio Report Builder call an Oracle Function or stored procedure?

From owner-sqr-users@list.iex.net  Mon Jul 23 13:46:28 2001
Date:         Mon, 23 Jul 2001 11:30:09 -0700
From: Nicolas Moscaritolo 
Subject:      Re: Calling Oracle Functions throught Report Builder

YES, Brio ReportBuilder can call an Oracle Function or Stored Procedure. You
would have to go to the SOURCE tab within reportbuilder and code the
BEGIN-SQL section using the black arrow tab on the left side3 of the
Reportbuilder Source screen.

Nick Moscaritolo
Brio Technology
Systems Consultant - East Region
15 Crestwood Drive
Ashland, MA 01721
(617) 823-6783


> -----Original Message-----
> From: Discussion of SQR, Brio Technology's database reporting language
> [mailto:SQR-USERS@list.iex.net]On Behalf Of Michael Wheeler
> Sent: Monday, July 23, 2001 2:13 PM
> To: SQR-USERS@list.iex.net
> Subject: Calling Oracle Functions throught Report Builder
>
>
> Can Brio Report Builder call an Oracle Function or stored procedure?

From owner-sqr-users@list.iex.net  Mon Jul 23 16:01:00 2001
Date:         Mon, 23 Jul 2001 14:34:46 -0600
From: Jon Alsager 
Subject:      Re: Calling Oracle Functions throught Report Builder

Could you also create an expression using a function or stored
procedure, and then insert the new field?  It seems like I was
successfully able to do that on the Select Fields window.

Jon

-----Original Message-----
From: Nicolas Moscaritolo [mailto:Nicolas.Moscaritolo@BRIO.COM]
Sent: Monday, July 23, 2001 12:30 PM
To: SQR-USERS@list.iex.net
Subject: Re: Calling Oracle Functions throught Report Builder


YES, Brio ReportBuilder can call an Oracle Function or Stored Procedure.
You
would have to go to the SOURCE tab within reportbuilder and code the
BEGIN-SQL section using the black arrow tab on the left side3 of the
Reportbuilder Source screen.

Nick Moscaritolo
Brio Technology
Systems Consultant - East Region
15 Crestwood Drive
Ashland, MA 01721
(617) 823-6783


> -----Original Message-----
> From: Discussion of SQR, Brio Technology's database reporting language
> [mailto:SQR-USERS@list.iex.net]On Behalf Of Michael Wheeler
> Sent: Monday, July 23, 2001 2:13 PM
> To: SQR-USERS@list.iex.net
> Subject: Calling Oracle Functions throught Report Builder
>
>
> Can Brio Report Builder call an Oracle Function or stored procedure?

From owner-sqr-users@list.iex.net  Mon Jul 23 14:27:41 2001
Date:         Mon, 23 Jul 2001 15:22:12 -0400
From: Raemil Billings 
Subject:      How do you know what SQR-FLAGS are active at run-time?

Is there a way to know what flags have been turned on during the run-time
of the SQR execution?  I have a need to know if -PRINTER:PD is active
preferably without having to find the SQR.INI file and reading the flags
line.

Thanks,
Raemil Billings

From owner-sqr-users@list.iex.net  Tue Jul 24 08:56:18 2001
Date:         Tue, 24 Jul 2001 08:50:56 -0500
From: Nathan Stratton Treadway 
Subject:      Re: How do you know what SQR-FLAGS are active at run-time?

On Mon, Jul 23, 2001 at 03:22:12PM -0400, Raemil Billings wrote:
> Is there a way to know what flags have been turned on during the run-time
> of the SQR execution?  I have a need to know if -PRINTER:PD is active
> preferably without having to find the SQR.INI file and reading the flags
> line.

I don't know of a simple way to find out all of the SQR flags that
are active for a particular run of a report.  (In the most general case,
you'd have to look not only at the SQRFLAGS line of SQR.INI, but also in
the SQRFLAGS environment variable and on the command line itself.)

However, if your real goal is just to find out if your report is
currently generating PDF output, you could just reference the
$sqr-report reserved variable.  If -printer:PD or -printer:EP is active,
the default file name's extension will be ".pdf".

(Of course, of "-f" is used to override the report name and some other
extension is given, this method won't work, but hopefully you aren't in
that unhappy situation :) .)

Hope that helps.

                                                Nathan
----------------------------------------------------------------------------
Nathan Stratton Treadway  | Ray Ontko & Co. | Software consulting services
nathant@ontko.com         | Richmond, IN    | http://www.ontko.com/

From owner-sqr-users@list.iex.net  Wed Jul 25 09:06:59 2001
Date:         Wed, 25 Jul 2001 10:01:51 -0400
From: Raemil Billings 
Subject:      Re: How do you know what SQR-FLAGS are active at run-time?

Since what version of SQR does the default file name of pdf appear?  That
is the root of our problem in using Maximo with SQR 4.3.4 and generating
PDF file.  The PDF file is named as a LIS file and the -f parameter is not
doing anything from Maximo. (I don't want to place the -f in the SQR.INI
because many reports are used with this INI).  Thanks to SQRTOOLS.COM for
reading INI routines, I can read the Maximo.INI but file there is no
guarentee as to the location of the SQR.INI between operating systems
(WINDOWS, WINNT, WTSRV).

Thanks,
Raemil Billings



                    nathant@ONTKO
                    .COM                 To:     SQR-USERS@list.iex.net
                    Sent by:             cc:
                    SQR-USERS@lis        Subject:     Re: How do you know what SQR-FLAGS are active at run-time?
                    t.iex.net


                    07/24/2001
                    09:50 AM
                    Please
                    respond to
                    sqr-users






On Mon, Jul 23, 2001 at 03:22:12PM -0400, Raemil Billings wrote:
> Is there a way to know what flags have been turned on during the run-time
> of the SQR execution?  I have a need to know if -PRINTER:PD is active
> preferably without having to find the SQR.INI file and reading the flags
> line.

I don't know of a simple way to find out all of the SQR flags that
are active for a particular run of a report.  (In the most general case,
you'd have to look not only at the SQRFLAGS line of SQR.INI, but also in
the SQRFLAGS environment variable and on the command line itself.)

However, if your real goal is just to find out if your report is
currently generating PDF output, you could just reference the
$sqr-report reserved variable.  If -printer:PD or -printer:EP is active,
the default file name's extension will be ".pdf".

(Of course, of "-f" is used to override the report name and some other
extension is given, this method won't work, but hopefully you aren't in
that unhappy situation :) .)

Hope that helps.

                                                Nathan
----------------------------------------------------------------------------

Nathan Stratton Treadway  | Ray Ontko & Co. | Software consulting services
nathant@ontko.com         | Richmond, IN    | http://www.ontko.com/

From owner-sqr-users@list.iex.net  Thu Jul 26 07:44:12 2001
Date:         Thu, 26 Jul 2001 07:24:39 -0500
From: Nathan Stratton Treadway 
Subject:      Re: How do you know what SQR-FLAGS are active at run-time?

On Wed, Jul 25, 2001 at 10:01:51AM -0400, Raemil Billings wrote:
> Since what version of SQR does the default file name of pdf appear?  That
> is the root of our problem in using Maximo with SQR 4.3.4 and generating
> PDF file.  The PDF file is named as a LIS file and the -f parameter is not
> doing anything from Maximo. (I don't want to place the -f in the SQR.INI

Actually, I just tried this (i.e. looking at $sqr-repot) from SQR 4.3.4
and it does work fine -- at least from the command line.

Since -f is not doing anything for you, I'm pretty certain that Maximo
is sending its own -f already, overridding anything you are trying to
send.  (Even worse, it sounds like the file name that Maximo is sending
includes ".lis" even when -printer:pd is specified :( )

Unfortunately, I don't know anything about how Maximo kicks off SQR, so
I can't tell you where to look for that setting.

>From your message above, I'm guessing that really all you are trying to
do is detect when PDF output is selected and rename the file from .lis
to .pdf.  (This is a different problem than having your SQR program
generate different output by knowing at run time which output type is
being generated.)

If I'm right, and you can't find any way to fix Maximo's SQR command
line directly, then you have the option of inspecting the .lis file
after the program has finished.  If it's a PDF file, the first four
bytes will be "%PDF".

If you're running on Unix, you can probably just use the "file" command
to examine the file.  (I'm assuming there is a shell script that Maximo
uses to run SQR jobs, and that you can tack on a little logic at the end
of that shell script to do this check.)

Worst case, if you really don't mind altering the SQR programs
themselves, you could add logic at the very end of the report to:
  * save the value of  $sqr-report
  * do a "new-report 'dummy.lis'"
  * OPEN the orginal $sqr-report file FOR-READING
  * check the first four characters of the file
  * close the file
  * rename() the file to .pdf if necessary

(This approach is darn ugly; hope you can fix Maximo's command line
instead!)

                                                Nathan


----------------------------------------------------------------------------
Nathan Stratton Treadway  | Ray Ontko & Co. | Software consulting services
nathant@ontko.com         | Richmond, IN    | http://www.ontko.com/

From owner-sqr-users@list.iex.net  Fri Jul 27 22:33:56 2001
Date:         Fri, 27 Jul 2001 20:10:21 -0700
From: David Smith 
Subject:      Re: How do you know what SQR-FLAGS are active at run-time?

Maximo 4.03
SQL Server 7
SQR 4.3.4

If you go to Reports App in Maximo and change the SQR preferences for a
report, you can add -PRINTER:PD to the command line parameters and get PDF
output.  Contrary to the Output Filename preference, I was not able to
over-ride output (.LIS).  This is probably a bug, because I know I
have had this work in prior versions.  I did get a .LIS file that was PDF,
and was able to open it with Acrobat after changing the extension.  You may
be able to modify your SQR to rename the output.

Here is the text from the Reports Help File:
If you are registering an SQR or Crystal report, you can specify certain
defaults for running the report.
To specify preferences:

1.   In Reports and Other Apps, highlight the report in the Attached Files
table window.
2.   Choose Actions/Specify SQR Preferences to display the Specify SQR
Preferences dialog box.
3.   Set defaults as needed for the following:

Command Line Parameters field:  You can use this field to pass additional
run time parameters to SQR4.

Output File Name field:  You can specify a different output file. SQR4
creates two output files, one text and one binary. The file name in this
dialog box represents the name of the text file created by SQR4. In most
cases, this should have a .LIS file type. The file name specified in the
Command Line column in the Attached Files table window specifies the binary
file type (.SPF), as required by the SQR Viewer (SQRWV.EXE). For Crystal
reports, use this line to specify a text file.


David L Smith
IBM Global Services

From owner-sqr-users@list.iex.net  Mon Jul 30 05:31:32 2001
Date:         Mon, 30 Jul 2001 12:23:03 +0200
From: "J.-Bernard Favre" 
Subject:      Graphics box



I am using Brio-report builder 6.0. I have a disconnect between the html
and the pdf output regarding a graphics box.

I am using:

alter-printer font=3 point-size=8 FONT-TYPE=fixed
graphic (0,1,102) box 9 10 16


The graphic box fits ok in the pdf file (all the report columns are within the graphic box), but not in the html output (the last column of the report is outside of the graphics box). It looks like 102 is the maximum width size for a pdf format.

Does anyone have a clue on this?

Thanks
JB Favre
System Analyst From owner-sqr-users@list.iex.net Mon Jul 30 07:02:57 2001 Date: Mon, 30 Jul 2001 05:47:18 -0600 From: John Willson Subject: Re: Graphics box Hi Mr. Favre. I was unable to reconcile PDF and HTML on reports of over = 105 characters (no matter what the fixed font). HTML was always out by = up to 3 characters on graphic borders on header and footer boxes. With = brut force trying of many possiblies I was able to get some user = agreement on the output. In our case we chose PDF over HTML as the best = fixed output (since it was required to be downloadable and the report = was to be fixed, not easily changeable). To do brut force I created a = #offset variable that was a summary of total characters + difference = between PDF and HTML and that was the value plugged in the graphic box = call. John Willson ----- Original Message -----=20 From: J.-Bernard Favre=20 To: SQR-USERS@list.iex.net=20 Sent: Monday, July 30, 2001 4:23 AM Subject: Graphics box I am using Brio-report builder 6.0. I have a disconnect between the = html and the pdf output regarding a graphics box.=20 I am using:=20 alter-printer font=3D3 point-size=3D8 FONT-TYPE=3Dfixed graphic (0,1,102) box 9 10 16 The graphic box fits ok in the pdf file (all the report columns are = within the graphic box), but not in the html output (the last column of = the report is outside of the graphics box). It looks like 102 is the = maximum width size for a pdf format.=20 Does anyone have a clue on this?=20 Thanks=20 JB Favre=20 System Analyst=20 From owner-sqr-users@list.iex.net Mon Jul 30 08:19:41 2001 Date: Mon, 30 Jul 2001 09:11:19 -0400 From: Tom Cormier Subject: Re: Graphics box Hi, =20 Don't ever trust any of those formats to render graphics correctly. There are limitations in each of them. The only way to know what is really correct with your alignments is to print the report out on a laser printer. That will give you the true picture. Bugs in BrioReport plus limitations in the way PDF and HTML render boxes, ovals and other polygons, cause this. You may have to forego the box when all is said and done. =20 Try reducing your font sizes within the box and watch how it responds. Also, try using a mono-spaced font like Courier. Sometimes this works. =20 ---t From owner-sqr-users@list.iex.net Tue Jul 24 11:13:26 2001 Date: Tue, 24 Jul 2001 11:53:26 -0400 From: Rick Salters Subject: Editors >Date: Mon, 23 Jul 2001 23:59:56 -0400 >From: Dennis Palmer >Subject: Re: SQR editor >We use EditPlus in our shop and love it to pieces. >Dp >Steve Hearne wrote: > Hello all. > > Does anyone know of a good SQR editor? Something that highlights keywords and has good editing faciities? > > Cheers, > Steve We use TextPad. Customizable to the Max and handles anything. Rick Salters Lead System Analyst University of Hartford 200 Bloomfield Avenue West Hartford, CT. 06117 Phone: (860) 768-4247 Fax: (860) 768-4907 Email: salters@mail.hartford.edu From owner-sqr-users@list.iex.net Tue Jul 24 12:47:17 2001 Date: Tue, 24 Jul 2001 13:30:16 -0400 From: Derrick Fisher Subject: BEGIN-DOCUMENT Can an if statement be used inside a document in SQR ? Derrick Fisher Peoplesoft Programmer/Analyst New Castle County Government (302) 395-5221 From owner-sqr-users@list.iex.net Tue Jul 24 13:03:48 2001 Date: Tue, 24 Jul 2001 11:52:53 -0600 From: Juan Alvarado Subject: Re: BEGIN-DOCUMENT I don't think so .... But you can manage variables before go to the document section and use it in the begin-document . -----Original Message----- From: Derrick Fisher [mailto:DFisher@CO.NEW-CASTLE.DE.US] Sent: Tuesday, July 24, 2001 11:30 AM To: SQR-USERS@list.iex.net Subject: BEGIN-DOCUMENT Can an if statement be used inside a document in SQR ? Derrick Fisher Peoplesoft Programmer/Analyst New Castle County Government (302) 395-5221 From owner-sqr-users@list.iex.net Tue Jul 24 18:55:14 2001 Date: Tue, 24 Jul 2001 16:32:15 -0700 From: Tejas Saraiya Subject: Japanese and SQR Hi All, I'm trying to produce SQR reports (HTML and PDF output) in Japanese using SQR v6.1.3. I'm able to output Japanese characters to HTML when they come through the database (i.e. the results of my query) by setting the Encoding-* sqr.ini settings to UTF-8. I haven't been able to get static text (like column headers) to show up in Japanese and I can't seem to generate a Japanese PDF (even if I open the PDF through the Japanese version of Acrobat). Has anyone had experience/success with this? Any feedback would be tremendously helpful. Thanks, Tejas From owner-sqr-users@list.iex.net Tue Jul 24 23:12:15 2001 Date: Wed, 25 Jul 2001 12:07:40 +0800 From: Paul Hutton - Congruent Asia Subject: Re: Japanese and SQR Hi Tejas, I think you need SQR 6.14, in order to produce PDF's in Japanese language. You may want to confirm this with Brio Technology. Regards, Paul Hutton Congruent Asia Pte Ltd http://www.congruentglobal.com -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Tejas Saraiya Sent: Wednesday, July 25, 2001 7:32 To: SQR-USERS@list.iex.net Subject: Japanese and SQR Hi All, I'm trying to produce SQR reports (HTML and PDF output) in Japanese using SQR v6.1.3. I'm able to output Japanese characters to HTML when they come through the database (i.e. the results of my query) by setting the Encoding-* sqr.ini settings to UTF-8. I haven't been able to get static text (like column headers) to show up in Japanese and I can't seem to generate a Japanese PDF (even if I open the PDF through the Japanese version of Acrobat). Has anyone had experience/success with this? Any feedback would be tremendously helpful. Thanks, Tejas From owner-sqr-users@list.iex.net Wed Jul 25 13:56:01 2001 Date: Wed, 25 Jul 2001 11:39:50 -0700 From: Tejas Saraiya Subject: Re: Japanese and SQR I have 6.1.4 as well. I'm trying to contact Brio to see how this is done. The approach I'm taking is to try to use a Japanese Adobe font (afm) and include that through sqr.ini and pdflib.upr. When I do this I always get an error when opening the PDF stating the the font I'm trying to substitute cannot be found. Any ideas? Tejas -----Original Message----- From: Paul Hutton - Congruent Asia [mailto:paul_hutton@CONGRUENT.COM.SG] Sent: Tuesday, July 24, 2001 9:08 PM To: SQR-USERS@list.iex.net Subject: Re: Japanese and SQR Hi Tejas, I think you need SQR 6.14, in order to produce PDF's in Japanese language. You may want to confirm this with Brio Technology. Regards, Paul Hutton Congruent Asia Pte Ltd http://www.congruentglobal.com -----Original Message----- From: Discussion of SQR, Brio Technology's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Tejas Saraiya Sent: Wednesday, July 25, 2001 7:32 To: SQR-USERS@list.iex.net Subject: Japanese and SQR Hi All, I'm trying to produce SQR reports (HTML and PDF output) in Japanese using SQR v6.1.3. I'm able to output Japanese characters to HTML when they come through the database (i.e. the results of my query) by setting the Encoding-* sqr.ini settings to UTF-8. I haven't been able to get static text (like column headers) to show up in Japanese and I can't seem to generate a Japanese PDF (even if I open the PDF through the Japanese version of Acrobat). Has anyone had experience/success with this? Any feedback would be tremendously helpful. Thanks, Tejas From owner-sqr-users@list.iex.net Wed Jul 25 08:52:36 2001 Date: Wed, 25 Jul 2001 06:35:29 -0700 From: jose varghese Subject: Russian Characters Hi all, Can any one let me know how do I get Russian (Cyrillic) characters printed on to the report. I have the database in Russian. I had the same issue with German, but then I compiled the report with symbol-set as 19U and it works fine. All advice/comments welcome. Thanks for your help. Jose Varghese. __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ From owner-sqr-users@list.iex.net Wed Jul 25 09:22:48 2001 Date: Wed, 25 Jul 2001 10:17:39 -0400 From: Michael Wheeler Subject: Calling a function in Brio Can anyone explain why this works: Begin-Select 5 sysdate ucm_get_bus_date(sysdate,5) >From dual End-Select And this does not: Begin-Select 5 sysdate ucm_get_bus_date(sysdate,5) >From ucm_txn End-Select I get an error: error on line 36: (SQR 1915) Year cannot be zero. SQR: Program Aborting. I can run this in SQL but not in my brio report? Any suggestions would be greatly appreciated. From owner-sqr-users@list.iex.net Wed Jul 25 09:22:50 2001 Date: Wed, 25 Jul 2001 07:18:15 -0700 From: "McCown, Larry" Subject: let $where2 = 'and workorder.crewid = ''$crewb''' Would someone be nice enough to review this $where2 statement and let me know if you have any suggestions for when $site = 3. $Site 1 & 2 work fine but when I try Site 3 no records are returned. SQR 4.3 SQLServer 7 Maximo 4.0.3 Thank you in advance for your insight. Larry McCown Northrop Grumman Western Region Facilities One Hornet Way WG00/W9 El Segundo, Ca. 90245 mccowla@mail.northgrum.com Phone (310)628-3939 Fax (310)331-7452 begin-procedure sel_wos if $site = '1' let $where2 = 'and workorder.crewid in (''ES-02'',''PS-08'',''SM-01'',''SM-03'',''SC-01'',''SC-02'',''SC-03'',''CT- 01'')' end-if if $site = '2' let $where2 = 'and workorder.crewid in (''AC 0'',''AC 1'',''AC 2'',''CA 1'',''CM 2'',''CT 0'',''CT 1'',''CT 2'', ''EC 0'',''EC 1'',''EC 2'',''ENG1'',''FM 1'',''HK 1'',''HK 2'',''MG 0'',''MG 1'', ''MM 1'',''MM 2'',''NC 1'',''PA 2'',''PEO1'',''PL 1'',''PL 2'',''RS 1'',''UO 1'', ''UO 2'',''UO 3'',''UW 1'',''VUW1'',''VUW2'',''WE 1'')' end-if if $site = '3' input $crewb 'Enter desired Crewid' uppercase $crewb let $where2 = 'and workorder.crewid = ''$crewb''' end-if move $current-date to $today begin-select workorder.status &status (+1,1,5) on-break print=change/top-page before=prt workorder.crewid &crewid (,8,5) on-break print=always before=prt workorder.wonum &wonum (,14,8) !len10 workorder.eqnum &eqnum (,22,8) !len10 workorder.description &wodesc !(,31,35) !len50 workorder.woeq1 &woeq1 (,68,6) !len10 Bldg workorder.reportdate &reportdate (,74,11) edit mm/dd/yy!len10 reported date workorder.WOPRIORITY &wopriority (,86,1) workorder.WORKTYPE &worktype (,88,4) workorder.jpnum &wojpnum workorder.pmnum &wopmnum let #daysopen2 = datediff($current-date,&reportdate,'day') move #daysopen2 to #open if #open >=45 print #open (,93,3) edit 999 BOLD else print #open (,93,3) edit 999 end-if if &worktype = 'PM' ! if $site = '1' do jobplan ! else if $site = '2' do palmdale end-if else print &wodesc (,31,35) ! end-if ! end-if end-if add 1 to #count from workorder where [$where] [$where2] and workorder.reportdate < $current-date - #days and workorder.historyflag = 'N' ! [$order] order by 2,1,7 end-select end-procedure From owner-sqr-users@list.iex.net Wed Jul 25 09:49:41 2001 Date: Wed, 25 Jul 2001 07:43:51 -0700 From: Rachael Beatty Subject: Re: let $where2 = 'and workorder.crewid = ''$crewb''' --0__=2FDuR7JhprudU47hylV6UFDk4XeRvJ2nUAK6TAdOmVrEnFGpN2uHaln9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 7bit It is because in let $where2 = 'and workorder.crewid = ''$crewb''' $crewb is a variable whereas the others are all constants or literals. try this: let $where2 = 'and workorder.crewid = ' || '''' ||$crewb || '''' Hope that helps Rachael > -----Original Message----- > From: "McCown, Larry" @INTERNET > Sent: Wednesday, July 25, 2001 7:18 AM > To: SQR-USERS@list.iex.net > Subject: let $where2 = 'and workorder.crewid = ''$crewb''' > > > Would someone be nice enough to review this $where2 statement and let me > know if you have any suggestions for when $site = 3. $Site 1 & 2 work > fine > but when I try Site 3 no records are returned. > SQR 4.3 > SQLServer 7 > Maximo 4.0.3 > Thank you in advance for your insight. > Larry McCown > Northrop Grumman > Western Region Facilities > One Hornet Way WG00/W9 > El Segundo, Ca. 90245 > mccowla@mail.northgrum.com > Phone (310)628-3939 > Fax (310)331-7452 > > > > begin-procedure sel_wos > > if $site = '1' > let $where2 = 'and workorder.crewid in > (''ES-02'',''PS-08'',''SM-01'',''SM-03'',''SC-01'',''SC-02'',''SC-03'',''C > T- > 01'')' > end-if > if $site = '2' > let $where2 = 'and workorder.crewid in (''AC 0'',''AC 1'',''AC 2'',''CA > 1'',''CM 2'',''CT 0'',''CT 1'',''CT 2'', > ''EC 0'',''EC 1'',''EC 2'',''ENG1'',''FM 1'',''HK 1'',''HK > 2'',''MG 0'',''MG 1'', > ''MM 1'',''MM 2'',''NC 1'',''PA 2'',''PEO1'',''PL 1'',''PL > 2'',''RS 1'',''UO 1'', > ''UO 2'',''UO 3'',''UW 1'',''VUW1'',''VUW2'',''WE 1'')' > end-if > if $site = '3' > input $crewb 'Enter desired Crewid' > uppercase $crewb > let $where2 = 'and workorder.crewid = ''$crewb''' > end-if > move $current-date to $today > begin-select > workorder.status &status (+1,1,5) on-break > print=change/top-page before=prt > workorder.crewid &crewid (,8,5) on-break print=always > before=prt > workorder.wonum &wonum (,14,8) !len10 > workorder.eqnum &eqnum (,22,8) !len10 > workorder.description &wodesc !(,31,35) !len50 > workorder.woeq1 &woeq1 (,68,6) !len10 Bldg > workorder.reportdate &reportdate (,74,11) edit mm/dd/yy!len10 > reported date > workorder.WOPRIORITY &wopriority (,86,1) > workorder.WORKTYPE &worktype (,88,4) > workorder.jpnum &wojpnum > workorder.pmnum &wopmnum > let #daysopen2 = datediff($current-date,&reportdate,'day') > move #daysopen2 to #open > if #open >=45 > print #open (,93,3) edit 999 BOLD > else > print #open (,93,3) edit 999 > end-if > if &worktype = 'PM' > ! if $site = '1' > do jobplan > ! else > if $site = '2' > do palmdale > end-if > else > print &wodesc (,31,35) > ! end-if > ! end-if > end-if > > add 1 to #count > from workorder > where [$where] > [$where2] > and workorder.reportdate < $current-date - #days > and workorder.historyflag = 'N' > ! [$order] > order by 2,1,7 > end-select > end-procedure > (See attached file: C.DTF) --0__=2FDuR7JhprudU47hylV6UFDk4XeRvJ2nUAK6TAdOmVrEnFGpN2uHaln9 Content-Type: application/octet-stream; name=C.DTF Content-Disposition: attachment; filename=C.DTF Content-Transfer-Encoding: base64 eJ8+IhwOAQaQCAAEAAAAA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