From owner-sqr-users@list.iex.net Mon Jul 1 00:22:01 2002 Date: Mon, 1 Jul 2002 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. (nathanst@ontko.com) $Revision: 1.12 $ $Date: 2002-04-17 18:14:01-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/06/17: o Mention SQR for PeopleSoft in the ``Posting to the sqr-users list'' section. o Add additional mailing lists in the ``Related Mailing Lists'' section. 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-2002 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. BrioSQRReport : Brio SQR Report List for discussion of Brio Report (SQR) and Brio ReportBuilder. To join, follow the link above, or send any message to "BrioSQRReport-subscribe@yahoogroups.com". 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". brioportalusersgroup : Brio Portal Users Group list List for discussion of Brio Portal. To join, follow the link above, or send any message to "brioportalusersgroup- subscribe@yahoogroups.com". brio-l : OpenITx Brio List List for technical and functional discussion of all Brio products (but most messages are currently about Brio Intelligence). To join, follow the link above. briolist : Brio List List for discussion of Brio Intelligence. To join, follow the link above, or send any message to "briolist- subscribe@yahoogroups.com". 3. 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 (see notes below) 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. (For PeopleSoft- specific questions, see other lists mentioned in the ``Related Mailing Lists'' section.) In 2001, PeopleSoft purchased from Brio the rights to the source code for SQR and began releasing its own line of SQR. PeopleSoft's SQR version numbering is different that Brio's, so it's very important to mention whether you are using Brio's "SQR" or "SQR for PeopleSoft". (This info is included automatically if you include the full SQR version-id string as described below.) To get the version-id string for your copy of SQR, you can run the following program: begin-program show $sqr-ver end-program This will produce a line that looks something like this: SQR/3.0.15/Intel/SCO Unix R3.2 V5.0/Oracle 7.2.2.3/Sep 25 1996 Include the full line of output in your message. Note that the oper- ating system 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. In a command-line environment (Unix, etc.), you can also get this version-id string by saying sqr -id 4.3. Replying to a Message Messages sent out on the list have a Reply-To header pointing to the list. This means that you should be able to simply use your mail reader's "reply" function to send a reply to the list. Generally, all answers to questions sent out on the list should be public replies, so that other subscribers can benefit. In those cases where a private reply is appropriate, be sure to over-ride the default Reply-To address. If your message is not actually a reply to the earlier message, please do not use the "reply" function. Instead, address a new e-mail message to the list as described in the previous section. (This is because the list archives will incorrectly show the new message in the original thread if you use "reply".) You should quote enough lines from the original message that later readers can understand your answer even if they missed the original question. At the same time, you should remove any unnecessary lines from the quote in order to make your message shorter and easier to understand. (Remember that some people read the mailing list in digest form, and the digests become much larger if unnecessary lines are quoted.) 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 1 13:06:02 2002 Date: Mon, 1 Jul 2002 13:46:44 -0400 From: Brian Fitzpatrick Subject: Use of bind variables I am looking into a possibility for optimizing an SQR report which is running against an Oracle 8 database. The report is run lets say 500 times initiated from a UNIX shell script - each time a parameter for a location is passed to the report, and the report query is identical except for a location number. I have been building the query in a fashion such as this: . . let $where_loc = 'where location = ''' $param ''' begin-select last_name &lname first_name &fname from employee [$where_loc] As I understand it, because of the WHERE clause, the query is physically different each time and will be reparsed by the query optimizer each time the report is run. HOWEVER, I am told that if the query were to use a bind variable like below, it would only be parsed once: begin-select last_name &lname first_name &fname from employee where location = :loc The question is: can this be done, and if so, how do I supply a value to the bind variable :loc ? I've tried a begin-sql / end-sql block prior to the report query, but the bind variable only exists for the duration of the PL/SQL block. Does this approach make sense for optimization, is this workable, will it buy us much of a savings? Are there other areas I should be looking at (indexing perhaps)? Any input is appreciated, thanks. From owner-sqr-users@list.iex.net Mon Jul 1 13:05:59 2002 Date: Mon, 1 Jul 2002 23:17:18 +0530 From: Harish_Venkiteswaran Subject: Problems with dynamic sql Hi, Im trying a dynamic sql proc in Oracle.The code is given below.It accepts the following parameters Sourcetable Keyfields Longfield create or replace procedure extractdata (source in varchar2,keyfield in varchar2,longfield in long) IS TYPE cur_typ IS REF CURSOR; get_rec_curr cur_typ; get_rec_prev cur_typ; long_curr LONG; long_prev LONG; len_long_curr number(10); len_long_prev number(10); status number(1); val VARCHAR2(32767); sqlstr varchar(1000); BEGIN OPEN get_rec_curr FOR 'SELECT ' || keyfield||','||longfield ||' FROM ' || source ;<<>> LOOP FETCH get_rec_curr INTO VAL; EXIT WHEN get_rec_curr%NOTFOUND; dbms_output.put_line(val); END LOOP; CLOSE get_rec_curr; END; I want to extract long field and do some manipulation.I have the following problems.When I execute the procedure I get the following error ORA-00932: inconsistent datatypes ORA-06512: at "SYSADM.COMPARELONG", line 21 ORA-06512: at line 2 I know that the problem is because keyfield is of type varchar and longfield has a long column.Is there a solution for the problem. Thanks & Regards Harish ************************************************************************** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ************************************************************************** From owner-sqr-users@list.iex.net Mon Jul 1 17:41:13 2002 Date: Mon, 1 Jul 2002 15:26:40 -0700 From: Bill Smith Subject: Trouble using EXECUTE statement to run Oracle function I've got an SQR program that reads preventative maintenance records (PMs) in a Maximo database and generates workorders for any PMs that are due. The outer logic of the program selects the PMs that are due. Within this select block are several procedures that update several other tables in the database as needed for each particular workorder. One of these procedures calls the SQR Execute statement to run an Oracle stored function. The final step in the process is to write the new workorder itself. The only COMMIT statement in the code is after the workorder is successfully written - all other table updates are dependant upon the workorder getting written, so if any step fails, all other processing for the current workorder must be rolled back. There is no transaction processing in the Oracle procedure. Boring tech stuff: SQR Version is ODBC 4.3.4, running against Oracle 8i. Platform is Win 2000 and an HPUX database server. What's failing: When the compiled version of this program is run from our production job scheduler or a DOS prompt on my development PC, the program fails on an ODBC login failure. The message is "(SQR 1803) CONNECT failed. Perhaps username/password incorrect." I've loaded the program with #debug show statements to create a log, and found that the login failure is occurring the first time the program attempts the EXECUTE statement. The DOS command line that I'm using is: C:\SQRIBE\SQRServer\ODBC\ODB\BINW\sqrwt y:\SQR43~1.4\NGSPMG~1\NGSWOGEN.sqt DSN=xxxxxxx;UID=xxxxxxx;PWD=xxxxxxx -XCB -E -Oy:\SQR43~1.4\NGSPMG~1\NGSWogen.log -XMB -Fy:\SQR43~1.4\NGSPMG~1\NGSWogen.lis What's working: If I load the source for this program into Visual Sqribe and execute it using the preview window, it runs successfully. If I run the compiled version using the "SQR Execute" utility (sqrwtj.exe), it runs successfully. What I've tried: I've verified that the DSN name, uid and password are all correct in the DOS command line as well as the ODBC connect strings within the program. I've tried changing the DOS 8.3 representations of the path to the full folder names in the DOS batch file. I've tried adding a separate COMMIT statement in the Oracle function and setting it to an autonomous transaction so that it's transaction processing wouldn't affect the calling program. I've tried beating my head against my desk. None of these attempts have had any effect except for the head thing, which hurt like heck. Any suggestions for where to go next would be much appreciated... From owner-sqr-users@list.iex.net Tue Jul 2 07:08:34 2002 Date: Tue, 2 Jul 2002 08:00:37 -0400 From: George Jansen Subject: Re: Trouble using EXECUTE statement to run Oracle function a. Is it possible that the effective path is different at your command prompt (odbc needs %0RACLE_HOME%\BIN on the path)? b. Shouldn't you be using a BEGIN-SQL paragraph, this being Oracle? c. But "b" isn't the cause of your failure; you aren't getting that far. d. From your control panel you can turn on ODBC logging... >>> whsmith@SRPNET.COM 07/01/02 06:26PM >>> I've got an SQR program that reads preventative maintenance records (PMs) in a Maximo database and generates workorders for any PMs that are due. The outer logic of the program selects the PMs that are due. Within this select block are several procedures that update several other tables in the database as needed for each particular workorder. One of these procedures calls the SQR Execute statement to run an Oracle stored function. The final step in the process is to write the new workorder itself. The only COMMIT statement in the code is after the workorder is successfully written - all other table updates are dependant upon the workorder getting written, so if any step fails, all other processing for the current workorder must be rolled back. There is no transaction processing in the Oracle procedure. Boring tech stuff: SQR Version is ODBC 4.3.4, running against Oracle 8i. Platform is Win 2000 and an HPUX database server. What's failing: When the compiled version of this program is run from our production job scheduler or a DOS prompt on my development PC, the program fails on an ODBC login failure. The message is "(SQR 1803) CONNECT failed. Perhaps username/password incorrect." I've loaded the program with #debug show statements to create a log, and found that the login failure is occurring the first time the program attempts the EXECUTE statement. The DOS command line that I'm using is: C:\SQRIBE\SQRServer\ODBC\ODB\BINW\sqrwt y:\SQR43~1.4\NGSPMG~1\NGSWOGEN.sqt DSN=xxxxxxx;UID=xxxxxxx;PWD=xxxxxxx -XCB -E -Oy:\SQR43~1.4\NGSPMG~1\NGSWogen.log -XMB -Fy:\SQR43~1.4\NGSPMG~1\NGSWogen.lis What's working: If I load the source for this program into Visual Sqribe and execute it using the preview window, it runs successfully. If I run the compiled version using the "SQR Execute" utility (sqrwtj.exe), it runs successfully. What I've tried: I've verified that the DSN name, uid and password are all correct in the DOS command line as well as the ODBC connect strings within the program. I've tried changing the DOS 8.3 representations of the path to the full folder names in the DOS batch file. I've tried adding a separate COMMIT statement in the Oracle function and setting it to an autonomous transaction so that it's transaction processing wouldn't affect the calling program. I've tried beating my head against my desk. None of these attempts have had any effect except for the head thing, which hurt like heck. Any suggestions for where to go next would be much appreciated... From owner-sqr-users@list.iex.net Tue Jul 2 09:50:24 2002 Date: Tue, 2 Jul 2002 07:45:15 -0700 From: "Walcker, Paul" Subject: Re: Trouble using EXECUTE statement to run Oracle function I would like to append on to George's thought. I would do the ODBC trace for both methods of executing the program. It seems like Visual Scribe may be making some ODBC settings behind the scenes that you are not aware of. Capturing and comparing both traces may provide some useful insights (if you can wade through all the ODBC API calls). Paul -----Original Message----- From: George Jansen [mailto:GJANSEN@AFLCIO.ORG] Sent: Tuesday, July 02, 2002 5:01 AM To: SQR-USERS@list.iex.net Subject: Re: Trouble using EXECUTE statement to run Oracle function a. Is it possible that the effective path is different at your command prompt (odbc needs %0RACLE_HOME%\BIN on the path)? b. Shouldn't you be using a BEGIN-SQL paragraph, this being Oracle? c. But "b" isn't the cause of your failure; you aren't getting that far. d. From your control panel you can turn on ODBC logging... >>> whsmith@SRPNET.COM 07/01/02 06:26PM >>> I've got an SQR program that reads preventative maintenance records (PMs) in a Maximo database and generates workorders for any PMs that are due. The outer logic of the program selects the PMs that are due. Within this select block are several procedures that update several other tables in the database as needed for each particular workorder. One of these procedures calls the SQR Execute statement to run an Oracle stored function. The final step in the process is to write the new workorder itself. The only COMMIT statement in the code is after the workorder is successfully written - all other table updates are dependant upon the workorder getting written, so if any step fails, all other processing for the current workorder must be rolled back. There is no transaction processing in the Oracle procedure. Boring tech stuff: SQR Version is ODBC 4.3.4, running against Oracle 8i. Platform is Win 2000 and an HPUX database server. What's failing: When the compiled version of this program is run from our production job scheduler or a DOS prompt on my development PC, the program fails on an ODBC login failure. The message is "(SQR 1803) CONNECT failed. Perhaps username/password incorrect." I've loaded the program with #debug show statements to create a log, and found that the login failure is occurring the first time the program attempts the EXECUTE statement. The DOS command line that I'm using is: C:\SQRIBE\SQRServer\ODBC\ODB\BINW\sqrwt y:\SQR43~1.4\NGSPMG~1\NGSWOGEN.sqt DSN=xxxxxxx;UID=xxxxxxx;PWD=xxxxxxx -XCB -E -Oy:\SQR43~1.4\NGSPMG~1\NGSWogen.log -XMB -Fy:\SQR43~1.4\NGSPMG~1\NGSWogen.lis What's working: If I load the source for this program into Visual Sqribe and execute it using the preview window, it runs successfully. If I run the compiled version using the "SQR Execute" utility (sqrwtj.exe), it runs successfully. What I've tried: I've verified that the DSN name, uid and password are all correct in the DOS command line as well as the ODBC connect strings within the program. I've tried changing the DOS 8.3 representations of the path to the full folder names in the DOS batch file. I've tried adding a separate COMMIT statement in the Oracle function and setting it to an autonomous transaction so that it's transaction processing wouldn't affect the calling program. I've tried beating my head against my desk. None of these attempts have had any effect except for the head thing, which hurt like heck. Any suggestions for where to go next would be much appreciated... From owner-sqr-users@list.iex.net Tue Jul 2 01:43:43 2002 Date: Mon, 1 Jul 2002 23:34:16 -0700 From: slash barbarian Subject: SQR 4736 Unexpected End of File Hi there... I have a problem here regarding to SQR report, using SQR Reportmate Oracle 7. And the report will be used in MAXIMO version 3.0 (if I was not mistaken). The problem is, when I running the report from MAXIMO, I get an error SQR 4736 Unexpected End-of_File while processing the run-time file What does the error means and how do I solve it? Thank you. Hafiz __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From owner-sqr-users@list.iex.net Tue Jul 2 10:14:44 2002 Date: Tue, 2 Jul 2002 10:58:47 -0400 From: "Sampson, Thomas" Subject: multiple reports output to single file I'm including a simple example of what I'm trying to do: I'm trying to use a multiple layout/multiple report sqr to produce a single (pdf) output file. Everything works as it should except I can't figure out how to combine the separate output sections (each with it's own header and layout) into one output file. Is this possible? What I currently see is two files: rep_01.pdf rep.pdf Here's the code: ----------------------- begin-setup declare-layout rep1_layout orientation = landscape end-declare declare-layout rep2_layout orientation = portrait end-declare declare-report rep1_report layout = rep1_layout end-declare declare-report rep2_report layout = rep2_layout end-declare end-setup begin-program do rep1 do rep2 end-program begin-heading 10 for-reports = (rep1_report) print 'rep1 heading' (1,50) end-heading begin-heading 10 for-reports = (rep2_report) print 'rep2 heading' (1,50) end-heading begin-procedure rep1 let $text = 'printing rep1 report........' do print_rep1 end-procedure begin-procedure rep2 let $text = 'printing rep2 report........' do print_rep2 end-procedure begin-procedure print_rep1 use-report rep1_report print $text (1,1) end-procedure begin-procedure print_rep2 use-report rep2_report print $text (1,1) end-procedure SQR/6.0/Sun/SunOS 5.5.1/Sybase CT-LIB 10.0.4/Apr 27 2000 ********************************************************************** This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom it is addressed. This communication may contain protected or privileged material and should only be viewed by the intended recipient(s). If you are not the intended recipient or the person responsible for delivering the email to the intended recipient(s), be advised that you have received this email in error and that any use, dissemination, forwarding, printing or copying of this email is strictly prohibited. ********************************************************************** From owner-sqr-users@list.iex.net Tue Jul 2 14:48:24 2002 Date: Tue, 2 Jul 2002 15:40:55 -0400 From: Don Barclay Subject: Re: multiple reports output to single file Thomas, I am fairly certain that what you are trying to do is not possible within SQR. You could insert the second PDF document into the first document with Adobe (if you have Acrobat or higher). If you are doing this within PeopleSoft, there is a way to get both pdf files sent to the report manager (append "-MR 3" to the parameter list for the process definition). Don Barclay Westinghouse Savannah River Co. Aiken, SC >>I'm including a simple example of what I'm trying to do: I'm trying to use a multiple layout/multiple report sqr to produce a single (pdf) output file. Everything works as it should except I can't figure out how to combine the separate output sections (each with it's own header and layout) into one output file. Is this possible? What I currently see is two files: rep_01.pdf rep.pdf Here's the code: ----------------------- begin-setup declare-layout rep1_layout orientation = landscape end-declare declare-layout rep2_layout orientation = portrait end-declare declare-report rep1_report layout = rep1_layout end-declare declare-report rep2_report layout = rep2_layout end-declare end-setup begin-program do rep1 do rep2 end-program From owner-sqr-users@list.iex.net Tue Jul 2 16:43:37 2002 Date: Tue, 2 Jul 2002 17:38:26 -0400 From: "Sampson, Thomas" Subject: Re: multiple reports output to single file Thanks - that's what I was afraid of I began looking around for a unix utility to do the job after the fact but it doesn't seem to exist either. I guess I'll take a different angle. -----Original Message----- From: Don Barclay [mailto:don.barclay@SRS.GOV] Sent: Tuesday, July 02, 2002 3:41 PM To: SQR-USERS@list.iex.net Subject: Re: multiple reports output to single file Thomas, I am fairly certain that what you are trying to do is not possible within SQR. You could insert the second PDF document into the first document with Adobe (if you have Acrobat or higher). If you are doing this within PeopleSoft, there is a way to get both pdf files sent to the report manager (append "-MR 3" to the parameter list for the process definition). Don Barclay Westinghouse Savannah River Co. Aiken, SC >>I'm including a simple example of what I'm trying to do: I'm trying to use a multiple layout/multiple report sqr to produce a single (pdf) output file. Everything works as it should except I can't figure out how to combine the separate output sections (each with it's own header and layout) into one output file. Is this possible? What I currently see is two files: rep_01.pdf rep.pdf Here's the code: ----------------------- begin-setup declare-layout rep1_layout orientation = landscape end-declare declare-layout rep2_layout orientation = portrait end-declare declare-report rep1_report layout = rep1_layout end-declare declare-report rep2_report layout = rep2_layout end-declare end-setup begin-program do rep1 do rep2 end-program ********************************************************************** This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom it is addressed. This communication may contain protected or privileged material and should only be viewed by the intended recipient(s). If you are not the intended recipient or the person responsible for delivering the email to the intended recipient(s), be advised that you have received this email in error and that any use, dissemination, forwarding, printing or copying of this email is strictly prohibited. ********************************************************************** From owner-sqr-users@list.iex.net Wed Jul 3 03:06:33 2002 Date: Wed, 3 Jul 2002 01:03:28 -0700 From: Franck Masson Subject: Re: multiple reports output to single file Thomas, there are some PDF utilities that manage the merge of pdf file. so to deliver what you want you have to run sqr and then run this utilities to merge all the output in one file. you will have to work to the naming convention of the sqr output to merge the output files in the right order Franck, -----Original Message----- From: Sampson, Thomas [mailto:Sampson@FHLB-OF.COM] Sent: mardi 2 juillet 2002 16:59 To: SQR-USERS@list.iex.net Subject: multiple reports output to single file I'm including a simple example of what I'm trying to do: I'm trying to use a multiple layout/multiple report sqr to produce a single (pdf) output file. Everything works as it should except I can't figure out how to combine the separate output sections (each with it's own header and layout) into one output file. Is this possible? What I currently see is two files: rep_01.pdf rep.pdf Here's the code: ----------------------- begin-setup declare-layout rep1_layout orientation = landscape end-declare declare-layout rep2_layout orientation = portrait end-declare declare-report rep1_report layout = rep1_layout end-declare declare-report rep2_report layout = rep2_layout end-declare end-setup begin-program do rep1 do rep2 end-program begin-heading 10 for-reports = (rep1_report) print 'rep1 heading' (1,50) end-heading begin-heading 10 for-reports = (rep2_report) print 'rep2 heading' (1,50) end-heading begin-procedure rep1 let $text = 'printing rep1 report........' do print_rep1 end-procedure begin-procedure rep2 let $text = 'printing rep2 report........' do print_rep2 end-procedure begin-procedure print_rep1 use-report rep1_report print $text (1,1) end-procedure begin-procedure print_rep2 use-report rep2_report print $text (1,1) end-procedure SQR/6.0/Sun/SunOS 5.5.1/Sybase CT-LIB 10.0.4/Apr 27 2000 ********************************************************************** This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom it is addressed. This communication may contain protected or privileged material and should only be viewed by the intended recipient(s). If you are not the intended recipient or the person responsible for delivering the email to the intended recipient(s), be advised that you have received this email in error and that any use, dissemination, forwarding, printing or copying of this email is strictly prohibited. ********************************************************************** From owner-sqr-users@list.iex.net Tue Jul 2 14:37:22 2002 Date: Tue, 2 Jul 2002 14:28:30 -0500 From: Yuri Hunter Subject: scheduling SQR in PSoft
Hi,
 
I would like to schedule an SQR process in PeopleSoft Process Scheduler (weekly) but do not have a need for a user to ever run the process from a panel/menu.
 
Is it necessary to link this SQR process to a panel group?  Is there anything different in terms of process definition setup in Process Scheduler when the SQR process will be user-run or always scheduled?
 
Thanks.
 


Send and receive Hotmail on your mobile device: Click Here
From owner-sqr-users@list.iex.net Tue Jul 2 14:46:33 2002 Date: Tue, 2 Jul 2002 15:36:36 -0400 From: Bruce Kelling Subject: Re: scheduling SQR in PSoft Yes, you must link sqr to at least one panel group. It is a required field in the process definition. If users do not need to see the panel group, don't grant menu access to that item. The only difference for user-run setup in process definition is the process security groups, but your first sentence stated that you do not have a need for this. Bruce -----Original Message----- From: Yuri Hunter [mailto:lakef250@HOTMAIL.COM] Sent: Tuesday, July 02, 2002 3:29 PM To: SQR-USERS@list.iex.net Subject: scheduling SQR in PSoft Hi, I would like to schedule an SQR process in PeopleSoft Process Scheduler (weekly) but do not have a need for a user to ever run the process from a panel/menu. Is it necessary to link this SQR process to a panel group? Is there anything different in terms of process definition setup in Process Scheduler when the SQR process will be user-run or always scheduled? Thanks. _____ Send and receive Hotmail on your mobile device: Click Here From owner-sqr-users@list.iex.net Tue Jul 2 15:03:39 2002 Date: Tue, 2 Jul 2002 14:56:13 -0500 From: Yuri Hunter Subject: Re: scheduling SQR in PSoft

Thank you.

>From: Bruce Kelling
>Reply-To: sqr-users@list.iex.net
>To: SQR-USERS@list.iex.net
>Subject: Re: scheduling SQR in PSoft
>Date: Tue, 2 Jul 2002 15:36:36 -0400
>
>Yes, you must link sqr to at least one panel group. It is a required field
>in the process definition. If users do not need to see the panel group,
>don't grant menu access to that item.
>
>The only difference for user-run setup in process definition is the process
>security groups, but your first sentence stated that you do not have a need
>for this.
>
>
>Bruce
>
> -----Original Message-----
>From: Yuri Hunter [mailto:lakef250@HOTMAIL.COM]
>Sent: Tuesday, July 02, 2002 3:29 PM
>To: SQR-USERS@list.iex.net
>Subject: scheduling SQR in PSoft
>
>
>
>Hi,
>
>I would like to schedule an SQR process in PeopleSoft Process Scheduler
>(weekly) but do not have a need for a user to ever run the process from a
>panel/menu.
>
>Is it necessary to link this SQR process to a panel group? Is there
>anything different in terms of process definition setup in Process Scheduler
>when the SQR process will be user-run or always scheduled?
>
>Thanks.
>
>
> _____
>
>Send and receive Hotmail on your mobile device: Click Here
>


Chat with friends online, try MSN Messenger: Click Here
From owner-sqr-users@list.iex.net Tue Jul 2 16:35:15 2002 Date: Tue, 2 Jul 2002 14:29:11 -0700 From: Allen Cunningham Subject: sqr check for existence of a file on network drive I have an sqr I want to schedule to run, but only if a file exists on a network drive, and that file is not empty. I need to find out a way for the sqr to check if the file exists. Anybody know of any sqr file functions that will work for this?? ac *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* Allen Cunningham Sonoma State University Administrative Information Systems allen.cunningham@sonoma.edu ph 707.664.2052 fx 707.664.2505 This message has been sent using 100% recycled electrons. *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* From owner-sqr-users@list.iex.net Tue Jul 2 16:40:54 2002 Date: Tue, 2 Jul 2002 16:36:19 -0500 From: James Womeldorf Subject: Re: sqr check for existence of a file on network drive Let #FileExists = exists($File_Path_And_Name) if #FileExists = zero after the call the file exists. Jim Womeldorf Programmer/Analyst Fastenal Company jwomeldo@fastenal.com (507) 453-8250 -----Original Message----- From: Allen Cunningham [mailto:allen.cunningham@SONOMA.EDU] Sent: Tuesday, July 02, 2002 4:29 PM To: SQR-USERS@list.iex.net Subject: sqr check for existence of a file on network drive I have an sqr I want to schedule to run, but only if a file exists on a network drive, and that file is not empty. I need to find out a way for the sqr to check if the file exists. Anybody know of any sqr file functions that will work for this?? ac *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* Allen Cunningham Sonoma State University Administrative Information Systems allen.cunningham@sonoma.edu ph 707.664.2052 fx 707.664.2505 This message has been sent using 100% recycled electrons. *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* From owner-sqr-users@list.iex.net Tue Jul 2 17:06:08 2002 Date: Tue, 2 Jul 2002 15:00:14 -0700 From: Allen Cunningham Subject: Re: sqr check for existence of a file on network drive Hi Jim - Thanks for the suggestion, I will try that. ac -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of James Womeldorf Sent: Tuesday, July 02, 2002 2:36 PM To: SQR-USERS@list.iex.net Subject: Re: sqr check for existence of a file on network drive Let #FileExists = exists($File_Path_And_Name) if #FileExists = zero after the call the file exists. Jim Womeldorf Programmer/Analyst Fastenal Company jwomeldo@fastenal.com (507) 453-8250 -----Original Message----- From: Allen Cunningham [mailto:allen.cunningham@SONOMA.EDU] Sent: Tuesday, July 02, 2002 4:29 PM To: SQR-USERS@list.iex.net Subject: sqr check for existence of a file on network drive I have an sqr I want to schedule to run, but only if a file exists on a network drive, and that file is not empty. I need to find out a way for the sqr to check if the file exists. Anybody know of any sqr file functions that will work for this?? ac *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* Allen Cunningham Sonoma State University Administrative Information Systems allen.cunningham@sonoma.edu ph 707.664.2052 fx 707.664.2505 This message has been sent using 100% recycled electrons. *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* From owner-sqr-users@list.iex.net Tue Jul 2 16:44:40 2002 Date: Tue, 2 Jul 2002 14:39:01 -0700 From: Robert Stojkovic Subject: Re: sqr check for existence of a file on network drive Allen That would depend on the type of file you are looking for on the network. If you are looking for a flat file do an open and check for file status it was able to open the file. If you want to know how many rows in the flat file have it start reading the file in if more than 1 row is process then exit the read and proceeded with your sqr. If no rows then exit sqr. Hope this helps Robert Stojkovic robert.stojkovic@io-consulting .com visit our website www.io-consulting.com cell 661 857 0350 -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Allen Cunningham Sent: Tuesday, July 02, 2002 2:29 PM To: SQR-USERS@list.iex.net Subject: sqr check for existence of a file on network drive I have an sqr I want to schedule to run, but only if a file exists on a network drive, and that file is not empty. I need to find out a way for the sqr to check if the file exists. Anybody know of any sqr file functions that will work for this?? ac *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* Allen Cunningham Sonoma State University Administrative Information Systems allen.cunningham@sonoma.edu ph 707.664.2052 fx 707.664.2505 This message has been sent using 100% recycled electrons. *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* From owner-sqr-users@list.iex.net Tue Jul 2 17:06:18 2002 Date: Tue, 2 Jul 2002 15:00:14 -0700 From: Allen Cunningham Subject: Re: sqr check for existence of a file on network drive It would be a text file, sounds like 'exists', will tell me if it's there, and then if there are any rows, it's not empty. ac -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Robert Stojkovic Sent: Tuesday, July 02, 2002 2:39 PM To: SQR-USERS@list.iex.net Subject: Re: sqr check for existence of a file on network drive Allen That would depend on the type of file you are looking for on the network. If you are looking for a flat file do an open and check for file status it was able to open the file. If you want to know how many rows in the flat file have it start reading the file in if more than 1 row is process then exit the read and proceeded with your sqr. If no rows then exit sqr. Hope this helps Robert Stojkovic robert.stojkovic@io-consulting .com visit our website www.io-consulting.com cell 661 857 0350 -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Allen Cunningham Sent: Tuesday, July 02, 2002 2:29 PM To: SQR-USERS@list.iex.net Subject: sqr check for existence of a file on network drive I have an sqr I want to schedule to run, but only if a file exists on a network drive, and that file is not empty. I need to find out a way for the sqr to check if the file exists. Anybody know of any sqr file functions that will work for this?? ac *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* Allen Cunningham Sonoma State University Administrative Information Systems allen.cunningham@sonoma.edu ph 707.664.2052 fx 707.664.2505 This message has been sent using 100% recycled electrons. *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* From owner-sqr-users@list.iex.net Wed Jul 3 13:34:24 2002 Date: Wed, 3 Jul 2002 11:22:36 -0700 From: Shanti Ramakrishnan Subject: SQt file error Hi, I have SQR version 6.0. When I execute a report the .lis file is created with no problem. As soon as I try to run an sqt file ... that is when I get the "(SQR 4723) RunTime file must be recreated for this version of SQR....SQR for PeopleSoft: Program Aborting." Does any one have any idea why this error? Thanks for your input on this. --------------------------------- Do You Yahoo!? New! SBC Yahoo! Dial - 1st Month Free & unlimited access From owner-sqr-users@list.iex.net Wed Jul 3 14:09:12 2002 Date: Wed, 3 Jul 2002 14:58:59 -0400 From: Larry Roux Subject: Re: SQt file error According to the SQR manual, the SQT was compiled under a different version of SQR. You need to re-compile the SQR into an SQT and then try again. ****************************** Larry Roux Syracuse University lroux@syr.edu ******************************* >>> shanpram@YAHOO.COM 07/03/02 02:22PM >>> Hi, I have SQR version 6.0. When I execute a report the .lis file is created with no problem. As soon as I try to run an sqt file ... that is when I get the "(SQR 4723) RunTime file must be recreated for this version of SQR....SQR for PeopleSoft: Program Aborting." Does any one have any idea why this error? Thanks for your input on this. --------------------------------- Do You Yahoo!? New! SBC Yahoo! Dial - 1st Month Free & unlimited access From owner-sqr-users@list.iex.net Wed Jul 3 14:40:47 2002 Date: Wed, 3 Jul 2002 12:35:49 -0700 From: Sarat Subject: CommitTransactions via SQR in SQL Server Hello, I have an SQR which updates production tables. When we were on AS400/DB2, we specifically used SQC 'do commit transactions' after every procedure which performs updates. After we migrated to SQL Server 2000, one of our migration strategies was to remove all commit-transaction procedure calls because by-default, SQL Server has auto-commit ON. Doubts I have are: 1. Is it not true that it is faster to commit transaction in batches vs one by one? 2. If I need to commit transaction in groups, then I should modify my SQR to use BEGIN TRANSACTION and COMMIT TRANSACTION within SQL Paragraphs. right? Thanks, Sarat. __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From owner-sqr-users@list.iex.net Thu Jul 4 11:35:56 2002 Date: Thu, 4 Jul 2002 11:30:25 -0500 From: "Wayne C. Findley" Subject: Seeking...CHANGE FORMAT I have to create a Problem Report change form for USERS within my company who requires changes to the PeopleSoft System. Whether this be a new SQR or changes (modification, deletion or creation) to menus, panels, panel groups etc. Has anyone got a change form where persons can use to apply for these changes? I need a format of this form so I can modify for our purposes if necessary. I need this like yesterday. Thanks Again. From owner-sqr-users@list.iex.net Fri Jul 5 12:03:28 2002 Date: Fri, 5 Jul 2002 11:39:02 -0500 From: Mr Jody Nabors Subject: Date error on Diff-Date A number of our sqrs are getting the following error: (SQR 1921) Bad date mask starting at: '-MON-YYYY'. I have the troublesome Diff-Date line of code commented out. The report runs fine w/out it. The situation: We recently moved from a PS 7 to PS 8.16 and from Oracle 7 to 8.16. We figure it has something to do w/ how the dates are stored in the database. All sqrs were running fine in the old environment. We have been cleaning up the conversion, and the reports are the last thing on the list so everything else is in order in the environment. This is the snippet of code where I am receiving the error: begin-procedure Process-Main2 let #tot1 = 0 begin-SELECT !distinct c1.deptid move &a1.n_start_dt to $START_DT1 LET $SYSDATE = SUBSTR($REPORTDATE,7,4) || '-' || SUBSTR($REPORTDATE,1,2) || '-' ||SUBSTR($REPORTDATE,4,2) !DO Diff-Date($SYSDATE,$START_DT1,#yy_diff,#MM_diff,#DD_diff) ((HERE IS THE ERROR)) let #DD_DIFF = #DD_DIFF +1 ADD #DD_diff TO #SUBTOTAL_DT ADD #DD_diff TO #GRANDTOTAL_DT d1.name (+1, {col1}) b1.n_rate_rank (0, {col2}) d1.emplid (0, {col3}) edit xxx-xx-xxxx a1.n_start_dt !(0, {col4}) e1.descr .... Jody From owner-sqr-users@list.iex.net Fri Jul 5 18:56:45 2002 Date: Fri, 5 Jul 2002 16:49:38 -0700 From: Ken Boettger Subject: RBSBIG I am looking for information on RBSBIG. I would like to allocate a larger sector programmatically during the execution of an SQR report (something we run in batch every evening). Can this be done with SQR code? -KenB From owner-sqr-users@list.iex.net Tue Jul 9 15:40:47 2002 Date: Tue, 9 Jul 2002 16:34:29 -0400 From: Paul Hoyte Subject: Re: RBSBIG Ken: If you have the correct privileges to issue the command, this can be done by executing a sql statement as part of the begin-sql paragraph. The command will set the current transaction to use which ever rollback segment that you specify in the command... begin-procedure test_rbs begin-sql SET TRANSACTION USE ROLLBACK SEGMENT rbs3; insert into dept values(9888, 'TEST DEPT', 'BRIGHTON'); end-sql end-procedure Paul Hoyte Sharidionne Inc. (248) 559-6868 Email: phoyte@sharidionne.com -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net] On Behalf Of Ken Boettger Sent: Friday, July 05, 2002 7:50 PM To: SQR-USERS@list.iex.net Subject: RBSBIG I am looking for information on RBSBIG. I would like to allocate a larger sector programmatically during the execution of an SQR report (something we run in batch every evening). Can this be done with SQR code? -KenB From owner-sqr-users@list.iex.net Wed Jul 10 12:50:37 2002 Date: Wed, 10 Jul 2002 10:45:28 -0700 From: Ken Boettger Subject: Re: RBSBIG Thanks Paul. I will need to play with the privs in our test environment. I think one of our people here tried this but it still used the default segment. So the privs may be the issue here. Thanks. -Ken >>> phoyte@SHARIDIONNE.COM 07/09/02 01:34PM >>> Ken: If you have the correct privileges to issue the command, this can be done by executing a sql statement as part of the begin-sql paragraph. The command will set the current transaction to use which ever rollback segment that you specify in the command... begin-procedure test_rbs begin-sql SET TRANSACTION USE ROLLBACK SEGMENT rbs3; insert into dept values(9888, 'TEST DEPT', 'BRIGHTON'); end-sql end-procedure Paul Hoyte Sharidionne Inc. (248) 559-6868 Email: phoyte@sharidionne.com -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net] On Behalf Of Ken Boettger Sent: Friday, July 05, 2002 7:50 PM To: SQR-USERS@list.iex.net Subject: RBSBIG I am looking for information on RBSBIG. I would like to allocate a larger sector programmatically during the execution of an SQR report (something we run in batch every evening). Can this be done with SQR code? -KenB From owner-sqr-users@list.iex.net Wed Jul 10 13:22:35 2002 Date: Wed, 10 Jul 2002 11:04:17 -0700 From: Jennifer Tran Subject: Re: RBSBIG You might also want to specify the rollback segment to be used by the operator(s) (either it is a person, a session or a specific process) while running the SQR job. This needs to be done by the DBA within oracle, in constrast to the SET TRANSACTION...command issued within the SQR itself. By defaulting the rollback segment to be used in the oracle environment, when the operator runs the SQR, the specified rollback segment must be used. Also, you might want to use COMMIT statement to assist in using the rollback segment. HTH.. Ken Boettger wrote: > Thanks Paul. > > I will need to play with the privs in our test environment. I think one of our people here tried this but it still used the default segment. So the privs may be the issue here. Thanks. > > -Ken > > >>> phoyte@SHARIDIONNE.COM 07/09/02 01:34PM >>> > Ken: > > If you have the correct privileges to issue the command, this can be > done by executing a sql statement as part of the begin-sql paragraph. > The command will set the current transaction to use which ever rollback > segment that you specify in the command... > > begin-procedure test_rbs > > begin-sql > > SET TRANSACTION USE ROLLBACK SEGMENT rbs3; > > insert into dept values(9888, 'TEST DEPT', 'BRIGHTON'); > > end-sql > > end-procedure > > Paul Hoyte > Sharidionne Inc. > (248) 559-6868 > Email: phoyte@sharidionne.com > > -----Original Message----- > From: Discussion of SQR, Brio Software's database reporting language > [mailto:SQR-USERS@list.iex.net] On Behalf Of Ken Boettger > Sent: Friday, July 05, 2002 7:50 PM > To: SQR-USERS@list.iex.net > Subject: RBSBIG > > I am looking for information on RBSBIG. I would like to allocate a > larger sector programmatically during the execution of an SQR report > (something we run in batch every evening). Can this be done with SQR > code? > > -KenB -- ********************************* California State University ----------- Jennifer Tran Email: jtran@bms.calstate.edu Phone: (562)951-4395 Making everyday a better day ********************************* From owner-sqr-users@list.iex.net Wed Jul 10 14:36:53 2002 Date: Wed, 10 Jul 2002 15:21:17 -0400 From: George Jansen Subject: Re: RBSBIG When in doubt, check. I decided to test this and created a scratch table: create table scratch(a varchar2(2)); I then ran the followig SQR: !!!!!!!!!!!!!!!!!!!! begin-program do insert-rows do insert-rows end-program begin-procedure set-rbs begin-sql set transaction use rollback segment rbsbig; end-sql end-procedure begin-procedure check-rbs ($message) begin-select r.name &rname display $message noline display &rname from v$transaction t, v$rollname r where t.xidusn = r.usn and t.ses_addr = (select distinct s.saddr from v$session s, v$mystat m where s.sid = m.sid) end-select end-procedure check-rbs begin-procedure random-dml begin-sql insert into scratch(a) values('b'); end-sql end-procedure random-dml begin-procedure insert-rows do set-rbs do random-dml do check-rbs('Expect rbsbig, segment is ') commit do random-dml do check-rbs('Segment probably changed: ') commit end-procedure insert-rows !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! and, as expected, saw Expect rbsbig, segment is RBSBIG Segment probably changed: R01 Expect rbsbig, segment is RBSBIG Segment probably changed: R01 Note that you will have to have privileges on the dynamic performance views to actually run this SQR; however it requires no special privileges to issue the 'SET TRANSACTION USE ROLLBACK SEGMENT". From owner-sqr-users@list.iex.net Wed Jul 10 14:51:38 2002 Date: Wed, 10 Jul 2002 15:42:39 -0400 From: Paul Hoyte Subject: Re: RBSBIG George: I would suggest executing the insert/update commands within the same begin-sql paragraph or set the transaction to use the rbsbig EACH time just before you execute the insert but within the same begin-sql paragraph. Transactions can be assigned different RBSegments so to hold the one that you want you have to use it right away with the sql paragraph. Executing another procedure will create the possibility to lose the assigned segment. HTH Paul Hoyte Sharidionne Inc. (248) 559-6868 Email: phoyte@sharidionne.com -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net] On Behalf Of George Jansen Sent: Wednesday, July 10, 2002 3:21 PM To: SQR-USERS@list.iex.net Subject: Re: RBSBIG When in doubt, check. I decided to test this and created a scratch table: create table scratch(a varchar2(2)); I then ran the followig SQR: !!!!!!!!!!!!!!!!!!!! begin-program do insert-rows do insert-rows end-program begin-procedure set-rbs begin-sql set transaction use rollback segment rbsbig; end-sql end-procedure begin-procedure check-rbs ($message) begin-select r.name &rname display $message noline display &rname from v$transaction t, v$rollname r where t.xidusn = r.usn and t.ses_addr = (select distinct s.saddr from v$session s, v$mystat m where s.sid = m.sid) end-select end-procedure check-rbs begin-procedure random-dml begin-sql insert into scratch(a) values('b'); end-sql end-procedure random-dml begin-procedure insert-rows do set-rbs do random-dml do check-rbs('Expect rbsbig, segment is ') commit do random-dml do check-rbs('Segment probably changed: ') commit end-procedure insert-rows !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! and, as expected, saw Expect rbsbig, segment is RBSBIG Segment probably changed: R01 Expect rbsbig, segment is RBSBIG Segment probably changed: R01 Note that you will have to have privileges on the dynamic performance views to actually run this SQR; however it requires no special privileges to issue the 'SET TRANSACTION USE ROLLBACK SEGMENT". From owner-sqr-users@list.iex.net Wed Jul 10 15:11:44 2002 Date: Wed, 10 Jul 2002 16:06:35 -0400 From: George Jansen Subject: Re: RBSBIG Paul, What I was trying to illustrate was that a. SET TRANSACTION USE ROLLBACK SEGMENT is effective within SQR b. It is good for one transaction only: do a commit (or rollback, or issue some DDL), and the new transaction will probably bring a new rollback segment. Sorry if this wasn't clear. It doesn't have to be the same begin-sql/end-sql paragraph; executing another procedure will affect it only there's a commit or rollback (possibly implicit or auto). George >>> phoyte@SHARIDIONNE.COM 07/10/02 03:42PM >>> George: I would suggest executing the insert/update commands within the same begin-sql paragraph or set the transaction to use the rbsbig EACH time just before you execute the insert but within the same begin-sql paragraph. Transactions can be assigned different RBSegments so to hold the one that you want you have to use it right away with the sql paragraph. Executing another procedure will create the possibility to lose the assigned segment. HTH Paul Hoyte Sharidionne Inc. (248) 559-6868 Email: phoyte@sharidionne.com From owner-sqr-users@list.iex.net Wed Jul 10 22:24:37 2002 Date: Wed, 10 Jul 2002 23:16:19 -0400 From: Paul Hoyte Subject: Re: RBSBIG Sorry George. Guess I did mis-understand the reply. Comes from reading too fast I guess. Your solution is correct and you would have to set the RBS for each transaction. Paul Hoyte Sharidionne Inc. (248) 559-6868 Email: phoyte@sharidionne.com -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net] On Behalf Of George Jansen Sent: Wednesday, July 10, 2002 4:07 PM To: SQR-USERS@list.iex.net Subject: Re: RBSBIG Paul, What I was trying to illustrate was that a. SET TRANSACTION USE ROLLBACK SEGMENT is effective within SQR b. It is good for one transaction only: do a commit (or rollback, or issue some DDL), and the new transaction will probably bring a new rollback segment. Sorry if this wasn't clear. It doesn't have to be the same begin-sql/end-sql paragraph; executing another procedure will affect it only there's a commit or rollback (possibly implicit or auto). George >>> phoyte@SHARIDIONNE.COM 07/10/02 03:42PM >>> George: I would suggest executing the insert/update commands within the same begin-sql paragraph or set the transaction to use the rbsbig EACH time just before you execute the insert but within the same begin-sql paragraph. Transactions can be assigned different RBSegments so to hold the one that you want you have to use it right away with the sql paragraph. Executing another procedure will create the possibility to lose the assigned segment. HTH Paul Hoyte Sharidionne Inc. (248) 559-6868 Email: phoyte@sharidionne.com From owner-sqr-users@list.iex.net Sat Jul 6 16:49:33 2002 Date: Sat, 6 Jul 2002 22:24:20 +0100 From: Colin Nicol Subject: Date Wild cards in stored Procedures?? I use Microsoft Query within Excel to extract data from the SQL server = by using Stored Procedures set up for me by the IT dept. eg., exec moy_stockissues '20020630' Instead of having to change the date every day by editing the query..is = there a form of words that I can put in place of the date that would = mean..." Today" or " Today + 1" .... or can the "SQL date" be made = to refer to an Excel cell ??? Thanks, Colin From owner-sqr-users@list.iex.net Mon Jul 8 03:36:40 2002 Date: Mon, 8 Jul 2002 16:10:16 +0800 From: Esther Chin Subject: How to run SQR from web ? Hi there, I have just subcribed to sqr-users. Anybody can tell me how to run the = sqr program from the web ? Best regards, Esther=20 From owner-sqr-users@list.iex.net Mon Jul 8 04:08:10 2002 Date: Mon, 8 Jul 2002 14:28:47 +0530 From: "Nandi, Jyotirmoy (Cognizant)" Subject: Re: How to run SQR from web ? hi esther, 1. first of all create a run-control page or select one from the given run-control pages. include that run-control page in a component and the component in turn to a menu. 2. give security to the run-control page by going to the menu Go -> PeopleTools -> Maintain Security -> use. choose one of the roles to which your user-profile has access. then choose one of the permission lists which are associated with that role. in the chosen permission list include the run-control page. 3. create a process-definition for your SQR by going to the menu Go -> PeopleTools -> Process Scheduler Manager -> use -> process definitions. after all the above are done u can navigate to the page you have created thru the webmode. after that in that page press the RUN button. you will be directed to a process request page. therein select ur own SQR and press OK. the SQR should run and the results can be seen in the Process Monitor link on that page. if the SQR has errors a status of Error will be shown otherwise a status of Success will come up. regards, jyoti -----Original Message----- From: Esther Chin [mailto:esther_chin@CONGRUENT.COM.SG] Sent: Monday, July 08, 2002 1:40 PM To: SQR-USERS@list.iex.net Subject: How to run SQR from web ? Hi there, I have just subcribed to sqr-users. Anybody can tell me how to run the sqr program from the web ? Best regards, Esther From owner-sqr-users@list.iex.net Mon Jul 8 04:39:13 2002 Date: Mon, 8 Jul 2002 17:15:31 +0800 From: Esther Chin Subject: Re: How to run SQR from web ? Hi jyoti, Thanks for your explaination. But what i mentioned is not in peoplesoft. My concern is how to run the sqr report from the normal web site? Let say, is it possible to use html or javascript to call up the sqr program and run it from the web? if yes, may i know how to do that ? please advise. Best regards, Esther ----- Original Message ----- From: "Nandi, Jyotirmoy (Cognizant)" To: Sent: Monday, July 08, 2002 4:58 PM Subject: Re: How to run SQR from web ? > hi esther, > > 1. first of all create a run-control page or select one from the given > run-control pages. include that run-control page in a component and the > component in turn to a menu. > > 2. give security to the run-control page by going to the menu Go -> > PeopleTools -> Maintain Security -> use. choose one of the roles to which > your user-profile has access. then choose one of the permission lists which > are associated with that role. in the chosen permission list include the > run-control page. > > 3. create a process-definition for your SQR by going to the menu Go -> > PeopleTools -> Process Scheduler Manager -> use -> process definitions. > > after all the above are done u can navigate to the page you have > created thru the webmode. after that in that page press the RUN button. you > will be directed to a process request page. therein select ur own SQR and > press OK. the SQR should run and the results can be seen in the Process > Monitor link on that page. if the SQR has errors a status of Error will be > shown otherwise a status of Success will come up. > > regards, > jyoti > > -----Original Message----- > From: Esther Chin [mailto:esther_chin@CONGRUENT.COM.SG] > Sent: Monday, July 08, 2002 1:40 PM > To: SQR-USERS@list.iex.net > Subject: How to run SQR from web ? > > > Hi there, > > I have just subcribed to sqr-users. Anybody can tell me how to run the sqr > program from the web ? > > Best regards, > Esther > From owner-sqr-users@list.iex.net Mon Jul 8 04:43:20 2002 Date: Mon, 8 Jul 2002 11:27:56 +0200 From: "Kloprogge,Frank F.J.M." Subject: Re: How to run SQR from web ? Hi Esther, have a look at www.sqrug.com and search for "running web" HTH Frank Kloprogge Fontys ICT-Services DBA PeopleSoft 08778-78710 -----Oorspronkelijk bericht----- Van: Esther Chin [mailto:esther_chin@CONGRUENT.COM.SG] Verzonden: maandag 8 juli 2002 11:16 Aan: SQR-USERS@LIST.IEX.NET Onderwerp: Re: How to run SQR from web ? Hi jyoti, Thanks for your explaination. But what i mentioned is not in peoplesoft. My concern is how to run the sqr report from the normal web site? Let say, is it possible to use html or javascript to call up the sqr program and run it from the web? if yes, may i know how to do that ? please advise. Best regards, Esther ----- Original Message ----- From: "Nandi, Jyotirmoy (Cognizant)" To: Sent: Monday, July 08, 2002 4:58 PM Subject: Re: How to run SQR from web ? > hi esther, > > 1. first of all create a run-control page or select one from the given > run-control pages. include that run-control page in a component and the > component in turn to a menu. > > 2. give security to the run-control page by going to the menu Go -> > PeopleTools -> Maintain Security -> use. choose one of the roles to which > your user-profile has access. then choose one of the permission lists which > are associated with that role. in the chosen permission list include the > run-control page. > > 3. create a process-definition for your SQR by going to the menu Go -> > PeopleTools -> Process Scheduler Manager -> use -> process definitions. > > after all the above are done u can navigate to the page you have > created thru the webmode. after that in that page press the RUN button. you > will be directed to a process request page. therein select ur own SQR and > press OK. the SQR should run and the results can be seen in the Process > Monitor link on that page. if the SQR has errors a status of Error will be > shown otherwise a status of Success will come up. > > regards, > jyoti > > -----Original Message----- > From: Esther Chin [mailto:esther_chin@CONGRUENT.COM.SG] > Sent: Monday, July 08, 2002 1:40 PM > To: SQR-USERS@list.iex.net > Subject: How to run SQR from web ? > > > Hi there, > > I have just subcribed to sqr-users. Anybody can tell me how to run the sqr > program from the web ? > > Best regards, > Esther > From owner-sqr-users@list.iex.net Mon Jul 8 05:11:13 2002 Date: Mon, 8 Jul 2002 03:00:22 -0700 From: Franck Masson Subject: Re: How to run SQR from web ? it is quit easy you have to setup a CGI/ASP/servlet that will launch sqr and return the output execution. then after you just have to design an html page ( html form) to collect the parameters and send it to your cgi/asp/servlet. there is a chapter/documentation with the 2 books that is provided with SQR server Franck, -----Original Message----- From: Esther Chin [mailto:esther_chin@CONGRUENT.COM.SG] Sent: lundi 8 juillet 2002 11:16 To: SQR-USERS@list.iex.net Subject: Re: How to run SQR from web ? Hi jyoti, Thanks for your explaination. But what i mentioned is not in peoplesoft. My concern is how to run the sqr report from the normal web site? Let say, is it possible to use html or javascript to call up the sqr program and run it from the web? if yes, may i know how to do that ? please advise. Best regards, Esther ----- Original Message ----- From: "Nandi, Jyotirmoy (Cognizant)" To: Sent: Monday, July 08, 2002 4:58 PM Subject: Re: How to run SQR from web ? > hi esther, > > 1. first of all create a run-control page or select one from the given > run-control pages. include that run-control page in a component and the > component in turn to a menu. > > 2. give security to the run-control page by going to the menu Go -> > PeopleTools -> Maintain Security -> use. choose one of the roles to which > your user-profile has access. then choose one of the permission lists which > are associated with that role. in the chosen permission list include the > run-control page. > > 3. create a process-definition for your SQR by going to the menu Go -> > PeopleTools -> Process Scheduler Manager -> use -> process definitions. > > after all the above are done u can navigate to the page you have > created thru the webmode. after that in that page press the RUN button. you > will be directed to a process request page. therein select ur own SQR and > press OK. the SQR should run and the results can be seen in the Process > Monitor link on that page. if the SQR has errors a status of Error will be > shown otherwise a status of Success will come up. > > regards, > jyoti > > -----Original Message----- > From: Esther Chin [mailto:esther_chin@CONGRUENT.COM.SG] > Sent: Monday, July 08, 2002 1:40 PM > To: SQR-USERS@list.iex.net > Subject: How to run SQR from web ? > > > Hi there, > > I have just subcribed to sqr-users. Anybody can tell me how to run the sqr > program from the web ? > > Best regards, > Esther > From owner-sqr-users@list.iex.net Mon Jul 8 06:49:36 2002 Date: Mon, 8 Jul 2002 07:28:44 -0400 From: George Jansen Subject: Re: How to run SQR from web ? FYI, it is fairly straightforward to set up a Perl module to run SQR, should it be that you're running Apache. >>> franck.masson@BRIO.COM 07/08/02 06:00AM >>> it is quit easy you have to setup a CGI/ASP/servlet that will launch sqr and return the output execution. then after you just have to design an html page ( html form) to collect the parameters and send it to your cgi/asp/servlet. there is a chapter/documentation with the 2 books that is provided with SQR server Franck, -----Original Message----- From: Esther Chin [mailto:esther_chin@CONGRUENT.COM.SG] Sent: lundi 8 juillet 2002 11:16 To: SQR-USERS@list.iex.net Subject: Re: How to run SQR from web ? Hi jyoti, Thanks for your explaination. But what i mentioned is not in peoplesoft. My concern is how to run the sqr report from the normal web site? Let say, is it possible to use html or javascript to call up the sqr program and run it from the web? if yes, may i know how to do that ? please advise. Best regards, Esther ----- Original Message ----- From: "Nandi, Jyotirmoy (Cognizant)" To: Sent: Monday, July 08, 2002 4:58 PM Subject: Re: How to run SQR from web ? > hi esther, > > 1. first of all create a run-control page or select one from the given > run-control pages. include that run-control page in a component and the > component in turn to a menu. > > 2. give security to the run-control page by going to the menu Go -> > PeopleTools -> Maintain Security -> use. choose one of the roles to which > your user-profile has access. then choose one of the permission lists which > are associated with that role. in the chosen permission list include the > run-control page. > > 3. create a process-definition for your SQR by going to the menu Go -> > PeopleTools -> Process Scheduler Manager -> use -> process definitions. > > after all the above are done u can navigate to the page you have > created thru the webmode. after that in that page press the RUN button. you > will be directed to a process request page. therein select ur own SQR and > press OK. the SQR should run and the results can be seen in the Process > Monitor link on that page. if the SQR has errors a status of Error will be > shown otherwise a status of Success will come up. > > regards, > jyoti > > -----Original Message----- > From: Esther Chin [mailto:esther_chin@CONGRUENT.COM.SG] > Sent: Monday, July 08, 2002 1:40 PM > To: SQR-USERS@list.iex.net > Subject: How to run SQR from web ? > > > Hi there, > > I have just subcribed to sqr-users. Anybody can tell me how to run the sqr > program from the web ? > > Best regards, > Esther > From owner-sqr-users@list.iex.net Mon Jul 8 11:16:06 2002 Date: Mon, 8 Jul 2002 09:04:48 -0700 From: David Donnelly Subject: Reboot of W2K after SQR 6.1.3 runs I have recently installed SQR 6.1.3 on Windows 2000 Professional. Friday, while working on a program, I noticed that W2K suddenly rebooted. This happened more than once, but not while "anything important" was running. I had run a report in SQR five or ten minutes earlier, and was looking at the output with a file browser, or doing something else I do all the time. This happened several times. I don't know what's causing it, but I think it has to do with SQR having run. Has anyone seen this? BTW, the only Oracle installed on this machine is the client for 8i. Thanks. Dave Donnelly ISIS BioComp phone (909) 677-2446 fax (781) 207-5533 From owner-sqr-users@list.iex.net Mon Jul 8 11:16:08 2002 Date: Mon, 8 Jul 2002 09:10:42 -0700 From: David Donnelly Subject: How does SQR on Windows accommodate different versions of Oracle? I notice that SQR 6.1.3 will work fine when the Windows (2k) machine on which it is running has either Oracle 8 or Oracle 8i installed. These are very different sets of software, and with my own applications, which use the Oracle Precompiler, I had to recompile and link with the two different versions of the precompiler to get my app to work with 8i. It occurs to me that perhaps 8i is backward compatible -- I didn't try that as I only have one client machine -- but does anyone know how this works? Thanks in advance. Dave Donnelly ISIS BioComp phone (909) 677-2446 fax (781) 207-5533 From owner-sqr-users@list.iex.net Mon Jul 8 22:19:51 2002 Date: Mon, 8 Jul 2002 22:16:18 -0500 From: Ray Ontko Subject: Re: How does SQR on Windows accommodate different versions of Oracle? Dave, > I notice that SQR 6.1.3 will work fine when the Windows (2k) machine on > which it is running has either Oracle 8 or Oracle 8i installed. > > These are very different sets of software, and with my own applications, > which use the Oracle Precompiler, I had to recompile and link with the two > different versions of the precompiler to get my app to work with 8i. > > It occurs to me that perhaps 8i is backward compatible -- I didn't try that > as I only have one client machine -- but does anyone know how this works? I'm not sure, exactly, but SQR uses an earlier interface to the oracle kernel than the one used by the pre-compilers. I think it's called the OCI (Oracle Call Interface). It may be that this interface doesn't require a re-link. Ray ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ From owner-sqr-users@list.iex.net Mon Jul 8 13:42:52 2002 Date: Mon, 8 Jul 2002 12:13:49 -0600 From: Brian Wiechman Subject: SQR not stopping when error occurs I am running an sqr that is encountering a unique constraint error. The log shows that it is going into the sqlerr.sqc and it should issue a stop command and stop the sqr from further processing. This is not the case. The sqr continues to log messages and will run to success and even update the process monitor status. Any suggestions? The log shows the normal error and stop request. Error on line 59: (SQR 3301) Program stopped by user request. SQR: Program Aborting. The sqr continues at this point and runs to success. It is as if the STOP command has no effect on the process. Any help would be greatly appreciated. Thanks. From owner-sqr-users@list.iex.net Mon Jul 8 13:35:51 2002 Date: Mon, 8 Jul 2002 13:18:31 -0500 From: "Wiechman, Brian - Contractor for Peoplesoft" Subject: SQR is not abending when it should. I am running an sqr that is encountering a unique constraint error. The log shows that it is going into the sqlerr.sqc and it should issue a stop command and stop the sqr from further processing. This is not the case. The sqr continues to log messages and will run to success and even update the process monitor status. Any suggestions? The log shows the normal error and stop request. Error on line 59: (SQR 3301) Program stopped by user request. SQR: Program Aborting. The sqr continues at this point and runs to success. It is as if the STOP command has not effect on the process. Any help would be greatly appreciated. Thanks. From owner-sqr-users@list.iex.net Mon Jul 8 15:50:17 2002 Date: Mon, 8 Jul 2002 15:46:21 -0500 From: "Ross, Steven" Subject: Move command not moving in SQR I have written a 'move' function in SQR that invokes the system move = command (Win2K) on a 'source' file(s) and 'target' directory. This works when = I run it from a command line, however, when I run it from and SQR, it moves = one file in the directory, then errs out. The return code that I'm getting = is "1" -- "incorrect function". Here's a snippet of code: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ !* Check for Windows Version !* if rtrim($_kc_WinVer,' ') =3D '' do kc-GetWindowsVersion end-if !* Make sure the source directory ends with a slash... !* if substr($Source_Directory,length($Source_Directory),1) <> '\' let $kc_tmp_s =3D '\' else let $kc_tmp_s =3D '' end-if !* Load command line !* let $kc_src_dir =3D $Source_Directory || $kc_tmp_s !* Determine command line by Windows Version... !* Evaluate $_kc_WinVer when =3D 'WinXP' when =3D 'Win2K' let $kc_cmd =3D getenv('COMSPEC') ||' /c move /y ' || = $kc_src_dir || $Files_To_Move || ' ' || $Target_Directory break when-other !* NT or other... let $kc_cmd =3D getenv('COMSPEC') ||' /c move ' || = $kc_src_dir || $Files_To_Move || ' ' || $Target_Directory break end-evaluate !* Make the system call to back up the files !* CALL SYSTEM USING $kc_cmd #ReturnValue WAIT !* On Windows systems, a non zero value indicates a failure. !* let $tmp_ReturnValue =3D '(' || ltrim(edit(#ReturnValue,'999'),' ') = || ')' if #ReturnValue <> 0 display ' Move: Failed' noline display $tmp_ReturnValue else display ' Move: Succeeded' noline display $tmp_ReturnValue end-if ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Okay, I know this is more than a snippet... Any help would be greatly appreciated. TIA, Steven Ross Applications Developer/Analyst sross@kcm.org =A0 From owner-sqr-users@list.iex.net Tue Jul 9 14:44:02 2002 Date: Tue, 9 Jul 2002 15:28:01 -0400 From: Andrew Lin Subject: any way to jump BACK a page? Hi all, Is there any command that allows you to jump back a page in SQR? I'm printing a report that displays columns of data with subtotals at the bottom of each column. ie Group1: Earnings Taxes 1 1 2 2 3 3 4 4 5 5 6 6 7 8 9 -- -- total A total B Every time I start a new group, I simply note the #current-line and then use the position command to jump back to the start of the column before printing the next column. The only problem is if one of the columns extends to the next page. Then my results end up looking like: Group 1 Earnings 1 2 3 ... 65 66 ------------------page break----------------- 67 68 69 -- Total A Taxes 1 2 3 4 5 -- Total B I'd like the SQR to be able to jump back to the original start page. Is this possible? Thanks! -Andrew From owner-sqr-users@list.iex.net Tue Jul 9 14:54:23 2002 Date: Tue, 9 Jul 2002 15:49:10 -0400 From: "Vanslette, Steve" Subject: Re: any way to jump BACK a page? Rather than try to fool sqr, I think I would approach this using several arrays to capture all the data until I knew the sub totals, then print the arrays side by side. Using a flag for each array to know when the last element of the array has been printed, and a sub-total for that column (array) has been printed, then set the flag to stop processing that column any further. This would allow you to print each page going forward without re-positioning or worrying about what page you were on now. I hope this helps. -----Original Message----- From: Andrew Lin [mailto:alin@TECHNEGLAS.COM] Sent: Tuesday, July 09, 2002 3:28 PM To: SQR-USERS@list.iex.net Subject: any way to jump BACK a page? Hi all, Is there any command that allows you to jump back a page in SQR? I'm printing a report that displays columns of data with subtotals at the bottom of each column. ie Group1: Earnings Taxes 1 1 2 2 3 3 4 4 5 5 6 6 7 8 9 -- -- total A total B Every time I start a new group, I simply note the #current-line and then use the position command to jump back to the start of the column before printing the next column. The only problem is if one of the columns extends to the next page. Then my results end up looking like: Group 1 Earnings 1 2 3 ... 65 66 ------------------page break----------------- 67 68 69 -- Total A Taxes 1 2 3 4 5 -- Total B I'd like the SQR to be able to jump back to the original start page. Is this possible? Thanks! -Andrew From owner-sqr-users@list.iex.net Tue Jul 9 15:26:53 2002 Date: Tue, 9 Jul 2002 13:13:56 -0700 From: "Lynds,Rick" Subject: Re: any way to jump BACK a page? As I understand it, an entire page is held in memory until going to the next pages forces it to flush. Once a page is flushed, there is no going back. I like Steve's response about doing the work in arrays for this sort of formatting. HTH Rick -----Original Message----- From: Andrew Lin [mailto:alin@TECHNEGLAS.COM] Sent: Tuesday, July 09, 2002 12:28 PM To: SQR-USERS@list.iex.net Subject: any way to jump BACK a page? Hi all, Is there any command that allows you to jump back a page in SQR? I'm printing a report that displays columns of data with subtotals at the bottom of each column. ie Group1: Earnings Taxes 1 1 2 2 3 3 4 4 5 5 6 6 7 8 9 -- -- total A total B Every time I start a new group, I simply note the #current-line and then use the position command to jump back to the start of the column before printing the next column. The only problem is if one of the columns extends to the next page. Then my results end up looking like: Group 1 Earnings 1 2 3 ... 65 66 ------------------page break----------------- 67 68 69 -- Total A Taxes 1 2 3 4 5 -- Total B I'd like the SQR to be able to jump back to the original start page. Is this possible? Thanks! -Andrew From owner-sqr-users@list.iex.net Tue Jul 9 15:56:17 2002 Date: Tue, 9 Jul 2002 16:49:07 -0400 From: Andrew Lin Subject: Re: any way to jump BACK a page? Rick, Steve, thanks for your pearls of wisdom. I was hoping I wouldn't have to switch to arrays since that would mean recoding quite a bit. Guess it's either that or force the user to deal with really ugly reports :) . Thanks. -Andrew >>> rlynds@MWDH2O.COM 07/09/02 04:13PM >>> As I understand it, an entire page is held in memory until going to the next pages forces it to flush. Once a page is flushed, there is no going back. I like Steve's response about doing the work in arrays for this sort of formatting. HTH Rick -----Original Message----- From: Andrew Lin [mailto:alin@TECHNEGLAS.COM] Sent: Tuesday, July 09, 2002 12:28 PM To: SQR-USERS@list.iex.net Subject: any way to jump BACK a page? Hi all, Is there any command that allows you to jump back a page in SQR? I'm printing a report that displays columns of data with subtotals at the bottom of each column. ie Group1: Earnings Taxes 1 1 2 2 3 3 4 4 5 5 6 6 7 8 9 -- -- total A total B Every time I start a new group, I simply note the #current-line and then use the position command to jump back to the start of the column before printing the next column. The only problem is if one of the columns extends to the next page. Then my results end up looking like: Group 1 Earnings 1 2 3 ... 65 66 ------------------page break----------------- 67 68 69 -- Total A Taxes 1 2 3 4 5 -- Total B I'd like the SQR to be able to jump back to the original start page. Is this possible? Thanks! -Andrew From owner-sqr-users@list.iex.net Tue Jul 9 16:05:32 2002 Date: Tue, 9 Jul 2002 17:00:38 -0400 From: "Vanslette, Steve" Subject: Re: any way to jump BACK a page? Don't look at it as a recoding nightmare, rather an opportunity to improve a bad design and show off. Best of luck... -----Original Message----- From: Andrew Lin [mailto:alin@TECHNEGLAS.COM] Sent: Tuesday, July 09, 2002 4:49 PM To: SQR-USERS@list.iex.net Subject: Re: any way to jump BACK a page? Rick, Steve, thanks for your pearls of wisdom. I was hoping I wouldn't have to switch to arrays since that would mean recoding quite a bit. Guess it's either that or force the user to deal with really ugly reports :) . Thanks. -Andrew >>> rlynds@MWDH2O.COM 07/09/02 04:13PM >>> As I understand it, an entire page is held in memory until going to the next pages forces it to flush. Once a page is flushed, there is no going back. I like Steve's response about doing the work in arrays for this sort of formatting. HTH Rick -----Original Message----- From: Andrew Lin [mailto:alin@TECHNEGLAS.COM] Sent: Tuesday, July 09, 2002 12:28 PM To: SQR-USERS@list.iex.net Subject: any way to jump BACK a page? Hi all, Is there any command that allows you to jump back a page in SQR? I'm printing a report that displays columns of data with subtotals at the bottom of each column. ie Group1: Earnings Taxes 1 1 2 2 3 3 4 4 5 5 6 6 7 8 9 -- -- total A total B Every time I start a new group, I simply note the #current-line and then use the position command to jump back to the start of the column before printing the next column. The only problem is if one of the columns extends to the next page. Then my results end up looking like: Group 1 Earnings 1 2 3 ... 65 66 ------------------page break----------------- 67 68 69 -- Total A Taxes 1 2 3 4 5 -- Total B I'd like the SQR to be able to jump back to the original start page. Is this possible? Thanks! -Andrew From owner-sqr-users@list.iex.net Wed Jul 10 09:35:34 2002 Date: Wed, 10 Jul 2002 14:24:55 +0000 From: Elvis Pressly Subject: Re: any way to jump BACK a page? Andrew, Take a look at the PAY003/DDP003 sqrs that print the checks/advices. You will notice that you can really print anywhere within the page because the whole page layout is controlled. I have been doing a lot of page printing like yours and I don't really need arrays to control the whole page layout. I think the problem really lies in where to put the extra item that makes the page overflow. Do you want to print it to the next column or where? The only time I have to use arrays in printing is when I am controlling the page dynamically. i.e., printing open enrollments where pages can run from 2 to something. If you can tell me what to do with the extra items, then maybe I can be of help. >From: Andrew Lin >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: any way to jump BACK a page? >Date: Tue, 9 Jul 2002 16:49:07 -0400 > >Rick, Steve, thanks for your pearls of wisdom. > >I was hoping I wouldn't have to switch to arrays since that would mean >recoding quite a bit. > >Guess it's either that or force the user to deal with really ugly >reports :) . > >Thanks. > >-Andrew > > > >>> rlynds@MWDH2O.COM 07/09/02 04:13PM >>> >As I understand it, an entire page is held in memory until going to the >next >pages forces it to flush. Once a page is flushed, there is no going >back. >I like Steve's response about doing the work in arrays for this sort >of >formatting. > >HTH > >Rick > >-----Original Message----- >From: Andrew Lin [mailto:alin@TECHNEGLAS.COM] >Sent: Tuesday, July 09, 2002 12:28 PM >To: SQR-USERS@list.iex.net >Subject: any way to jump BACK a page? > > >Hi all, > >Is there any command that allows you to jump back a page in SQR? > >I'm printing a report that displays columns of data with subtotals at >the bottom of each column. ie > >Group1: >Earnings Taxes >1 1 >2 2 >3 3 >4 4 >5 5 >6 6 >7 >8 >9 >-- -- >total A total B > >Every time I start a new group, I simply note the #current-line and >then use the position command to jump back to the start of the column >before printing the next column. The only problem is if one of the >columns extends to the next page. Then my results end up looking >like: > >Group 1 >Earnings >1 >2 >3 >... >65 >66 >------------------page break----------------- >67 >68 >69 >-- >Total A > Taxes > 1 > 2 > 3 > 4 > 5 > -- > Total B > >I'd like the SQR to be able to jump back to the original start page. >Is this possible? > >Thanks! > >-Andrew _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com From owner-sqr-users@list.iex.net Wed Jul 10 10:18:34 2002 Date: Wed, 10 Jul 2002 11:12:10 -0400 From: Andrew Lin Subject: Re: any way to jump BACK a page? > 3 > 4 > 5 > -- > Total B > >I'd like the SQR to be able to jump back to the original start page. >Is this possible? > >Thanks! > >-Andrew _________________________________________________________________ Join the worldÆs largest e-mail service with MSN Hotmail. http://www.hotmail.com From owner-sqr-users@list.iex.net Wed Jul 10 10:53:13 2002 Date: Wed, 10 Jul 2002 11:29:04 -0400 From: Scott Barnes Subject: Re: any way to jump BACK a page? Much in the same way SQR prints pages numbers in the format page 1 of 30 you can do this. What you will need to do is have temp variables that hold the total you want and one more to tell the procedure to skip printing when you run through the program the first time. If this is a fast program this should be no problem. Have you main procedure call the other procedures twice. around your calls to print procedures include code like this if $print_first = 'Y' add #col1 to #tot1 add #col2 to #tot2 ... else do print_my_data end-if in print_my_data add the line print #tot1 (,,) ... in the appropriate place. An alternative would be to use your database to get the totals, and just use a begin-select sum(col1) &tot1 from Table_one where ... end-select then print the &tot1 in the appropriate places. Just some thoughts, there are many ways you can do this!! Scotty At 11:12 AM 7/10/02, you wrote: > > > 3 > > 4 > > 5 > > -- > > Total B > > > >I'd like the SQR to be able to jump back to the original start page. > >Is this possible? > > > >Thanks! > > > >-Andrew > > > > >_________________________________________________________________ >Join the worldÆs largest e-mail service with MSN Hotmail. >http://www.hotmail.com ---------- Scott A Barnes Programmer/Analyst Wesleyan University North College 860-685-2807 ---------- Lottery: A tax on people who are bad at math! From owner-sqr-users@list.iex.net Wed Jul 10 10:07:58 2002 Date: Wed, 10 Jul 2002 10:56:26 -0400 From: Brian Fitzpatrick Subject: Report performance This is a follow on to a previous message. I have a large number of reports which are generated for which the query is identical except for a location, so I am trying to parameterize the query so the Oracle parser will only parse it once. The skeleton of the query is like this: begin-select ... from ... where.... and location in $locations By doing it this way, the SQL statement ends up with a :1 where $locations is and each time the query is executed after the first time, it wont need to be reparsed since Oracle will see it as the same query. But I dont understand why this wont work. I even tried hardcoding it like this: let $locations='''4632''' print $locations (+1,1) .. .. begin-select ... from ... where.... and location in $locations The print $locations confirms $locations does indeed contain '4632' But what blows me away is that the following (which seems identical) DOES WORK - can anyone explain why??? begin-select ... from ... where.... and location in '4632' Why does it work with the literal but not the string? Thanks for any insight. From owner-sqr-users@list.iex.net Wed Jul 10 10:21:44 2002 Date: Wed, 10 Jul 2002 17:01:11 +0200 From: "O'riordan, Paul (EI05)" Subject: Re: Report performance You don't have any Brackets around the Locations let $locations='''4632''' This should read let $locations='(' ||'"'||'4632'||'"'|| ')' Hope this helps Paul Honeywell Paul O'Riordan Honeywell Application Services Application Developer Industrial Park, Cork Road PeopleSoft Applications, Waterford Ireland +353-51-309856 Direct +353-51-309821 Fax +353-87-9083244 Mobile mailto:Paul.O'Riordan@honeywell.com -----Original Message----- From: Brian Fitzpatrick [mailto:FITZPBM@KELLYSERVICES.COM] Sent: 10 July 2002 15:56 To: SQR-USERS@list.iex.net Subject: Report performance This is a follow on to a previous message. I have a large number of reports which are generated for which the query is identical except for a location, so I am trying to parameterize the query so the Oracle parser will only parse it once. The skeleton of the query is like this: begin-select ... from ... where.... and location in $locations By doing it this way, the SQL statement ends up with a :1 where $locations is and each time the query is executed after the first time, it wont need to be reparsed since Oracle will see it as the same query. But I dont understand why this wont work. I even tried hardcoding it like this: let $locations='''4632''' print $locations (+1,1) .. .. begin-select ... from ... where.... and location in $locations The print $locations confirms $locations does indeed contain '4632' But what blows me away is that the following (which seems identical) DOES WORK - can anyone explain why??? begin-select ... from ... where.... and location in '4632' Why does it work with the literal but not the string? Thanks for any insight. From owner-sqr-users@list.iex.net Wed Jul 10 10:08:23 2002 Date: Wed, 10 Jul 2002 10:01:12 -0500 From: "Knapp, Richard" Subject: Re: Report performance Your string is missing the parens, no? Richard Knapp Database Programmer/Analyst Administrative Systems Project University of Missouri System 573-884-3157 knappr@umsystem.edu -----Original Message----- From: Brian Fitzpatrick [mailto:FITZPBM@KELLYSERVICES.COM] Sent: Wednesday, July 10, 2002 9:56 AM To: SQR-USERS@list.iex.net Subject: Report performance This is a follow on to a previous message. I have a large number of reports which are generated for which the query is identical except for a location, so I am trying to parameterize the query so the Oracle parser will only parse it once. The skeleton of the query is like this: begin-select ... from ... where.... and location in $locations By doing it this way, the SQL statement ends up with a :1 where $locations is and each time the query is executed after the first time, it wont need to be reparsed since Oracle will see it as the same query. But I dont understand why this wont work. I even tried hardcoding it like this: let $locations='''4632''' print $locations (+1,1) .. .. begin-select ... from ... where.... and location in $locations The print $locations confirms $locations does indeed contain '4632' But what blows me away is that the following (which seems identical) DOES WORK - can anyone explain why??? begin-select ... from ... where.... and location in '4632' Why does it work with the literal but not the string? Thanks for any insight. From owner-sqr-users@list.iex.net Wed Jul 10 12:27:59 2002 Date: Wed, 10 Jul 2002 12:21:54 -0500 From: Daniel Vandenberg Subject: Re: Report performance The string does not work because the string includes the quotes, so it does not match location in the database, which does not contain the quotes. The following statement would give the same results as the literal. let $locations='4632' If you are just selecting one location, your SQL should say location = $locations instead of location in $locations If you want $locations to be able to contain a list of several codes you could have the following: let $locations ='(''4632'', ''4633'', ''4634'')' begin-select ... from... where... and location in [$locations] However, if you put $locations in brackets like this, the SQL will contain the literals instead of a bind variable like :1, so it will be parsed every time. At 10:56 AM 7/10/2002 -0400, you wrote: >This is a follow on to a previous message. I have a large number of >reports which are generated for which the query is identical except for a >location, so I am trying to parameterize the query so the Oracle parser >will only parse it once. The skeleton of the query is like this: > >begin-select >... >from ... >where.... >and location in $locations > >By doing it this way, the SQL statement ends up with a :1 where $locations >is and each time the query is executed after the first time, it wont need >to be reparsed since Oracle will see it as the same query. > >But I dont understand why this wont work. I even tried hardcoding it like >this: > >let $locations='''4632''' >print $locations (+1,1) >.. >.. >begin-select >... >from ... >where.... >and location in $locations > >The print $locations confirms $locations does indeed contain '4632' > >But what blows me away is that the following (which seems identical) DOES >WORK - can anyone explain why??? > >begin-select >... >from ... >where.... >and location in '4632' > >Why does it work with the literal but not the string? Thanks for any >insight. -------------------------------------------------------------------------------- Daniel Vandenberg | Email : vandberg@uwosh.edu Applications Programming University of Wisconsin Oshkosh From owner-sqr-users@list.iex.net Wed Jul 10 10:28:19 2002 Date: Wed, 10 Jul 2002 11:22:03 -0400 From: Andrew Lin Subject: Resend: any way to jump BACK a page? Hey Elvis, My layout actually is very similar to PAY003. It reports almost the same info (a bit more), except by groups rather than individuals. Also, it reports both employEE and employER info. For example, for a particular pay period and particular business unit, the columns would altogether include:: EE earnings (earn code, count, hours, actual amount) EE taxes (state, type/locality, count, amount, taxable gross) ER taxes (state, type/locality, count, amount, taxable gross) EE Deductions (ded code, descr, count, amount) ER Deductions (ded code, descr, count, amount) Figures are broken out as specifically as one business unit over one pay period and as broadly as the entire company over a number of given periods. As you can guess, the report is already pretty crowded. The columns that tend to run over the most are EE taxes, EE Deductions and earnings. For the final tally (the entire company), the taxes alone tend to run over for several pages by themselves. Even if I were to rearrange the columns and allow the EE taxes to wrap to a second column, it would still likely require a second page at some point. Thanks for your feedback. Andrew From owner-sqr-users@list.iex.net Wed Jul 10 11:39:32 2002 Date: Wed, 10 Jul 2002 16:32:59 +0000 From: Elvis Pressly Subject: Re: Resend: any way to jump BACK a page? Andrew, I see your predicament here. This used to happen to me when I tried to accomodate user's whims. Now it either they have several reports or a line printer report that is up to 132 columns. Users have to understand that printing of informations are limited only to the size of available printing media. There is no know commercially available medium to print the size of a columnar pad. >From: Andrew Lin >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Resend: any way to jump BACK a page? >Date: Wed, 10 Jul 2002 11:22:03 -0400 > >Hey Elvis, > >My layout actually is very similar to PAY003. It reports almost the >same info (a bit more), except by groups rather than individuals. Also, >it reports both employEE and employER info. > >For example, for a particular pay period and particular business unit, >the columns would altogether include:: >EE earnings (earn code, count, hours, actual amount) >EE taxes (state, type/locality, count, amount, taxable gross) >ER taxes (state, type/locality, count, amount, taxable gross) >EE Deductions (ded code, descr, count, amount) >ER Deductions (ded code, descr, count, amount) > >Figures are broken out as specifically as one business unit over one >pay period and as broadly as the entire company over a number of given >periods. > >As you can guess, the report is already pretty crowded. The columns >that tend to run over the most are EE taxes, EE Deductions and earnings. > For the final tally (the entire company), the taxes alone tend to run >over for several pages by themselves. Even if I were to rearrange the >columns and allow the EE taxes to wrap to a second column, it would >still likely require a second page at some point. > >Thanks for your feedback. > >Andrew _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com From owner-sqr-users@list.iex.net Wed Jul 10 11:54:23 2002 Date: Wed, 10 Jul 2002 11:48:17 -0500 From: "Ross, Steven" Subject: Update: Move command not moving in SQR I didn't notice any replies to this message, and I still have the = problem. I've now tested it both on the client, and on the server (running this = in PeopleSoft 7.5), and the problem is identical. Help! Please! Steven Original message: ----------------- I have written a 'move' function in SQR that invokes the system move = command (Win2K) on a 'source' file(s) and 'target' directory. This works when = I run it from a command line, however, when I run it from and SQR, it moves = one file in the directory, then errs out. The return code that I'm getting = is "1" -- "incorrect function". Here's a snippet of code: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ !* Check for Windows Version !* if rtrim($_kc_WinVer,' ') =3D '' do kc-GetWindowsVersion end-if !* Make sure the source directory ends with a slash... !* if substr($Source_Directory,length($Source_Directory),1) <> '\' let $kc_tmp_s =3D '\' else let $kc_tmp_s =3D '' end-if !* Load command line !* let $kc_src_dir =3D $Source_Directory || $kc_tmp_s !* Determine command line by Windows Version... !* Evaluate $_kc_WinVer when =3D 'WinXP' when =3D 'Win2K' let $kc_cmd =3D getenv('COMSPEC') ||' /c move /y ' || = $kc_src_dir || $Files_To_Move || ' ' || $Target_Directory break when-other !* NT or other... let $kc_cmd =3D getenv('COMSPEC') ||' /c move ' || = $kc_src_dir || $Files_To_Move || ' ' || $Target_Directory break end-evaluate !* Make the system call to back up the files !* CALL SYSTEM USING $kc_cmd #ReturnValue WAIT !* On Windows systems, a non zero value indicates a failure. !* let $tmp_ReturnValue =3D '(' || ltrim(edit(#ReturnValue,'999'),' ') = || ')' if #ReturnValue <> 0 display ' Move: Failed' noline display $tmp_ReturnValue else display ' Move: Succeeded' noline display $tmp_ReturnValue end-if ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Okay, I know this is more than a snippet... Any help would be greatly appreciated. TIA, Steven Ross Applications Developer/Analyst sross@kcm.org =A0 From owner-sqr-users@list.iex.net Wed Jul 10 12:16:40 2002 Date: Wed, 10 Jul 2002 10:20:27 -0700 From: Bill Winkfield Subject: Re: Update: Move command not moving in SQR Hi Steven, Here is a snippet of code that has been working for us for some time now. !********************************************************************** !* Archive Source File * !********************************************************************** Begin-Procedure Archive-Source-File let $comspec = getenv('comspec') let $cmdpath = $comspec || ' @start /min /wait cmd /c move ' let $command = $cmdpath #debuga Show 'Archive path in Archive-Source-File: ' $Path !// ! Source for move command. !-----------------------------------------------! let $command = $command || $SourceData || $DefaultBlank || $Path #debuga Show $command call system using $command #rtrn_status If #rtrn_status <> 0 !// ! PC/Windows: A value less than 32 ! indicates an error. !-----------------------------------------------! #debuga Show 'The command failed -- manual intervention required.' #debuga Show #rtrn_status let $log_msg = 'Archiving of ' || $SourceData || ' cannot be completed.' || $CrLf || 'Error status of ' || to_char(#rtrn_status) || ' received.' write {LOG_FILE} from $log_msg Else let $log_msg = 'Data archived sucessfully to ' || $Path || '.' write {LOG_FILE} from $log_msg End-If End-Procedure Archive-Source-File !********************************************************************** !* End of procedure. * !********************************************************************** Hope this helps, Bill -----Original Message----- From: Ross, Steven [mailto:sross@KCM.ORG] Sent: Wednesday, July 10, 2002 9:48 AM To: SQR-USERS@list.iex.net Subject: Update: Move command not moving in SQR I didn't notice any replies to this message, and I still have the problem. I've now tested it both on the client, and on the server (running this in PeopleSoft 7.5), and the problem is identical. Help! Please! Steven Original message: ----------------- I have written a 'move' function in SQR that invokes the system move command (Win2K) on a 'source' file(s) and 'target' directory. This works when I run it from a command line, however, when I run it from and SQR, it moves one file in the directory, then errs out. The return code that I'm getting is "1" -- "incorrect function". Here's a snippet of code: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ !* Check for Windows Version !* if rtrim($_kc_WinVer,' ') = '' do kc-GetWindowsVersion end-if !* Make sure the source directory ends with a slash... !* if substr($Source_Directory,length($Source_Directory),1) <> '\' let $kc_tmp_s = '\' else let $kc_tmp_s = '' end-if !* Load command line !* let $kc_src_dir = $Source_Directory || $kc_tmp_s !* Determine command line by Windows Version... !* Evaluate $_kc_WinVer when = 'WinXP' when = 'Win2K' let $kc_cmd = getenv('COMSPEC') ||' /c move /y ' || $kc_src_dir || $Files_To_Move || ' ' || $Target_Directory break when-other !* NT or other... let $kc_cmd = getenv('COMSPEC') ||' /c move ' || $kc_src_dir || $Files_To_Move || ' ' || $Target_Directory break end-evaluate !* Make the system call to back up the files !* CALL SYSTEM USING $kc_cmd #ReturnValue WAIT !* On Windows systems, a non zero value indicates a failure. !* let $tmp_ReturnValue = '(' || ltrim(edit(#ReturnValue,'999'),' ') || ')' if #ReturnValue <> 0 display ' Move: Failed' noline display $tmp_ReturnValue else display ' Move: Succeeded' noline display $tmp_ReturnValue end-if ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Okay, I know this is more than a snippet... Any help would be greatly appreciated. TIA, Steven Ross Applications Developer/Analyst sross@kcm.org From owner-sqr-users@list.iex.net Wed Jul 10 14:58:25 2002 Date: Wed, 10 Jul 2002 14:49:42 -0500 From: "Ross, Steven" Subject: Re: Update: Move command not moving in SQR Thanks, Bill. I will try this. Steven Ross Applications Developer/Analyst sross@kcm.org =A0 -----Original Message----- From: Bill Winkfield [mailto:bwinkfield@GIA.EDU] Sent: Wednesday, July 10, 2002 12:20 PM To: SQR-USERS@list.iex.net Subject: Re: Update: Move command not moving in SQR Hi Steven, Here is a snippet of code that has been working for us for some time = now. !********************************************************************** !* Archive Source File * !********************************************************************** Begin-Procedure Archive-Source-File let $comspec =3D getenv('comspec') let $cmdpath =3D $comspec || ' @start /min /wait cmd /c move ' let $command =3D $cmdpath #debuga Show 'Archive path in Archive-Source-File: ' $Path !// ! Source for move command. !-----------------------------------------------! let $command =3D $command || $SourceData || $DefaultBlank || $Path #debuga Show $command call system using $command #rtrn_status If #rtrn_status <> 0 !// ! PC/Windows: A value less than 32 ! indicates an error. !-----------------------------------------------! #debuga Show 'The command failed -- manual intervention required.' #debuga Show #rtrn_status let $log_msg =3D 'Archiving of ' || $SourceData || ' cannot be completed.' || $CrLf || 'Error status of ' || to_char(#rtrn_status) || ' received.' write {LOG_FILE} from $log_msg Else let $log_msg =3D 'Data archived sucessfully to ' || $Path || '.' write {LOG_FILE} from $log_msg End-If End-Procedure Archive-Source-File !********************************************************************** !* End of procedure. * !********************************************************************** Hope this helps, Bill -----Original Message----- From: Ross, Steven [mailto:sross@KCM.ORG] Sent: Wednesday, July 10, 2002 9:48 AM To: SQR-USERS@list.iex.net Subject: Update: Move command not moving in SQR I didn't notice any replies to this message, and I still have the = problem. I've now tested it both on the client, and on the server (running this = in PeopleSoft 7.5), and the problem is identical. Help! Please! Steven Original message: ----------------- I have written a 'move' function in SQR that invokes the system move = command (Win2K) on a 'source' file(s) and 'target' directory. This works when = I run it from a command line, however, when I run it from and SQR, it moves = one file in the directory, then errs out. The return code that I'm getting = is "1" -- "incorrect function". Here's a snippet of code: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ !* Check for Windows Version !* if rtrim($_kc_WinVer,' ') =3D '' do kc-GetWindowsVersion end-if !* Make sure the source directory ends with a slash... !* if substr($Source_Directory,length($Source_Directory),1) <> '\' let $kc_tmp_s =3D '\' else let $kc_tmp_s =3D '' end-if !* Load command line !* let $kc_src_dir =3D $Source_Directory || $kc_tmp_s !* Determine command line by Windows Version... !* Evaluate $_kc_WinVer when =3D 'WinXP' when =3D 'Win2K' let $kc_cmd =3D getenv('COMSPEC') ||' /c move /y ' || = $kc_src_dir || $Files_To_Move || ' ' || $Target_Directory break when-other !* NT or other... let $kc_cmd =3D getenv('COMSPEC') ||' /c move ' || = $kc_src_dir || $Files_To_Move || ' ' || $Target_Directory break end-evaluate !* Make the system call to back up the files !* CALL SYSTEM USING $kc_cmd #ReturnValue WAIT !* On Windows systems, a non zero value indicates a failure. !* let $tmp_ReturnValue =3D '(' || ltrim(edit(#ReturnValue,'999'),' ') = || ')' if #ReturnValue <> 0 display ' Move: Failed' noline display $tmp_ReturnValue else display ' Move: Succeeded' noline display $tmp_ReturnValue end-if ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Okay, I know this is more than a snippet... Any help would be greatly appreciated. TIA, Steven Ross Applications Developer/Analyst sross@kcm.org From owner-sqr-users@list.iex.net Wed Jul 10 16:08:17 2002 Date: Wed, 10 Jul 2002 15:49:59 -0500 From: "Sengupta, Rajib (CC-Contractor)" Subject: questions about SQR I have couple of questions regarding SQR's version a) what is the latest version of SQR b) how old is SQR version 4.3- whether this version will run in windows 2000 or not? Do anyone of you have experience of running SQR version 4.3 in windows 2000. Rajib From owner-sqr-users@list.iex.net Wed Jul 10 16:28:30 2002 Date: Wed, 10 Jul 2002 16:13:47 -0500 From: Thomas Kupka Subject: Re: questions about SQR We are using SQR version 4.3.4 In order to get it to work on the Windows 2000 platform, you have to delete a key in you registry. Open "regedit" and do a search for "SQR". Delete any registry keys that fall under the AppCompatibility node. This will allow you to run your SQR's without problem. If you are unfamiliar with editing the registry, you may want to get help from someone with more experience. Editing the registry can have fatal consequences if you delete the wrong keys. Hope this helps, and good luck. Tom Kupka DePaul University Information and Application Support tkupka@depaul.edu >>> Rajib.Sengupta@CONAGRAFOODS.COM 7/10/02 3:49:59 PM >>> I have couple of questions regarding SQR's version a) what is the latest version of SQR b) how old is SQR version 4.3- whether this version will run in windows 2000 or not? Do anyone of you have experience of running SQR version 4.3 in windows 2000. Rajib From owner-sqr-users@list.iex.net Wed Jul 10 16:53:15 2002 Date: Wed, 10 Jul 2002 14:48:46 -0700 From: Allen Cunningham Subject: Re: questions about SQR There is a better, 'PeopleSoft-Approved' fix for running SQR 4.3.4 under Win 2K that does not involve having to mess with the registry. See my upload at http://groups.yahoo.com/group/peoplesoft/files in a file named "sqr_fix.doc" ac -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Thomas Kupka Sent: Wednesday, July 10, 2002 2:14 PM To: SQR-USERS@list.iex.net Subject: Re: questions about SQR We are using SQR version 4.3.4 In order to get it to work on the Windows 2000 platform, you have to delete a key in you registry. Open "regedit" and do a search for "SQR". Delete any registry keys that fall under the AppCompatibility node. This will allow you to run your SQR's without problem. If you are unfamiliar with editing the registry, you may want to get help from someone with more experience. Editing the registry can have fatal consequences if you delete the wrong keys. Hope this helps, and good luck. Tom Kupka DePaul University Information and Application Support tkupka@depaul.edu >>> Rajib.Sengupta@CONAGRAFOODS.COM 7/10/02 3:49:59 PM >>> I have couple of questions regarding SQR's version a) what is the latest version of SQR b) how old is SQR version 4.3- whether this version will run in windows 2000 or not? Do anyone of you have experience of running SQR version 4.3 in windows 2000. Rajib From owner-sqr-users@list.iex.net Wed Jul 10 16:21:54 2002 Date: Wed, 10 Jul 2002 16:17:55 -0500 From: "Knapp, Richard" Subject: Re: questions about SQR Yes, I am running 4.3 on a W2K machine. No problems. No problems with NT 4 either. Richard Knapp Database Programmer/Analyst Administrative Systems Project University of Missouri System 573-884-3157 knappr@umsystem.edu -----Original Message----- From: Sengupta, Rajib (CC-Contractor) [mailto:Rajib.Sengupta@CONAGRAFOODS.COM] Sent: Wednesday, July 10, 2002 3:50 PM To: SQR-USERS@list.iex.net Subject: questions about SQR I have couple of questions regarding SQR's version a) what is the latest version of SQR b) how old is SQR version 4.3- whether this version will run in windows 2000 or not? Do anyone of you have experience of running SQR version 4.3 in windows 2000. Rajib From owner-sqr-users@list.iex.net Wed Jul 10 16:35:29 2002 Date: Wed, 10 Jul 2002 16:32:12 -0500 From: the dragon Subject: Re: questions about SQR The latest version of sqr is 6.x SQR v4.3.4 will not run in W2K, because of a bug that will not allow it to write to c:\temp. ----Original Message Follows---- I have couple of questions regarding SQR's version a) what is the latest version of SQR b) how old is SQR version 4.3- whether this version will run in windows 2000 or not? Do anyone of you have experience of running SQR version 4.3 in windows 2000. Rajib PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." Carl Sandburg (1878 - 1967) NOTICE: The information contained in this message is protected under United States and international copyright laws and is intended for the personal and confidential use of the addressee. If you are not the addressee or an agent of the addressee, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, taking of any action in reliance upon or copying of this message without the express written permission of the sender or his agent is strictly prohibited and in violation of 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. _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com From owner-sqr-users@list.iex.net Wed Jul 10 16:50:24 2002 Date: Wed, 10 Jul 2002 14:44:50 -0700 From: Allen Cunningham Subject: Re: questions about SQR SQR 4.3.4 WILL run on Win 2K with a simple 'PeopleSoft-Approved' patch. ac -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of the dragon Sent: Wednesday, July 10, 2002 2:32 PM To: SQR-USERS@list.iex.net Subject: Re: questions about SQR The latest version of sqr is 6.x SQR v4.3.4 will not run in W2K, because of a bug that will not allow it to write to c:\temp. ----Original Message Follows---- I have couple of questions regarding SQR's version a) what is the latest version of SQR b) how old is SQR version 4.3- whether this version will run in windows 2000 or not? Do anyone of you have experience of running SQR version 4.3 in windows 2000. Rajib PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." Carl Sandburg (1878 - 1967) NOTICE: The information contained in this message is protected under United States and international copyright laws and is intended for the personal and confidential use of the addressee. If you are not the addressee or an agent of the addressee, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, taking of any action in reliance upon or copying of this message without the express written permission of the sender or his agent is strictly prohibited and in violation of 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. _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com From owner-sqr-users@list.iex.net Wed Jul 10 17:11:23 2002 Date: Wed, 10 Jul 2002 17:01:47 -0500 From: "Sengupta, Rajib (CC-Contractor)" Subject: Re: questions about SQR great..but allen i am not a member of this group and i can't open it ..can you please send the file to me as attachment. -----Original Message----- From: Allen Cunningham [mailto:allen.cunningham@SONOMA.EDU] Sent: Wednesday, July 10, 2002 4:49 PM To: SQR-USERS@list.iex.net Subject: Re: questions about SQR There is a better, 'PeopleSoft-Approved' fix for running SQR 4.3.4 under Win 2K that does not involve having to mess with the registry. See my upload at http://groups.yahoo.com/group/peoplesoft/files in a file named "sqr_fix.doc" ac -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Thomas Kupka Sent: Wednesday, July 10, 2002 2:14 PM To: SQR-USERS@list.iex.net Subject: Re: questions about SQR We are using SQR version 4.3.4 In order to get it to work on the Windows 2000 platform, you have to delete a key in you registry. Open "regedit" and do a search for "SQR". Delete any registry keys that fall under the AppCompatibility node. This will allow you to run your SQR's without problem. If you are unfamiliar with editing the registry, you may want to get help from someone with more experience. Editing the registry can have fatal consequences if you delete the wrong keys. Hope this helps, and good luck. Tom Kupka DePaul University Information and Application Support tkupka@depaul.edu >>> Rajib.Sengupta@CONAGRAFOODS.COM 7/10/02 3:49:59 PM >>> I have couple of questions regarding SQR's version a) what is the latest version of SQR b) how old is SQR version 4.3- whether this version will run in windows 2000 or not? Do anyone of you have experience of running SQR version 4.3 in windows 2000. Rajib From owner-sqr-users@list.iex.net Wed Jul 10 17:26:02 2002 Date: Wed, 10 Jul 2002 15:20:13 -0700 From: Allen Cunningham Subject: Re: questions about SQR This is a multi-part message in MIME format. --Boundary_(ID_XUy6+6PEifzh2KS8tamx5Q) Content-type: text/plain; charset="iso-8859-1" Content-transfer-encoding: 7bit Here she is:: -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Sengupta, Rajib (CC-Contractor) Sent: Wednesday, July 10, 2002 3:02 PM To: SQR-USERS@list.iex.net Subject: Re: questions about SQR great..but allen i am not a member of this group and i can't open it ..can you please send the file to me as attachment. -----Original Message----- From: Allen Cunningham [mailto:allen.cunningham@SONOMA.EDU] Sent: Wednesday, July 10, 2002 4:49 PM To: SQR-USERS@list.iex.net Subject: Re: questions about SQR There is a better, 'PeopleSoft-Approved' fix for running SQR 4.3.4 under Win 2K that does not involve having to mess with the registry. See my upload at http://groups.yahoo.com/group/peoplesoft/files in a file named "sqr_fix.doc" ac -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Thomas Kupka Sent: Wednesday, July 10, 2002 2:14 PM To: SQR-USERS@list.iex.net Subject: Re: questions about SQR We are using SQR version 4.3.4 In order to get it to work on the Windows 2000 platform, you have to delete a key in you registry. Open "regedit" and do a search for "SQR". Delete any registry keys that fall under the AppCompatibility node. This will allow you to run your SQR's without problem. If you are unfamiliar with editing the registry, you may want to get help from someone with more experience. Editing the registry can have fatal consequences if you delete the wrong keys. Hope this helps, and good luck. Tom Kupka DePaul University Information and Application Support tkupka@depaul.edu >>> Rajib.Sengupta@CONAGRAFOODS.COM 7/10/02 3:49:59 PM >>> I have couple of questions regarding SQR's version a) what is the latest version of SQR b) how old is SQR version 4.3- whether this version will run in windows 2000 or not? Do anyone of you have experience of running SQR version 4.3 in windows 2000. Rajib --Boundary_(ID_XUy6+6PEifzh2KS8tamx5Q) Content-type: application/msword; name="SQR_FIX.doc" Content-transfer-encoding: base64 Content-disposition: attachment; filename="SQR_FIX.doc" 0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAAIgAAAAAAAAAA EAAAJAAAAAEAAAD+////AAAAACEAAAD///////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////s pcEANyAJBAAA8BK/AAAAAAAAEAAAAAAABAAA6AgAAA4AYmpialUWVRYAAAAAAAAAAAAAAAAAAAAA AAAJBBYAJRAAADd8AAA3fAAA6AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD//w8AAAAA AAAAAAD//w8AAAAAAAAAAAD//w8AAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAgAAAAMAAAAEAAAABQAAAAYAAAAHAAAACAAAAP7/ //8KAAAACwAAAAwAAAANAAAADgAAAA8AAAAQAAAA/v///xIAAAATAAAAFAAAABUAAAAWAAAAFwAA ABgAAAD+////GgAAABsAAAAcAAAAHQAAAB4AAAAfAAAAIAAAAP7////9////IwAAAP7////+//// /v////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////1IAbwBvAHQAIABFAG4AdAByAHkAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWAAUB//////////8DAAAABgkCAAAAAADAAAAA AAAARgAAAAAAAAAAAAAAAOBRPNxfKMIBJQAAAIAAAAAAAAAAMQBUAGEAYgBsAGUAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAgD///////////// //8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJAAAAABAAAAAAAABXAG8AcgBk AEQAbwBjAHUAbQBlAG4AdAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA GgACAQUAAAD//////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAl EAAAAAAAAAUAUwB1AG0AbQBhAHIAeQBJAG4AZgBvAHIAbQBhAHQAaQBvAG4AAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAoAAIBAgAAAAQAAAD/////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAEQAAAAAQAAAAAAAABQBEAG8AYwB1AG0AZQBuAHQAUwB1AG0AbQBhAHIAeQBJAG4A ZgBvAHIAbQBhAHQAaQBvAG4AAAAAAAAAAAAAADgAAgH///////////////8AAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZAAAAABAAAAAAAAABAEMAbwBtAHAATwBiAGoAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgACAQEAAAAGAAAA//// /wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABqAAAAAAAAAE8AYgBqAGUA YwB0AFAAbwBvAGwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAW AAEA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAADgUTzcXyjCAeBRPNxfKMIBAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAD///////////////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA/v////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////wEA/v8DCgAA/////wYJAgAAAAAAwAAAAAAAAEYYAAAATWljcm9z b2Z0IFdvcmQgRG9jdW1lbnQACgAAAE1TV29yZERvYwAQAAAAV29yZC5Eb2N1bWVudC44APQ5snEA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAA --Boundary_(ID_XUy6+6PEifzh2KS8tamx5Q)-- From owner-sqr-users@list.iex.net Wed Jul 10 17:08:36 2002 Date: Wed, 10 Jul 2002 17:03:37 -0500 From: the dragon Subject: Re: questions about SQR Not in our system it won't. The network admin and I have attempted to get it up and running; we have tried all the different solutions, and none of them work. Oh, I guess the missing piece of the puzzle is the version of peoplesoft you are running, and the version of tools. Let me modify that to say it will not run on W2k machines if your PTools version is 7.57..... ----Original Message Follows---- SQR 4.3.4 WILL run on Win 2K with a simple 'PeopleSoft-Approved' patch. ac -----Original Message----- The latest version of sqr is 6.x SQR v4.3.4 will not run in W2K, because of a bug that will not allow it to write to c:\temp. ----Original Message Follows---- I have couple of questions regarding SQR's version a) what is the latest version of SQR b) how old is SQR version 4.3- whether this version will run in windows 2000 or not? Do anyone of you have experience of running SQR version 4.3 in windows 2000. Rajib _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com From owner-sqr-users@list.iex.net Wed Jul 10 17:21:12 2002 Date: Wed, 10 Jul 2002 15:15:54 -0700 From: Allen Cunningham Subject: Re: questions about SQR Hi dragon, That is true, we are on 7.62. ac -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of the dragon Sent: Wednesday, July 10, 2002 3:04 PM To: SQR-USERS@list.iex.net Subject: Re: questions about SQR Not in our system it won't. The network admin and I have attempted to get it up and running; we have tried all the different solutions, and none of them work. Oh, I guess the missing piece of the puzzle is the version of peoplesoft you are running, and the version of tools. Let me modify that to say it will not run on W2k machines if your PTools version is 7.57..... ----Original Message Follows---- SQR 4.3.4 WILL run on Win 2K with a simple 'PeopleSoft-Approved' patch. ac -----Original Message----- The latest version of sqr is 6.x SQR v4.3.4 will not run in W2K, because of a bug that will not allow it to write to c:\temp. ----Original Message Follows---- I have couple of questions regarding SQR's version a) what is the latest version of SQR b) how old is SQR version 4.3- whether this version will run in windows 2000 or not? Do anyone of you have experience of running SQR version 4.3 in windows 2000. Rajib _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com From owner-sqr-users@list.iex.net Wed Jul 10 17:19:40 2002 Date: Wed, 10 Jul 2002 17:10:20 -0500 From: "Sengupta, Rajib (CC-Contractor)" Subject: Re: questions about SQR Great, Richard can you tell me what is the service pack in your machine SP2 or SP1. Can you also send me your sqr.ini, pstools.ini file and the SQR part in your win.ini file if posible Thanks in advance. Rajib -----Original Message----- From: Knapp, Richard [mailto:KnappR@UMSYSTEM.EDU] Sent: Wednesday, July 10, 2002 4:18 PM To: SQR-USERS@list.iex.net Subject: Re: questions about SQR Yes, I am running 4.3 on a W2K machine. No problems. No problems with NT 4 either. Richard Knapp Database Programmer/Analyst Administrative Systems Project University of Missouri System 573-884-3157 knappr@umsystem.edu -----Original Message----- From: Sengupta, Rajib (CC-Contractor) [mailto:Rajib.Sengupta@CONAGRAFOODS.COM] Sent: Wednesday, July 10, 2002 3:50 PM To: SQR-USERS@list.iex.net Subject: questions about SQR I have couple of questions regarding SQR's version a) what is the latest version of SQR b) how old is SQR version 4.3- whether this version will run in windows 2000 or not? Do anyone of you have experience of running SQR version 4.3 in windows 2000. Rajib From owner-sqr-users@list.iex.net Thu Jul 11 08:21:54 2002 Date: Thu, 11 Jul 2002 08:14:55 -0500 From: "Knapp, Richard" Subject: Re: questions about SQR I'm on SP2 but I'm afraid I can't comply with the rest of your request. These things should be available from whomever supplied your SQR license (I'm assuming PeopleSoft.) Richard Knapp Database Programmer/Analyst Administrative Systems Project University of Missouri System 573-884-3157 knappr@umsystem.edu -----Original Message----- From: Sengupta, Rajib (CC-Contractor) [mailto:Rajib.Sengupta@CONAGRAFOODS.COM] Sent: Wednesday, July 10, 2002 5:10 PM To: SQR-USERS@list.iex.net Subject: Re: questions about SQR Great, Richard can you tell me what is the service pack in your machine SP2 or SP1. Can you also send me your sqr.ini, pstools.ini file and the SQR part in your win.ini file if posible Thanks in advance. Rajib -----Original Message----- From: Knapp, Richard [mailto:KnappR@UMSYSTEM.EDU] Sent: Wednesday, July 10, 2002 4:18 PM To: SQR-USERS@list.iex.net Subject: Re: questions about SQR Yes, I am running 4.3 on a W2K machine. No problems. No problems with NT 4 either. Richard Knapp Database Programmer/Analyst Administrative Systems Project University of Missouri System 573-884-3157 knappr@umsystem.edu -----Original Message----- From: Sengupta, Rajib (CC-Contractor) [mailto:Rajib.Sengupta@CONAGRAFOODS.COM] Sent: Wednesday, July 10, 2002 3:50 PM To: SQR-USERS@list.iex.net Subject: questions about SQR I have couple of questions regarding SQR's version a) what is the latest version of SQR b) how old is SQR version 4.3- whether this version will run in windows 2000 or not? Do anyone of you have experience of running SQR version 4.3 in windows 2000. Rajib From owner-sqr-users@list.iex.net Thu Jul 11 08:30:48 2002 Date: Thu, 11 Jul 2002 09:20:56 -0400 From: Denise White Subject: Re: questions about SQR If you are simply running an SQR from SQRW, instead of the process scheduler, I really don't see what difference it makes what version of PeopleTools you are on. The problem is between SQR writing to c:\temp, if that is what you are doing, and Win2K. (For the non-PeopleSoft users on this group, don't you have the same problem?) Of course, you are talking about PeopleSoft's solution, which involves altering the directory structure of %PS_HOME, so maybe that does have something to do with the Tools version. Personally, I think that deleting one registry key is a simpler solution than altering the directory structures, even if it's just copying from a specific node down to another location. Another alternative, that we used until we found the registry solution, is to use a directory other than c:\temp (such as c:\ps\temp), but this is probably the most work - you have to change any settings in Cfg Mgr, and the SQRW shortcut, as well as recoding any SQRs that write files to c:\temp. To address another of Rajib's questions, this problem occurs with SP2, and not with SP1. A further solution is to go back to SP1. Denise White Sr. Software Engineer Vicor ------------------------------ Date: Wed, 10 Jul 2002 15:15:54 -0700 From: Allen Cunningham Subject: Re: questions about SQR Hi dragon, That is true, we are on 7.62. ac -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of the dragon Sent: Wednesday, July 10, 2002 3:04 PM To: SQR-USERS@list.iex.net Subject: Re: questions about SQR Not in our system it won't. The network admin and I have attempted to get it up and running; we have tried all the different solutions, and none of them work. Oh, I guess the missing piece of the puzzle is the version of peoplesoft you are running, and the version of tools. Let me modify that to say it will not run on W2k machines if your PTools version is 7.57..... ----Original Message Follows---- SQR 4.3.4 WILL run on Win 2K with a simple 'PeopleSoft-Approved' patch. ac -----Original Message----- The latest version of sqr is 6.x SQR v4.3.4 will not run in W2K, because of a bug that will not allow it to write to c:\temp. ----Original Message Follows---- I have couple of questions regarding SQR's version a) what is the latest version of SQR b) how old is SQR version 4.3- whether this version will run in windows 2000 or not? Do anyone of you have experience of running SQR version 4.3 in windows 2000. Rajib From owner-sqr-users@list.iex.net Thu Jul 11 10:02:37 2002 Date: Thu, 11 Jul 2002 09:33:17 -0500 From: "Sengupta, Rajib (CC-Contractor)" Subject: Re: questions about SQR I am going to try all the options you guys had told me.just for everyone else reference i had found the Psoft resolution also whose resolution id is 692150 Rajib -----Original Message----- From: Denise White [mailto:dewhite@VICR.COM] Sent: Thursday, July 11, 2002 8:21 AM To: SQR-USERS@list.iex.net Subject: Re: questions about SQR If you are simply running an SQR from SQRW, instead of the process scheduler, I really don't see what difference it makes what version of PeopleTools you are on. The problem is between SQR writing to c:\temp, if that is what you are doing, and Win2K. (For the non-PeopleSoft users on this group, don't you have the same problem?) Of course, you are talking about PeopleSoft's solution, which involves altering the directory structure of %PS_HOME, so maybe that does have something to do with the Tools version. Personally, I think that deleting one registry key is a simpler solution than altering the directory structures, even if it's just copying from a specific node down to another location. Another alternative, that we used until we found the registry solution, is to use a directory other than c:\temp (such as c:\ps\temp), but this is probably the most work - you have to change any settings in Cfg Mgr, and the SQRW shortcut, as well as recoding any SQRs that write files to c:\temp. To address another of Rajib's questions, this problem occurs with SP2, and not with SP1. A further solution is to go back to SP1. Denise White Sr. Software Engineer Vicor ------------------------------ Date: Wed, 10 Jul 2002 15:15:54 -0700 From: Allen Cunningham Subject: Re: questions about SQR Hi dragon, That is true, we are on 7.62. ac -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of the dragon Sent: Wednesday, July 10, 2002 3:04 PM To: SQR-USERS@list.iex.net Subject: Re: questions about SQR Not in our system it won't. The network admin and I have attempted to get it up and running; we have tried all the different solutions, and none of them work. Oh, I guess the missing piece of the puzzle is the version of peoplesoft you are running, and the version of tools. Let me modify that to say it will not run on W2k machines if your PTools version is 7.57..... ----Original Message Follows---- SQR 4.3.4 WILL run on Win 2K with a simple 'PeopleSoft-Approved' patch. ac -----Original Message----- The latest version of sqr is 6.x SQR v4.3.4 will not run in W2K, because of a bug that will not allow it to write to c:\temp. ----Original Message Follows---- I have couple of questions regarding SQR's version a) what is the latest version of SQR b) how old is SQR version 4.3- whether this version will run in windows 2000 or not? Do anyone of you have experience of running SQR version 4.3 in windows 2000. Rajib From owner-sqr-users@list.iex.net Wed Jul 10 16:00:24 2002 Date: Wed, 10 Jul 2002 15:55:45 -0500 From: "Brickl, Maria" Subject: Hard Page Break Is there a way to insert a page break when a section changes? For example, we have 13 campuses and I want to print reports by campus so therefore I want it to print a new page when a new campus is next. I know how to write the logic to get it to check for if it is a previous campus, etc; I just don't know how to tell it to print a hard page break. I know there has to be a way, but my mind is just jumbled right now and I just can't think of it. Any help would be greatly appreciated! *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ Maria K Brickl mbrickl@uwc.edu Information Systems Programmer/Analyst University of Wisconsin Colleges 780 Regent St, PO Box 8680, Madison, WI 53708-8680 Phone: 608.265.2677 / Fax: 608.265.5770 *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* From owner-sqr-users@list.iex.net Wed Jul 10 16:04:05 2002 Date: Wed, 10 Jul 2002 13:56:22 -0700 From: "Lynds,Rick" Subject: Re: Hard Page Break Use the "new-page" statement. -----Original Message----- From: Brickl, Maria [mailto:mbrickl@UWC.EDU] Sent: Wednesday, July 10, 2002 1:56 PM To: SQR-USERS@list.iex.net Subject: Hard Page Break Is there a way to insert a page break when a section changes? For example, we have 13 campuses and I want to print reports by campus so therefore I want it to print a new page when a new campus is next. I know how to write the logic to get it to check for if it is a previous campus, etc; I just don't know how to tell it to print a hard page break. I know there has to be a way, but my mind is just jumbled right now and I just can't think of it. Any help would be greatly appreciated! *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ Maria K Brickl mbrickl@uwc.edu Information Systems Programmer/Analyst University of Wisconsin Colleges 780 Regent St, PO Box 8680, Madison, WI 53708-8680 Phone: 608.265.2677 / Fax: 608.265.5770 *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* From owner-sqr-users@list.iex.net Wed Jul 10 16:08:14 2002 Date: Wed, 10 Jul 2002 17:03:50 -0400 From: Prasanna Menta Subject: Re: Hard Page Break Use on-break logic and write a procedure to do this. Prasanna "Brickl, Maria" wrote: > > Is there a way to insert a page break when a section changes? For example, > we have 13 campuses and I want to print reports by campus so therefore I > want it to print a new page when a new campus is next. I know how to write > the logic to get it to check for if it is a previous campus, etc; I just > don't know how to tell it to print a hard page break. > > I know there has to be a way, but my mind is just jumbled right now and I > just can't think of it. > > Any help would be greatly appreciated! > > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ > Maria K Brickl > mbrickl@uwc.edu > Information Systems Programmer/Analyst > University of Wisconsin Colleges > 780 Regent St, PO Box 8680, Madison, WI 53708-8680 > Phone: 608.265.2677 / Fax: 608.265.5770 > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* From owner-sqr-users@list.iex.net Wed Jul 10 16:17:44 2002 Date: Wed, 10 Jul 2002 16:14:09 -0500 From: "Brickl, Maria" Subject: Re: Hard Page Break Thanks! I just figured that out by reading a previous post a while ago. -----Original Message----- From: Lynds,Rick [mailto:rlynds@MWDH2O.COM] Sent: Wednesday, July 10, 2002 3:56 PM To: SQR-USERS@list.iex.net Subject: Re: Hard Page Break Use the "new-page" statement. -----Original Message----- From: Brickl, Maria [mailto:mbrickl@UWC.EDU] Sent: Wednesday, July 10, 2002 1:56 PM To: SQR-USERS@list.iex.net Subject: Hard Page Break Is there a way to insert a page break when a section changes? For example, we have 13 campuses and I want to print reports by campus so therefore I want it to print a new page when a new campus is next. I know how to write the logic to get it to check for if it is a previous campus, etc; I just don't know how to tell it to print a hard page break. I know there has to be a way, but my mind is just jumbled right now and I just can't think of it. Any help would be greatly appreciated! *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ Maria K Brickl mbrickl@uwc.edu Information Systems Programmer/Analyst University of Wisconsin Colleges 780 Regent St, PO Box 8680, Madison, WI 53708-8680 Phone: 608.265.2677 / Fax: 608.265.5770 *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* From owner-sqr-users@list.iex.net Wed Jul 10 16:19:54 2002 Date: Wed, 10 Jul 2002 15:14:47 -0600 From: Roger Harris Subject: Re: Hard Page Break The command is "New-Page" "Brickl, Maria" To: SQR-USERS@list.iex.net bcc: Sent by: Subject: Hard Page Break "Discussion of SQR, Brio Software's database reporting language" 07/10/2002 02:55 PM Please respond to sqr-users Is there a way to insert a page break when a section changes? For example, we have 13 campuses and I want to print reports by campus so therefore I want it to print a new page when a new campus is next. I know how to write the logic to get it to check for if it is a previous campus, etc; I just don't know how to tell it to print a hard page break. I know there has to be a way, but my mind is just jumbled right now and I just can't think of it. Any help would be greatly appreciated! *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ Maria K Brickl mbrickl@uwc.edu Information Systems Programmer/Analyst University of Wisconsin Colleges 780 Regent St, PO Box 8680, Madison, WI 53708-8680 Phone: 608.265.2677 / Fax: 608.265.5770 *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* From owner-sqr-users@list.iex.net Wed Jul 10 17:49:25 2002 Date: Wed, 10 Jul 2002 18:11:51 -0700 From: David Thorburn Subject: Re: Hard Page Break Use the < On Break > clause and specify a procedure to execute when Campus value changes. Regards, David > -----Original Message----- > From: Discussion of SQR, Brio Software's database reporting language > [mailto:SQR-USERS@list.iex.net]On Behalf Of Brickl, Maria > Sent: Wednesday, July 10, 2002 1:56 PM > To: SQR-USERS@list.iex.net > Subject: Hard Page Break > > > Is there a way to insert a page break when a section changes? For example, > we have 13 campuses and I want to print reports by campus so therefore I > want it to print a new page when a new campus is next. I know how to write > the logic to get it to check for if it is a previous campus, etc; I just > don't know how to tell it to print a hard page break. > > I know there has to be a way, but my mind is just jumbled right now and I > just can't think of it. > > Any help would be greatly appreciated! > > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ > Maria K Brickl > mbrickl@uwc.edu > Information Systems Programmer/Analyst > University of Wisconsin Colleges > 780 Regent St, PO Box 8680, Madison, WI 53708-8680 > Phone: 608.265.2677 / Fax: 608.265.5770 > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* > ------------------------------------------- Introducing NetZero Long Distance Unlimited Long Distance only $29.95/ month! Sign Up Today! www.netzerolongdistance.com From owner-sqr-users@list.iex.net Thu Jul 11 10:11:58 2002 Date: Thu, 11 Jul 2002 14:53:47 +0000 From: "Srini ." Subject: Please give me reply soon........ Hi Friends, I am new to this Users Group, i am happy to inform to you all. I am Srinivas, working with Texas Department of Criminal Justice,Huntsville/Tx. I have several questions on SQR Reports. I have to create one report like this.... I have to display data like this ... Statewise , Regionwise, Districtwise And Officerwise offenderslist. First i have to display all offenderlists officerwise in all districts under single region. Then under that dirsticts, i have to display region heading and under all district details and under that i have to display state heading and under all regions. but i am getting district wise data only...........while i am printing region and under all districts...i am not getting district details.. please give me the solution to get the data abouve format. District name dist1 officername name1 offenders 10 officername name2 '' 20 officername name3.... '' 5 District name dist2 officername name1 offenders 10 officername name2 '' 10 officername name3.... '' 5 ............. Region region1 dist1 offender 35 dist2 ,, 25 ........ State state1 region1 offenders 60 region2 '' 80 region3 ,, ..... Please i need above format Thanks Srinivas _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From owner-sqr-users@list.iex.net Thu Jul 11 10:44:39 2002 Date: Thu, 11 Jul 2002 15:39:51 +0000 From: Elvis Pressly Subject: Re: Please give me reply soon........ First you have to SORT your file according to your report sequence then have each sort sequence assign a level number for ON-BREAK function. ex... SORT Sequence On-Break level STATE 1 REGION 2 DISTRICT 3 OFFICER 4 OFFENDER 5 There are more information about On-Break function in the SQR manual. >From: "Srini ." >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Please give me reply soon........ >Date: Thu, 11 Jul 2002 14:53:47 +0000 > >Hi Friends, >I am new to this Users Group, i am happy to inform to you all. >I am Srinivas, working with Texas Department of Criminal >Justice,Huntsville/Tx. I have several questions on SQR Reports. > >I have to create one report like this.... >I have to display data like this ... >Statewise , Regionwise, Districtwise And Officerwise offenderslist. > >First i have to display all offenderlists officerwise in all districts >under >single region. Then under that dirsticts, i have to display region heading >and under all district details and under that i have to display state >heading and under all regions. >but i am getting district wise data only...........while i am printing >region and under all districts...i am not getting district details.. >please give me the solution to get the data abouve format. > >District name dist1 >officername name1 offenders 10 >officername name2 '' 20 >officername name3.... '' 5 > >District name dist2 >officername name1 offenders 10 >officername name2 '' 10 >officername name3.... '' 5 > ............. > >Region region1 >dist1 offender 35 >dist2 ,, 25 >........ > >State state1 >region1 offenders 60 >region2 '' 80 >region3 ,, >..... > >Please i need above format > >Thanks >Srinivas > >_________________________________________________________________ >Chat with friends online, try MSN Messenger: http://messenger.msn.com _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com From owner-sqr-users@list.iex.net Thu Jul 11 14:17:35 2002 Date: Thu, 11 Jul 2002 19:06:55 +0000 From: "Srini ." Subject: Re: Please give me reply soon........ Hi, Thanks for quik reply. I gave onebreak levels........ I am getting data like this... State Region District Officer Offenders........ but i don't want that order........ first i have to display districts information which are in particular Region then have to display region details which are under particular stae..... it seems reverse order to print data..... here i am getting district and officer ,offender information. When i am printing region under district ...just i am getting only one distric. my code looks like this... OFFC_STATE &OFFC_STATE ()on-break level=1 after=print_state_total SAVE=$offc_state print=never D.RMF_REGION &RMF_REGION ()on-break level=2 before=print_region_heading before=print_region_total SAVE=$region print=never D.RMF_DISTRICT &RMF_DISTRICT ()on-break level=3 SAVE=$district_number print=never OFFC_NAME &OFFC_NAME ()on-break level=3 after=print_dist print=never after=print_district_total before=print_district_heading SAVE=$district_name print=never OFCR_LAST_NAME &OFCR_LAST_NAME ()on-break level=4 SAVE=$officer_number print=never OFCR_FIRST_NAME &OFCR_FIRST_NAME ()on-break level=4 after = print_officer_total before = print_officer_heading print=never E.CTH_CASE_CAT &CTH_CASE_CAT ()on-break level=5 after= print_cat_total SAVE=$cth_case_CAT print=never A.OIMS_SID_NO &OIMS_SID_NO D.RMF_SID_NO &RMF_SID_NO DO print_data add 1 to #state_count add 1 to #region_count add 1 to #district_count add 1 to #officer_count add 1 to #cat_count add 1 to #grand_total FROM OIMST.TAMASTER A,OIMST.TPRELMAST D,TPOFFICE,TPOFFICER,TPCASE_CAT_HIST E WHERE (A.OIMS_SID_NO BETWEEN '06500000' AND '35000000')AND D.RMF_ACTIVE='Y' AND A.OIMS_SID_NO=D.RMF_SID_NO AND A.OIMS_SID_NO=E.CTH_SID_NO AND D.RMF_REGION=OFFC_REGION AND D.RMF_REGION=OFCR_REGION AND D.RMF_DISTRICT=OFFC_DISTRICT AND D.RMF_DISTRICT=OFCR_DISTRICT AND D.RMF_OFFICER=OFCR_EMP_NO !AND OFCR_FIRST_NAME='Doss' !AND CTH_CREATION_DATE=(SELECT MAX(CTH_CREATION_DATE) ! FROM OIMST.TPCASE_CAT_HIST F ! WHERE E.CTH_SID_NO=F.CTH_SID_NO) !AND A.OIMS_SETUP_DTE= ! (SELECT MAX(OIMS_SETUP_DTE) ! FROM OIMST.TAMASTER B ! WHERE B.OIMS_SID_NO=A.OIMS_SID_NO ! AND B.OIMS_SID_NO=D.RMF_SID_NO) AND D.RMF_RELEASE_DATE= (SELECT MAX(RMF_RELEASE_DATE) FROM OIMST.TPRELMAST C WHERE C.RMF_SID_NO=A.OIMS_SID_NO AND C.RMF_SID_NO=D.RMF_SID_NO) ORDER BY OFFC_STATE,D.RMF_REGION,OFFC_NAME,OFCR_LAST_NAME,CTH_CASE_CAT end-select !do print_grand_total end-procedure !get-warrant Thanks Srini >From: Elvis Pressly >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: Please give me reply soon........ >Date: Thu, 11 Jul 2002 15:39:51 +0000 > >First you have to SORT your file according to your report sequence then >have each sort sequence assign a level number for ON-BREAK function. > >ex... > > SORT Sequence On-Break level > > STATE 1 > REGION 2 > DISTRICT 3 > OFFICER 4 > OFFENDER 5 > > >There are more information about On-Break function in the SQR manual. > >>From: "Srini ." >>Reply-To: sqr-users@list.iex.net >>To: SQR-USERS@list.iex.net >>Subject: Please give me reply soon........ >>Date: Thu, 11 Jul 2002 14:53:47 +0000 >> >>Hi Friends, >>I am new to this Users Group, i am happy to inform to you all. >>I am Srinivas, working with Texas Department of Criminal >>Justice,Huntsville/Tx. I have several questions on SQR Reports. >> >>I have to create one report like this.... >>I have to display data like this ... >>Statewise , Regionwise, Districtwise And Officerwise offenderslist. >> >>First i have to display all offenderlists officerwise in all districts >>under >>single region. Then under that dirsticts, i have to display region heading >>and under all district details and under that i have to display state >>heading and under all regions. >>but i am getting district wise data only...........while i am printing >>region and under all districts...i am not getting district details.. >>please give me the solution to get the data abouve format. >> >>District name dist1 >>officername name1 offenders 10 >>officername name2 '' 20 >>officername name3.... '' 5 >> >>District name dist2 >>officername name1 offenders 10 >>officername name2 '' 10 >>officername name3.... '' 5 >> ............. >> >>Region region1 >>dist1 offender 35 >>dist2 ,, 25 >>........ >> >>State state1 >>region1 offenders 60 >>region2 '' 80 >>region3 ,, >>..... >> >>Please i need above format >> >>Thanks >>Srinivas >> >>_________________________________________________________________ >>Chat with friends online, try MSN Messenger: http://messenger.msn.com > > > > >_________________________________________________________________ >Join the world’s largest e-mail service with MSN Hotmail. >http://www.hotmail.com _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com From owner-sqr-users@list.iex.net Thu Jul 11 14:23:10 2002 Date: Thu, 11 Jul 2002 19:18:24 +0000 From: "Srini ." Subject: here i am attaching my output.txt file This is a multi-part message in MIME format. ------=_NextPart_000_7d54_485_6d81 Content-Type: text/plain; format=flowed hi i am getting this out put......help me to get correct output >From: Elvis Pressly >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: Please give me reply soon........ >Date: Thu, 11 Jul 2002 15:39:51 +0000 > >First you have to SORT your file according to your report sequence then >have each sort sequence assign a level number for ON-BREAK function. > >ex... > > SORT Sequence On-Break level > > STATE 1 > REGION 2 > DISTRICT 3 > OFFICER 4 > OFFENDER 5 > > >There are more information about On-Break function in the SQR manual. > >>From: "Srini ." >>Reply-To: sqr-users@list.iex.net >>To: SQR-USERS@list.iex.net >>Subject: Please give me reply soon........ >>Date: Thu, 11 Jul 2002 14:53:47 +0000 >> >>Hi Friends, >>I am new to this Users Group, i am happy to inform to you all. >>I am Srinivas, working with Texas Department of Criminal >>Justice,Huntsville/Tx. I have several questions on SQR Reports. >> >>I have to create one report like this.... >>I have to display data like this ... >>Statewise , Regionwise, Districtwise And Officerwise offenderslist. >> >>First i have to display all offenderlists officerwise in all districts >>under >>single region. Then under that dirsticts, i have to display region heading >>and under all district details and under that i have to display state >>heading and under all regions. >>but i am getting district wise data only...........while i am printing >>region and under all districts...i am not getting district details.. >>please give me the solution to get the data abouve format. >> >>District name dist1 >>officername name1 offenders 10 >>officername name2 '' 20 >>officername name3.... '' 5 >> >>District name dist2 >>officername name1 offenders 10 >>officername name2 '' 10 >>officername name3.... '' 5 >> ............. >> >>Region region1 >>dist1 offender 35 >>dist2 ,, 25 >>........ >> >>State state1 >>region1 offenders 60 >>region2 '' 80 >>region3 ,, >>..... >> >>Please i need above format >> >>Thanks >>Srinivas >> >>_________________________________________________________________ >>Chat with friends online, try MSN Messenger: http://messenger.msn.com > > > > >_________________________________________________________________ >Join the world’s largest e-mail service with MSN Hotmail. >http://www.hotmail.com _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com ------=_NextPart_000_7d54_485_6d81 Content-Type: text/plain; name="output.txt"; format=flowed Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="output.txt" Texas Department of Criminal Justice - Parole division Caseload Summary July 11,2002 District Name DALLAS DPO 1 -------------------------------------------------------------------------------------------------------------------------------- Officer Name Reg AR NR SO EM MI MR TIPH SISP DRC SA SNP TYC Totals ------------------------------------------------------------------------------------transfer------------------------------------ BIGGAR CRAIG 1 1 -------------------------------------------------------------------------------------------------------------------------------- 1 -------------------------------------------------------------------------------------------------------------------------------- District: NACOGDOCHES DPO -------------------------------------------------------------------------------------------------------------------------------- Officer Name Reg AR NR SO EM MI MR TIPH SISP DRC SA SNP TYC Totals ------------------------------------------------------------------------------------transfer------------------------------------ COOK NEIL 1 1 HENDERSON JACQUELINE 1 6 7 -------------------------------------------------------------------------------------------------------------------------------- District: TYLER DPO -------------------------------------------------------------------------------------------------------------------------------- Officer Name Reg AR NR SO EM MI MR TIPH SISP DRC SA SNP TYC Totals ------------------------------------------------------------------------------------transfer------------------------------------ FITZGERALD SUSAN 2 2 LONG CHARLES 2 2 4 -------------------------------------------------------------------------------------------------------------------------------- 6 -------------------------------------------------------------------------------------------------------------------------------- Region : 01 -------------------------------------------------------------------------------------------------------------------------------- DistrictParole Reg AR NR SO EM MI MR TIPH SISP DRC SA SNP TYC Totals --Office----------------------------------------------------------------------------transfer------------------------------------ 02 DALLAS DPO 1 ------=_NextPart_000_7d54_485_6d81-- From owner-sqr-users@list.iex.net Fri Jul 12 11:53:16 2002 Date: Fri, 12 Jul 2002 11:38:48 -0500 From: "Davis,Tim" Subject: Using FTP commands in SQR Does anyone know if it is possible to FTP an output file from a network location to another location outside the network within SQR? Thanks, Tim Timothy Davis Cerner Business Systems Cerner Corporation www.cerner.com 2701 Rockcreek Parkway MD W0522 Kansas City, MO 64117 (816) 201-2061 Direct (816) 201-8061 Fax tdavis1@cerner.com Email CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. ----------------------------------------- - From owner-sqr-users@list.iex.net Fri Jul 12 12:05:46 2002 Date: Fri, 12 Jul 2002 09:57:48 -0700 From: Allen Cunningham Subject: Re: Using FTP commands in SQR If you can get sqr to call a batch file, I have some batch files that do it via scripts. ac -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Davis,Tim Sent: Friday, July 12, 2002 9:39 AM To: SQR-USERS@list.iex.net Subject: Using FTP commands in SQR Does anyone know if it is possible to FTP an output file from a network location to another location outside the network within SQR? Thanks, Tim Timothy Davis Cerner Business Systems Cerner Corporation www.cerner.com 2701 Rockcreek Parkway MD W0522 Kansas City, MO 64117 (816) 201-2061 Direct (816) 201-8061 Fax tdavis1@cerner.com Email CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. ----------------------------------------- - From owner-sqr-users@list.iex.net Fri Jul 12 12:04:57 2002 Date: Fri, 12 Jul 2002 09:57:49 -0700 From: Allen Cunningham Subject: Re: Using FTP commands in SQR If you can get sqr to call a batch file, I have a batch file that does it. ac -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Davis,Tim Sent: Friday, July 12, 2002 9:39 AM To: SQR-USERS@list.iex.net Subject: Using FTP commands in SQR Does anyone know if it is possible to FTP an output file from a network location to another location outside the network within SQR? Thanks, Tim Timothy Davis Cerner Business Systems Cerner Corporation www.cerner.com 2701 Rockcreek Parkway MD W0522 Kansas City, MO 64117 (816) 201-2061 Direct (816) 201-8061 Fax tdavis1@cerner.com Email CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. ----------------------------------------- - From owner-sqr-users@list.iex.net Fri Jul 12 12:18:17 2002 Date: Fri, 12 Jul 2002 13:07:32 EDT From: James McKeever Subject: Re: Using FTP commands in SQR Yes it is. Here's some sample code that I'm using to get a file from a remote server, and the process is basically the same to PUT it as well. The sqr gets the user and password info from the UNIX .netrc file !*********************************************************************** Begin-PROCEDURE Build-FTP-File !Create the UNIX script to be run on remote FTP Server !*********************************************************************** Let $Cmd_Bank = $Bank lowercase $Cmd_Bank Let $FTP_Cmd_File = $FTP_Cmd_File||'_'||$Cmd_Bank ||'.cmd' Let $Msg = 'FTP Cmd File Name :'||$FTP_Cmd_File Do Print-Log Let $Msg = ' ' Do Print-Log Let $Line1 = 'ftp -iv '||$Source_File_Server||' < 0 Let $Error_Flag = 'Y' Let #Return-Status = 99 Move #Return-Status to $Return-Status Move #Open_Stat to $Open_Stat 99 Let $Msg = 'FATAL ERROR - UNABLE TO OPEN FTP CMD FILE FOR WRITING, ' Let $Msg = $Msg||'Process Terminated' Do Print-Log Let $Msg = 'FTP Cmd File Open Status :'||$Open_Stat Do Print-Log Let $Msg = ' ' Do Print-Log End-If End-PROCEDURE !*********************************************************************** Begin-PROCEDURE Write-FTP-File !*********************************************************************** Write 1 From $Line1 Write 1 From $Line2 Write 1 From $Line3 Write 1 From $Line4 Write 1 From $Line5 Write 1 From $Line6 Write 1 From $Line7 Write 1 From $Line8 Close 1 End-PROCEDURE !*********************************************************************** Begin-PROCEDURE Execute-Chmod-File !*********************************************************************** Let $Chmod_Cmd_File = $Chmod_Cmd_file||'_'||$Cmd_Bank||'.cmd' Let $Msg = 'Chmod Cmd File Name :'||$Chmod_Cmd_File Do Print-Log Let $Msg = ' ' Do Print-Log Open $Chmod_Cmd_File as 1 For-Reading Record=80 Status=#Open_stat If #Open_Stat <> 0 Move #Open_Stat to $Open_Stat 99 Let $Msg = 'WARNING: Unable to Open Chmod Cmd File' Do Print-Log Let $Msg = 'Chmod Cmd File Open Status :'||$UNIX_Stat Do Print-Log Let $Msg = ' ' Do Print-Log Else Let $UNIX_Cmd_File = $chmod_Cmd_File Do Execute-UNIX-Call If #UNIX_Stat <> 0 Let $Msg = 'WARNING: Unable to Execute Chmod Cmd File' Do Print-Log Let $Msg = 'Chmod Cmd File Status :'||$UNIX_Stat Do Print-Log Let $Msg = ' ' Do Print-Log End-If End-If close 1 End-PROCEDURE !*********************************************************************** Begin-PROCEDURE Execute-FTP-File !*********************************************************************** Let $Msg = '-------- FTP Command File Execution - Start --------' Display $Msg Let $Msg = ' ' Display $Msg Let $UNIX_Cmd_File = $FTP_Cmd_File Do Execute-UNIX-Call Let $Msg = ' ' Display $Msg Let $Msg = '--------FTP Command File Execution - End --------' Display $Msg Let $Msg = ' ' Display $Msg If #UNIX_Stat <> 0 Let $Error_Flag = 'Y' Let #Return-Status = 99 Move #Return-Status to $Return-Status Let $Msg = 'FATAL ERROR - UNABLE TO EXECUTE FTP CMD FILE, PROCESS TERMINATED' Do Print-Log Let $Msg = 'FTP Cmd File Status :'||$UNIX_Stat Do Print-Log Let $Msg = ' ' Do Print-Log End-If End-PROCEDURE !*********************************************************************** Begin-PROCEDURE Execute-UNIX-Call !Run the FTP Script !*********************************************************************** Call System Using $UNIX_Cmd_File #UNIX_Stat Move #UNIX_stat to $UNIX_Stat 99 End-PROCEDURE Jim McKeever Sr. Programmer/Analyst - New Technology Phone: (303) 705-4534 E-Mail: james.mckeever@twcable.com OR JMcKeever0953@aol.com From owner-sqr-users@list.iex.net Fri Jul 12 12:31:23 2002 Date: Fri, 12 Jul 2002 13:27:52 -0400 From: Prasanna Menta Subject: Re: Using FTP commands in SQR Hello, Yes this is possible, create a bat file with the ftp command and call the file using call system and it should work Prasanna "Davis,Tim" wrote: > > Does anyone know if it is possible to FTP an output file from a network > location to another location outside the network within SQR? > Thanks, > Tim > Timothy Davis > Cerner Business Systems > Cerner Corporation www.cerner.com > 2701 Rockcreek Parkway MD W0522 > Kansas City, MO 64117 > (816) 201-2061 Direct > (816) 201-8061 Fax > tdavis1@cerner.com Email > > CONFIDENTIALITY NOTICE > > This message and any included attachments are > from Cerner Corporation and are intended only > for the addressee. The information contained > in this message is confidential and may > constitute inside or non-public information > under international, federal, or state securities > laws. Unauthorized forwarding, printing, copying, > distribution, or use of such information is > strictly prohibited and may be unlawful. If > you are not the addressee, please promptly > delete this message and notify the sender of > the delivery error by e-mail or you may call > Cerner's corporate offices in Kansas City, > Missouri, U.S.A at (+1) (816)221-1024. > ----------------------------------------- - From owner-sqr-users@list.iex.net Fri Jul 12 12:49:20 2002 Date: Fri, 12 Jul 2002 10:39:46 -0700 From: Allen Cunningham Subject: Re: Using FTP commands in SQR Note that the bat file has to call another script file containing the username and password and actual ftp commands. ac -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Prasanna Menta Sent: Friday, July 12, 2002 10:28 AM To: SQR-USERS@list.iex.net Subject: Re: Using FTP commands in SQR Hello, Yes this is possible, create a bat file with the ftp command and call the file using call system and it should work Prasanna "Davis,Tim" wrote: > > Does anyone know if it is possible to FTP an output file from a network > location to another location outside the network within SQR? > Thanks, > Tim > Timothy Davis > Cerner Business Systems > Cerner Corporation www.cerner.com > 2701 Rockcreek Parkway MD W0522 > Kansas City, MO 64117 > (816) 201-2061 Direct > (816) 201-8061 Fax > tdavis1@cerner.com Email > > CONFIDENTIALITY NOTICE > > This message and any included attachments are > from Cerner Corporation and are intended only > for the addressee. The information contained > in this message is confidential and may > constitute inside or non-public information > under international, federal, or state securities > laws. Unauthorized forwarding, printing, copying, > distribution, or use of such information is > strictly prohibited and may be unlawful. If > you are not the addressee, please promptly > delete this message and notify the sender of > the delivery error by e-mail or you may call > Cerner's corporate offices in Kansas City, > Missouri, U.S.A at (+1) (816)221-1024. > ----------------------------------------- - From owner-sqr-users@list.iex.net Fri Jul 12 12:08:09 2002 Date: Fri, 12 Jul 2002 13:04:54 -0400 From: Robert Foster Subject: Re: SQR-USERS Digest - 10 Jul 2002 to 11 Jul 2002 (#2002-165) Srini, The "order" clause in your sql must match the sort order you are looking for in the output and this will effect your "on break" commands. The following: > ORDER BY OFFC_STATE,D.RMF_REGION,OFFC_NAME,OFCR_LAST_NAME,CTH_CASE_CAT doesn't seem to match what you are trying to do with: State Region District Officer Offenders unless I'm not interpreting the field names correctly. If you have to select and display data in two different ways in the same report then write another function to do the other similar query and use: do first_query do second_query If you use the same tables and fields in both queries, just with a different "order by", then you will have to use different alias names for the tables since sqr doesn't allow duplicate names in the same sqr file/program. in first query: > FROM OIMST.TAMASTER A,OIMST.TPRELMAST D,TPOFFICE,TPOFFICER,TPCASE_CAT_HIST E in second query: > FROM OIMST.TAMASTER AA, OIMST.TPRELMAST DD, TPOFFICE OO, TPOFFICER OF, TPCASE_CAT_HIST EE Bob. === Bob Foster I/S Coordinator Mid-Michigan MRI, Inc. Direct Line: (517) 364-2673 mailto:rkf@radiology.msu.edu From owner-sqr-users@list.iex.net Tue Jul 16 07:30:19 2002 Date: Tue, 16 Jul 2002 08:09:57 -0400 From: Stu-Wood Subject: Read File with DB2 I am having an issue with reading a file and loading it into SQR. My process seems to consistently fail after reading a series of records, performing some DML and then attempting to continue readin recrods. I get a error return status on the subsequent read after the DML. Any ideas? Thanks, Stu Wood From owner-sqr-users@list.iex.net Tue Jul 16 08:02:38 2002 Date: Tue, 16 Jul 2002 14:29:19 +0200 From: "O'riordan, Paul (EI05)" Subject: Re: Read File with DB2 Perhaps your file is not consistant, are you using delimiters to get values and is it possible that the delimiter is being used within a field in the file? If so then you might be disconnecting from the database! Can you show the error? Just a thought, Paul Honeywell Paul O'Riordan Honeywell Application Services Application Developer Industrial Park, Cork Road PeopleSoft Applications, Waterford Ireland +353-51-309856 Direct +353-51-309821 Fax +353-87-9083244 Mobile mailto:Paul.O'Riordan@honeywell.com -----Original Message----- From: Stu-Wood [mailto:SWood2@OFFICEDEPOT.COM] Sent: 16 July 2002 13:10 To: SQR-USERS@list.iex.net Subject: Read File with DB2 I am having an issue with reading a file and loading it into SQR. My process seems to consistently fail after reading a series of records, performing some DML and then attempting to continue readin recrods. I get a error return status on the subsequent read after the DML. Any ideas? Thanks, Stu Wood From owner-sqr-users@list.iex.net Tue Jul 16 07:59:25 2002 Date: Tue, 16 Jul 2002 07:54:39 -0500 From: "Knapp, Richard" Subject: Re: Read File with DB2 How about sharing the error with us? Richard Knapp Database Programmer/Analyst Administrative Systems Project University of Missouri System 573-884-3157 knappr@umsystem.edu -----Original Message----- From: Stu-Wood [mailto:SWood2@OFFICEDEPOT.COM] Sent: Tuesday, July 16, 2002 7:10 AM To: SQR-USERS@list.iex.net Subject: Read File with DB2 I am having an issue with reading a file and loading it into SQR. My process seems to consistently fail after reading a series of records, performing some DML and then attempting to continue readin recrods. I get a error return status on the subsequent read after the DML. Any ideas? Thanks, Stu Wood From owner-sqr-users@list.iex.net Tue Jul 16 09:17:18 2002 Date: Tue, 16 Jul 2002 09:59:50 -0400 From: Stu-Wood Subject: Re: Read File with DB2 Here is the code: WHILE 1 READ 1 INTO $RECORD:80 STATUS=#integer IF #integer != 0 SHOW 'Cannot Read Standard AP Invoice File' SHOW $rc_input_file SHOW 'Last Successfully Read Record: ' #record_count SHOW 'ERROR STATUS: ' #integer LET #PRCS_RUN_STATUS = #PRCS_RUN_STATUS_ERROR DO UPDATE-PRCS-RUN-STATUS STOP END-IF IF #end-file BREAK END-IF ... Here is the error: Cannot Read Standard AP Invoice File C:\TEMP\PAPS0140.DAT Last Successfully Read Record: 12 ERROR STATUS: 0 When I comment out the processing to forgo the DML, it reads the file fine. Thanks, Stu -----Original Message----- From: O'riordan, Paul (EI05) [mailto:Paul.O'riordan@HONEYWELL.COM] Sent: Tuesday, July 16, 2002 8:29 AM To: SQR-USERS@list.iex.net Subject: Re: Read File with DB2 Perhaps your file is not consistant, are you using delimiters to get values and is it possible that the delimiter is being used within a field in the file? If so then you might be disconnecting from the database! Can you show the error? Just a thought, Paul Honeywell Paul O'Riordan Honeywell Application Services Application Developer Industrial Park, Cork Road PeopleSoft Applications, Waterford Ireland +353-51-309856 Direct +353-51-309821 Fax +353-87-9083244 Mobile mailto:Paul.O'Riordan@honeywell.com -----Original Message----- From: Stu-Wood [mailto:SWood2@OFFICEDEPOT.COM] Sent: 16 July 2002 13:10 To: SQR-USERS@list.iex.net Subject: Read File with DB2 I am having an issue with reading a file and loading it into SQR. My process seems to consistently fail after reading a series of records, performing some DML and then attempting to continue readin recrods. I get a error return status on the subsequent read after the DML. Any ideas? Thanks, Stu Wood From owner-sqr-users@list.iex.net Tue Jul 16 09:50:01 2002 Date: Tue, 16 Jul 2002 11:36:55 -0300 From: Peter Clark Subject: Re: Read File with DB2 Have you determined that there are more than 12 records in the file? You are checking your status before you check your end of file condition ... perhaps your DML is bombing because it is trying to process a null record? >>> Stu-Wood 2002/07/16 10:59:50 am >>> Here is the code: WHILE 1 READ 1 INTO $RECORD:80 STATUS=#integer IF #integer != 0 SHOW 'Cannot Read Standard AP Invoice File' SHOW $rc_input_file SHOW 'Last Successfully Read Record: ' #record_count SHOW 'ERROR STATUS: ' #integer LET #PRCS_RUN_STATUS = #PRCS_RUN_STATUS_ERROR DO UPDATE-PRCS-RUN-STATUS STOP END-IF IF #end-file BREAK END-IF ... Here is the error: Cannot Read Standard AP Invoice File C:\TEMP\PAPS0140.DAT Last Successfully Read Record: 12 ERROR STATUS: 0 When I comment out the processing to forgo the DML, it reads the file fine. Thanks, Stu -----Original Message----- From: O'riordan, Paul (EI05) [mailto:Paul.O'riordan@HONEYWELL.COM] Sent: Tuesday, July 16, 2002 8:29 AM To: SQR-USERS@list.iex.net Subject: Re: Read File with DB2 Perhaps your file is not consistant, are you using delimiters to get values and is it possible that the delimiter is being used within a field in the file? If so then you might be disconnecting from the database! Can you show the error? Just a thought, Paul Honeywell Paul O'Riordan Honeywell Application Services Application Developer Industrial Park, Cork Road PeopleSoft Applications, Waterford Ireland +353-51-309856 Direct +353-51-309821 Fax +353-87-9083244 Mobile mailto:Paul.O'Riordan@honeywell.com -----Original Message----- From: Stu-Wood [mailto:SWood2@OFFICEDEPOT.COM] Sent: 16 July 2002 13:10 To: SQR-USERS@list.iex.net Subject: Read File with DB2 I am having an issue with reading a file and loading it into SQR. My process seems to consistently fail after reading a series of records, performing some DML and then attempting to continue readin recrods. I get a error return status on the subsequent read after the DML. Any ideas? Thanks, Stu Wood From owner-sqr-users@list.iex.net Tue Jul 16 10:42:23 2002 Date: Tue, 16 Jul 2002 17:27:22 +0200 From: Daan de Jong Subject: monitor sqr script started from unix command line, how? Hello, I wonder if anyone has experience with following problem and wants to instruct me. What´s the situation: I have an end of day batch which produces a number of interfacefiles. As soon a file is detected a sqr-script (convert and import in header and lines table) is started from command line (unix). I´d like to monitor this script via the proces monitor. This is necessary because our customer needs to see the results of the batch. We found out we had to add some records in a number of tables. I´ve added records in the following tables: PSPRCSPARMS PSPRCSQUE PSPRCSRQST and managed to get the sqr report in the monitor. However, the report is not distributed to the report directory. So, the customer is not able to see the reports. Could anyone tell me what´s wrong? Thanks in advance. regards. Daan de Jong `Externe E-Mail wordt door DNB niet gebruikt voor het aangaan van verplichtingen` `Any e-mail messages from The Nederlandsche Bank are given in good faith but shall not be binding nor shall they be construed as constituting any obligation on the part of the Bank.` From owner-sqr-users@list.iex.net Tue Jul 16 11:10:07 2002 Date: Tue, 16 Jul 2002 12:03:00 -0400 From: Prasanna Menta Subject: Re: monitor sqr script started from unix command line, how? Think you need to access security previleges/distrubution of the report in the process scheduler manager, so that the report can be seen by the user. Prasanna Daan de Jong wrote: > > Hello, > > I wonder if anyone has experience with following problem and wants to > instruct me. What´s the situation: > > I have an end of day batch which produces a number of interfacefiles. As > soon a file is detected a sqr-script (convert and import in header and > lines table) is started from command line (unix). I´d like to monitor this > script via the proces monitor. This is necessary because our customer needs > to see the results of the batch. We found out we had to add some records in > a number of tables. > > I´ve added records in the following tables: > PSPRCSPARMS > PSPRCSQUE > PSPRCSRQST > and managed to get the sqr report in the monitor. However, the report is > not distributed to the report directory. So, the customer is not able to > see the reports. > > Could anyone tell me what´s wrong? > > Thanks in advance. > > regards. > > Daan de Jong > > `Externe E-Mail wordt door DNB niet gebruikt voor het aangaan van > verplichtingen` > > `Any e-mail messages from The Nederlandsche Bank are given in good faith > but shall not be binding nor shall they be construed as constituting any > obligation > on the part of the Bank.` From owner-sqr-users@list.iex.net Mon Sep 2 10:06:04 2002 Date: Mon, 2 Sep 2002 17:09:02 +0200 From: Tshenuwani Makhari Subject: SYLK Format : Loading text file into Excell with pre-set column width Hi All, Do you have some documentation on using SYLK format for loding Excel spreadsheets. We are bussy coding an SQR report to create a file to be opened on MS-Excell, this report needs to have its column width (sizes) pre-set before opening in Excell. Which is the reason we thought SYLK format might help. Can you please advice. Regards Tshenuwani From owner-sqr-users@list.iex.net Tue Sep 3 08:52:54 2002 Date: Tue, 3 Sep 2002 14:28:48 +0100 From: Steve Hearne Subject: Re: SYLK Format : Loading text file into Excell with pre-set column width I found this link which contains some other links to the what and how of = SYLK =20 http://mail.gnome.org/archives/gnumeric-list/2000-December/msg00068.html =20 Steve >>> F.J.M.Kloprogge@FONTYS.NL 09/03/02 08:47am >>> Hi Tshenuwani, the best thing you can do is to create a sample report in Excell and save = it in SLK-format. This will give you a clue about the formats. HTH Frank Kloprogge Fontys ICT-Services DBA PeopleSoft 08778-78710 -----Oorspronkelijk bericht----- Van: Tshenuwani Makhari [mailto:tshenuwani@INFOWAVE.CO.ZA]=20 Verzonden: maandag 2 september 2002 17:09 Aan: SQR-USERS@LIST.IEX.NET=20 Onderwerp: SYLK Format : Loading text file into Excell with pre-set column width Hi All, Do you have some documentation on using SYLK format for loding Excel spreadsheets. We are bussy coding an SQR report to create a file to be opened on MS-Excell, this report needs to have its column width (sizes) pre-set before opening in Excell. Which is the reason we thought SYLK = format might help. Can you please advice. Regards Tshenuwani From owner-sqr-users@list.iex.net Wed Jul 17 01:31:31 2002 Date: Wed, 17 Jul 2002 08:25:15 +0200 From: Daan de Jong Subject: Re: monitor sqr script started from unix command line, how? Hello Prasanna, Thanks for replying. I´ll look if security is the problem. When I start the batch, the status remains POSTING. thanks Daan Prasanna Menta cc: Sent by: Subject: Re: monitor sqr script started from unix command line, how? "Discussion of SQR, Brio Software's database reporting language" 07/16/02 06:03 PM Please respond to sqr-users Think you need to access security previleges/distrubution of the report in the process scheduler manager, so that the report can be seen by the user. Prasanna Daan de Jong wrote: > > Hello, > > I wonder if anyone has experience with following problem and wants to > instruct me. What´s the situation: > > I have an end of day batch which produces a number of interfacefiles. As > soon a file is detected a sqr-script (convert and import in header and > lines table) is started from command line (unix). I´d like to monitor this > script via the proces monitor. This is necessary because our customer needs > to see the results of the batch. We found out we had to add some records in > a number of tables. > > I´ve added records in the following tables: > PSPRCSPARMS > PSPRCSQUE > PSPRCSRQST > and managed to get the sqr report in the monitor. However, the report is > not distributed to the report directory. So, the customer is not able to > see the reports. > > Could anyone tell me what´s wrong? > > Thanks in advance. > > regards. > > Daan de Jong > > `Externe E-Mail wordt door DNB niet gebruikt voor het aangaan van > verplichtingen` > > `Any e-mail messages from The Nederlandsche Bank are given in good faith > but shall not be binding nor shall they be construed as constituting any > obligation > on the part of the Bank.` `Externe E-Mail wordt door DNB niet gebruikt voor het aangaan van verplichtingen` `Any e-mail messages from The Nederlandsche Bank are given in good faith but shall not be binding nor shall they be construed as constituting any obligation on the part of the Bank.` From owner-sqr-users@list.iex.net Wed Jul 17 09:25:53 2002 Date: Wed, 17 Jul 2002 10:11:18 -0400 From: "Drouin.Mathieu" Subject: Dropping temporary tables in SYBASE Hi everybody, I am fairly new to PeopleSoft and SQR and I recently ran into this problem. 1) I create 2 tables (For some reason it won't let me create temporary tables, I put ## in front of the table name and it bombs...that's beside the point of my question anyways...) !******************************************************************** begin-setup !******************************************************************** begin-sql -XP create table PS_LEAVE_TEMP_2001 (FROM_DT CHAR(20) NOT NULL, TO_DT CHAR(20) NOT NULL, ADJUSTMT_AMT DECIMAL(18,3) NOT NULL) end-sql begin-sql -XP create table PS_LEAVE_TEMP_2002 (FROM_DT CHAR(20) NOT NULL, TO_DT CHAR(20) NOT NULL, ADJUSTMT_AMT DECIMAL(18,3) NOT NULL) end-sql end-setup 2) I Insert data into to it from 2 flat files !******************************************************************** begin-procedure A210-Populate-2001 !******************************************************************** begin-sql -XP Insert into PS_LEAVE_TEMP_2001 VALUES($From_dt, $To_dt, #Adj_amt) Commit end-sql end-procedure !******************************************************************** begin-procedure A220-Populate-2002 !******************************************************************** begin-sql -XP Insert into PS_LEAVE_TEMP_2002 VALUES($From_dt, $To_dt, #Adj_amt) Commit end-sql end-procedure 4) Finally when I am done I try to drop both tables. !******************************************************************** begin-procedure Drop-Tables !******************************************************************** begin-sql -XP Drop Table PS_LEAVE_TEMP_2001 commit end-sql begin-sql -XP Drop Table PS_LEAVE_TEMP_2002 commit end-sql end-procedure It gives me the following error message: (SQR 5528) Sybase DBRESULTS error in cursor 12: (3702) Cannot drop the table 'PS_LEAVE_TEMP_2002' because it is currently in use. Error on line 354: (SQR 3735) Could not execute SQL. SQR: Program Aborting. For some reason it won't let me drop the second table...I don't understand...if anybody could help me with this it would be much appreciated. Mathieu Drouin Peoplesoft Developement Team IMTB / Corporate Systems Citizenship & Immigration Canada Tel: (613) 946-6130 Internet: mathieu.drouin@cic.gc.ca From owner-sqr-users@list.iex.net Thu Jul 18 01:00:17 2002 Date: Thu, 18 Jul 2002 01:46:24 -0400 From: Thomas White Subject: Opening multiple files in SQR Hello, I'm simply trying to open 3 files in through my SQR and then parse them using the instr function to get data out of each of them. Once I have the particular data out of each file I move ahead in my program to do different things based on what I got out of the 3 files. The problem is that my program never tries to open the 2nd or 3rd file. I simply have something like this: open 'filename1' as 1 For-Reading Record=250:vary While not #end-file Read 1 into $input_record1:500 If #end-file Break End-if [use instr function here to parse $input_record1] end-while open 'filename2' as 2 For-Reading Record=250:vary While not #end-file Read 2 into $input_record2:500 If #end-file Break End-if [use instr function here to parse $input_record2] end-while >From here I simply want to take the pieces of data I parsed out of the file and stored in the variables and use them...however according to my show statements file 2 is never opened and processed. What am I doing wrong? How can I open up multiple files and then use what I get from the files later in my program? Thanks Tom From owner-sqr-users@list.iex.net Thu Jul 18 01:34:19 2002 Date: Thu, 18 Jul 2002 14:29:56 +0800 From: Galicinao Emil-r36013 Subject: Re: Opening multiple files in SQR Hi Tom, Looks like the remaining files are being opened but not being read. My guess is that you should initialize #end-file to 0 again (let #end-file = 0) before opening the second and the third files. Remember that the #end-file has been set to 1 after the reading the first file. Hope this helps. Best Regards, Emil -----Original Message----- From: Thomas White [mailto:MBAUTIGER@AOL.COM] Sent: Thursday, July 18, 2002 1:46 PM To: SQR-USERS@list.iex.net Subject: Opening multiple files in SQR Hello, I'm simply trying to open 3 files in through my SQR and then parse them using the instr function to get data out of each of them. Once I have the particular data out of each file I move ahead in my program to do different things based on what I got out of the 3 files. The problem is that my program never tries to open the 2nd or 3rd file. I simply have something like this: open 'filename1' as 1 For-Reading Record=250:vary While not #end-file Read 1 into $input_record1:500 If #end-file Break End-if [use instr function here to parse $input_record1] end-while open 'filename2' as 2 For-Reading Record=250:vary While not #end-file Read 2 into $input_record2:500 If #end-file Break End-if [use instr function here to parse $input_record2] end-while >From here I simply want to take the pieces of data I parsed out of the file and stored in the variables and use them...however according to my show statements file 2 is never opened and processed. What am I doing wrong? How can I open up multiple files and then use what I get from the files later in my program? Thanks Tom From owner-sqr-users@list.iex.net Thu Jul 18 04:20:57 2002 Date: Thu, 18 Jul 2002 11:11:12 +0200 From: "O'riordan, Paul (EI05)" Subject: Re: Opening multiple files in SQR Hi Tom, This is what I do. I call one procedure to open all files and if a problem exists it shows up here. Next I call a procedure to Read the files. As has been mentioned - you must re-initialise your #end-file variable between each file read IF you you don't need there to be an equal amount of records in each file. Do you load your files into an array or table? If so then perhaps you should call a seperate procedure for each file read. This will also help to make it more maintainable and easier to debug. In fact you should probably do this anyway and set flags to 'Y' or 'N'. if #end-file let $EOF_Input1 = 'Y' etc.. for each. Then While 1 Read 1 into ?????? If $EOF_Input1 = 'Y' Break End-if Read 2 into ???? If $EOF_Input2 = 'Y' Break End-if I hope this helps in some way. !************************************************************************** Begin-Procedure P0003_Open_Files #Debug Show '{SQRName} :- P0003_Open_Files' Let $Inputfilename1 = '{Import_Dir}{Path_Delim}{infile1}' Open $Inputfilename1 As 1 For-Reading Record=80:Vary Status=#Infilestatus If #Infilestatus <> 0 Show 'SHPS Dirbill Input Interface File Open Failed ' $Inputfilename1 Show ' - Terminating Sqr' Stop Quiet Else Show $Inputfilename1 ' opened successfully' End-If Let $Inputfilename2 = '{Import_Dir}{Path_Delim}{infile2}' Open $Inputfilename2 As 2 For-Reading Record=80:Vary Status=#Infilestatus2 If #Infilestatus2 <> 0 Show 'SHPS Dirbill Input Interface File Open Failed ' $Inputfilename2 Show ' - Terminating Sqr' Stop Quiet Else Show $Inputfilename2 ' opened successfully' End-If Let $Inputfilename3 = '{Import_Dir}{Path_Delim}{infile3}' Open $Inputfilename3 As 3 For-Reading Record=80:Vary Status=#Infilestatus3 If #Infilestatus3 <> 0 Show 'SHPS Dirbill Input Interface File Open Failed ' $Inputfilename3 Show ' - Terminating Sqr' Stop Quiet Else Show $Inputfilename3 ' opened successfully' End-If Let #Rec_Cnt = 0 End-Procedure P0003_Open_Files Honeywell Paul O'Riordan Honeywell Application Services Application Developer Industrial Park, Cork Road PeopleSoft Applications, Waterford Ireland +353-51-309856 Direct +353-51-309821 Fax +353-87-9083244 Mobile mailto:Paul.O'Riordan@honeywell.com -----Original Message----- From: Thomas White [mailto:MBAUTIGER@AOL.COM] Sent: 18 July 2002 06:46 To: SQR-USERS@list.iex.net Subject: Opening multiple files in SQR Hello, I'm simply trying to open 3 files in through my SQR and then parse them using the instr function to get data out of each of them. Once I have the particular data out of each file I move ahead in my program to do different things based on what I got out of the 3 files. The problem is that my program never tries to open the 2nd or 3rd file. I simply have something like this: open 'filename1' as 1 For-Reading Record=250:vary While not #end-file Read 1 into $input_record1:500 If #end-file Break End-if [use instr function here to parse $input_record1] end-while open 'filename2' as 2 For-Reading Record=250:vary While not #end-file Read 2 into $input_record2:500 If #end-file Break End-if [use instr function here to parse $input_record2] end-while >From here I simply want to take the pieces of data I parsed out of the file and stored in the variables and use them...however according to my show statements file 2 is never opened and processed. What am I doing wrong? How can I open up multiple files and then use what I get from the files later in my program? Thanks Tom From owner-sqr-users@list.iex.net Thu Jul 18 07:57:13 2002 Date: Thu, 18 Jul 2002 08:52:39 -0400 From: Denise White Subject: Re: Opening multiple files in SQR Hi Tom, This is a guess, but maybe you have to reset #end-file each time. Are you sure that the files are not even being opened, or could they be opened, but the read is never executed because #end-file is already set from the first file? Denise White Sr. Software Engineer Vicor ------------------------------ Date: Thu, 18 Jul 2002 01:46:24 -0400 From: Thomas White Subject: Opening multiple files in SQR Hello, I'm simply trying to open 3 files in through my SQR and then parse them using the instr function to get data out of each of them. Once I have the particular data out of each file I move ahead in my program to do different things based on what I got out of the 3 files. The problem is that my program never tries to open the 2nd or 3rd file. I simply have something like this: open 'filename1' as 1 For-Reading Record=250:vary While not #end-file Read 1 into $input_record1:500 If #end-file Break End-if [use instr function here to parse $input_record1] end-while open 'filename2' as 2 For-Reading Record=250:vary While not #end-file Read 2 into $input_record2:500 If #end-file Break End-if [use instr function here to parse $input_record2] end-while >From here I simply want to take the pieces of data I parsed out of the file and stored in the variables and use them...however according to my show statements file 2 is never opened and processed. What am I doing wrong? How can I open up multiple files and then use what I get from the files later in my program? Thanks Tom From owner-sqr-users@list.iex.net Thu Jul 18 08:22:17 2002 Date: Thu, 18 Jul 2002 10:15:47 -0300 From: Peter Clark Subject: Re: Opening multiple files in SQR Tom, you seem to be processing only one file at a time, so perhaps closing file 1 before opening file 2 would alleviate the problem for you without having to play with reserved variables. >>> Denise White 2002/07/18 9:52:39 am >>> Hi Tom, This is a guess, but maybe you have to reset #end-file each time. Are you sure that the files are not even being opened, or could they be opened, but the read is never executed because #end-file is already set from the first file? Denise White Sr. Software Engineer Vicor ------------------------------ Date: Thu, 18 Jul 2002 01:46:24 -0400 From: Thomas White Subject: Opening multiple files in SQR Hello, I'm simply trying to open 3 files in through my SQR and then parse them using the instr function to get data out of each of them. Once I have the particular data out of each file I move ahead in my program to do different things based on what I got out of the 3 files. The problem is that my program never tries to open the 2nd or 3rd file. I simply have something like this: open 'filename1' as 1 For-Reading Record=250:vary While not #end-file Read 1 into $input_record1:500 If #end-file Break End-if [use instr function here to parse $input_record1] end-while open 'filename2' as 2 For-Reading Record=250:vary While not #end-file Read 2 into $input_record2:500 If #end-file Break End-if [use instr function here to parse $input_record2] end-while >From here I simply want to take the pieces of data I parsed out of the file and stored in the variables and use them...however according to my show statements file 2 is never opened and processed. What am I doing wrong? How can I open up multiple files and then use what I get from the files later in my program? Thanks Tom From owner-sqr-users@list.iex.net Thu Jul 18 08:30:40 2002 Date: Thu, 18 Jul 2002 08:25:40 -0500 From: "Knapp, Richard" Subject: Re: Opening multiple files in SQR Try something like: while 1 to start your loop. Richard Knapp Database Programmer/Analyst Administrative Systems Project University of Missouri System 573-884-3157 knappr@umsystem.edu -----Original Message----- From: Peter Clark [mailto:PGCLARK@VAC-ACC.GC.CA] Sent: Thursday, July 18, 2002 8:16 AM To: SQR-USERS@list.iex.net Subject: Re: Opening multiple files in SQR Tom, you seem to be processing only one file at a time, so perhaps closing file 1 before opening file 2 would alleviate the problem for you without having to play with reserved variables. >>> Denise White 2002/07/18 9:52:39 am >>> Hi Tom, This is a guess, but maybe you have to reset #end-file each time. Are you sure that the files are not even being opened, or could they be opened, but the read is never executed because #end-file is already set from the first file? Denise White Sr. Software Engineer Vicor ------------------------------ Date: Thu, 18 Jul 2002 01:46:24 -0400 From: Thomas White Subject: Opening multiple files in SQR Hello, I'm simply trying to open 3 files in through my SQR and then parse them using the instr function to get data out of each of them. Once I have the particular data out of each file I move ahead in my program to do different things based on what I got out of the 3 files. The problem is that my program never tries to open the 2nd or 3rd file. I simply have something like this: open 'filename1' as 1 For-Reading Record=250:vary While not #end-file Read 1 into $input_record1:500 If #end-file Break End-if [use instr function here to parse $input_record1] end-while open 'filename2' as 2 For-Reading Record=250:vary While not #end-file Read 2 into $input_record2:500 If #end-file Break End-if [use instr function here to parse $input_record2] end-while >From here I simply want to take the pieces of data I parsed out of the file and stored in the variables and use them...however according to my show statements file 2 is never opened and processed. What am I doing wrong? How can I open up multiple files and then use what I get from the files later in my program? Thanks Tom From owner-sqr-users@list.iex.net Thu Jul 18 08:41:47 2002 Date: Thu, 18 Jul 2002 08:34:16 -0500 From: Ray Ontko Subject: Re: Opening multiple files in SQR Richard has the correct answer, but perhaps a bit of explanation would help. The #end-file variable gets set _after_ a READ. When SQR gets to the second loop, the #end-file variable is true because the last read it attempted (from the previous loop) failed due to end of the first file. Instead of this: > open 'filename1' as 1 For-Reading Record=250:vary > While not #end-file > Read 1 into $input_record1:500 > If #end-file > Break > End-if > [use instr function here to parse $input_record1] > end-while Do This: open 'filename1' as 1 For-Reading Record=250:vary While 1 Read 1 into $input_record1:500 If #end-file Break End-if [use instr function here to parse $input_record1] end-while Ray [Charset iso-8859-1 unsupported, filtering to ASCII...] > Try something like: > > while 1 > > to start your loop. > > Richard Knapp > Database Programmer/Analyst > Administrative Systems Project > University of Missouri System > 573-884-3157 > knappr@umsystem.edu > > > -----Original Message----- > From: Peter Clark [mailto:PGCLARK@VAC-ACC.GC.CA] > Sent: Thursday, July 18, 2002 8:16 AM > To: SQR-USERS@list.iex.net > Subject: Re: Opening multiple files in SQR > > > Tom, you seem to be processing only one file at a time, so perhaps closing file 1 before opening file 2 would alleviate the problem for you without having to play with reserved variables. > > >>> Denise White 2002/07/18 9:52:39 am >>> > Hi Tom, > > This is a guess, but maybe you have to reset #end-file each time. Are you sure > that the files are not even being opened, or could they be opened, but the read > is never executed because #end-file is already set from the first file? > > Denise White > Sr. Software Engineer > Vicor > ------------------------------ > > Date: Thu, 18 Jul 2002 01:46:24 -0400 > From: Thomas White > Subject: Opening multiple files in SQR > > Hello, > > I'm simply trying to open 3 files in through my SQR and then parse them using > the instr function to get data out of each of them. Once I have the particular > data out of each file I move ahead in my program to do different things based on > what I got out of the 3 files. The problem is that my program never tries to > open the 2nd or 3rd file. > I simply have something like this: > > open 'filename1' as 1 For-Reading Record=250:vary > While not #end-file > Read 1 into $input_record1:500 > If #end-file > Break > End-if > [use instr function here to parse $input_record1] > end-while > > open 'filename2' as 2 For-Reading Record=250:vary > While not #end-file > Read 2 into $input_record2:500 > If #end-file > Break > End-if > [use instr function here to parse $input_record2] > end-while > > >From here I simply want to take the pieces of data I parsed out of the file and > stored in the variables and use them...however according to my show statements > file 2 is never opened and processed. What am I doing wrong? How can I open up > multiple files and then use what I get from the files later in my program? > > Thanks > Tom > ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ From owner-sqr-users@list.iex.net Thu Jul 18 08:41:41 2002 Date: Thu, 18 Jul 2002 09:34:08 -0400 From: "Drouin.Mathieu" Subject: Re: Opening multiple files in SQR That won't do anything. I had the same problem 2 days ago, I was closing the file but it never wanted to open the second flat file because the #end-file was set to 1. You must set the #end-file=0 and it will solve your problem. -----Original Message----- From: Peter Clark [mailto:PGCLARK@VAC-ACC.GC.CA] Sent: July 18, 2002 9:16 AM To: SQR-USERS@list.iex.net Subject: Re: Opening multiple files in SQR Tom, you seem to be processing only one file at a time, so perhaps closing file 1 before opening file 2 would alleviate the problem for you without having to play with reserved variables. >>> Denise White 2002/07/18 9:52:39 am >>> Hi Tom, This is a guess, but maybe you have to reset #end-file each time. Are you sure that the files are not even being opened, or could they be opened, but the read is never executed because #end-file is already set from the first file? Denise White Sr. Software Engineer Vicor ------------------------------ Date: Thu, 18 Jul 2002 01:46:24 -0400 From: Thomas White Subject: Opening multiple files in SQR Hello, I'm simply trying to open 3 files in through my SQR and then parse them using the instr function to get data out of each of them. Once I have the particular data out of each file I move ahead in my program to do different things based on what I got out of the 3 files. The problem is that my program never tries to open the 2nd or 3rd file. I simply have something like this: open 'filename1' as 1 For-Reading Record=250:vary While not #end-file Read 1 into $input_record1:500 If #end-file Break End-if [use instr function here to parse $input_record1] end-while open 'filename2' as 2 For-Reading Record=250:vary While not #end-file Read 2 into $input_record2:500 If #end-file Break End-if [use instr function here to parse $input_record2] end-while >From here I simply want to take the pieces of data I parsed out of the file and stored in the variables and use them...however according to my show statements file 2 is never opened and processed. What am I doing wrong? How can I open up multiple files and then use what I get from the files later in my program? Thanks Tom From owner-sqr-users@list.iex.net Thu Jul 18 08:56:37 2002 Date: Thu, 18 Jul 2002 08:51:43 -0500 From: "Knapp, Richard" Subject: Re: Opening multiple files in SQR Here's something that works: begin-program do main end-program begin-procedure main open 'c:\sqr\file1.txt' as 1 for-reading record=80:vary open 'c:\sqr\file2.txt' as 2 for-reading record=80:vary open 'c:\sqr\file3.txt' as 3 for-reading record=80:vary while 1 read 1 into $rec1:80 if #end-file break end-if display $rec1 end-while while 1 read 2 into $rec2:80 if #end-file break end-if display $rec2 end-while while 1 read 3 into $rec3:80 if #end-file break end-if display $rec3 end-while end-procedure Richard Knapp Database Programmer/Analyst Administrative Systems Project University of Missouri System 573-884-3157 knappr@umsystem.edu -----Original Message----- From: Drouin.Mathieu [mailto:Mathieu.Drouin@CIC.GC.CA] Sent: Thursday, July 18, 2002 8:34 AM To: SQR-USERS@list.iex.net Subject: Re: Opening multiple files in SQR That won't do anything. I had the same problem 2 days ago, I was closing the file but it never wanted to open the second flat file because the #end-file was set to 1. You must set the #end-file=0 and it will solve your problem. -----Original Message----- From: Peter Clark [mailto:PGCLARK@VAC-ACC.GC.CA] Sent: July 18, 2002 9:16 AM To: SQR-USERS@list.iex.net Subject: Re: Opening multiple files in SQR Tom, you seem to be processing only one file at a time, so perhaps closing file 1 before opening file 2 would alleviate the problem for you without having to play with reserved variables. >>> Denise White 2002/07/18 9:52:39 am >>> Hi Tom, This is a guess, but maybe you have to reset #end-file each time. Are you sure that the files are not even being opened, or could they be opened, but the read is never executed because #end-file is already set from the first file? Denise White Sr. Software Engineer Vicor ------------------------------ Date: Thu, 18 Jul 2002 01:46:24 -0400 From: Thomas White Subject: Opening multiple files in SQR Hello, I'm simply trying to open 3 files in through my SQR and then parse them using the instr function to get data out of each of them. Once I have the particular data out of each file I move ahead in my program to do different things based on what I got out of the 3 files. The problem is that my program never tries to open the 2nd or 3rd file. I simply have something like this: open 'filename1' as 1 For-Reading Record=250:vary While not #end-file Read 1 into $input_record1:500 If #end-file Break End-if [use instr function here to parse $input_record1] end-while open 'filename2' as 2 For-Reading Record=250:vary While not #end-file Read 2 into $input_record2:500 If #end-file Break End-if [use instr function here to parse $input_record2] end-while >From here I simply want to take the pieces of data I parsed out of the file and stored in the variables and use them...however according to my show statements file 2 is never opened and processed. What am I doing wrong? How can I open up multiple files and then use what I get from the files later in my program? Thanks Tom From owner-sqr-users@list.iex.net Thu Jul 18 09:11:07 2002 Date: Thu, 18 Jul 2002 09:58:22 -0400 From: Thomas White Subject: Re: Opening multiple files in SQR Hello Everyone, Thank you very much for your responses. Looks like you hit it on the head with resetting the #end-file to 0. Everything is working after that, and I may change it some to make it better per some of your responses. thanks From owner-sqr-users@list.iex.net Thu Jul 18 09:35:10 2002 Date: Thu, 18 Jul 2002 08:25:14 -0600 From: "Merritt, Bruce" Subject: Re: Opening multiple files in SQR Tom, Try putting a close(file#) at the end of the while loop. Bruce -----Original Message----- From: Thomas White [mailto:MBAUTIGER@AOL.COM] Sent: Wednesday, July 17, 2002 11:46 PM To: SQR-USERS@list.iex.net Subject: Opening multiple files in SQR Hello, I'm simply trying to open 3 files in through my SQR and then parse them using the instr function to get data out of each of them. Once I have the particular data out of each file I move ahead in my program to do different things based on what I got out of the 3 files. The problem is that my program never tries to open the 2nd or 3rd file. I simply have something like this: open 'filename1' as 1 For-Reading Record=250:vary While not #end-file Read 1 into $input_record1:500 If #end-file Break End-if [use instr function here to parse $input_record1] end-while open 'filename2' as 2 For-Reading Record=250:vary While not #end-file Read 2 into $input_record2:500 If #end-file Break End-if [use instr function here to parse $input_record2] end-while >From here I simply want to take the pieces of data I parsed out of the file and stored in the variables and use them...however according to my show statements file 2 is never opened and processed. What am I doing wrong? How can I open up multiple files and then use what I get from the files later in my program? Thanks Tom From owner-sqr-users@list.iex.net Thu Jul 18 18:54:07 2002 Date: Thu, 18 Jul 2002 19:46:24 -0400 From: Dan Vega Subject: Re: Dropping temporary tables in SYBASE Hi Mathieu, Here are some possibilities for the error message you are getting when attempting to drop the table. SQR for Sybase has the option of assigning each SQL statement to a separate session. This is how SQR simulated cursors in Sybase before Sybase really supported cursors. It is possible that your INSERT statement was assigned to a different session than your DROP TABLE statement, and perhaps things are getting overlapped between the 2 sessions. This can be controlled with the -C option in the BEGIN-SQL and BEGIN-SELECT statements. You pick a number to assign to each session. I usually start with a high number to try to avoid collisions with session numbers used by SQR. So for example, try using session number 5 for all SQL blocks that reference the PS_LEAVE_TEMP_2002 table. To create the table, you would use: begin-sql -XP -C5 create table PS_LEAVE_TEMP_2002 [blah blah] end-sql To insert into the table you would use: begin-sql -XP -C5 Insert into PS_LEAVE_TEMP_2002 [blah blah] end-sql To drop the table you would use: begin-sql -XP -C5 Drop Table PS_LEAVE_TEMP_2002 [blah blah] end-sql To select from this table you would use: begin-select -C5 [blah blah] from PS_LEAVE_TEMP_2002 [blah blah] end-select See if this helps. This may also be the reason your program was blowing up on the temp tables. You must create and access a temp table in the same session. Try assigning the same session number to every BEGIN-SQL and BEGIN-SELECT block that uses a temp table. If you have nested BEGIN-SELECT or BEGIN-SQL blocks (i.e. called from within a BEGIN-SELECT loop,) you must make sure that the nested session numbers don't reuse a session number from an outer loop. If you must join 2 temp tables, they must be created in the same session. Also, most Sybase databases default to "chained" mode off. This is the equivalent of auto-commit. So unless you are explicitly using BEGIN TRANSACTION boundaries yourself, you probably don't need the COMMIT statements. You can check this with the following SQL statement: select @@tranchained The result will be 0 meaning unchained (auto-commit) or 1 meaning chained (implicit BEGIN TRANSACTION for every SQL DML statement.) If your session is unchained and you are not doing your own BEGIN TRANSACTIONs, then you don't need the COMMITs. If you do need the COMMITs, I have found that I need to separate SQL statements in a BEGIN-SQL block with semicolons. So for example your INSERT statement would be: begin-sql -XP -C5 Insert into PS_LEAVE_TEMP_2002 VALUES($From_dt, $To_dt, #Adj_amt); Commit end-sql Do this in every BEGIN-SQL block that has more than one SQL statement. Terminate the end of every SQL statement within the BEGIN-SQL block with a a semicolon. The semicolon after the last SQL statement in the block is optional. HTH. Dan Vega CASSI Computer Consulting Avon, MA USA From owner-sqr-users@list.iex.net Thu Jul 18 18:55:43 2002 Date: Thu, 18 Jul 2002 19:50:21 -0400 From: Dan Vega Subject: Re: Opening multiple files in SQR Hi Tom, Try MOVE 0 TO #END-FILE before opening filename2 and 3. HTH Dan Vega CASSI Computer Consulting Avon, MA USA From owner-sqr-users@list.iex.net Thu Jul 18 09:35:10 2002 Date: Thu, 18 Jul 2002 09:27:53 -0500 From: Ray Ontko Subject: sqr enhancements SQR Enthusiasts, I'm thinking about updating my page of Suggested Enhancements for SQR and am looking for fresh ideas. What would make SQR even more useful to your organization? What would make your job easier? Are there projects within your organization where SQR was not chosen but would have if it had just one thing added? If you could add a few features to SQR or Brio Report Builder (BRB), what would they be? Some ideas to spark your imagination: Full-featured IDE for SQR (including debugger support) Java-based extensibility for SQR (like ucall and ufunc) Support for your favorite database or platform SPF viewers for XWindows and Macintosh BRB for Xwindows and Macintosh Toolkit for interfacing directly with MQ Series Toolkit for interfacing directly with mail systems Where do you to go with SQR today? The existing ideas can be seen at: http://www.ontko.com/sqr/enhancements.html Ray ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ From owner-sqr-users@list.iex.net Thu Jul 18 10:39:10 2002 Date: Thu, 18 Jul 2002 08:29:35 -0700 From: Allen Cunningham Subject: Re: sqr enhancements Isn't this kind of a moot point since the party line in Pleasanton is that SQR will completely go away in Version 9?? ac Allen Cunningham Sonoma State University -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Ray Ontko Sent: Thursday, July 18, 2002 7:28 AM To: SQR-USERS@list.iex.net Subject: sqr enhancements SQR Enthusiasts, I'm thinking about updating my page of Suggested Enhancements for SQR and am looking for fresh ideas. What would make SQR even more useful to your organization? What would make your job easier? Are there projects within your organization where SQR was not chosen but would have if it had just one thing added? If you could add a few features to SQR or Brio Report Builder (BRB), what would they be? Some ideas to spark your imagination: Full-featured IDE for SQR (including debugger support) Java-based extensibility for SQR (like ucall and ufunc) Support for your favorite database or platform SPF viewers for XWindows and Macintosh BRB for Xwindows and Macintosh Toolkit for interfacing directly with MQ Series Toolkit for interfacing directly with mail systems Where do you to go with SQR today? The existing ideas can be seen at: http://www.ontko.com/sqr/enhancements.html Ray ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ From owner-sqr-users@list.iex.net Thu Jul 18 10:45:15 2002 Date: Thu, 18 Jul 2002 17:34:27 +0200 From: "O'riordan, Paul (EI05)" Subject: Re: sqr enhancements SQr is not a peoplesoft product and is used by many other applications Honeywell Paul O'Riordan Honeywell Application Services Application Developer Industrial Park, Cork Road PeopleSoft Applications, Waterford Ireland +353-51-309856 Direct +353-51-309821 Fax +353-87-9083244 Mobile mailto:Paul.O'Riordan@honeywell.com -----Original Message----- From: Allen Cunningham [mailto:allen.cunningham@SONOMA.EDU] Sent: 18 July 2002 16:30 To: SQR-USERS@list.iex.net Subject: Re: sqr enhancements Isn't this kind of a moot point since the party line in Pleasanton is that SQR will completely go away in Version 9?? ac Allen Cunningham Sonoma State University -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Ray Ontko Sent: Thursday, July 18, 2002 7:28 AM To: SQR-USERS@list.iex.net Subject: sqr enhancements SQR Enthusiasts, I'm thinking about updating my page of Suggested Enhancements for SQR and am looking for fresh ideas. What would make SQR even more useful to your organization? What would make your job easier? Are there projects within your organization where SQR was not chosen but would have if it had just one thing added? If you could add a few features to SQR or Brio Report Builder (BRB), what would they be? Some ideas to spark your imagination: Full-featured IDE for SQR (including debugger support) Java-based extensibility for SQR (like ucall and ufunc) Support for your favorite database or platform SPF viewers for XWindows and Macintosh BRB for Xwindows and Macintosh Toolkit for interfacing directly with MQ Series Toolkit for interfacing directly with mail systems Where do you to go with SQR today? The existing ideas can be seen at: http://www.ontko.com/sqr/enhancements.html Ray ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ From owner-sqr-users@list.iex.net Thu Jul 18 10:58:51 2002 Date: Thu, 18 Jul 2002 10:48:47 -0500 From: "Sengupta, Rajib (CC-Contractor)" Subject: Re: sqr enhancements Allen, Yes we all heard about this , but still I don't think it's entirely possible. Mainly all the installation who have Psoft 7.5 , 8 and heavily depends on SQR.while upgrading to 9 or future version they will like to keep the existing customized SQRs as far as possible. Rajib Sengupta ConAgra Business Systems Peoplesoft AR and Order Management 222 South 15th St,North Tower(CT-930) Omaha NE 68102 Phone: (402) 595-7928,Fax: (402) 595-7024 -----Original Message----- From: Allen Cunningham [mailto:allen.cunningham@SONOMA.EDU] Sent: Thursday, July 18, 2002 10:30 AM To: SQR-USERS@list.iex.net Subject: Re: sqr enhancements Isn't this kind of a moot point since the party line in Pleasanton is that SQR will completely go away in Version 9?? ac Allen Cunningham Sonoma State University -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Ray Ontko Sent: Thursday, July 18, 2002 7:28 AM To: SQR-USERS@list.iex.net Subject: sqr enhancements SQR Enthusiasts, I'm thinking about updating my page of Suggested Enhancements for SQR and am looking for fresh ideas. What would make SQR even more useful to your organization? What would make your job easier? Are there projects within your organization where SQR was not chosen but would have if it had just one thing added? If you could add a few features to SQR or Brio Report Builder (BRB), what would they be? Some ideas to spark your imagination: Full-featured IDE for SQR (including debugger support) Java-based extensibility for SQR (like ucall and ufunc) Support for your favorite database or platform SPF viewers for XWindows and Macintosh BRB for Xwindows and Macintosh Toolkit for interfacing directly with MQ Series Toolkit for interfacing directly with mail systems Where do you to go with SQR today? The existing ideas can be seen at: http://www.ontko.com/sqr/enhancements.html Ray ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ From owner-sqr-users@list.iex.net Thu Jul 18 10:56:04 2002 Date: Thu, 18 Jul 2002 10:51:04 -0500 From: the dragon Subject: Re: sqr enhancements Let's keep in mind that SQR is not *only* built for Peoplesoft or Maximo or any other particular application or paltform. It is independent of all those considerations. The product will continue, even without Peoplesoft, because it is so robust and non-propietary for RDBMS. Also, even if it does 'go away' from peoplesoft, that doesn't mean you have to stop using it..... clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." Carl Sandburg (1878 - 1967) ----Original Message Follows---- Isn't this kind of a moot point since the party line in Pleasanton is that SQR will completely go away in Version 9?? ac Allen Cunningham Sonoma State University -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Ray Ontko Sent: Thursday, July 18, 2002 7:28 AM To: SQR-USERS@list.iex.net Subject: sqr enhancements SQR Enthusiasts, I'm thinking about updating my page of Suggested Enhancements for SQR and am looking for fresh ideas. What would make SQR even more useful to your organization? What would make your job easier? Are there projects within your organization where SQR was not chosen but would have if it had just one thing added? If you could add a few features to SQR or Brio Report Builder (BRB), what would they be? Some ideas to spark your imagination: Full-featured IDE for SQR (including debugger support) Java-based extensibility for SQR (like ucall and ufunc) Support for your favorite database or platform SPF viewers for XWindows and Macintosh BRB for Xwindows and Macintosh Toolkit for interfacing directly with MQ Series Toolkit for interfacing directly with mail systems Where do you to go with SQR today? The existing ideas can be seen at: http://www.ontko.com/sqr/enhancements.html Ray ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com From owner-sqr-users@list.iex.net Thu Jul 18 11:12:20 2002 Date: Thu, 18 Jul 2002 09:08:02 -0700 From: Amy Harvel Subject: Re: sqr enhancements --=_mixed 00589DCE07256BFA_= Content-Type: multipart/alternative; boundary="=_alternative 00589DD007256BFA_=" --=_alternative 00589DD007256BFA_= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable PeopleSoft couldn't prevent us from purchasing SQR internally, and=20 continuing to use it (Could they??). We have over 1000 custom SQR's (and = growing daily). There is no way on earth we would ever re-write them, if=20 we could get around it. Amy=20 the dragon Sent by: "Discussion of SQR, Brio Software's database reporting language"=20 07/18/2002 08:51 AM Please respond to sqr-users =20 To: SQR-USERS@list.iex.net cc:=20 Subject: Re: sqr enhancements Let's keep in mind that SQR is not *only* built for Peoplesoft or Maximo=20 or any other particular application or paltform. It is independent of all those considerations. The product will continue, even without Peoplesoft, because it is so robust and non-propietary for RDBMS. Also, even if it=20 does 'go away' from peoplesoft, that doesn't mean you have to stop using=20 it..... clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting=20 your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." Carl Sandburg (1878 - 1967) ----Original Message Follows---- Isn't this kind of a moot point since the party line in Pleasanton is that SQR will completely go away in Version 9?? ac Allen Cunningham Sonoma State University -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Ray Ontko Sent: Thursday, July 18, 2002 7:28 AM To: SQR-USERS@list.iex.net Subject: sqr enhancements SQR Enthusiasts, I'm thinking about updating my page of Suggested Enhancements for SQR and am looking for fresh ideas. What would make SQR even more useful to your organization? What would make your job easier? Are there projects within your organization where SQR was not chosen but would have if it had just one thing added? If you could add a few features to SQR or Brio Report Builder (BRB), what would they be? Some ideas to spark your imagination: Full-featured IDE for SQR (including debugger support) Java-based extensibility for SQR (like ucall and ufunc) Support for your favorite database or platform SPF viewers for XWindows and Macintosh BRB for Xwindows and Macintosh Toolkit for interfacing directly with MQ Series Toolkit for interfacing directly with mail systems Where do you to go with SQR today? The existing ideas can be seen at: http://www.ontko.com/sqr/enhancements.html Ray ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com --=_alternative 00589DD007256BFA_= Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
PeopleSoft couldn't prevent us from = purchasing SQR internally, and continuing to use it (Could they??).  W= e have over 1000  custom SQR's (and growing daily).  There is no = way on earth we would ever re-write them, if we could get around it.


Amy



the dragon <ceprn@HOTMAIL.COM&= gt;
Sent by: "Discussion of SQR, Br= io Software's database reporting language" <SQR-USERS@list.iex.net&= gt;

07/18/2002 08:51 AM
Please respond to sqr-users

       
        To: &nbs= p;      SQR-USERS@list.iex.net
        cc: &nbs= p;      
        Subject:=        Re: sqr enhancements



Let's keep in mind that SQR is not = *only* built for Peoplesoft or Maximo or
any other particular application or paltform.  It is independent of al= l
those considerations.  The product will continue, even without Peoples= oft,
because it is so robust and non-propietary for RDBMS.  Also, even if i= t does
'go away' from peoplesoft, that doesn't mean you have to stop using it.....=

clark 'the dragon' willis

PSA: Salary <> Slavery.  If you earn a salary, your employer is = renting your
services for 40 hours a week, not purchasing your soul.  Your time is = the
only real finite asset that you have, and once used it can never be
recovered, so don't waste it by giving it away.

"Time is the coin of your life. It is the only coin you
have, and only you can determine how it will be spent.
Be careful lest you let other people spend it for you."

Carl Sandburg
(1878 - 1967)


----Original Message Follows----

Isn't this kind of a moot point since the party line in Pleasanton is that<= br> SQR will completely go away in Version 9??

ac

Allen Cunningham
Sonoma State University

-----Original Message-----
From: Discussion of SQR, Brio Software's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Ray Ontko
Sent: Thursday, July 18, 2002 7:28 AM
To: SQR-USERS@list.iex.net
Subject: sqr enhancements


SQR Enthusiasts,

I'm thinking about updating my page of Suggested Enhancements for SQR
and am looking for fresh ideas.  What would make SQR even more useful<= br> to your organization?  What would make your job easier?  Are ther= e
projects within your organization where SQR was not chosen but would
have if it had just one thing added?  If you could add a few features<= br> to SQR or Brio Report Builder (BRB), what would they be?

Some ideas to spark your imagination:

  Full-featured IDE for SQR (including debugger support)
  Java-based extensibility for SQR (like ucall and ufunc)
  Support for your favorite database or platform
  SPF viewers for XWindows and Macintosh
  BRB for Xwindows and Macintosh
  Toolkit for interfacing directly with MQ Series
  Toolkit for interfacing directly with mail systems

Where do you to go with SQR today?

The existing ideas can be seen at:

  http://www.ontko.com/sqr/enhancements.html

Ray
----------------------------------------------------------------------
Ray Ontko   rayo@ontko.com   Phone 1.765.935.4283   Fax 1.76= 5.962.9788
Ray Ontko & Co.   Software Consulting Services   http://www.o= ntko.com/






=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Join the world's largest e-mail service with MSN Hotmail.
http://www.hotmail.com



--=_alternative 00589DD007256BFA_=-- --=_mixed 00589DCE07256BFA_= Content-Type: text/plain; name="InterScan_SafeStamp.txt" Content-Disposition: attachment; filename="InterScan_SafeStamp.txt" Content-Transfer-Encoding: quoted-printable ****** Message from InterScan E-Mail VirusWall NT ****** ** No virus found in attached file noname.htm This message has been scanned by City of Phoenix virus protection ***************** End of message *************** --=_mixed 00589DCE07256BFA_=-- From owner-sqr-users@list.iex.net Thu Jul 18 11:25:22 2002 Date: Thu, 18 Jul 2002 12:15:15 -0400 From: "Weaver, Judith R" Subject: Re: sqr enhancements If I could have only one it would be this: Variables must be declared before use. - this is in your original list. -----Original Message----- From: Ray Ontko [mailto:rayo@ONTKO.COM] Sent: Thursday, July 18, 2002 10:28 AM To: SQR-USERS@list.iex.net Subject: sqr enhancements SQR Enthusiasts, I'm thinking about updating my page of Suggested Enhancements for SQR and am looking for fresh ideas. What would make SQR even more useful to your organization? What would make your job easier? Are there projects within your organization where SQR was not chosen but would have if it had just one thing added? If you could add a few features to SQR or Brio Report Builder (BRB), what would they be? Some ideas to spark your imagination: Full-featured IDE for SQR (including debugger support) Java-based extensibility for SQR (like ucall and ufunc) Support for your favorite database or platform SPF viewers for XWindows and Macintosh BRB for Xwindows and Macintosh Toolkit for interfacing directly with MQ Series Toolkit for interfacing directly with mail systems Where do you to go with SQR today? The existing ideas can be seen at: http://www.ontko.com/sqr/enhancements.html Ray ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ From owner-sqr-users@list.iex.net Thu Jul 18 12:36:06 2002 Date: Thu, 18 Jul 2002 12:28:03 -0500 From: the dragon Subject: Re: sqr enhancements No, Peoplesoft can not legally keep you from purchasing, installing and using any application. PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." Carl Sandburg (1878 - 1967) ----Original Message Follows---- PeopleSoft couldn't prevent us from purchasing SQR internally, and continuing to use it (Could they??). We have over 1000 custom SQR's (and growing daily). There is no way on earth we would ever re-write them, if we could get around it. Amy the dragon To: SQR-USERS@list.iex.net cc: Subject: Re: sqr enhancements Let's keep in mind that SQR is not *only* built for Peoplesoft or Maximo or any other particular application or paltform. It is independent of all those considerations. The product will continue, even without Peoplesoft, because it is so robust and non-propietary for RDBMS. Also, even if it doesb 'go away' from peoplesoft, that doesn't mean you have to stop using it..... clark 'the dragon' willis ----Original Message Follows---- Isn't this kind of a moot point since the party line in Pleasanton is that SQR will completely go away in Version 9?? ac Allen Cunningham Sonoma State University _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com From owner-sqr-users@list.iex.net Thu Jul 18 12:45:41 2002 Date: Thu, 18 Jul 2002 13:40:45 -0400 From: Parthiban Subbiah Subject: Re: sqr enhancements I would prefer to have features like: -Way to reference address of a variable -Compile SQC independent of calling program if possible. -Internal Tables Parthiban Subbiah--- On Thu 07/18, Ray Ontko < rayo@ONTKO.COM > wrote: From: Ray Ontko [mailto: rayo@ONTKO.COM]To: SQR-USERS@list.iex.netDate: Thu, 18 Jul 2002 09:27:53 -0500Subject: sqr enhancementsSQR Enthusiasts,I'm thinking about updating my page of Suggested Enhancements for SQRand am looking for fresh ideas. What would make SQR even more usefulto your organization? What would make your job easier? Are thereprojects within your organization where SQR was not chosen but wouldhave if it had just one thing added? If you could add a few featuresto SQR or Brio Report Builder (BRB), what would they be?Some ideas to spark your imagination:Full-featured IDE for SQR (including debugger support)Java-based extensibility for SQR (like ucall and ufunc)Support for your favorite database or platformSPF viewers for XWindows and MacintoshBRB for Xwindows and MacintoshToolkit for interfacing directly with MQ SeriesToolkit for interfacing directly with mail systemsWhere do you to go with SQR today?The existing ideas can be seen at:http://www.ontko.com/sqr/en! hancements.htmlRay----------------------------------------------------------------------Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ ------------------------------------------------ Can a Web portal forever change your life? Win up to $25 Million on iWon - click here! From owner-sqr-users@list.iex.net Thu Jul 18 13:36:59 2002 Date: Thu, 18 Jul 2002 11:21:47 -0700 From: Greg Rabinovich Subject: Re: sqr enhancements How about dynamic arrays? Having to hard code array size is very inconvenient. Letting array grow as your data grows would be a great benefit. Greg. __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From owner-sqr-users@list.iex.net Thu Jul 18 12:51:25 2002 Date: Thu, 18 Jul 2002 12:42:43 -0500 From: the dragon Subject: Re: sqr enhancements Hey, I like the ability to create variables on the fly. Sure, it is harder to debug if you fat finger a variable and name it wrong or if you have no attention span when coding, but I prefer the power and flexibility over the rigidness of having to declare a variable before using - perhaps a better fix would be a warning message at the time of compile that you can ignore, rather than forcing you to declare variables prior to using thiem - how positively 3gl..... my 1.99999999999 cents clark 'the dragon' willis forever chasing the elusive rainbow pot of gold that is independent consulting..... PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." Carl Sandburg (1878 - 1967) ----Original Message Follows---- If I could have only one it would be this: Variables must be declared before use. - this is in your original list. -----Original Message----- _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From owner-sqr-users@list.iex.net Thu Jul 18 13:07:05 2002 Date: Thu, 18 Jul 2002 11:01:32 -0700 From: Sam Spritzer Subject: Re: sqr enhancements Or better yet, create variables on the fly and instead of debug...create a JEMing capability. Sam --- the dragon wrote: > Hey, I like the ability to create variables on the fly. Sure, it is harder > to debug if you fat finger a variable and name it wrong or if you have no > attention span when coding, but I prefer the power and flexibility over the > rigidness of having to declare a variable before using - perhaps a better > fix would be a warning message at the time of compile that you can ignore, > rather than forcing you to declare variables prior to using thiem - how > positively 3gl..... > > my 1.99999999999 cents > clark 'the dragon' willis > forever chasing the elusive rainbow pot of gold that is independent > consulting..... > > PSA: Salary <> Slavery. If you earn a salary, your employer is renting your > services for 40 hours a week, not purchasing your soul. Your time is the > only real finite asset that you have, and once used it can never be > recovered, so don't waste it by giving it away. > > "Time is the coin of your life. It is the only coin you > have, and only you can determine how it will be spent. > Be careful lest you let other people spend it for you." > > Carl Sandburg > (1878 - 1967) > > > ----Original Message Follows---- > > If I could have only one it would be this: Variables must be declared > before use. - this is in your original list. > > -----Original Message----- > > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com ===== ************************************************************ "In the beginning, there was something...which exploded yet, they find nothing." __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From owner-sqr-users@list.iex.net Thu Jul 18 13:51:04 2002 Date: Thu, 18 Jul 2002 13:45:42 -0500 From: Ray Ontko Subject: Re: sqr enhancements What's "JEMing"? > Or better yet, create variables on the fly and instead of debug...create a > JEMing capability. > Sam > > > --- the dragon wrote: > > Hey, I like the ability to create variables on the fly. Sure, it is harder > > to debug if you fat finger a variable and name it wrong or if you have no > > attention span when coding, but I prefer the power and flexibility over the > > rigidness of having to declare a variable before using - perhaps a better > > fix would be a warning message at the time of compile that you can ignore, > > rather than forcing you to declare variables prior to using thiem - how > > positively 3gl..... > > > > my 1.99999999999 cents > > clark 'the dragon' willis > > forever chasing the elusive rainbow pot of gold that is independent > > consulting..... > > > > PSA: Salary <> Slavery. If you earn a salary, your employer is renting your > > services for 40 hours a week, not purchasing your soul. Your time is the > > only real finite asset that you have, and once used it can never be > > recovered, so don't waste it by giving it away. > > > > "Time is the coin of your life. It is the only coin you > > have, and only you can determine how it will be spent. > > Be careful lest you let other people spend it for you." > > > > Carl Sandburg > > (1878 - 1967) > > > > > > ----Original Message Follows---- > > > > If I could have only one it would be this: Variables must be declared > > before use. - this is in your original list. > > > > -----Original Message----- > > > > > > _________________________________________________________________ > > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > > ===== > ************************************************************ > "In the beginning, there was something...which exploded yet, they find nothing." > > __________________________________________________ > Do You Yahoo!? > Yahoo! Autos - Get free new car price quotes > http://autos.yahoo.com > ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ From owner-sqr-users@list.iex.net Thu Jul 18 14:08:47 2002 Date: Thu, 18 Jul 2002 12:01:17 -0700 From: Sam Spritzer Subject: Re: sqr enhancements Its a mainframe product that allows you to debug/expand JCL code. Sam --- Ray Ontko wrote: > What's "JEMing"? > > > Or better yet, create variables on the fly and instead of debug...create a > > JEMing capability. > > Sam > > > > > > --- the dragon wrote: > > > Hey, I like the ability to create variables on the fly. Sure, it is > harder > > > to debug if you fat finger a variable and name it wrong or if you have no > > > attention span when coding, but I prefer the power and flexibility over > the > > > rigidness of having to declare a variable before using - perhaps a better > > > fix would be a warning message at the time of compile that you can > ignore, > > > rather than forcing you to declare variables prior to using thiem - how > > > positively 3gl..... > > > > > > my 1.99999999999 cents > > > clark 'the dragon' willis > > > forever chasing the elusive rainbow pot of gold that is independent > > > consulting..... > > > > > > PSA: Salary <> Slavery. If you earn a salary, your employer is renting > your > > > services for 40 hours a week, not purchasing your soul. Your time is the > > > only real finite asset that you have, and once used it can never be > > > recovered, so don't waste it by giving it away. > > > > > > "Time is the coin of your life. It is the only coin you > > > have, and only you can determine how it will be spent. > > > Be careful lest you let other people spend it for you." > > > > > > Carl Sandburg > > > (1878 - 1967) > > > > > > > > > ----Original Message Follows---- > > > > > > If I could have only one it would be this: Variables must be declared > > > before use. - this is in your original list. > > > > > > -----Original Message----- > > > > > > > > > _________________________________________________________________ > > > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > > > > > ===== > > ************************************************************ > > "In the beginning, there was something...which exploded yet, they find > nothing." > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Autos - Get free new car price quotes > > http://autos.yahoo.com > > > > ---------------------------------------------------------------------- > Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 > Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ ===== ************************************************************ "In the beginning, there was something...which exploded yet, they find nothing." __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From owner-sqr-users@list.iex.net Thu Jul 18 12:57:42 2002 Date: Thu, 18 Jul 2002 12:54:03 -0500 From: Bill Beckner Subject: Re: sqr enhancements Max string variable size of available RAM....32,767 characters is not enough! -- 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 "Go the extra mile. It makes your boss look like an incompetent slacker." From owner-sqr-users@list.iex.net Thu Jul 18 12:59:15 2002 Date: Thu, 18 Jul 2002 13:54:26 -0400 From: Peter Burton Subject: Re: sqr enhancements Parthiban, 1) What purpose would it sever to have the address of an SQR variable? The value would be useless within the context of an SQR report. 2) Already on a list. 3) Already on a list. Peter -----Original Message----- From: Parthiban Subbiah [mailto:parthiban@IWON.COM] Sent: Thursday, July 18, 2002 1:41 PM To: SQR-USERS@list.iex.net Subject: Re: sqr enhancements I would prefer to have features like: -Way to reference address of a variable -Compile SQC independent of calling program if possible. -Internal Tables Parthiban Subbiah--- On Thu 07/18, Ray Ontko < rayo@ONTKO.COM > wrote: From: Ray Ontko [mailto: rayo@ONTKO.COM]To: SQR-USERS@list.iex.netDate: Thu, 18 Jul 2002 09:27:53 -0500Subject: sqr enhancementsSQR Enthusiasts,I'm thinking about updating my page of Suggested Enhancements for SQRand am looking for fresh ideas. What would make SQR even more usefulto your organization? What would make your job easier? Are thereprojects within your organization where SQR was not chosen but wouldhave if it had just one thing added? If you could add a few featuresto SQR or Brio Report Builder (BRB), what would they be?Some ideas to spark your imagination:Full-featured IDE for SQR (including debugger support)Java-based extensibility for SQR (like ucall and ufunc)Support for your favorite database or platformSPF viewers for XWindows and MacintoshBRB for Xwindows and MacintoshToolkit for interfacing directly with MQ SeriesToolkit for interfacing directly with mail systemsWhere do you to go with SQR today?The existing ideas can be seen at:http://www.ontko.com/sqr/en! hancements.htmlRay---------------------------------------------------------- ------------Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ ------------------------------------------------ Can a Web portal forever change your life? Win up to $25 Million on iWon - click here! From owner-sqr-users@list.iex.net Thu Jul 18 13:02:56 2002 Date: Thu, 18 Jul 2002 13:54:54 -0400 From: Raemil Billings Subject: Re: sqr enhancements Why not have both? Visual Basic has their "Option Explicit" phrase for this exact reason. Personally, I like having to declare the variables. I believe it keeps the programmer more diciplined in their approach to variables and the program overall. (especially myself) ==================================== Raemil Billings Systems Engineer Johnson Controls 321-784-7796 ceprn@HOTMAIL.CO M To: SQR-USERS@list.iex.net Sent by: cc: SQR-USERS@list.i Subject: Re: sqr enhancements ex.net 07/18/2002 01:42 PM Please respond to sqr-users Hey, I like the ability to create variables on the fly. Sure, it is harder to debug if you fat finger a variable and name it wrong or if you have no attention span when coding, but I prefer the power and flexibility over the rigidness of having to declare a variable before using - perhaps a better fix would be a warning message at the time of compile that you can ignore, rather than forcing you to declare variables prior to using thiem - how positively 3gl..... my 1.99999999999 cents clark 'the dragon' willis forever chasing the elusive rainbow pot of gold that is independent consulting..... PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." Carl Sandburg (1878 - 1967) ----Original Message Follows---- If I could have only one it would be this: Variables must be declared before use. - this is in your original list. -----Original Message----- _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From owner-sqr-users@list.iex.net Thu Jul 18 13:11:25 2002 Date: Thu, 18 Jul 2002 11:03:39 -0700 From: "Woods, Carolyn" Subject: Re: sqr enhancements I've heard this rumor before, but has anyone said what would replace SQR as a reporting tool? I know that future upgrades are supposed to use App. Engine scripts instead of SQR, but I was assured that SQR would not be dumped. Maybe this switch to App Engine in the upgrades is causing some confusion. Carolyn Woods MiraCosta College Oceanside, CA -----Original Message----- From: Allen Cunningham [mailto:allen.cunningham@SONOMA.EDU] Sent: Thursday, July 18, 2002 8:30 AM To: SQR-USERS@list.iex.net Subject: Re: sqr enhancements Isn't this kind of a moot point since the party line in Pleasanton is that SQR will completely go away in Version 9?? ac Allen Cunningham Sonoma State University -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Ray Ontko Sent: Thursday, July 18, 2002 7:28 AM To: SQR-USERS@list.iex.net Subject: sqr enhancements SQR Enthusiasts, I'm thinking about updating my page of Suggested Enhancements for SQR and am looking for fresh ideas. What would make SQR even more useful to your organization? What would make your job easier? Are there projects within your organization where SQR was not chosen but would have if it had just one thing added? If you could add a few features to SQR or Brio Report Builder (BRB), what would they be? Some ideas to spark your imagination: Full-featured IDE for SQR (including debugger support) Java-based extensibility for SQR (like ucall and ufunc) Support for your favorite database or platform SPF viewers for XWindows and Macintosh BRB for Xwindows and Macintosh Toolkit for interfacing directly with MQ Series Toolkit for interfacing directly with mail systems Where do you to go with SQR today? The existing ideas can be seen at: http://www.ontko.com/sqr/enhancements.html Ray ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ From owner-sqr-users@list.iex.net Thu Jul 18 13:24:00 2002 Date: Thu, 18 Jul 2002 11:18:53 -0700 From: Sam Spritzer Subject: Re: sqr enhancements I think PS is developing their own version of SQR that would be incorporated into the App Eng. --- "Woods, Carolyn" wrote: > I've heard this rumor before, but has anyone said what would replace SQR as a > reporting tool? > > I know that future upgrades are supposed to use App. Engine scripts instead > of SQR, but I was assured that SQR would not be dumped. Maybe this switch to > App Engine in the upgrades is causing some confusion. > > Carolyn Woods > MiraCosta College > Oceanside, CA > > -----Original Message----- > From: Allen Cunningham [mailto:allen.cunningham@SONOMA.EDU] > Sent: Thursday, July 18, 2002 8:30 AM > To: SQR-USERS@list.iex.net > Subject: Re: sqr enhancements > > > Isn't this kind of a moot point since the party line in Pleasanton is that > SQR will completely go away in Version 9?? > > ac > > Allen Cunningham > Sonoma State University > > -----Original Message----- > From: Discussion of SQR, Brio Software's database reporting language > [mailto:SQR-USERS@list.iex.net]On Behalf Of Ray Ontko > Sent: Thursday, July 18, 2002 7:28 AM > To: SQR-USERS@list.iex.net > Subject: sqr enhancements > > > SQR Enthusiasts, > > I'm thinking about updating my page of Suggested Enhancements for SQR > and am looking for fresh ideas. What would make SQR even more useful > to your organization? What would make your job easier? Are there > projects within your organization where SQR was not chosen but would > have if it had just one thing added? If you could add a few features > to SQR or Brio Report Builder (BRB), what would they be? > > Some ideas to spark your imagination: > > Full-featured IDE for SQR (including debugger support) > Java-based extensibility for SQR (like ucall and ufunc) > Support for your favorite database or platform > SPF viewers for XWindows and Macintosh > BRB for Xwindows and Macintosh > Toolkit for interfacing directly with MQ Series > Toolkit for interfacing directly with mail systems > > Where do you to go with SQR today? > > The existing ideas can be seen at: > > http://www.ontko.com/sqr/enhancements.html > > Ray > ---------------------------------------------------------------------- > Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 > Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ ===== ************************************************************ "In the beginning, there was something...which exploded yet, they find nothing." __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From owner-sqr-users@list.iex.net Thu Jul 18 13:14:17 2002 Date: Thu, 18 Jul 2002 13:09:04 -0500 From: "Wendel, Robbi" Subject: Re: sqr enhancements App. Engine has no reporting capabilities. So it can not replace SQR as a reporting tool. -----Original Message----- From: Woods, Carolyn [mailto:CWoods@YAR.MIRACOSTA.CC.CA.US] Sent: Thursday, July 18, 2002 1:04 PM To: SQR-USERS@list.iex.net Subject: Re: sqr enhancements I've heard this rumor before, but has anyone said what would replace SQR as a reporting tool? I know that future upgrades are supposed to use App. Engine scripts instead of SQR, but I was assured that SQR would not be dumped. Maybe this switch to App Engine in the upgrades is causing some confusion. Carolyn Woods MiraCosta College Oceanside, CA -----Original Message----- From: Allen Cunningham [mailto:allen.cunningham@SONOMA.EDU] Sent: Thursday, July 18, 2002 8:30 AM To: SQR-USERS@list.iex.net Subject: Re: sqr enhancements Isn't this kind of a moot point since the party line in Pleasanton is that SQR will completely go away in Version 9?? ac Allen Cunningham Sonoma State University -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Ray Ontko Sent: Thursday, July 18, 2002 7:28 AM To: SQR-USERS@list.iex.net Subject: sqr enhancements SQR Enthusiasts, I'm thinking about updating my page of Suggested Enhancements for SQR and am looking for fresh ideas. What would make SQR even more useful to your organization? What would make your job easier? Are there projects within your organization where SQR was not chosen but would have if it had just one thing added? If you could add a few features to SQR or Brio Report Builder (BRB), what would they be? Some ideas to spark your imagination: Full-featured IDE for SQR (including debugger support) Java-based extensibility for SQR (like ucall and ufunc) Support for your favorite database or platform SPF viewers for XWindows and Macintosh BRB for Xwindows and Macintosh Toolkit for interfacing directly with MQ Series Toolkit for interfacing directly with mail systems Where do you to go with SQR today? The existing ideas can be seen at: http://www.ontko.com/sqr/enhancements.html Ray ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ From owner-sqr-users@list.iex.net Thu Jul 18 13:36:37 2002 Date: Thu, 18 Jul 2002 13:24:14 -0500 From: Gary Kearns Subject: Re: sqr enhancements But PS has been moving in the direction of using AEs to populate temp reporting tables and then Crystal/Query to actually create the report. -----Original Message----- From: Wendel, Robbi [mailto:rwendel@NESPOWER.COM] Sent: Thursday, July 18, 2002 1:09 PM To: SQR-USERS@list.iex.net Subject: Re: sqr enhancements App. Engine has no reporting capabilities. So it can not replace SQR as a reporting tool. -----Original Message----- From: Woods, Carolyn [mailto:CWoods@YAR.MIRACOSTA.CC.CA.US] Sent: Thursday, July 18, 2002 1:04 PM To: SQR-USERS@list.iex.net Subject: Re: sqr enhancements I've heard this rumor before, but has anyone said what would replace SQR as a reporting tool? I know that future upgrades are supposed to use App. Engine scripts instead of SQR, but I was assured that SQR would not be dumped. Maybe this switch to App Engine in the upgrades is causing some confusion. Carolyn Woods MiraCosta College Oceanside, CA -----Original Message----- From: Allen Cunningham [mailto:allen.cunningham@SONOMA.EDU] Sent: Thursday, July 18, 2002 8:30 AM To: SQR-USERS@list.iex.net Subject: Re: sqr enhancements Isn't this kind of a moot point since the party line in Pleasanton is that SQR will completely go away in Version 9?? ac Allen Cunningham Sonoma State University -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Ray Ontko Sent: Thursday, July 18, 2002 7:28 AM To: SQR-USERS@list.iex.net Subject: sqr enhancements SQR Enthusiasts, I'm thinking about updating my page of Suggested Enhancements for SQR and am looking for fresh ideas. What would make SQR even more useful to your organization? What would make your job easier? Are there projects within your organization where SQR was not chosen but would have if it had just one thing added? If you could add a few features to SQR or Brio Report Builder (BRB), what would they be? Some ideas to spark your imagination: Full-featured IDE for SQR (including debugger support) Java-based extensibility for SQR (like ucall and ufunc) Support for your favorite database or platform SPF viewers for XWindows and Macintosh BRB for Xwindows and Macintosh Toolkit for interfacing directly with MQ Series Toolkit for interfacing directly with mail systems Where do you to go with SQR today? The existing ideas can be seen at: http://www.ontko.com/sqr/enhancements.html Ray ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ From owner-sqr-users@list.iex.net Thu Jul 18 13:43:05 2002 Date: Thu, 18 Jul 2002 14:38:18 -0400 From: Peter Burton Subject: Re: sqr enhancements Greg, That request has already been acted upon. I cannot say when it will be released into the wild. Was that fast enough for you? Peter -----Original Message----- From: Greg Rabinovich [mailto:odecca25@YAHOO.COM] Sent: Thursday, July 18, 2002 2:22 PM To: SQR-USERS@list.iex.net Subject: Re: sqr enhancements How about dynamic arrays? Having to hard code array size is very inconvenient. Letting array grow as your data grows would be a great benefit. Greg. __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From owner-sqr-users@list.iex.net Thu Jul 18 13:58:03 2002 Date: Thu, 18 Jul 2002 14:52:55 -0400 From: Parthiban Subbiah Subject: Re: sqr enhancements Peter, I referred 'Pointer' like feature. For ex: Let $var1 = 'Test'Let $var2 = '$var1'display $var2 The above display command should display 'Test', not '$var1'. Particularly useful in 'Evaluate' statement to reduce the coding.. Thanks,Parthiban Subbiah --- On Thu 07/18, Peter Burton < pburton@BRIO.COM > wrote: From: Peter Burton [mailto: pburton@BRIO.COM]To: SQR-USERS@list.iex.netDate: Thu, 18 Jul 2002 13:54:26 -0400Subject: Re: sqr enhancementsParthiban,1) What purpose would it sever to have the address of an SQR variable? Thevalue would be useless within the context of an SQR report.2) Already on a list.3) Already on a list.Peter-----Original Message-----From: Parthiban Subbiah [mailto:parthiban@IWON.COM]Sent: Thursday, July 18, 2002 1:41 PMTo: SQR-USERS@list.iex.netSubject: Re: sqr enhancementsI would prefer to have features like:-Way to reference address of a variable-Compile SQC independent of calling program if possible.-Internal TablesParthiban Subbiah--- On Thu 07/18, Ray Ontko &lt; rayo@ONTKO.COM &gt; wrote:From: Ray Ontko [mailto: rayo@ONTKO.COM]To: SQR-USERS@list.iex.netDate: Thu,18 Jul 2002 09:27:53 -0500Subject: sqr enhancementsSQR Enthusiasts,I'mthinking about updating my page of Suggested Enhancements for SQRand amlooking for fresh ideas. What would make SQR! even more usefulto yourorganization? What would make your job easier? Are thereprojects within yourorganization where SQR was not chosen but wouldhave if it had just one thingadded? If you could add a few featuresto SQR or Brio Report Builder (BRB),what would they be?Some ideas to spark your imagination:Full-featured IDEfor SQR (including debugger support)Java-based extensibility for SQR (likeucall and ufunc)Support for your favorite database or platformSPF viewersfor XWindows and MacintoshBRB for Xwindows and MacintoshToolkit forinterfacing directly with MQ SeriesToolkit for interfacing directly withmail systemsWhere do you to go with SQR today?The existing ideas can be seenat:http://www.ontko.com/sqr/en!hancements.htmlRay----------------------------------------------------------------------Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax1.765.962.9788Ray Ontko &amp; Co. Software Consulting Serviceshttp://www.ontko.com/------------------------------------------------C! an a Web portal forever change your life?Win up to $25 Million on iWon - click here! ------------------------------------------------ Can a Web portal forever change your life? Win up to $25 Million on iWon - click here! From owner-sqr-users@list.iex.net Thu Jul 18 21:56:40 2002 Date: Thu, 18 Jul 2002 21:52:19 -0500 From: James Womeldorf Subject: Re: sqr enhancements I like your list, Ray! An interactive debugger would be GREAT! It would take SQR into the 20th Century, and only a few years too late! I also like explicit variable declaration. It makes maintenance much easier, especially for someone who inherits programs from someone else. I have no objection to making it optional so those who are not inclined towards structure can still 'have it their way', too. I have a few suggestions, some of which are 'convenience' items that would make SQR easier for me to code. 1. It is difficult to find all occurrences of global variables if any 'Local' procedures are used. I prefer passing parameters to local procedures but sometimes still use the globals. Then it is necessary to do two searches to find all of the variable references. Perhaps variables used outside local procedures could be referenced with OR without the underscore, so #_Mycount would be equivalent to #Mycount. Inside local procedures, #_Mycount would be used as it is now. Now, #_Mycount can be used EVERYWHERE, and finding all occurrences would be more intuitive. 2. Allow the user to create functions as well as subroutines in SQR. I find it irritating to have to make an extra call when a function would do the job. 3. Along the same line, allow the free substitution of functions/expressions wherever a variable is now required. Again, it would be nice to not have to set a variable for the express purpose of passing it to some other function/procedure. 4. Remove the requirement to start assignment statements with the word 'let'. BASIC required 'let' in early incantations and still allows it, but it is unnecessary and easy to forget (At least for me. I've been doing BASIC/QuickBasic/VB since 1972). 5. And my really, really BIG one - give us a DATE type that is a DATE type that is a DATE type. There is so much confusion regarding dates anyway, and not knowing if a $ variable is a string or a date or a pomegranate is unnecessarily confusing. I declare (and pass as parameters) LOTS of DATES, and much prefer them to using strings. Jim Jim Womeldorf Programmer/Analyst Fastenal Company jwomeldo@fastenal.com (507) 453-8250 -----Original Message----- From: Ray Ontko [mailto:rayo@ONTKO.COM] Sent: Thursday, July 18, 2002 9:28 AM To: SQR-USERS@list.iex.net Subject: sqr enhancements SQR Enthusiasts, I'm thinking about updating my page of Suggested Enhancements for SQR and am looking for fresh ideas. What would make SQR even more useful to your organization? What would make your job easier? Are there projects within your organization where SQR was not chosen but would have if it had just one thing added? If you could add a few features to SQR or Brio Report Builder (BRB), what would they be? Some ideas to spark your imagination: Full-featured IDE for SQR (including debugger support) Java-based extensibility for SQR (like ucall and ufunc) Support for your favorite database or platform SPF viewers for XWindows and Macintosh BRB for Xwindows and Macintosh Toolkit for interfacing directly with MQ Series Toolkit for interfacing directly with mail systems Where do you to go with SQR today? The existing ideas can be seen at: http://www.ontko.com/sqr/enhancements.html Ray ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ From owner-sqr-users@list.iex.net Fri Jul 19 07:22:11 2002 Date: Fri, 19 Jul 2002 08:17:45 -0400 From: Charlie Dornbos Subject: Re: sqr enhancements How about a step-by step trace with current page display and variable display like the rapid development tools. Charlie From owner-sqr-users@list.iex.net Thu Aug 1 00:07:40 2002 Date: Wed, 31 Jul 2002 22:04:42 -0700 From: Atul Shrivastava Subject: Re: sqr enhancements The first thing I would like SQR to have variable declarations like local (local to that procedure), public (local to program) and global. Second thing I would love to have user defined types like for SSN Telephone Number and certain kind of id's. Atul --- Ray Ontko wrote: > SQR Enthusiasts, > > I'm thinking about updating my page of Suggested > Enhancements for SQR > and am looking for fresh ideas. What would make SQR > even more useful > to your organization? What would make your job > easier? Are there > projects within your organization where SQR was not > chosen but would > have if it had just one thing added? If you could > add a few features > to SQR or Brio Report Builder (BRB), what would they > be? > > Some ideas to spark your imagination: > > Full-featured IDE for SQR (including debugger > support) > Java-based extensibility for SQR (like ucall and > ufunc) > Support for your favorite database or platform > SPF viewers for XWindows and Macintosh > BRB for Xwindows and Macintosh > Toolkit for interfacing directly with MQ Series > Toolkit for interfacing directly with mail systems > > Where do you to go with SQR today? > > The existing ideas can be seen at: > > http://www.ontko.com/sqr/enhancements.html > > Ray > ---------------------------------------------------------------------- > Ray Ontko rayo@ontko.com Phone 1.765.935.4283 > Fax 1.765.962.9788 > Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From owner-sqr-users@list.iex.net Tue Aug 6 14:28:39 2002 Date: Tue, 6 Aug 2002 14:24:06 -0500 From: James Womeldorf Subject: Re: sqr enhancements Regarding Load-Lookup: Allow an alternative syntax which would consist of a single SQL statement which would replace some of the 'parameters' such as table=, key=, return_value=. It is often difficult to find the 'magic syntax' that will work on any except the most basic lookups. I often resort to using views as the source tables, but it is often the only use I have for the view. Jim Womeldorf Programmer/Analyst Fastenal Company jwomeldo@fastenal.com (507) 453-8250 -----Original Message----- From: Ray Ontko [mailto:rayo@ONTKO.COM] Sent: Thursday, July 18, 2002 9:28 AM To: SQR-USERS@list.iex.net Subject: sqr enhancements SQR Enthusiasts, I'm thinking about updating my page of Suggested Enhancements for SQR and am looking for fresh ideas. What would make SQR even more useful to your organization? What would make your job easier? Are there projects within your organization where SQR was not chosen but would have if it had just one thing added? If you could add a few features to SQR or Brio Report Builder (BRB), what would they be? Some ideas to spark your imagination: Full-featured IDE for SQR (including debugger support) Java-based extensibility for SQR (like ucall and ufunc) Support for your favorite database or platform SPF viewers for XWindows and Macintosh BRB for Xwindows and Macintosh Toolkit for interfacing directly with MQ Series Toolkit for interfacing directly with mail systems Where do you to go with SQR today? The existing ideas can be seen at: http://www.ontko.com/sqr/enhancements.html Ray ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ From owner-sqr-users@list.iex.net Thu Jul 18 12:13:57 2002 Date: Thu, 18 Jul 2002 12:54:40 -0400 From: Anna Mendenhall Subject: EXTRA BLANCK PAGE AT THE END OF THE REPORT All-- We are having a major problem with several of our reports, as we get an extra blank page printed at the end of these reports. The page includes our standard header, which appears on the rest of the pages. We are using a network printer, could potentially cause it (but how?). However, printing other documents does not create an extra blank page. Moreover, NOT ALL SQR's produce an extra blank page at the end. It seems that whenever we use ON-BREAK in the reports extra blank page is generated. I cannot use FORMFEED=NO with the declare-layout, for I will not be able to use other commands. Plus, it doesn't really help. Any ideas, help, comments would be great! SQR/6.1.3/IBM RS60000/AIX 4.3.1/Oracle 8.0.6 Regards, Anna From owner-sqr-users@list.iex.net Thu Jul 18 12:24:16 2002 Date: Thu, 18 Jul 2002 12:08:15 -0500 From: "Knapp, Richard" Subject: Re: EXTRA BLANCK PAGE AT THE END OF THE REPORT I'll bet you a nickel it's in your print logic somewhere. Richard Knapp Database Programmer/Analyst Administrative Systems Project University of Missouri System 573-884-3157 knappr@umsystem.edu -----Original Message----- From: Anna Mendenhall [mailto:Tatchagata@AOL.COM] Sent: Thursday, July 18, 2002 11:55 AM To: SQR-USERS@list.iex.net Subject: EXTRA BLANCK PAGE AT THE END OF THE REPORT All-- We are having a major problem with several of our reports, as we get an extra blank page printed at the end of these reports. The page includes our standard header, which appears on the rest of the pages. We are using a network printer, could potentially cause it (but how?). However, printing other documents does not create an extra blank page. Moreover, NOT ALL SQR's produce an extra blank page at the end. It seems that whenever we use ON-BREAK in the reports extra blank page is generated. I cannot use FORMFEED=NO with the declare-layout, for I will not be able to use other commands. Plus, it doesn't really help. Any ideas, help, comments would be great! SQR/6.1.3/IBM RS60000/AIX 4.3.1/Oracle 8.0.6 Regards, Anna From owner-sqr-users@list.iex.net Thu Jul 18 12:32:32 2002 Date: Thu, 18 Jul 2002 12:19:10 -0500 From: Don Mellen Subject: Re: EXTRA BLANCK PAGE AT THE END OF THE REPORT I'll up that bet to 6 cents that it's a new-page in an "after=" procedure. On Thu, 18 Jul 2002, Knapp, Richard wrote: > I'll bet you a nickel it's in your print logic somewhere. > > Richard Knapp > Database Programmer/Analyst > Administrative Systems Project > University of Missouri System > 573-884-3157 > knappr@umsystem.edu > > > -----Original Message----- > From: Anna Mendenhall [mailto:Tatchagata@AOL.COM] > Sent: Thursday, July 18, 2002 11:55 AM > To: SQR-USERS@list.iex.net > Subject: EXTRA BLANCK PAGE AT THE END OF THE REPORT > > > All-- > > We are having a major problem with several of our reports, as we get an extra blank > page printed at the end of these reports. The page includes our standard header, > which appears on the rest of the pages. We are using a network printer, could > potentially cause it (but how?). However, printing other documents does not create > an extra blank page. Moreover, NOT ALL SQR's produce an extra blank page at > the end. It seems that whenever we use ON-BREAK in the reports extra blank page > is generated. > I cannot use FORMFEED=NO with the declare-layout, for I will not be able to use > other commands. Plus, it doesn't really help. Any ideas, help, comments would be > great! > > SQR/6.1.3/IBM RS60000/AIX 4.3.1/Oracle 8.0.6 > > Regards, > Anna > ----------------------------------------------------------------------- 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 Thu Jul 18 12:26:53 2002 Date: Thu, 18 Jul 2002 12:18:40 -0500 From: "Brickl, Maria" Subject: Re: EXTRA BLANCK PAGE AT THE END OF THE REPORT Can you put the code where you use on-break in an email? -----Original Message----- From: Anna Mendenhall [mailto:Tatchagata@AOL.COM] Sent: Thursday, July 18, 2002 11:55 AM To: SQR-USERS@list.iex.net Subject: EXTRA BLANCK PAGE AT THE END OF THE REPORT All-- We are having a major problem with several of our reports, as we get an extra blank page printed at the end of these reports. The page includes our standard header, which appears on the rest of the pages. We are using a network printer, could potentially cause it (but how?). However, printing other documents does not create an extra blank page. Moreover, NOT ALL SQR's produce an extra blank page at the end. It seems that whenever we use ON-BREAK in the reports extra blank page is generated. I cannot use FORMFEED=NO with the declare-layout, for I will not be able to use other commands. Plus, it doesn't really help. Any ideas, help, comments would be great! SQR/6.1.3/IBM RS60000/AIX 4.3.1/Oracle 8.0.6 Regards, Anna From owner-sqr-users@list.iex.net Thu Jul 18 12:22:53 2002 Date: Thu, 18 Jul 2002 13:31:55 -0400 From: "Mezzullo, Paul" Subject: Re: EXTRA BLANCK PAGE AT THE END OF THE REPORT Anna, Check your page breaks ... I would venture to say something is printing right on the break causing the subsequent pages with the header to keep on printing. I've encountered this several times in the past. - Paul -----Original Message----- From: Anna Mendenhall [mailto:Tatchagata@AOL.COM] Sent: Thursday, July 18, 2002 12:55 PM To: SQR-USERS@list.iex.net Subject: EXTRA BLANCK PAGE AT THE END OF THE REPORT All-- We are having a major problem with several of our reports, as we get an extra blank page printed at the end of these reports. The page includes our standard header, which appears on the rest of the pages. We are using a network printer, could potentially cause it (but how?). However, printing other documents does not create an extra blank page. Moreover, NOT ALL SQR's produce an extra blank page at the end. It seems that whenever we use ON-BREAK in the reports extra blank page is generated. I cannot use FORMFEED=NO with the declare-layout, for I will not be able to use other commands. Plus, it doesn't really help. Any ideas, help, comments would be great! SQR/6.1.3/IBM RS60000/AIX 4.3.1/Oracle 8.0.6 Regards, Anna From owner-sqr-users@list.iex.net Thu Jul 18 12:29:56 2002 Date: Thu, 18 Jul 2002 13:24:38 -0400 From: Anna Mendenhall Subject: EXTRA BLANK PAGE AT THE END OF THE REPORT (update) It might be, but why so many reports are affected? Actually, ALL the reports that use ON-BREAK option print an extra blank line at the end. My logic is pretty simple. I have a main select that contains ON-BREAK option: begin-procedure main-select begin-select …. &new_code () on-break print=never after=newpage ….. from … do print-record end-select end-procedure begin-procedure print-record print $LastName (+1,20) print $FirstName ( , 40) … end-procedure I can’t figure this out… Any ideas? And thank you for the response Regards, From owner-sqr-users@list.iex.net Thu Jul 18 12:40:54 2002 Date: Thu, 18 Jul 2002 13:49:57 -0400 From: =?UTF-8?B?TWV6enVsbG8sIFBhdWw=?= Subject: =?UTF-8?B?UkU6IEVYVFJBIEJMQU5LIFBBR0UgQVQgVEhFIEVORCBPRiBUSEUg?= =?UTF-8?B?UkVQT1JUICh1cGRhdGUp?= Long way round but always works ... Forgo the on-break and keep track of the number of items printed on each page and then force the NEW-PAGE yourself at the desired point. Could even use an array as storage etc., This will insure nothing ever prints on the actual page break ... - Paul -----Original Message----- From: Anna Mendenhall [mailto:Tatchagata@AOL.COM] Sent: Thursday, July 18, 2002 1:25 PM To: SQR-USERS@list.iex.net Subject: EXTRA BLANK PAGE AT THE END OF THE REPORT (update) It might be, but why so many reports are affected? Actually, ALL the reports that use ON-BREAK option print an extra blank line at the end. My logic is pretty simple. I have a main select that contains ON-BREAK option: begin-procedure main-select begin-select …. &new_code () on-break print=never after=newpage ….. from … do print-record end-select end-procedure begin-procedure print-record print $LastName (+1,20) print $FirstName ( , 40) … end-procedure I can’t figure this out… Any ideas? And thank you for the response Regards, From owner-sqr-users@list.iex.net Thu Jul 18 12:32:15 2002 Date: Thu, 18 Jul 2002 10:26:44 -0700 From: "Nuccio, Vincent" Subject: PGP I am trying to determine the best solution to encrypt all of our files that we send through our FTP server. Do anyone of you know the best way to code the PGP in SQRs? Thanks. Vince Nuccio AT&T Wireless Services Redmond, Washington email me at: page me at: call me at: 711, ask for (425) 580-8888 ~ TTY visit us at: "Stuck? Ask for help and it is ok not to know everything!" From owner-sqr-users@list.iex.net Thu Jul 18 13:00:19 2002 Date: Thu, 18 Jul 2002 13:43:53 -0400 From: Bruce Kelling Subject: Re: PGP Use the call system command to execute a bat file or Unix script. The .bat or script can run PGP, then FTP command. Keep in mind, the FTP process will need to read in user/password from a separate file. Bruce -----Original Message----- From: Nuccio, Vincent [mailto:vincent.nuccio@ATTWS.COM] Sent: Thursday, July 18, 2002 1:27 PM To: SQR-USERS@list.iex.net Subject: PGP I am trying to determine the best solution to encrypt all of our files that we send through our FTP server. Do anyone of you know the best way to code the PGP in SQRs? Thanks. Vince Nuccio AT&T Wireless Services Redmond, Washington email me at: page me at: call me at: 711, ask for (425) 580-8888 ~ TTY visit us at: "Stuck? Ask for help and it is ok not to know everything!" From owner-sqr-users@list.iex.net Thu Jul 18 13:14:46 2002 Date: Thu, 18 Jul 2002 14:07:43 -0400 From: "Bergeron, Hugo" Subject: Re: PGP You might wanna take a look at the scp command. Here's what I contributed to Yahoo' Peoplesoft-Fans discussion group a few months ago: >From what I understood from the guy in our Security Department, the >command scp allows us to send encrypted copies between machines under >UNIX. The host and target machines must have the SSH package >installed and be properly setup. The command uses authorized keys to >open its door to the other machines. Once these keys are set you >simply use this command (use CALL SYSTEM in SQR): > >host1 $> scp test host2:/export/home/sun/.ssh/test > >and that does it all, encrypted copy between hosts, without asking >for a password. > >Maybe a more technical Peoplesoft-Fan could give more details on the >installation process, and if indeed the files are encrypted. All I >know is that on the developper side, it allows to write programs >without coding sensitive information like passwords and usernames in >the source code. Another member replied: There is one issue with using scp instead of ftp when transferring files between unix and windows machines. With ftp, if you specifiy ascii transfer mode, the end of line character will be converted from unix to dos/win. scp does not do this. A file tranfer with scp is like a binary transfer using ftp. Without the end of line conversion, dos/win programs may think there is only one line of data in the file because it cannot find an end of line delimiter (CR/LF). However, there are utilities for both unix and windows to convert files after (or before) they are transferred. There you go HTH, Hugo Bergeron -----Original Message----- From: Bruce Kelling [mailto:Bruce_Kelling@ADVANTECHSOLUTIONS.COM] Sent: Thursday, July 18, 2002 1:44 PM To: SQR-USERS@list.iex.net Subject: Re: PGP Use the call system command to execute a bat file or Unix script. The .bat or script can run PGP, then FTP command. Keep in mind, the FTP process will need to read in user/password from a separate file. Bruce -----Original Message----- From: Nuccio, Vincent [mailto:vincent.nuccio@ATTWS.COM] Sent: Thursday, July 18, 2002 1:27 PM To: SQR-USERS@list.iex.net Subject: PGP I am trying to determine the best solution to encrypt all of our files that we send through our FTP server. Do anyone of you know the best way to code the PGP in SQRs? Thanks. Vince Nuccio AT&T Wireless Services Redmond, Washington email me at: page me at: call me at: 711, ask for (425) 580-8888 ~ TTY visit us at: "Stuck? Ask for help and it is ok not to know everything!" From owner-sqr-users@list.iex.net Thu Jul 18 17:33:32 2002 Date: Thu, 18 Jul 2002 17:06:06 -0500 From: "Nuccio, Vincent" Subject: Re: PGP Thanks for the responses and here is my next question. What would be the best way to hide the KEY? A separate file, I suppose? Vince Nuccio AT&T Wireless Services Redmond, Washington email me at: page me at: call me at: 711, ask for (425) 580-8888 ~ TTY visit us at: "Stuck? Ask for help and it is ok not to know everything!" -----Original Message----- From: Nuccio, Vincent [mailto:vincent.nuccio@ATTWS.COM] Sent: Thursday, July 18, 2002 10:27 AM To: SQR-USERS@list.iex.net Subject: PGP I am trying to determine the best solution to encrypt all of our files that we send through our FTP server. Do anyone of you know the best way to code the PGP in SQRs? Thanks. Vince Nuccio AT&T Wireless Services Redmond, Washington email me at: page me at: call me at: 711, ask for (425) 580-8888 ~ TTY visit us at: "Stuck? Ask for help and it is ok not to know everything!" From owner-sqr-users@list.iex.net Thu Jul 18 13:45:49 2002 Date: Thu, 18 Jul 2002 14:37:06 -0400 From: Anna Mendenhall Subject: EXTRA BLANK PAGE AT THE END OF THE REPORT - Sorry..its still not solved! No!! I was to fast to conclude that my problem was solved. I previously mentioned that after=newpage caused my problem. When I got rid of it, the blank page at the end of the report dissapeared. However, now ON-BREAK option is not working properly. After the break, I need to go to the NEW PAGE and of course, getting rid of after=newpage option prevented going to the NEW PAGE. Is there another way to go to the new page after break?? Aside from using after=newpage, which is obviously causing extra blank page to be printed at the end of the report? Regards From owner-sqr-users@list.iex.net Thu Jul 18 13:55:45 2002 Date: Thu, 18 Jul 2002 13:51:32 -0500 From: Don Mellen Subject: Re: EXTRA BLANK PAGE AT THE END OF THE REPORT - Sorry..its still not solved! No!! If all that hapens in the after procedure is a new-page comand then change the "after=newpage" to "before=newpage". In the procedure itself, change it to... begin-procedure newpage if #need_page_break new-page else move 1 to #need_page_break end-if end-procedure ... the variable #need_page_break (not pre-defined) will default to a value of 0 (which evaluates to false). The first time it hits the procedure, it will switch it to 1 (true) and thereafter, it will fire off a new-page (in effect, issueing a new-page only *between* the breaks, but not before the first one or after the last one) HTH, Don On Thu, 18 Jul 2002, Anna Mendenhall wrote: > I was to fast to conclude that my problem was solved. I previously > mentioned that after=newpage caused my problem. When I got rid of it, > the blank page at the end of the report dissapeared. However, now > ON-BREAK option is not working properly. After the break, I need to go > to the NEW PAGE and of course, getting rid of after=newpage option > prevented going to the NEW PAGE. Is there another way to go to the new > page after break?? Aside from using after=newpage, which is obviously > causing extra blank page to be printed at the end of the report? > > Regards > ----------------------------------------------------------------------- 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 Thu Jul 18 14:34:49 2002 Date: Thu, 18 Jul 2002 15:26:07 -0400 From: Anna Mendenhall Subject: EXTRA BLANK PAGE AT THE END OF THE REPORT - Now Solved For Sure! Thank you, Don Mellen! It was an excellent idea and it worked! Regards, Anna From owner-sqr-users@list.iex.net Thu Jul 18 15:27:41 2002 Date: Thu, 18 Jul 2002 15:08:54 -0500 From: advhm1 Subject: Questions about PeopleSoft... A friend of mine purchased the "Essential Guide to PeopleSoft, = Development and Customization", but would like to know where to get an = online version or CD version of the book. Her problem is that she has to reference it several times each day and = find this very cumbersome. If there is any way to get a CD version of = it, or have an online (internet) reference to it, would greatly reduce = the amount of time she spends looking things up. Secondly, she needs to be directed to information on working with = PeopleSoft from Visual Basic, specifically, messaging and/or component = interface between the two. How do you make them work together? Code = examples would greatly help! Additionally, she would like some sample interview questions (w/answers) = that she could use to hire more skillful PeopleSoft developers. If someone could help me to help a friend, I would appreciate it. Thank You! Don Russell. From owner-sqr-users@list.iex.net Thu Jul 18 15:34:42 2002 Date: Thu, 18 Jul 2002 16:31:14 -0400 From: Fred Schiff Subject: Re: Questions about PeopleSoft... through work I have access to a web site called http://www.books24x7.com which has technical books broken up and htmlized by chapter and sub-chapter. Its very good for just this kind of thing. Fred advhm1 @list.iex.net> on 07/18/2002 04:08:54 PM Please respond to sqr-users@list.iex.net Sent by: "Discussion of SQR, Brio Software's database reporting language" To: SQR-USERS@list.iex.net cc: Subject: Questions about PeopleSoft... A friend of mine purchased the "Essential Guide to PeopleSoft, Development and Customization", but would like to know where to get an online version or CD version of the book. Her problem is that she has to reference it several times each day and find this very cumbersome. If there is any way to get a CD version of it, or have an online (internet) reference to it, would greatly reduce the amount of time she spends looking things up. Secondly, she needs to be directed to information on working with PeopleSoft from Visual Basic, specifically, messaging and/or component interface between the two. How do you make them work together? Code examples would greatly help! Additionally, she would like some sample interview questions (w/answers) that she could use to hire more skillful PeopleSoft developers. If someone could help me to help a friend, I would appreciate it. Thank You! Don Russell. From owner-sqr-users@list.iex.net Thu Jul 18 17:34:44 2002 Date: Thu, 18 Jul 2002 15:23:52 -0700 From: Allen Cunningham Subject: Debug question (Finance 7.5) I am trying to find a way to debug the following problem: We bring up the manual bank reconciliation panel, enter our bank ID and account number, and a date range, then hit the flashlight icon. What should display is a scrolled are of the list of checks that need to be reconciled, but nothing displays, although it used to work. So I found the panel name, went into app designer and found the record behind the panel (BNK_RCN_PNL_WRK), but since it is just a work record it doesn't show up in query so I can't see what is in it or what record it is getting it's information from. My question is: In a situation like this, (1) What are some steps to find out why the info is not displaying on the panel and (2) How to find where a work record is getting it's info or where it is putting it? TIA, Using PS Finance 7.5 sqr 4.3.4 Oracle db *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* Allen Cunningham Sonoma State University Administrative Information Systems allen.cunningham@sonoma.edu ph 707.664.2052 fx 707.664.2505 *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* From owner-sqr-users@list.iex.net Thu Jul 18 19:16:17 2002 Date: Thu, 18 Jul 2002 20:13:27 -0400 From: Prasanna Menta Subject: Re: Debug question (Finance 7.5) If it is a view go to the properties, and click the sql and see the sql. you could run this sql in the sqlplus and see if there are any rows for the sql Thanks prasanna ----- Original Message ----- From: Allen Cunningham Date: Thursday, July 18, 2002 6:23 pm Subject: Debug question (Finance 7.5) > I am trying to find a way to debug the following problem: > > We bring up the manual bank reconciliation panel, enter our bank > ID and > account number, and a date range, then hit the flashlight icon. > What should > display is a scrolled are of the list of checks that need to be > reconciled,but nothing displays, although it used to work. > > So I found the panel name, went into app designer and found the record > behind the panel (BNK_RCN_PNL_WRK), but since it is just a work > record it > doesn't show up in query so I can't see what is in it or what > record it is > getting it's information from. My question is: In a situation like > this, (1) > What are some steps to find out why the info is not displaying on > the panel > and (2) How to find where a work record is getting it's info or > where it is > putting it? > > TIA, > > Using PS Finance 7.5 > sqr 4.3.4 > Oracle db > > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* > Allen Cunningham > Sonoma State University > Administrative Information Systems > allen.cunningham@sonoma.edu > ph 707.664.2052 > fx 707.664.2505 > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* > From owner-sqr-users@list.iex.net Thu Jul 18 20:52:48 2002 Date: Thu, 18 Jul 2002 18:48:03 -0700 From: Greg Rabinovich Subject: Re: Debug question (Finance 7.5) In PeopleTools->Utilities, turn on trace for PeopleCode. Since this is a work record, it does not exist on DB level and thus it is most likely populated by PeopleCode on RowInit or such event. Else, search your PeopleCode for the recordname and see if the hits returned give you some answer. --- Prasanna Menta wrote: > If it is a view go to the properties, and click the > sql and see the > sql. you could run this sql in the sqlplus and see > if there are any > rows for the sql > Thanks > prasanna > > ----- Original Message ----- > From: Allen Cunningham > Date: Thursday, July 18, 2002 6:23 pm > Subject: Debug question (Finance 7.5) > > > I am trying to find a way to debug the following > problem: > > > > We bring up the manual bank reconciliation panel, > enter our bank > > ID and > > account number, and a date range, then hit the > flashlight icon. > > What should > > display is a scrolled are of the list of checks > that need to be > > reconciled,but nothing displays, although it used > to work. > > > > So I found the panel name, went into app designer > and found the record > > behind the panel (BNK_RCN_PNL_WRK), but since it > is just a work > > record it > > doesn't show up in query so I can't see what is in > it or what > > record it is > > getting it's information from. My question is: In > a situation like > > this, (1) > > What are some steps to find out why the info is > not displaying on > > the panel > > and (2) How to find where a work record is getting > it's info or > > where it is > > putting it? > > > > TIA, > > > > Using PS Finance 7.5 > > sqr 4.3.4 > > Oracle db > > > > > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* > > Allen Cunningham > > Sonoma State University > > Administrative Information Systems > > allen.cunningham@sonoma.edu > > ph 707.664.2052 > > fx 707.664.2505 > > > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* > > __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From owner-sqr-users@list.iex.net Fri Jul 19 07:34:29 2002 Date: Fri, 19 Jul 2002 05:29:25 -0700 From: Arun Kumar Subject: Re: Debug question (Finance 7.5) Work Records are always populated by Peoplecode. Search People code of the records which are in the Panel. I would start with the Field change of the Flash light push button field. HTH --- Greg Rabinovich wrote: > In PeopleTools->Utilities, turn on trace for > PeopleCode. Since this is a work record, it does > not > exist on DB level and thus it is most likely > populated > by PeopleCode on RowInit or such event. > > Else, search your PeopleCode for the recordname and > see if the hits returned give you some answer. > > > --- Prasanna Menta wrote: > > If it is a view go to the properties, and click > the > > sql and see the > > sql. you could run this sql in the sqlplus and see > > if there are any > > rows for the sql > > Thanks > > prasanna > > > > ----- Original Message ----- > > From: Allen Cunningham > > > Date: Thursday, July 18, 2002 6:23 pm > > Subject: Debug question (Finance 7.5) > > > > > I am trying to find a way to debug the following > > problem: > > > > > > We bring up the manual bank reconciliation > panel, > > enter our bank > > > ID and > > > account number, and a date range, then hit the > > flashlight icon. > > > What should > > > display is a scrolled are of the list of checks > > that need to be > > > reconciled,but nothing displays, although it > used > > to work. > > > > > > So I found the panel name, went into app > designer > > and found the record > > > behind the panel (BNK_RCN_PNL_WRK), but since it > > is just a work > > > record it > > > doesn't show up in query so I can't see what is > in > > it or what > > > record it is > > > getting it's information from. My question is: > In > > a situation like > > > this, (1) > > > What are some steps to find out why the info is > > not displaying on > > > the panel > > > and (2) How to find where a work record is > getting > > it's info or > > > where it is > > > putting it? > > > > > > TIA, > > > > > > Using PS Finance 7.5 > > > sqr 4.3.4 > > > Oracle db > > > > > > > > > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* > > > Allen Cunningham > > > Sonoma State University > > > Administrative Information Systems > > > allen.cunningham@sonoma.edu > > > ph 707.664.2052 > > > fx 707.664.2505 > > > > > > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* > > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Autos - Get free new car price quotes > http://autos.yahoo.com __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From owner-sqr-users@list.iex.net Fri Jul 19 12:01:50 2002 Date: Fri, 19 Jul 2002 09:56:47 -0700 From: Allen Cunningham Subject: Re: Debug question (Finance 7.5) Thanks Presanna, Greg, Steve, Arun and the sqr-users that had helpful suggestions, thanks for NOTHING to Peter and Denise who's only input is sarcastic comments. I turned on config mgr trace, which helped me find some tables that get populated, copied the sql into sql+, took out the where condition and that showed me that there were rows in the table, but the user was punching in the wrong bank ID. Thx for the assistance. ac -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Prasanna Menta Sent: Thursday, July 18, 2002 5:13 PM To: SQR-USERS@list.iex.net Subject: Re: Debug question (Finance 7.5) If it is a view go to the properties, and click the sql and see the sql. you could run this sql in the sqlplus and see if there are any rows for the sql Thanks prasanna ----- Original Message ----- From: Allen Cunningham Date: Thursday, July 18, 2002 6:23 pm Subject: Debug question (Finance 7.5) > I am trying to find a way to debug the following problem: > > We bring up the manual bank reconciliation panel, enter our bank > ID and > account number, and a date range, then hit the flashlight icon. > What should > display is a scrolled are of the list of checks that need to be > reconciled,but nothing displays, although it used to work. > > So I found the panel name, went into app designer and found the record > behind the panel (BNK_RCN_PNL_WRK), but since it is just a work > record it > doesn't show up in query so I can't see what is in it or what > record it is > getting it's information from. My question is: In a situation like > this, (1) > What are some steps to find out why the info is not displaying on > the panel > and (2) How to find where a work record is getting it's info or > where it is > putting it? > > TIA, > > Using PS Finance 7.5 > sqr 4.3.4 > Oracle db > > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* > Allen Cunningham > Sonoma State University > Administrative Information Systems > allen.cunningham@sonoma.edu > ph 707.664.2052 > fx 707.664.2505 > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* > From owner-sqr-users@list.iex.net Fri Jul 19 08:24:50 2002 Date: Fri, 19 Jul 2002 09:15:03 -0400 From: Denise White Subject: Re: Debug question (Finance 7.5) And the relationship of this question to SQR would be............? Of course you can't see what is in a work record - nothing is stored there. That's why it's a work record. Your best bet would be to do a 'Find in PeopleCode'. ------------------------------ Date: Thu, 18 Jul 2002 15:23:52 -0700 From: Allen Cunningham Subject: Debug question (Finance 7.5) I am trying to find a way to debug the following problem: We bring up the manual bank reconciliation panel, enter our bank ID and account number, and a date range, then hit the flashlight icon. What should display is a scrolled are of the list of checks that need to be reconciled, but nothing displays, although it used to work. So I found the panel name, went into app designer and found the record behind the panel (BNK_RCN_PNL_WRK), but since it is just a work record it doesn't show up in query so I can't see what is in it or what record it is getting it's information from. My question is: In a situation like this, (1) What are some steps to find out why the info is not displaying on the panel and (2) How to find where a work record is getting it's info or where it is putting it? TIA, Using PS Finance 7.5 sqr 4.3.4 Oracle db *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* Allen Cunningham Sonoma State University Administrative Information Systems allen.cunningham@sonoma.edu ph 707.664.2052 fx 707.664.2505 *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* From owner-sqr-users@list.iex.net Fri Jul 19 09:01:49 2002 Date: Fri, 19 Jul 2002 10:50:47 -0300 From: Peter Clark Subject: Re: Debug question (Finance 7.5) I am guessing, based on this question and his comments on SQR enhancements that Mr. Cunningham has not yet come to the realization that PeopleSoft and SQR are two entirely different and independant products (disregrading PeopleSoft's very recent acquisition of rights to develop their own version of the SQR product). This confuses a lot of people new to the PeopleSoft environment, but most come to the realization quite fast that although SQR is one of the bundled reporting tools supplied by PeopleSoft - the other being Crystal - that neither SQR nor Crystal are PeopleSoft products nor exclusively used in the PeopleSoft world. Mr. Cunningham is perhaps just a little slower in coming to that realization than most ... or perhaps he was just a bit careless as to which mail list he was posing his question upon :-) >>> Denise White 2002/07/19 10:15:03 am >>> And the relationship of this question to SQR would be............? Of course you can't see what is in a work record - nothing is stored there. That's why it's a work record. Your best bet would be to do a 'Find in PeopleCode'. ------------------------------ Date: Thu, 18 Jul 2002 15:23:52 -0700 From: Allen Cunningham Subject: Debug question (Finance 7.5) I am trying to find a way to debug the following problem: We bring up the manual bank reconciliation panel, enter our bank ID and account number, and a date range, then hit the flashlight icon. What should display is a scrolled are of the list of checks that need to be reconciled, but nothing displays, although it used to work. So I found the panel name, went into app designer and found the record behind the panel (BNK_RCN_PNL_WRK), but since it is just a work record it doesn't show up in query so I can't see what is in it or what record it is getting it's information from. My question is: In a situation like this, (1) What are some steps to find out why the info is not displaying on the panel and (2) How to find where a work record is getting it's info or where it is putting it? TIA, Using PS Finance 7.5 sqr 4.3.4 Oracle db *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* Allen Cunningham Sonoma State University Administrative Information Systems allen.cunningham@sonoma.edu ph 707.664.2052 fx 707.664.2505 *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* From owner-sqr-users@list.iex.net Fri Jul 19 09:12:43 2002 Date: Fri, 19 Jul 2002 07:06:33 -0700 From: Sam Spritzer Subject: Re: Debug question (Finance 7.5) Peter, Denise, etal, I wouldn't be so quick as to pulling the trigger on those who post perceived "Peoplesoft" questions in this forum. There have been many times where during the course of writing SQRs, I refer back to the application. For example, when I do a load from flatfiles, I almost always refer back to the panel(s) for the fields which require populating as well as for validation/translation purposes. Perhaps that is what Mr. Cunningham is attempting to do? SQRly yours, Sam --- Peter Clark wrote: > I am guessing, based on this question and his comments on SQR enhancements > that Mr. Cunningham has not yet come to the realization that PeopleSoft and > SQR are two entirely different and independant products (disregrading > PeopleSoft's very recent acquisition of rights to develop their own version > of the SQR product). > > This confuses a lot of people new to the PeopleSoft environment, but most > come to the realization quite fast that although SQR is one of the bundled > reporting tools supplied by PeopleSoft - the other being Crystal - that > neither SQR nor Crystal are PeopleSoft products nor exclusively used in the > PeopleSoft world. Mr. Cunningham is perhaps just a little slower in coming to > that realization than most ... or perhaps he was just a bit careless as to > which mail list he was posing his question upon :-) > > >>> Denise White 2002/07/19 10:15:03 am >>> > And the relationship of this question to SQR would be............? > > Of course you can't see what is in a work record - nothing is stored there. > That's why it's a work record. > > Your best bet would be to do a 'Find in PeopleCode'. > ------------------------------ > > Date: Thu, 18 Jul 2002 15:23:52 -0700 > From: Allen Cunningham > Subject: Debug question (Finance 7.5) > > I am trying to find a way to debug the following problem: > > We bring up the manual bank reconciliation panel, enter our bank ID and > account number, and a date range, then hit the flashlight icon. What should > display is a scrolled are of the list of checks that need to be reconciled, > but nothing displays, although it used to work. > > So I found the panel name, went into app designer and found the record > behind the panel (BNK_RCN_PNL_WRK), but since it is just a work record it > doesn't show up in query so I can't see what is in it or what record it is > getting it's information from. My question is: In a situation like this, (1) > What are some steps to find out why the info is not displaying on the panel > and (2) How to find where a work record is getting it's info or where it is > putting it? > > TIA, > > Using PS Finance 7.5 > sqr 4.3.4 > Oracle db > > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* > Allen Cunningham > Sonoma State University > Administrative Information Systems > allen.cunningham@sonoma.edu > ph 707.664.2052 > fx 707.664.2505 > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* ===== ************************************************************ "In the beginning, there was something...which exploded yet, they find nothing." __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From owner-sqr-users@list.iex.net Fri Jul 19 11:18:41 2002 Date: Fri, 19 Jul 2002 09:11:30 -0700 From: Allen Cunningham Subject: Re: Debug question (Finance 7.5) Peter, Denise, This message was directed to SQR-users who are also familiar with P/S finance in general, of which there are many. I do not appreciate sarcastic comments from people like you who seem to think their job in life is to 'police' the board and then attack anyone who who commits the unpardonable sin of posting a non-sqr question. Get a life. ac -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Sam Spritzer Sent: Friday, July 19, 2002 7:07 AM To: SQR-USERS@list.iex.net Subject: Re: Debug question (Finance 7.5) Peter, Denise, etal, I wouldn't be so quick as to pulling the trigger on those who post perceived "Peoplesoft" questions in this forum. There have been many times where during the course of writing SQRs, I refer back to the application. For example, when I do a load from flatfiles, I almost always refer back to the panel(s) for the fields which require populating as well as for validation/translation purposes. Perhaps that is what Mr. Cunningham is attempting to do? SQRly yours, Sam --- Peter Clark wrote: > I am guessing, based on this question and his comments on SQR enhancements > that Mr. Cunningham has not yet come to the realization that PeopleSoft and > SQR are two entirely different and independant products (disregrading > PeopleSoft's very recent acquisition of rights to develop their own version > of the SQR product). > > This confuses a lot of people new to the PeopleSoft environment, but most > come to the realization quite fast that although SQR is one of the bundled > reporting tools supplied by PeopleSoft - the other being Crystal - that > neither SQR nor Crystal are PeopleSoft products nor exclusively used in the > PeopleSoft world. Mr. Cunningham is perhaps just a little slower in coming to > that realization than most ... or perhaps he was just a bit careless as to > which mail list he was posing his question upon :-) > > >>> Denise White 2002/07/19 10:15:03 am >>> > And the relationship of this question to SQR would be............? > > Of course you can't see what is in a work record - nothing is stored there. > That's why it's a work record. > > Your best bet would be to do a 'Find in PeopleCode'. > ------------------------------ > > Date: Thu, 18 Jul 2002 15:23:52 -0700 > From: Allen Cunningham > Subject: Debug question (Finance 7.5) > > I am trying to find a way to debug the following problem: > > We bring up the manual bank reconciliation panel, enter our bank ID and > account number, and a date range, then hit the flashlight icon. What should > display is a scrolled are of the list of checks that need to be reconciled, > but nothing displays, although it used to work. > > So I found the panel name, went into app designer and found the record > behind the panel (BNK_RCN_PNL_WRK), but since it is just a work record it > doesn't show up in query so I can't see what is in it or what record it is > getting it's information from. My question is: In a situation like this, (1) > What are some steps to find out why the info is not displaying on the panel > and (2) How to find where a work record is getting it's info or where it is > putting it? > > TIA, > > Using PS Finance 7.5 > sqr 4.3.4 > Oracle db > > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* > Allen Cunningham > Sonoma State University > Administrative Information Systems > allen.cunningham@sonoma.edu > ph 707.664.2052 > fx 707.664.2505 > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* ===== ************************************************************ "In the beginning, there was something...which exploded yet, they find nothing." __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From owner-sqr-users@list.iex.net Fri Jul 19 09:34:03 2002 Date: Fri, 19 Jul 2002 07:28:36 -0700 From: Greg Rabinovich Subject: NULLs in SQR/PeopleSoft. This may not be 100% SQR relevant question, however the fact that PeopleSoft creates tables with most of its fields having Not Null constraints makes them very difficult to use in SQRs for Updates/Inserts. Does anyone know why PeopleSoft creates tables with Not Null constraints on most of its columns? This practice leads to very inconvenient coding in SQR, such as checking variables for NULLs prior to Insert/Update, and then forcing a blank into character fields and zeros into numeric fields. However 0 and ‘ ‘ are not NULLs and sometimes no value is the only valid value for the field. In order to circumvent this problem, we have created a procedure that joins DBA_CONS_COLUMNS and PSKEYDEFN to drop constraints on non-key fields. This has saved us a lot of trouble and coding, especially on the tables where we insert/update a huge number of fields, some of which could potentially be NULL. Has anyone approached this problem differently? Greg Rabinovich Altitude Consulting __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From owner-sqr-users@list.iex.net Fri Jul 19 09:48:55 2002 Date: Fri, 19 Jul 2002 09:39:46 -0500 From: "Knapp, Richard" Subject: Re: NULLs in SQR/PeopleSoft. This was a shock to me as well, coming from the Banner/Oracle world as I have. Over the months since, I have concluded that there was a decision to trade off ease of reporting against rational (traditional) database design. With the columns not null and dummy values in each of them, the difficulty of dealing with null columns in joins is removed. Richard Knapp Database Programmer/Analyst Administrative Systems Project University of Missouri System 573-884-3157 knappr@umsystem.edu -----Original Message----- From: Greg Rabinovich [mailto:odecca25@YAHOO.COM] Sent: Friday, July 19, 2002 9:29 AM To: SQR-USERS@list.iex.net Subject: NULLs in SQR/PeopleSoft. This may not be 100% SQR relevant question, however the fact that PeopleSoft creates tables with most of its fields having Not Null constraints makes them very difficult to use in SQRs for Updates/Inserts. Does anyone know why PeopleSoft creates tables with Not Null constraints on most of its columns? This practice leads to very inconvenient coding in SQR, such as checking variables for NULLs prior to Insert/Update, and then forcing a blank into character fields and zeros into numeric fields. However 0 and ' ' are not NULLs and sometimes no value is the only valid value for the field. In order to circumvent this problem, we have created a procedure that joins DBA_CONS_COLUMNS and PSKEYDEFN to drop constraints on non-key fields. This has saved us a lot of trouble and coding, especially on the tables where we insert/update a huge number of fields, some of which could potentially be NULL. Has anyone approached this problem differently? Greg Rabinovich Altitude Consulting __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From owner-sqr-users@list.iex.net Fri Jul 19 10:26:37 2002 Date: Fri, 19 Jul 2002 10:53:14 -0400 From: George Jansen Subject: Re: NULLs in SQR/PeopleSoft. Somewhere or tother in C.J. Date's essays is one on the use of default values in place of nulls; perhaps someone at PeopleSoft took this to heart. In any case, there are quite a few pitfalls attaching to the use of nulls--whether or not you care to be as anti as Date. The classic case is the inequality trap: if column X can be null, then (X = Y || X != Y) is not necessarily so. Do you really want to turn off PeopleSoft's constraints? How confident are you that you aren't breaking the business logic? That's a lot of system to puzzle through. If your shop is sharp enough to code PL/SQL running against DBA_CONS_COLUMNS and PSKEYDEFN, the task of _generating_ your SQR inserts should be very straightforward. >>> odecca25@YAHOO.COM 07/19/02 10:28AM >>> This may not be 100% SQR relevant question, however the fact that PeopleSoft creates tables with most of its fields having Not Null constraints makes them very difficult to use in SQRs for Updates/Inserts. Does anyone know why PeopleSoft creates tables with Not Null constraints on most of its columns? This practice leads to very inconvenient coding in SQR, such as checking variables for NULLs prior to Insert/Update, and then forcing a blank into character fields and zeros into numeric fields. However 0 and ' ' are not NULLs and sometimes no value is the only valid value for the field. In order to circumvent this problem, we have created a procedure that joins DBA_CONS_COLUMNS and PSKEYDEFN to drop constraints on non-key fields. This has saved us a lot of trouble and coding, especially on the tables where we insert/update a huge number of fields, some of which could potentially be NULL. Has anyone approached this problem differently? Greg Rabinovich Altitude Consulting __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From owner-sqr-users@list.iex.net Fri Jul 19 10:29:58 2002 Date: Fri, 19 Jul 2002 08:23:17 -0700 From: Greg Rabinovich Subject: Re: NULLs in SQR/PeopleSoft. So far we have turned off constraints only on our custom tables (and only in App Engine). However, if you think about it, only Key Values should be not null, others do not have to have data in them. --- George Jansen wrote: > Somewhere or tother in C.J. Date's essays is one on > the use of default > values in place of nulls; perhaps someone at > PeopleSoft took this to > heart. In any case, there are quite a few pitfalls > attaching to the use > of nulls--whether or not you care to be as anti as > Date. The classic > case is the inequality trap: if column X can be > null, then (X = Y || X > != Y) is not necessarily so. > > Do you really want to turn off PeopleSoft's > constraints? How confident > are you that you aren't breaking the business logic? > That's a lot of > system to puzzle through. > > If your shop is sharp enough to code PL/SQL running > against > DBA_CONS_COLUMNS and PSKEYDEFN, the task of > _generating_ your SQR > inserts should be very straightforward. > > >>> odecca25@YAHOO.COM 07/19/02 10:28AM >>> > This may not be 100% SQR relevant question, however > the fact that PeopleSoft creates tables with most of > its fields having Not Null constraints makes them > very > difficult to use in SQRs for Updates/Inserts. > > Does anyone know why PeopleSoft creates tables with > Not Null constraints on most of its columns? > > This practice leads to very inconvenient coding in > SQR, such as checking variables for NULLs prior to > Insert/Update, and then forcing a blank into > character > fields and zeros into numeric fields. However 0 and > ' > ' are not NULLs and sometimes no value is the only > valid value for the field. > > In order to circumvent this problem, we have created > a > procedure that joins DBA_CONS_COLUMNS and PSKEYDEFN > to > drop constraints on non-key fields. This has saved > us > a lot of trouble and coding, especially on the > tables > where we insert/update a huge number of fields, some > of which could potentially be NULL. > > Has anyone approached this problem differently? > > > Greg Rabinovich > Altitude Consulting > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Autos - Get free new car price quotes > http://autos.yahoo.com __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From owner-sqr-users@list.iex.net Fri Jul 19 10:58:27 2002 Date: Fri, 19 Jul 2002 11:43:11 -0400 From: Greg Landerkin Subject: Re: NULLs in SQR/PeopleSoft. Long ago PeopleSoft allowed NULL values, but around version 2 they switched all application fields to not NULL. Some of their "tools" tables still used NULLs until more recently (version 6, maybe?). Remember, long character fields and non-required date fields are defined as NULL. cheers, greg -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Greg Rabinovich Sent: Friday, July 19, 2002 11:23 AM To: SQR-USERS@list.iex.net Subject: Re: NULLs in SQR/PeopleSoft. So far we have turned off constraints only on our custom tables (and only in App Engine). However, if you think about it, only Key Values should be not null, others do not have to have data in them. --- George Jansen wrote: > Somewhere or tother in C.J. Date's essays is one on > the use of default > values in place of nulls; perhaps someone at > PeopleSoft took this to > heart. In any case, there are quite a few pitfalls > attaching to the use > of nulls--whether or not you care to be as anti as > Date. The classic > case is the inequality trap: if column X can be > null, then (X = Y || X > != Y) is not necessarily so. > > Do you really want to turn off PeopleSoft's > constraints? How confident > are you that you aren't breaking the business logic? > That's a lot of > system to puzzle through. > > If your shop is sharp enough to code PL/SQL running > against > DBA_CONS_COLUMNS and PSKEYDEFN, the task of > _generating_ your SQR > inserts should be very straightforward. > > >>> odecca25@YAHOO.COM 07/19/02 10:28AM >>> > This may not be 100% SQR relevant question, however > the fact that PeopleSoft creates tables with most of > its fields having Not Null constraints makes them > very > difficult to use in SQRs for Updates/Inserts. > > Does anyone know why PeopleSoft creates tables with > Not Null constraints on most of its columns? > > This practice leads to very inconvenient coding in > SQR, such as checking variables for NULLs prior to > Insert/Update, and then forcing a blank into > character > fields and zeros into numeric fields. However 0 and > ' > ' are not NULLs and sometimes no value is the only > valid value for the field. > > In order to circumvent this problem, we have created > a > procedure that joins DBA_CONS_COLUMNS and PSKEYDEFN > to > drop constraints on non-key fields. This has saved > us > a lot of trouble and coding, especially on the > tables > where we insert/update a huge number of fields, some > of which could potentially be NULL. > > Has anyone approached this problem differently? > > > Greg Rabinovich > Altitude Consulting > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Autos - Get free new car price quotes > http://autos.yahoo.com __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From owner-sqr-users@list.iex.net Fri Jul 19 11:15:40 2002 Date: Fri, 19 Jul 2002 09:59:18 -0500 From: James Womeldorf Subject: Re: NULLs in SQR/PeopleSoft. I'm not 100% certain, but I bet it is because somewhere out there, there is a database that does not support nulls, and PS tries to work on as many databases as possible. I expect that database limitation is the reason there is a size limit on the source SQL for views, too. (it is fairly large, but I have hit the top at times) Jim Womeldorf Programmer/Analyst Fastenal Company jwomeldo@fastenal.com (507) 453-8250 -----Original Message----- From: Greg Rabinovich [mailto:odecca25@YAHOO.COM] Sent: Friday, July 19, 2002 9:29 AM To: SQR-USERS@list.iex.net Subject: NULLs in SQR/PeopleSoft. This may not be 100% SQR relevant question, however the fact that PeopleSoft creates tables with most of its fields having Not Null constraints makes them very difficult to use in SQRs for Updates/Inserts. Does anyone know why PeopleSoft creates tables with Not Null constraints on most of its columns? This practice leads to very inconvenient coding in SQR, such as checking variables for NULLs prior to Insert/Update, and then forcing a blank into character fields and zeros into numeric fields. However 0 and ' ' are not NULLs and sometimes no value is the only valid value for the field. In order to circumvent this problem, we have created a procedure that joins DBA_CONS_COLUMNS and PSKEYDEFN to drop constraints on non-key fields. This has saved us a lot of trouble and coding, especially on the tables where we insert/update a huge number of fields, some of which could potentially be NULL. Has anyone approached this problem differently? Greg Rabinovich Altitude Consulting __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From owner-sqr-users@list.iex.net Fri Jul 19 10:58:25 2002 Date: Fri, 19 Jul 2002 10:38:20 -0500 From: Ray Ontko Subject: Re: NULLs in SQR/PeopleSoft. Greg, et al, Although I don't have a specific solution to your problem, here's a brief response to the first question regarding NULLs and a link for further reading for those interested. One reason that PS might avoid NULL is that NULL may be handled differently on different database platforms. Although the most popular database platforms are fairly consistent, I think that some databases for certain character data types make a distinction between an empty string and a NULL value, and I think that the sort behavior for NULL varies (does NULL come first or last?). In any case, NULL is considered harmful by many database designers and there is a long dialog in the computing literature about this. NULL is often used to mean "unknown", "not applicable", and "known to be the empty string", sometimes all within the same column. Some would argue that there should be no nullable columns in a fully normalized data model, and I suspect that the designers of the PeopleSoft data model understand the risk of NULL. A quick search on Google turned up this interesting overview of the issue: http://www.firstsql.com/inulls.htm Ray > This may not be 100% SQR relevant question, however > the fact that PeopleSoft creates tables with most of > its fields having Not Null constraints makes them very > difficult to use in SQRs for Updates/Inserts. > > Does anyone know why PeopleSoft creates tables with > Not Null constraints on most of its columns? > > This practice leads to very inconvenient coding in > SQR, such as checking variables for NULLs prior to > Insert/Update, and then forcing a blank into character > fields and zeros into numeric fields. However 0 and ‘ > ‘ are not NULLs and sometimes no value is the only > valid value for the field. > > In order to circumvent this problem, we have created a > procedure that joins DBA_CONS_COLUMNS and PSKEYDEFN to > drop constraints on non-key fields. This has saved us > a lot of trouble and coding, especially on the tables > where we insert/update a huge number of fields, some > of which could potentially be NULL. > > Has anyone approached this problem differently? > > > Greg Rabinovich > Altitude Consulting > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Autos - Get free new car price quotes > http://autos.yahoo.com > ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ From owner-sqr-users@list.iex.net Fri Jul 19 11:05:37 2002 Date: Fri, 19 Jul 2002 09:02:00 -0700 From: Greg Rabinovich Subject: Re: NULLs in SQR/PeopleSoft. Ray, thank you for your thoughts. It is just frustrating when you are trying to insert a row into a multi-column table and instead of doing INSERT INTO PS_JOB (emplid, effdt) VALUES (keys) and letting DB put NULLs into omitted fields, having to INSERT INTO PS_JOB VALUES ( all columns !!!). This also has a potential problem - when you alter a table and add a new column - all SQRs and other processes that work this table have to be revisited. If we, however, allow Nulls to be stored in this new field, there is no overhead involved. Greg. --- Ray Ontko wrote: > Greg, et al, > > Although I don't have a specific solution to your > problem, > here's a brief response to the first question > regarding > NULLs and a link for further reading for those > interested. > > One reason that PS might avoid NULL is that NULL may > be handled > differently on different database platforms. > Although the most > popular database platforms are fairly consistent, I > think that > some databases for certain character data types make > a distinction > between an empty string and a NULL value, and I > think that the > sort behavior for NULL varies (does NULL come first > or last?). > > In any case, NULL is considered harmful by many > database > designers and there is a long dialog in the > computing literature > about this. NULL is often used to mean "unknown", > "not > applicable", and "known to be the empty string", > sometimes all > within the same column. Some would argue that there > should be no > nullable columns in a fully normalized data model, > and I suspect > that the designers of the PeopleSoft data model > understand the > risk of NULL. > > A quick search on Google turned up this interesting > overview of the > issue: > > http://www.firstsql.com/inulls.htm > > Ray > > > This may not be 100% SQR relevant question, > however > > the fact that PeopleSoft creates tables with most > of > > its fields having Not Null constraints makes them > very > > difficult to use in SQRs for Updates/Inserts. > > > > Does anyone know why PeopleSoft creates tables > with > > Not Null constraints on most of its columns? > > > > This practice leads to very inconvenient coding in > > SQR, such as checking variables for NULLs prior to > > Insert/Update, and then forcing a blank into > character > > fields and zeros into numeric fields. However 0 > and ‘ > > ‘ are not NULLs and sometimes no value is the only > > valid value for the field. > > > > In order to circumvent this problem, we have > created a > > procedure that joins DBA_CONS_COLUMNS and > PSKEYDEFN to > > drop constraints on non-key fields. This has > saved us > > a lot of trouble and coding, especially on the > tables > > where we insert/update a huge number of fields, > some > > of which could potentially be NULL. > > > > Has anyone approached this problem differently? > > > > > > Greg Rabinovich > > Altitude Consulting > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Autos - Get free new car price quotes > > http://autos.yahoo.com > > > > ---------------------------------------------------------------------- > Ray Ontko rayo@ontko.com Phone 1.765.935.4283 > Fax 1.765.962.9788 > Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From owner-sqr-users@list.iex.net Fri Jul 19 16:15:48 2002 Date: Fri, 19 Jul 2002 17:11:33 -0400 From: Wendy Biggs Subject: Report Builder 6.2 set-up angst we are having some problems getting Report Builder 6.2 up and running on our Windows 2000 desktops. can someone suggest what we might have overlooked or be missing? if we check box to use the internal browser, it picks up the command line parameters specified on the General tab (under edit, preferences) but it seems to want to create or view an HTML file rather than the expected .spf (we get an error message that says 'unable to create reportname_frm.htm' (something like that) if we don't check the box to use the internal browser, the command line parameters we have set in preferences seem to be ignored... (they don't appear in the box that shows the string generated by the last command line executed) thanks, --wb From owner-sqr-users@list.iex.net Fri Jul 19 10:55:19 2002 Date: Fri, 19 Jul 2002 11:43:52 -0400 From: Vipul Patel Subject: Re: Debug question (Finance 7.5) How would I setup a page to create a pipe delimited file in which I do not want to new-page or any thing else to printed I have try following begin-setup declare-layout default formfeed=NO paper-size=(100,100) left-margin=0 mm top-margin=0 mm right-margin=0 mm bottom-margin=0 mm ! orientation=landscape ! max-columns=67 ! max-lines=64 end-declare declare-variable date $begindate date $enddate end-declare end-setup begin-report begin-select col1 () print '|' () col2 () print '|' () print '' (+1,1) from tab_col end-select end-report But after every 1200 lines it is printing a blank line which I do not wanted if I change paper-size=(100, 9999) I am getting following error Error on line 60: (SQR 4200) Page width and depth must be > 0 and < 32767. end-declare we are using SQR V6.1.3 and oracle 8i Thanks in advance for u help Thank You Vipul Patel Admin Software Specialist The George Washington University Voice : 202-994-7697 From owner-sqr-users@list.iex.net Fri Jul 19 11:00:47 2002 Date: Fri, 19 Jul 2002 11:57:06 -0400 From: Prasanna Menta Subject: Re: Debug question (Finance 7.5) Try using the asc value see if this fixes the problem. alternatively try using variable. Prasanna Vipul Patel wrote: > > How would I setup a page to create a pipe delimited file in which I do not > want to new-page or any thing else to printed > I have try following > begin-setup > declare-layout default > formfeed=NO > paper-size=(100,100) > left-margin=0 mm > top-margin=0 mm > right-margin=0 mm > bottom-margin=0 mm > ! orientation=landscape > ! max-columns=67 > ! max-lines=64 > > end-declare > declare-variable > date $begindate > date $enddate > end-declare > end-setup > > begin-report > > begin-select > col1 () > print '|' () > col2 () > print '|' () > print '' (+1,1) > from tab_col > end-select > > end-report > > But after every 1200 lines it is printing a blank line which I do not wanted > > if I change paper-size=(100, 9999) I am getting following error > > Error on line 60: > (SQR 4200) Page width and depth must be > 0 and < 32767. > end-declare > we are using SQR V6.1.3 and oracle 8i > Thanks in advance for u help > > Thank You > > Vipul Patel > Admin Software Specialist > The George Washington University > Voice : 202-994-7697 From owner-sqr-users@list.iex.net Mon Jul 22 06:18:11 2002 Date: Mon, 22 Jul 2002 08:09:04 -0300 From: Peter Clark Subject: Re: Debug question (Finance 7.5) Allen, I am sorry that you found our comments out of line. Had you not made two postings very close together that seemed to portray to us the impression that you perceive that all SQR users are also PeopleSoft users, I doubt that either of us would have commented. This is an issue that has bothered many in this list over the nearly three years I have been on the list as it seems to come up repeatedly. Had Denise and I not commented, the liklihood is that someone else would have. It has been my observation that most subscribers to SQR-Users who are PeopleSoft users also belong to the PeopleSoft-Fans mail list, posting SQR related questions here and PeopleSoft related questions there. While there are many SQR-User subscribers who are knowledgeable in PeopleSoft (50%? 60%?), it only makes sense that the chances of getting an answer to a PeopleSoft related problem are much greater in a forum where ALL of the subscribers are PeopleSoft users (and where, according to my perception at least, there are a great deal more subscribers). Even in the PeopleSoft-Fans group there are many SQR related questions and often they are referred to this list if appropriate. I apologize for my frustration that people sometimes can't seem to "get it". I guess that I simply should have referred you to the PeopleSoft-Fans list as a place that you would be more likely to get an answer and left it at that. >>> Allen Cunningham 2002/07/19 1:11:30 pm >>> Peter, Denise, This message was directed to SQR-users who are also familiar with P/S finance in general, of which there are many. I do not appreciate sarcastic comments from people like you who seem to think their job in life is to 'police' the board and then attack anyone who who commits the unpardonable sin of posting a non-sqr question. Get a life. ac -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Sam Spritzer Sent: Friday, July 19, 2002 7:07 AM To: SQR-USERS@list.iex.net Subject: Re: Debug question (Finance 7.5) Peter, Denise, etal, I wouldn't be so quick as to pulling the trigger on those who post perceived "Peoplesoft" questions in this forum. There have been many times where during the course of writing SQRs, I refer back to the application. For example, when I do a load from flatfiles, I almost always refer back to the panel(s) for the fields which require populating as well as for validation/translation purposes. Perhaps that is what Mr. Cunningham is attempting to do? SQRly yours, Sam --- Peter Clark wrote: > I am guessing, based on this question and his comments on SQR enhancements > that Mr. Cunningham has not yet come to the realization that PeopleSoft and > SQR are two entirely different and independant products (disregrading > PeopleSoft's very recent acquisition of rights to develop their own version > of the SQR product). > > This confuses a lot of people new to the PeopleSoft environment, but most > come to the realization quite fast that although SQR is one of the bundled > reporting tools supplied by PeopleSoft - the other being Crystal - that > neither SQR nor Crystal are PeopleSoft products nor exclusively used in the > PeopleSoft world. Mr. Cunningham is perhaps just a little slower in coming to > that realization than most ... or perhaps he was just a bit careless as to > which mail list he was posing his question upon :-) > > >>> Denise White 2002/07/19 10:15:03 am >>> > And the relationship of this question to SQR would be............? > > Of course you can't see what is in a work record - nothing is stored there. > That's why it's a work record. > > Your best bet would be to do a 'Find in PeopleCode'. > ------------------------------ > > Date: Thu, 18 Jul 2002 15:23:52 -0700 > From: Allen Cunningham > Subject: Debug question (Finance 7.5) > > I am trying to find a way to debug the following problem: > > We bring up the manual bank reconciliation panel, enter our bank ID and > account number, and a date range, then hit the flashlight icon. What should > display is a scrolled are of the list of checks that need to be reconciled, > but nothing displays, although it used to work. > > So I found the panel name, went into app designer and found the record > behind the panel (BNK_RCN_PNL_WRK), but since it is just a work record it > doesn't show up in query so I can't see what is in it or what record it is > getting it's information from. My question is: In a situation like this, (1) > What are some steps to find out why the info is not displaying on the panel > and (2) How to find where a work record is getting it's info or where it is > putting it? > > TIA, > > Using PS Finance 7.5 > sqr 4.3.4 > Oracle db > > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* > Allen Cunningham > Sonoma State University > Administrative Information Systems > allen.cunningham@sonoma.edu > ph 707.664.2052 > fx 707.664.2505 > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* ===== ************************************************************ "In the beginning, there was something...which exploded yet, they find nothing." __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From owner-sqr-users@list.iex.net Mon Jul 22 11:23:34 2002 Date: Mon, 22 Jul 2002 09:17:19 -0700 From: Allen Cunningham Subject: Re: Debug question (Finance 7.5) Peter, I apologize also, and I agree I usually post to P/S fans and sqr-users in order to get as much input as possible since there is a lot of cross-pollination there. ac -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Peter Clark Sent: Monday, July 22, 2002 4:09 AM To: SQR-USERS@list.iex.net Subject: Re: Debug question (Finance 7.5) Allen, I am sorry that you found our comments out of line. Had you not made two postings very close together that seemed to portray to us the impression that you perceive that all SQR users are also PeopleSoft users, I doubt that either of us would have commented. This is an issue that has bothered many in this list over the nearly three years I have been on the list as it seems to come up repeatedly. Had Denise and I not commented, the liklihood is that someone else would have. It has been my observation that most subscribers to SQR-Users who are PeopleSoft users also belong to the PeopleSoft-Fans mail list, posting SQR related questions here and PeopleSoft related questions there. While there are many SQR-User subscribers who are knowledgeable in PeopleSoft (50%? 60%?), it only makes sense that the chances of getting an answer to a PeopleSoft related problem are much greater in a forum where ALL of the subscribers are PeopleSoft users (and where, according to my perception at least, there are a great deal more subscribers). Even in the PeopleSoft-Fans group there are many SQR related questions and often they are referred to this list if appropriate. I apologize for my frustration that people sometimes can't seem to "get it". I guess that I simply should have referred you to the PeopleSoft-Fans list as a place that you would be more likely to get an answer and left it at that. >>> Allen Cunningham 2002/07/19 1:11:30 pm >>> Peter, Denise, This message was directed to SQR-users who are also familiar with P/S finance in general, of which there are many. I do not appreciate sarcastic comments from people like you who seem to think their job in life is to 'police' the board and then attack anyone who who commits the unpardonable sin of posting a non-sqr question. Get a life. ac -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Sam Spritzer Sent: Friday, July 19, 2002 7:07 AM To: SQR-USERS@list.iex.net Subject: Re: Debug question (Finance 7.5) Peter, Denise, etal, I wouldn't be so quick as to pulling the trigger on those who post perceived "Peoplesoft" questions in this forum. There have been many times where during the course of writing SQRs, I refer back to the application. For example, when I do a load from flatfiles, I almost always refer back to the panel(s) for the fields which require populating as well as for validation/translation purposes. Perhaps that is what Mr. Cunningham is attempting to do? SQRly yours, Sam --- Peter Clark wrote: > I am guessing, based on this question and his comments on SQR enhancements > that Mr. Cunningham has not yet come to the realization that PeopleSoft and > SQR are two entirely different and independant products (disregrading > PeopleSoft's very recent acquisition of rights to develop their own version > of the SQR product). > > This confuses a lot of people new to the PeopleSoft environment, but most > come to the realization quite fast that although SQR is one of the bundled > reporting tools supplied by PeopleSoft - the other being Crystal - that > neither SQR nor Crystal are PeopleSoft products nor exclusively used in the > PeopleSoft world. Mr. Cunningham is perhaps just a little slower in coming to > that realization than most ... or perhaps he was just a bit careless as to > which mail list he was posing his question upon :-) > > >>> Denise White 2002/07/19 10:15:03 am >>> > And the relationship of this question to SQR would be............? > > Of course you can't see what is in a work record - nothing is stored there. > That's why it's a work record. > > Your best bet would be to do a 'Find in PeopleCode'. > ------------------------------ > > Date: Thu, 18 Jul 2002 15:23:52 -0700 > From: Allen Cunningham > Subject: Debug question (Finance 7.5) > > I am trying to find a way to debug the following problem: > > We bring up the manual bank reconciliation panel, enter our bank ID and > account number, and a date range, then hit the flashlight icon. What should > display is a scrolled are of the list of checks that need to be reconciled, > but nothing displays, although it used to work. > > So I found the panel name, went into app designer and found the record > behind the panel (BNK_RCN_PNL_WRK), but since it is just a work record it > doesn't show up in query so I can't see what is in it or what record it is > getting it's information from. My question is: In a situation like this, (1) > What are some steps to find out why the info is not displaying on the panel > and (2) How to find where a work record is getting it's info or where it is > putting it? > > TIA, > > Using PS Finance 7.5 > sqr 4.3.4 > Oracle db > > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* > Allen Cunningham > Sonoma State University > Administrative Information Systems > allen.cunningham@sonoma.edu > ph 707.664.2052 > fx 707.664.2505 > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* ===== ************************************************************ "In the beginning, there was something...which exploded yet, they find nothing." __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From owner-sqr-users@list.iex.net Mon Jul 22 08:37:34 2002 Date: Mon, 22 Jul 2002 09:32:30 -0400 From: Denise White Subject: Re: Debug question (Finance 7.5) Allen, I am sorry that my suggestion to use 'Find in PeopleCode' was perceived by you to be a 'sarcastic comment'. In fact, that is exactly how I would have proceeded if I were faced with the same problem. It should show you anywhere that field is referenced in PeopleCode, and as it is a work record, it is most likely being populated by PeopleCode. I stand by this as a valid suggestion, and I fail to see what is sarcastic about it. My point was that this is an SQR forum, not a PeopleSoft one. Yes, there are many PeopleSoft users here, but the correct place to ask PeopleSoft questions (that are unrelated to SQR - there are many valid PeopleSoft questions related to SQR, but this was not one of them) is a PeopleSoft forum. I know that you posted the same question to PeopleSoft Fans, and possibly other PeopleSoft-related groups, which are the appropriate places to post it. I do not, as you seem to believe, make it a habit of 'attacking' anyone who posts a PeopleSoft-related question - you only have to look in the archives to see this. I believe your comments to me in both your replies were much nastier than what I said to you, but I would expect no less from someone who once insulted me by calling me a 'child' and an 'idiot'. I did try to help you with this problem, but it is the last time. And if you attack me further, I will not reply. Denise White Sr. Software Engineer Vicor ------------------------------ Date: Fri, 19 Jul 2002 09:56:47 -0700 From: Allen Cunningham Subject: Re: Debug question (Finance 7.5) Thanks Presanna, Greg, Steve, Arun and the sqr-users that had helpful suggestions, thanks for NOTHING to Peter and Denise who's only input is sarcastic comments. I turned on config mgr trace, which helped me find some tables that get populated, copied the sql into sql+, took out the where condition and that showed me that there were rows in the table, but the user was punching in the wrong bank ID. Thx for the assistance. ac From owner-sqr-users@list.iex.net Mon Jul 22 11:28:06 2002 Date: Mon, 22 Jul 2002 09:22:26 -0700 From: Allen Cunningham Subject: Re: Debug question (Finance 7.5) >>but I would expect no less from someone who once insulted me by calling me a 'child' and an 'idiot'.<< I wasn't singleing you out there, but really, go back and read those posts going back and forth on the 'RE:DENISE WHITE' thread, you would have to admit it was pretty embarrassing, especially since it was being broadast to the whole world. ac -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Denise White Sent: Monday, July 22, 2002 6:33 AM To: SQR-USERS@list.iex.net Subject: Re: Debug question (Finance 7.5) Allen, I am sorry that my suggestion to use 'Find in PeopleCode' was perceived by you to be a 'sarcastic comment'. In fact, that is exactly how I would have proceeded if I were faced with the same problem. It should show you anywhere that field is referenced in PeopleCode, and as it is a work record, it is most likely being populated by PeopleCode. I stand by this as a valid suggestion, and I fail to see what is sarcastic about it. My point was that this is an SQR forum, not a PeopleSoft one. Yes, there are many PeopleSoft users here, but the correct place to ask PeopleSoft questions (that are unrelated to SQR - there are many valid PeopleSoft questions related to SQR, but this was not one of them) is a PeopleSoft forum. I know that you posted the same question to PeopleSoft Fans, and possibly other PeopleSoft-related groups, which are the appropriate places to post it. I do not, as you seem to believe, make it a habit of 'attacking' anyone who posts a PeopleSoft-related question - you only have to look in the archives to see this. I believe your comments to me in both your replies were much nastier than what I said to you, but I would expect no less from someone who once insulted me by calling me a 'child' and an 'idiot'. I did try to help you with this problem, but it is the last time. And if you attack me further, I will not reply. Denise White Sr. Software Engineer Vicor ------------------------------ Date: Fri, 19 Jul 2002 09:56:47 -0700 From: Allen Cunningham Subject: Re: Debug question (Finance 7.5) Thanks Presanna, Greg, Steve, Arun and the sqr-users that had helpful suggestions, thanks for NOTHING to Peter and Denise who's only input is sarcastic comments. I turned on config mgr trace, which helped me find some tables that get populated, copied the sql into sql+, took out the where condition and that showed me that there were rows in the table, but the user was punching in the wrong bank ID. Thx for the assistance. ac From owner-sqr-users@list.iex.net Mon Jul 22 13:19:07 2002 Date: Mon, 22 Jul 2002 11:13:04 -0700 From: D W Subject: Re: Debug question (Finance 7.5) Too much contention out there. Is this normal for this 'list?' Sorry to hear it, if so. Good luck to you all, and perhaps everyone should try not to be so quick to take insult. It's only business; not personal. --- Denise White wrote: > Allen, > > I am sorry that my suggestion to use 'Find in > PeopleCode' was perceived by you > to be a 'sarcastic comment'. In fact, that is > exactly how I would have > proceeded if I were faced with the same problem. It > should show you anywhere > that field is referenced in PeopleCode, and as it is > a work record, it is most > likely being populated by PeopleCode. I stand by > this as a valid suggestion, > and I fail to see what is sarcastic about it. > > My point was that this is an SQR forum, not a > PeopleSoft one. Yes, there are > many PeopleSoft users here, but the correct place to > ask PeopleSoft questions > (that are unrelated to SQR - there are many valid > PeopleSoft questions related > to SQR, but this was not one of them) is a > PeopleSoft forum. I know that you > posted the same question to PeopleSoft Fans, and > possibly other > PeopleSoft-related groups, which are the appropriate > places to post it. I do > not, as you seem to believe, make it a habit of > 'attacking' anyone who posts a > PeopleSoft-related question - you only have to look > in the archives to see this. > > I believe your comments to me in both your replies > were much nastier than what I > said to you, but I would expect no less from someone > who once insulted me by > calling me a 'child' and an 'idiot'. I did try to > help you with this problem, > but it is the last time. And if you attack me > further, I will not reply. > > Denise White > Sr. Software Engineer > Vicor > ------------------------------ > > Date: Fri, 19 Jul 2002 09:56:47 -0700 > From: Allen Cunningham > > Subject: Re: Debug question (Finance 7.5) > > Thanks Presanna, Greg, Steve, Arun and the sqr-users > that had helpful > suggestions, thanks for NOTHING to Peter and Denise > who's only input is > sarcastic comments. > > I turned on config mgr trace, which helped me find > some tables that get > populated, copied the sql into sql+, took out the > where condition and that > showed me that there were rows in the table, but the > user was punching in > the wrong bank ID. Thx for the assistance. > > ac __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From owner-sqr-users@list.iex.net Mon Jul 22 09:17:29 2002 Date: Mon, 22 Jul 2002 10:12:23 -0400 From: Kevin Laroche Subject: Re: Debug question (Finance 7.5) Surely we can all put Friday's posts down to the hot weather on a long Friday afternoon and leave at that, please. The helpful professional replies to simple and hard questions is why I subscribed to this mailing list. Let's continue that tradition of helping people with a neat product that can sometimes be confusing. Kevin LaRoche Oracle Forms Developer Cell: 613-276-1928 Nepean, Ontario K2E 5G2 From owner-sqr-users@list.iex.net Fri Jul 19 00:19:20 2002 Date: Thu, 18 Jul 2002 22:02:05 -0700 From: D W Subject: Run Recurrences in HR Version 8 I have set up a run recurrence in HR Version 8, but when I kick it off via the on-line page, it errors out. The exact same program runs fine ad hoc from a different run control/process definition. Is there some secret to setting up run recurrences in PeopleSoft 8? Is there some security setting that needs to be addressed? Any suggestions would be appreciated! Thx, Deborah __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From owner-sqr-users@list.iex.net Fri Jul 19 08:35:31 2002 Date: Fri, 19 Jul 2002 09:30:22 -0400 From: Denise White Subject: Re: sqr enhancements (PSoft) Back in 1999 I attended a PeopleSoft User Symposium. In one of the presentations, PeopleSoft said it would be transitioning from SQR to Actuate. There was much concern from the audience, and we were assured that we did not have to rewrite all of our custom programs right away - they would continue to deliver SQR for some time. I hope noone immediately ran out and started converting to Actuate, as that obviously never happened. I'm sure it cost PeopleSoft some $$$ to recently buy the rights to SQR. I don't know why they would have done that if they were just going to drop the product with the next release. However, the comment that it is useless to suggest enhancements to SQR just because PeopleSoft may drop it is irrelevant, in any case. Even if they do, SQR will still be around, and this forum will still exist for those who continue to use it. My main concern since PeopleSoft bought the rights is that their version may diverge wildly from the Brio version, to the point that they are really two different programming languages with the same name. This will cause a lot of confusion and frustration. It also could reduce the marketability of PeopleSoft SQR programmers. Currently, I could consider a job as an SQR programmer at a non-PeopleSoft client. Once the PeopleSoft version is not keeping up with, or is different from, the 'real' version, that is no longer the case. I had submitted some suggestions for enhancements on the website a while back, but I don't know if they ever got added to the list (I just went out to sqrug.com and couldn't find the list). My main wish is for a sort function for flat files. Denise White Sr. Software Engineer Vicor ------------------------------ Date: Thu, 18 Jul 2002 13:09:04 -0500 From: "Wendel, Robbi" Subject: Re: sqr enhancements App. Engine has no reporting capabilities. So it can not replace SQR as a reporting tool. -----Original Message----- From: Woods, Carolyn [mailto:CWoods@YAR.MIRACOSTA.CC.CA.US] Sent: Thursday, July 18, 2002 1:04 PM To: SQR-USERS@list.iex.net Subject: Re: sqr enhancements I've heard this rumor before, but has anyone said what would replace SQR as a reporting tool? I know that future upgrades are supposed to use App. Engine scripts instead of SQR, but I was assured that SQR would not be dumped. Maybe this switch to App Engine in the upgrades is causing some confusion. Carolyn Woods MiraCosta College Oceanside, CA -----Original Message----- From: Allen Cunningham [mailto:allen.cunningham@SONOMA.EDU] Sent: Thursday, July 18, 2002 8:30 AM To: SQR-USERS@list.iex.net Subject: Re: sqr enhancements Isn't this kind of a moot point since the party line in Pleasanton is that SQR will completely go away in Version 9?? ac Allen Cunningham Sonoma State University From owner-sqr-users@list.iex.net Fri Jul 19 11:54:44 2002 Date: Fri, 19 Jul 2002 12:53:22 -0400 From: Robert Foster Subject: Re: SQR-USERS Digest - 17 Jul 2002 to 18 Jul 2002 (#2002-169) [1] This might fit under the IDE enhancement but I would like to see some sort of SQR procedure cataloging and management. By that I mean systems for easily including pre-existing and "likely to be bug free" procedures from a code library. I do this already by keeping a text file of all the sqr procedures I've written that have cross report functionality. When I need to write a new report I can easily cut and paste all of the procedures together that I need and then work on the new functionality. Of course, I haven't used Brio Report Builder yet, which may solve this problem, but I would still like to see SQR move toward a more object oriented framework like I've just described. [2] Another really great idea would be to somehow make it possible to create stand alone sqr executables that will run as GUI objects on a given platform, even one different from the database platform or the development platform. My problem has always been how best to give general users access to just plain running the sqr when they need to. I don't have PeopleSoft or a Portal or anything else to provide this. If it was a "double click this icon on your desktop and answer the questions and then go to the printer" kind of thing then my life would be a whole lot easier. :) SQR is a great tool with lots of functionality in an important niche which very few other tools can duplicate, kind of like PHP, so I hope it just keeps getting better. Thanks, Bob. > SQR Enthusiasts, > > I'm thinking about updating my page of Suggested Enhancements for SQR > and am looking for fresh ideas. What would make SQR even more useful > to your organization? What would make your job easier? Are there > projects within your organization where SQR was not chosen but would > have if it had just one thing added? If you could add a few features > to SQR or Brio Report Builder (BRB), what would they be? > === Bob Foster I/S Coordinator Mid-Michigan MRI, Inc. Direct Line: (517) 364-2673 mailto:rkf@radiology.msu.edu From owner-sqr-users@list.iex.net Fri Jul 19 12:21:45 2002 Date: Fri, 19 Jul 2002 10:07:01 -0700 From: may alkhalaf Hi, We are trying to print images on sqr report. I wrote the code for printing the image and used the -printer::WP printer. The report is printing fine with the image which is a bmp. The problem is when we run the report on the server it only prints on the default printer on this server. If the user wants to rout the output to another printer, which is not the default for this server, it will still print it to the default one. I tried using the -printer::HP and I did not get any out put although the job was successful. We are using SQR ver 6. Any help, tip appreciated. Thanks --------------------------------- Do You Yahoo!? Yahoo! Autos - Get free new car price quotes From owner-sqr-users@list.iex.net Fri Jul 19 13:43:37 2002 Date: Fri, 19 Jul 2002 13:37:41 -0500 From: "Knapp, Richard" I believe the answer will depend on what your network environment is like and especially if there is a print server. Richard Knapp Database Programmer/Analyst Administrative Systems Project University of Missouri System 573-884-3157 knappr@umsystem.edu -----Original Message----- From: may alkhalaf [mailto:malkhalaf2002@YAHOO.COM] Sent: Friday, July 19, 2002 12:07 PM To: SQR-USERS@list.iex.net Subject: Hi, We are trying to print images on sqr report. I wrote the code for printing the image and used the -printer::WP printer. The report is printing fine with the image which is a bmp. The problem is when we run the report on the server it only prints on the default printer on this server. If the user wants to rout the output to another printer, which is not the default for this server, it will still print it to the default one. I tried using the -printer::HP and I did not get any out put although the job was successful. We are using SQR ver 6. Any help, tip appreciated. Thanks --------------------------------- Do You Yahoo!? Yahoo! Autos - Get free new car price quotes From owner-sqr-users@list.iex.net Fri Jul 19 14:14:38 2002 Date: Fri, 19 Jul 2002 12:10:20 -0700 From: may alkhalaf Thanks for the reply. Yes we are using HP ntework printer on NT server. and we have 4printer defined on the server and users can use any one of them. May Alkhalaf Acushnet Company "Knapp, Richard" wrote: I believe the answer will depend on what your network environment is like and especially if there is a print server. Richard Knapp Database Programmer/Analyst Administrative Systems Project University of Missouri System 573-884-3157 knappr@umsystem.edu -----Original Message----- From: may alkhalaf [mailto:malkhalaf2002@YAHOO.COM] Sent: Friday, July 19, 2002 12:07 PM To: SQR-USERS@list.iex.net Subject: Hi, We are trying to print images on sqr report. I wrote the code for printing the image and used the -printer::WP printer. The report is printing fine with the image which is a bmp. The problem is when we run the report on the server it only prints on the default printer on this server. If the user wants to rout the output to another printer, which is not the default for this server, it will still print it to the default one. I tried using the -printer::HP and I did not get any out put although the job was successful. We are using SQR ver 6. Any help, tip appreciated. Thanks --------------------------------- Do You Yahoo!? Yahoo! Autos - Get free new car price quotes --------------------------------- Do You Yahoo!? Yahoo! Autos - Get free new car price quotes From owner-sqr-users@list.iex.net Fri Jul 19 14:14:28 2002 Date: Fri, 19 Jul 2002 13:59:54 -0500 From: "Zhang, Qian" Subject: How can I compare data in same table I have SQL runs in Oracle and get following result. select distinct a.emplid , a.strm, b.strm, a.acad_career,b.acad_career from stdnt_car_term a, stdnt_car_term b where a.acad_career <> b.acad_career and a.emplid = b.emplid and a.institution = b.institution AND A.EMPLID = '06006102' and a.strm = b.strm Order by 1,2,3 Asc EMPLID STRM STRM ACAD_CAREER ACAD_CAREER ----------- ---- ---- ----------- ----------- 06006102 2943 2943 GRAD UGRD 06006102 2943 2943 UGRD GRAD 2 rows selected How can I get single row like this: EMPLID STRM STRM ACAD_CAREER ACAD_CAREER 06006102 2943 2943 GRAD UGRD From owner-sqr-users@list.iex.net Fri Jul 19 14:45:21 2002 Date: Fri, 19 Jul 2002 15:35:22 -0400 From: George Jansen Subject: Re: How can I compare data in same table and a.acad_career < b.acad_career >>> ZhangQia@UMSYSTEM.EDU 07/19/02 02:59PM >>> I have SQL runs in Oracle and get following result. select distinct a.emplid , a.strm, b.strm, a.acad_career,b.acad_career from stdnt_car_term a, stdnt_car_term b where a.acad_career <> b.acad_career and a.emplid = b.emplid and a.institution = b.institution AND A.EMPLID = '06006102' and a.strm = b.strm Order by 1,2,3 Asc EMPLID STRM STRM ACAD_CAREER ACAD_CAREER ----------- ---- ---- ----------- ----------- 06006102 2943 2943 GRAD UGRD 06006102 2943 2943 UGRD GRAD 2 rows selected How can I get single row like this: EMPLID STRM STRM ACAD_CAREER ACAD_CAREER 06006102 2943 2943 GRAD UGRD From owner-sqr-users@list.iex.net Fri Jul 19 14:46:41 2002 Date: Fri, 19 Jul 2002 15:42:04 -0400 From: Rhiain Musser Subject: Re: How can I compare data in same table In your SQR using SQL you could set up two variable fields for your output - $Acad_Career1, $Acad_Career2, then for each select, set a count on the number of rows per emplid. Let #Count = 1 Begin-Select ACAD_CAREER Let $Acad_Career = &ACAD_CAREER Do Evaluate FROM.... End-Select Then Evaluate the #Count variable, so: Evaluate #Count When = 1 Let $Acad_Career1 = $Acad_Career Add 1 to #Count Break When = 2 Let $Acad_Career2 = $Acad_Career Add 1 to #Count Break When-Other... Etc... At 01:59 PM 7/19/02 -0500, you wrote: >I have SQL runs in Oracle and get following result. > >select distinct a.emplid , a.strm, b.strm, a.acad_career,b.acad_career >from stdnt_car_term a, stdnt_car_term b >where a.acad_career <> b.acad_career >and a.emplid = b.emplid >and a.institution = b.institution >AND A.EMPLID = '06006102' >and a.strm = b.strm >Order by 1,2,3 Asc > >EMPLID STRM STRM ACAD_CAREER ACAD_CAREER >----------- ---- ---- ----------- ----------- >06006102 2943 2943 GRAD UGRD >06006102 2943 2943 UGRD GRAD >2 rows selected > > >How can I get single row like this: > >EMPLID STRM STRM ACAD_CAREER ACAD_CAREER > >06006102 2943 2943 GRAD UGRD From owner-sqr-users@list.iex.net Fri Jul 19 15:09:37 2002 Date: Fri, 19 Jul 2002 15:00:25 -0500 From: Hye-Sook Lee Subject: Re: How can I compare data in same table Attach one more condition: and a.acad_career < b.acad_career "Zhang, Qian" wrote: > I have SQL runs in Oracle and get following result. > > select distinct a.emplid , a.strm, b.strm, a.acad_career,b.acad_career > from stdnt_car_term a, stdnt_car_term b > where a.acad_career <> b.acad_career > and a.emplid = b.emplid > and a.institution = b.institution > AND A.EMPLID = '06006102' > and a.strm = b.strm > Order by 1,2,3 Asc > > EMPLID STRM STRM ACAD_CAREER ACAD_CAREER > ----------- ---- ---- ----------- ----------- > 06006102 2943 2943 GRAD UGRD > 06006102 2943 2943 UGRD GRAD > 2 rows selected > > How can I get single row like this: > > EMPLID STRM STRM ACAD_CAREER ACAD_CAREER > > 06006102 2943 2943 GRAD UGRD From owner-sqr-users@list.iex.net Fri Jul 19 15:23:15 2002 Date: Fri, 19 Jul 2002 16:18:50 -0400 From: Dietrich Schmitz Subject: Re: How can I compare data in same table unsubscribe sqr-users >>> GJANSEN@AFLCIO.ORG 07/19/02 15:57 PM >>> and a.acad_career < b.acad_career >>> ZhangQia@UMSYSTEM.EDU 07/19/02 02:59PM >>> I have SQL runs in Oracle and get following result. select distinct a.emplid , a.strm, b.strm, a.acad_career,b.acad_career from stdnt_car_term a, stdnt_car_term b where a.acad_career <> b.acad_career and a.emplid = b.emplid and a.institution = b.institution AND A.EMPLID = '06006102' and a.strm = b.strm Order by 1,2,3 Asc EMPLID STRM STRM ACAD_CAREER ACAD_CAREER ----------- ---- ---- ----------- ----------- 06006102 2943 2943 GRAD UGRD 06006102 2943 2943 UGRD GRAD 2 rows selected How can I get single row like this: EMPLID STRM STRM ACAD_CAREER ACAD_CAREER 06006102 2943 2943 GRAD UGRD From owner-sqr-users@list.iex.net Fri Jul 19 14:43:11 2002 Date: Fri, 19 Jul 2002 14:38:57 -0500 From: "Knapp, Richard" Hi May, All of the SQR printer related commands I am familiar with do things internal to the SQR environment. Most of them tell SQR how to transform the output for a specific printer type or printer control language like HP PCL or PostScript. None of these commands let you direct the output to one printer or another. The way I have done this in the past is to write (rather than print) the file, close it and send the output file, using the call system command, to a print server specifying the printer I want to print the file. Richard Knapp Database Programmer/Analyst Administrative Systems Project University of Missouri System 573-884-3157 knappr@umsystem.edu -----Original Message----- From: may alkhalaf [mailto:malkhalaf2002@YAHOO.COM] Sent: Friday, July 19, 2002 2:10 PM To: SQR-USERS@list.iex.net Subject: Thanks for the reply. Yes we are using HP ntework printer on NT server. and we have 4printer defined on the server and users can use any one of them. May Alkhalaf Acushnet Company "Knapp, Richard" wrote: I believe the answer will depend on what your network environment is like and especially if there is a print server. Richard Knapp Database Programmer/Analyst Administrative Systems Project University of Missouri System 573-884-3157 knappr@umsystem.edu -----Original Message----- From: may alkhalaf [mailto:malkhalaf2002@YAHOO.COM] Sent: Friday, July 19, 2002 12:07 PM To: SQR-USERS@list.iex.net Subject: Hi, We are trying to print images on sqr report. I wrote the code for printing the image and used the -printer::WP printer. The report is printing fine with the image which is a bmp. The problem is when we run the report on the server it only prints on the default printer on this server. If the user wants to rout the output to another printer, which is not the default for this server, it will still print it to the default one. I tried using the -printer::HP and I did not get any out put although the job was successful. We are using SQR ver 6. Any help, tip appreciated. Thanks --------------------------------- Do You Yahoo!? Yahoo! Autos - Get free new car price quotes --------------------------------- Do You Yahoo!? Yahoo! Autos - Get free new car price quotes From owner-sqr-users@list.iex.net Fri Jul 19 16:48:12 2002 Date: Fri, 19 Jul 2002 16:44:29 -0500 From: "Zhang, Qian" Subject: Peoplesoft question I got following message when I try to show up one prompt table. However I know there are data in the table: "There are no prompt values currently available for this field." Thanks From owner-sqr-users@list.iex.net Fri Jul 19 16:55:22 2002 Date: Fri, 19 Jul 2002 17:45:45 -0400 From: Bruce Kelling Subject: Re: Peoplesoft question 1) Check to see if the table being prompted on is the one with the data in it. 2) If the prompt table has effective date and effective status, the prompt values need to be Active. Hope this helps Bruce -----Original Message----- From: Zhang, Qian [mailto:ZhangQia@UMSYSTEM.EDU] Sent: Friday, July 19, 2002 5:44 PM To: SQR-USERS@list.iex.net Subject: Peoplesoft question I got following message when I try to show up one prompt table. However I know there are data in the table: "There are no prompt values currently available for this field." Thanks From owner-sqr-users@list.iex.net Fri Jul 19 20:01:40 2002 Date: Fri, 19 Jul 2002 17:54:36 -0700 From: Greg Rabinovich Subject: Re: Peoplesoft question In Utilities, turn on SQL trace. This will tell you exactly what PSoft is trying to do and what values it is feeding to the prompt. You should then duplicate the SQL in SQLPlus (or other tool) and see what's wrong with the prompt. It is very likely that the keys that are on your panel do not match anything in your prompt. --- Bruce Kelling wrote: > 1) Check to see if the table being prompted on is > the one with the data in > it. > > 2) If the prompt table has effective date and > effective status, the prompt > values need to be Active. > > Hope this helps > > Bruce > > > > -----Original Message----- > From: Zhang, Qian [mailto:ZhangQia@UMSYSTEM.EDU] > Sent: Friday, July 19, 2002 5:44 PM > To: SQR-USERS@list.iex.net > Subject: Peoplesoft question > > > I got following message when I try to show up one > prompt table. However I > know there are data in the table: > > "There are no prompt values currently available for > this field." > > > > Thanks __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From owner-sqr-users@list.iex.net Mon Jul 22 09:01:42 2002 Date: Mon, 22 Jul 2002 08:52:57 -0500 From: Gary Kearns Subject: Re: Peoplesoft question Also you might not have supplied a valid setid if that is a key on the table. -----Original Message----- From: Zhang, Qian [mailto:ZhangQia@UMSYSTEM.EDU] Sent: Friday, July 19, 2002 4:44 PM To: SQR-USERS@list.iex.net Subject: Peoplesoft question I got following message when I try to show up one prompt table. However I know there are data in the table: "There are no prompt values currently available for this field." Thanks From owner-sqr-users@list.iex.net Mon Jul 22 11:46:15 2002 Date: Mon, 22 Jul 2002 09:44:59 -0700 From: Denise Goin Subject: using a dynamic in select OK SQR guru's- I have used dynamic variables in many ways, but this one is a challange. I am selecting the field names from the metadata and putting them into a variable. I need to then be able to use that dynamic variable in a select statement- here is the code: let $FIELDNAME = 'NV.' || $RECFIELDNAME (sets up my fieldname with the table alias it will be using in the select) then: begin-select [$FIELDNAME] &OLDVALUE FROM [$FROM_AUDITRECNAME] NV WHERE &AD.EMPLID = NV.EMPLID and &AD.AUDIT_ACTN = NV.AUDIT_ACTN and &astamp = NV.AUDIT_STAMP yet, the [$FIELDNAME] won't work, I get an error "Invalid &pseudonym 'Type=' data-type specified for a begin-select column-variable. Valid types are: CHAR, TEXT, DATE, NUMBER' I can not take the brackets from around the dynamic variable or it will select the value I am passing, not use that value to form my select statement. Does anyone have any suggestions, or has anyone done anything like this? Denise Goin Paramount Studios From owner-sqr-users@list.iex.net Mon Jul 22 11:57:19 2002 Date: Mon, 22 Jul 2002 11:50:52 -0500 From: James Womeldorf Subject: Re: using a dynamic in select Try begin-select [$FIELDNAME] &OLDVALUE=char FROM [$FROM_AUDITRECNAME] NV or [$FIELDNAME] &OLDVALUE=text [$FIELDNAME] &OLDVALUE=number [$FIELDNAME] &OLDVALUE=date You have to specify the type of the field when using a dynamic query variable in the field section of the select. Jim Womeldorf Programmer/Analyst Fastenal Company jwomeldo@fastenal.com (507) 453-8250 -----Original Message----- From: Denise Goin [mailto:Denise_Goin@PARAMOUNT.COM] Sent: Monday, July 22, 2002 11:45 AM To: SQR-USERS@list.iex.net Subject: using a dynamic in select OK SQR guru's- I have used dynamic variables in many ways, but this one is a challange. I am selecting the field names from the metadata and putting them into a variable. I need to then be able to use that dynamic variable in a select statement- here is the code: let $FIELDNAME = 'NV.' || $RECFIELDNAME (sets up my fieldname with the table alias it will be using in the select) then: begin-select [$FIELDNAME] &OLDVALUE FROM [$FROM_AUDITRECNAME] NV WHERE &AD.EMPLID = NV.EMPLID and &AD.AUDIT_ACTN = NV.AUDIT_ACTN and &astamp = NV.AUDIT_STAMP yet, the [$FIELDNAME] won't work, I get an error "Invalid &pseudonym 'Type=' data-type specified for a begin-select column-variable. Valid types are: CHAR, TEXT, DATE, NUMBER' I can not take the brackets from around the dynamic variable or it will select the value I am passing, not use that value to form my select statement. Does anyone have any suggestions, or has anyone done anything like this? Denise Goin Paramount Studios From owner-sqr-users@list.iex.net Mon Jul 22 12:06:19 2002 Date: Mon, 22 Jul 2002 09:55:27 -0700 From: Greg Rabinovich Subject: Re: using a dynamic in select I had the same problem, but solved it by assigning a type to the selected variable: BEGIN-SELECT [$OUT_VAR] &OUT_VAR_TMP=char Hope this works. Greg. --- Denise Goin wrote: > OK SQR guru's- I have used dynamic variables in many > ways, but this one is > a challange. I am selecting the field names from > the metadata and putting > them into a variable. I need to then be able to use > that dynamic variable > in a select statement- here is the code: > > let $FIELDNAME = 'NV.' || $RECFIELDNAME > > (sets up my fieldname with the table alias it will > be using in the select) > > then: > > begin-select > > [$FIELDNAME] &OLDVALUE > > FROM [$FROM_AUDITRECNAME] NV > WHERE &AD.EMPLID = NV.EMPLID > and &AD.AUDIT_ACTN = NV.AUDIT_ACTN > and &astamp = NV.AUDIT_STAMP > > yet, the [$FIELDNAME] won't work, I get an error > "Invalid &pseudonym > 'Type=' data-type specified for a begin-select > column-variable. Valid > types are: CHAR, TEXT, DATE, NUMBER' > > I can not take the brackets from around the dynamic > variable or it will > select the value I am passing, not use that value to > form my select > statement. > > Does anyone have any suggestions, or has anyone done > anything like this? > > Denise Goin > Paramount Studios __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From owner-sqr-users@list.iex.net Mon Jul 22 12:15:33 2002 Date: Mon, 22 Jul 2002 12:06:18 -0500 From: "Sengupta, Rajib (CC-Contractor)" Subject: Re: using a dynamic in select i have tried this in where clause lots of time but not for the column name or table name.... can you try this by using / / instead of [] and use FIELDNAME1 let $FIELDNAME1 = 'NV.' || $RECFIELDNAME begin-select /$FIELDNAME1/ &OLDVALUE FROM [$FROM_AUDITRECNAME] NV WHERE &AD.EMPLID = NV.EMPLID and &AD.AUDIT_ACTN = NV.AUDIT_ACTN and &astamp = NV.AUDIT_STAMP Rajib -----Original Message----- From: Denise Goin [mailto:Denise_Goin@PARAMOUNT.COM] Sent: Monday, July 22, 2002 11:45 AM To: SQR-USERS@list.iex.net Subject: using a dynamic in select OK SQR guru's- I have used dynamic variables in many ways, but this one is a challange. I am selecting the field names from the metadata and putting them into a variable. I need to then be able to use that dynamic variable in a select statement- here is the code: let $FIELDNAME = 'NV.' || $RECFIELDNAME (sets up my fieldname with the table alias it will be using in the select) then: begin-select [$FIELDNAME] &OLDVALUE FROM [$FROM_AUDITRECNAME] NV WHERE &AD.EMPLID = NV.EMPLID and &AD.AUDIT_ACTN = NV.AUDIT_ACTN and &astamp = NV.AUDIT_STAMP yet, the [$FIELDNAME] won't work, I get an error "Invalid &pseudonym 'Type=' data-type specified for a begin-select column-variable. Valid types are: CHAR, TEXT, DATE, NUMBER' I can not take the brackets from around the dynamic variable or it will select the value I am passing, not use that value to form my select statement. Does anyone have any suggestions, or has anyone done anything like this? Denise Goin Paramount Studios From owner-sqr-users@list.iex.net Wed Jul 24 16:10:52 2002 Date: Wed, 24 Jul 2002 14:06:23 -0700 From: Denise Goin Subject: Re: using a dynamic in select I wanted to thank everyone- I finally got what I needed and thought I would share- I ended up determining whether the field was character, numeric or a date- and wrote 3 procedures, one for each. This was by far the easiest and cleanest code (for future programmers to debug). And for those following my continuing saga- I am still working on this "dynamic" audit report for PeopleSoft- and I am actually to the part where I have all the data nad am playing with the format of the report, and adding in the "extras" that the users want. I know that there was some interest from many of you about this- if you are still interested- please let me know- I can put together the record definitions for the records I created and the programs. I expect to be completed with it in the next couple off weeks- including fine tuning. Again- THANKS FOR ALL THE ASSISTS!!!! Denise Goin From owner-sqr-users@list.iex.net Fri Aug 23 09:36:30 2002 Date: Mon, 22 Jul 2002 17:19:35 -0400 From: Poonam Auluck Subject: Wrap functionality question HI All - I'm new to SQR and new to this group..this is a great site...I've already answered so many of my questions by searching the archives!! Hopefully, my question will be easy for some of you. I have one field called remarks, which is 255 characters. I'm unsure of how many spaces user will fill in. There are three rows that I am pulling from my DB that I want to combine all the remarks together. My code looks something along these lines.... begin-procedure remarks let #begin_remarks = 390 begin-select a.remarks &remarks print &remarks (#begin_remarks, 25) wrap 100 4 line-height=10 let #begin_remarks = #begin_remarks + 10 from mf_pr a where a.uidy = $input_uidy end-select end-procedure I identified #begin_remarks = 390 in the beginning because I want to have all the remarks from the three rows printed out together. If I hardcoded it in my select statement, I would have the three remarks printed out on top of each other. That's why I put the let #begin_remarks = #begin_remarks + 10 statement, so that for each record it picks up, the remarks will begin printing on the next line. I had to put the wrap statement in because of the 255 characters. My space alloted for the remarks section doesn't have enough to fit 255 in one line. The problem is that it will print out the remarks fine for the first record, but then it will overlap the beginning of the second remark onto the wrapped text from the previous record. Does that make sense?? I guess I'm wondering how to incorporate adding the lines wrapped so that it will advance nicely on the report. Any suggestions?? Any help is apprecited :o) Thanks, Poonam Auluck From owner-sqr-users@list.iex.net Tue Jul 23 09:01:12 2002 Date: Tue, 23 Jul 2002 13:49:45 +0000 From: "Srini ." Subject: How can i check table exist or not exist in DB2........ Hi, I need help, In my report i am using temp table, i am doing like this. First i am creting table and then inserting values into that table. But my problem is to delete that table every time. When i execute my report first it will check if the table exict Delete table or Table is not exist skip that command......but how can i check that table is exist or not in the DB2 database. Please give me reply as soon as possible. Thanks Srini >From: Dan Vega >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: Opening multiple files in SQR >Date: Thu, 18 Jul 2002 19:50:21 -0400 > >Hi Tom, > >Try MOVE 0 TO #END-FILE before opening filename2 and 3. > >HTH >Dan Vega >CASSI Computer Consulting >Avon, MA USA _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com From owner-sqr-users@list.iex.net Tue Jul 23 09:12:26 2002 Date: Tue, 23 Jul 2002 07:00:54 -0700 From: Greg Rabinovich Subject: Re: How can i check table exist or not exist in DB2........ In Oracle, there exists dba_tables table, which you can query to see if you table exists, I am sure similar exists in DB2. Now, why would you want to drop the table every time you re-run your report? Couldn't you just truncate it (delete all rows when the report is finished)? Greg. --- "Srini ." wrote: > Hi, > I need help, In my report i am using temp table, i > am doing like this. > First i am creting table and then inserting values > into that table. > But my problem is to delete that table every time. > When i execute my report first it will check if the > table exict Delete table > or Table is not exist skip that command......but how > can i check that table > is exist or not in the DB2 database. > Please give me reply as soon as possible. > Thanks > Srini > > > >From: Dan Vega > >Reply-To: sqr-users@list.iex.net > >To: SQR-USERS@list.iex.net > >Subject: Re: Opening multiple files in SQR > >Date: Thu, 18 Jul 2002 19:50:21 -0400 > > > >Hi Tom, > > > >Try MOVE 0 TO #END-FILE before opening filename2 > and 3. > > > >HTH > >Dan Vega > >CASSI Computer Consulting > >Avon, MA USA > > > > > _________________________________________________________________ > Join the world’s largest e-mail service with MSN > Hotmail. > http://www.hotmail.com __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From owner-sqr-users@list.iex.net Tue Jul 23 09:37:17 2002 Date: Tue, 23 Jul 2002 16:02:39 +0200 From: "O'riordan, Paul (EI05)" Subject: Re: How can i check table exist or not exist in DB2........ Use this code in your sql-error handling Evaluate #Sql-Status When = -942 !Table or View does not exist Regards, Paul Honeywell Paul O'Riordan Honeywell Application Services Application Developer Industrial Park, Cork Road PeopleSoft Applications, Waterford Ireland +353-51-309856 Direct +353-51-309821 Fax +353-87-9083244 Mobile mailto:Paul.O'Riordan@honeywell.com -----Original Message----- From: Srini . [mailto:vasbrio@HOTMAIL.COM] Sent: 23 July 2002 14:50 To: SQR-USERS@list.iex.net Subject: How can i check table exist or not exist in DB2........ Hi, I need help, In my report i am using temp table, i am doing like this. First i am creting table and then inserting values into that table. But my problem is to delete that table every time. When i execute my report first it will check if the table exict Delete table or Table is not exist skip that command......but how can i check that table is exist or not in the DB2 database. Please give me reply as soon as possible. Thanks Srini >From: Dan Vega >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: Opening multiple files in SQR >Date: Thu, 18 Jul 2002 19:50:21 -0400 > >Hi Tom, > >Try MOVE 0 TO #END-FILE before opening filename2 and 3. > >HTH >Dan Vega >CASSI Computer Consulting >Avon, MA USA _________________________________________________________________ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com From owner-sqr-users@list.iex.net Tue Jul 23 09:18:03 2002 Date: Tue, 23 Jul 2002 09:06:32 -0500 From: James Womeldorf Subject: Re: How can i check table exist or not exist in DB2........ Srini, I think you can use something like this: Begin-SQL on-error=sql-error-OK drop your table here end-sql begin procedure sql-error-OK !do nothing end-procedure sql-error-OK Jim Womeldorf Programmer/Analyst Fastenal Company jwomeldo@fastenal.com (507) 453-8250 -----Original Message----- From: Srini . [mailto:vasbrio@HOTMAIL.COM] Sent: Tuesday, July 23, 2002 8:50 AM To: SQR-USERS@list.iex.net Subject: How can i check table exist or not exist in DB2........ Hi, I need help, In my report i am using temp table, i am doing like this. First i am creting table and then inserting values into that table. But my problem is to delete that table every time. When i execute my report first it will check if the table exict Delete table or Table is not exist skip that command......but how can i check that table is exist or not in the DB2 database. Please give me reply as soon as possible. Thanks Srini >From: Dan Vega >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: Opening multiple files in SQR >Date: Thu, 18 Jul 2002 19:50:21 -0400 > >Hi Tom, > >Try MOVE 0 TO #END-FILE before opening filename2 and 3. > >HTH >Dan Vega >CASSI Computer Consulting >Avon, MA USA _________________________________________________________________ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com From owner-sqr-users@list.iex.net Tue Jul 23 09:19:26 2002 Date: Tue, 23 Jul 2002 07:09:26 -0700 From: Peter Burton Subject: Re: How can i check table exist or not exist in DB2........ Srini If in the Begin-Setup section: Begin-SQL On-Error=Skip drop table {table_name} End-SQL If within the body of the report Begin-SQL On-Error=Ignore drop table {table_name} End-SQL Begin-Procedure Ignore End-Procedure Peter -----Original Message----- From: Srini . [mailto:vasbrio@HOTMAIL.COM] Sent: Tuesday, July 23, 2002 9:50 AM To: SQR-USERS@list.iex.net Subject: How can i check table exist or not exist in DB2........ Hi, I need help, In my report i am using temp table, i am doing like this. First i am creting table and then inserting values into that table. But my problem is to delete that table every time. When i execute my report first it will check if the table exict Delete table or Table is not exist skip that command......but how can i check that table is exist or not in the DB2 database. Please give me reply as soon as possible. Thanks Srini >From: Dan Vega >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: Opening multiple files in SQR >Date: Thu, 18 Jul 2002 19:50:21 -0400 > >Hi Tom, > >Try MOVE 0 TO #END-FILE before opening filename2 and 3. > >HTH >Dan Vega >CASSI Computer Consulting >Avon, MA USA _________________________________________________________________ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com From owner-sqr-users@list.iex.net Tue Jul 23 09:34:03 2002 Date: Tue, 23 Jul 2002 10:19:24 -0400 From: Paul Hoyte Subject: Re: How can i check table exist or not exist in DB2........ Srini: Within SQR you can issues the begin-sql on-error=warn command. If the table exists, then it will just issue a warning message and go on, if it does not then it will execute the commands that are defined....(Must be done in the begin-setup section) see the following example: begin-sql on-error=warn !will issues warning message if tables do not exist drop table {item_table}; drop table {cost_table}; drop table {report_table}; end-sql begin-sql on-error=warn ! Will create table if table does not exist create table {item_table} (major VARCHAR2(5), minor VARCHAR2(5), vendor VARCHAR2(4), cat VARCHAR2(5), style VARCHAR2(5), description VARCHAR2(30), vsn VARCHAR2(30), i_size VARCHAR2(3), etc....etc....etc.... Paul Hoyte Sharidionne Inc. (248) 559-6868 Email: phoyte@sharidionne.com -----Original Message----- From: Discussion of SQR, Brio Software's database reporting language [mailto:SQR-USERS@list.iex.net] On Behalf Of Srini . Sent: Tuesday, July 23, 2002 9:50 AM To: SQR-USERS@list.iex.net Subject: How can i check table exist or not exist in DB2........ Hi, I need help, In my report i am using temp table, i am doing like this. First i am creting table and then inserting values into that table. But my problem is to delete that table every time. When i execute my report first it will check if the table exict Delete table or Table is not exist skip that command......but how can i check that table is exist or not in the DB2 database. Please give me reply as soon as possible. Thanks Srini >From: Dan Vega >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: Opening multiple files in SQR >Date: Thu, 18 Jul 2002 19:50:21 -0400 > >Hi Tom, > >Try MOVE 0 TO #END-FILE before opening filename2 and 3. > >HTH >Dan Vega >CASSI Computer Consulting >Avon, MA USA _________________________________________________________________ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com From owner-sqr-users@list.iex.net Tue Jul 23 10:18:41 2002 Date: Tue, 23 Jul 2002 09:58:33 -0500 From: "Sengupta, Rajib (CC-Contractor)" Subject: Re: How can i check table exist or not exist in DB2........ look at sysibm.systables for the table and if found (sqlcode 0) then proceeed RajibRajib Sengupta ConAgra Business Systems Peoplesoft AR and Order Management 222 South 15th St,North Tower(CT-930) Omaha NE 68102 Phone: (402) 595-7928,Fax: (402) 595-7024 -----Original Message----- From: Srini . [mailto:vasbrio@HOTMAIL.COM] Sent: Tuesday, July 23, 2002 8:50 AM To: SQR-USERS@list.iex.net Subject: How can i check table exist or not exist in DB2........ Hi, I need help, In my report i am using temp table, i am doing like this. First i am creting table and then inserting values into that table. But my problem is to delete that table every time. When i execute my report first it will check if the table exict Delete table or Table is not exist skip that command......but how can i check that table is exist or not in the DB2 database. Please give me reply as soon as possible. Thanks Srini >From: Dan Vega >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: Opening multiple files in SQR >Date: Thu, 18 Jul 2002 19:50:21 -0400 > >Hi Tom, > >Try MOVE 0 TO #END-FILE before opening filename2 and 3. > >HTH >Dan Vega >CASSI Computer Consulting >Avon, MA USA _________________________________________________________________ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com From owner-sqr-users@list.iex.net Tue Jul 23 12:11:10 2002 Date: Tue, 23 Jul 2002 12:58:03 -0400 From: Seth Earnhardt Subject: Multiple Layouts This is a multi-part message in MIME format. --------------CA38D7FE46594068E0353ADA Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Am trying to manipulate an sqr to use one of two layouts. The value of $output_format (at the end of code sample) is two when running, however, the report uses the "default" layout. I have also tried using the use-report functionality, however, results are the same. Any help would be greatly appreciated. Code sample is pasted below: begin-setup #include 'setupdb.sqc' declare-printer HP-definition for-reports = (default, default2) type=HPLASERJET font=5 point-size=6 end-declare declare-layout default left-margin=.25 top-margin=.50 paper-size=(8.5,11) orientation=portrait max-columns={PAGE_MAX_COLS} max-lines={PAGE_MAX_LINES} line-height={LINE_HEIGHT} char-width={CHAR_WIDTH} end-declare declare-layout default2 paper-size=(8.5,11) orientation=portrait max-columns={PAGE_MAX_COLS} max-lines={PAGE_MAX_LINES} line-height={LINE_HEIGHT} char-width={CHAR_WIDTH} end-declare declare-report default layout=default printer-type=HPLASERJET end-declare declare-report default2 layout=default2 printer-type=HPLASERJET end-declare declare-procedure for-reports=(default) end-declare declare-procedure for-reports=(default2) end-declare end-setup begin-report begin-select on-error=cannot-select PRREQ.PRCSINSTANCE prreq.RUNLOCATION PRREQ.OUTDESTFORMAT PRREQ.OUTDESTTYPE FROM PSPRCSRQST PRREQ WHERE PRREQ.PRCSINSTANCE = [$PI_CHAR] end-select let $output_format = &PRREQ.OUTDESTFORMAT let $outdesttype = &PRREQ.OUTDESTTYPE let $run_location = &PRREQ.RUNLOCATION display $output_format if $output_format = '2' use-procedure for-reports=(default2) else use-procedure for-reports=(default) end-if THANKS SE --------------CA38D7FE46594068E0353ADA Content-Type: text/plain; charset=us-ascii; name="ml" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ml" begin-setup #include 'setupdb.sqc' declare-printer HP-definition for-reports = (default, default2) type=HPLASERJET font=5 point-size=6 end-declare declare-layout default left-margin=.25 top-margin=.50 paper-size=(8.5,11) orientation=portrait max-columns={PAGE_MAX_COLS} max-lines={PAGE_MAX_LINES} line-height={LINE_HEIGHT} char-width={CHAR_WIDTH} end-declare declare-layout default2 paper-size=(8.5,11) orientation=portrait max-columns={PAGE_MAX_COLS} max-lines={PAGE_MAX_LINES} line-height={LINE_HEIGHT} char-width={CHAR_WIDTH} end-declare declare-report default layout=default printer-type=HPLASERJET end-declare declare-report default2 layout=default2 printer-type=HPLASERJET end-declare declare-procedure for-reports=(default) end-declare declare-procedure for-reports=(default2) end-declare end-setup begin-report begin-select on-error=cannot-select PRREQ.PRCSINSTANCE prreq.RUNLOCATION PRREQ.OUTDESTFORMAT PRREQ.OUTDESTTYPE FROM PSPRCSRQST PRREQ WHERE PRREQ.PRCSINSTANCE = [$PI_CHAR] end-select let $output_format = &PRREQ.OUTDESTFORMAT let $outdesttype = &PRREQ.OUTDESTTYPE let $run_location = &PRREQ.RUNLOCATION display $output_format if $output_format = '2' use-procedure for-reports=(default2) else use-procedure for-reports=(default) end-if --------------CA38D7FE46594068E0353ADA-- From owner-sqr-users@list.iex.net Tue Jul 23 12:16:47 2002 Date: Tue, 23 Jul 2002 13:05:55 -0400 From: Prasanna Menta Subject: Re: Multiple Layouts Hello, I think you need to reorganise the code as follows: See, after you go to the procedure you need to ask the report to use the desired layout, your control is going out before you are able to use the layout, sample is as follows: Begin-Procedure Student_Details use-report Student_Details End-procedure In this procedure printing details are specified, hope you follow. Good luck Prasanna Seth Earnhardt wrote: > > Am trying to manipulate an sqr to use one of two layouts. The value of > $output_format (at the end of code sample) is two when running, however, > the report uses the "default" layout. > > I have also tried using the use-report functionality, however, results > are the same. Any help would be greatly appreciated. > > Code sample is pasted below: > > begin-setup > > #include 'setupdb.sqc' > > declare-printer HP-definition > for-reports = (default, default2) > type=HPLASERJET > font=5 > point-size=6 > end-declare > > declare-layout default > left-margin=.25 > top-margin=.50 > paper-size=(8.5,11) > orientation=portrait > max-columns={PAGE_MAX_COLS} > max-lines={PAGE_MAX_LINES} > line-height={LINE_HEIGHT} > char-width={CHAR_WIDTH} > end-declare > > declare-layout default2 > paper-size=(8.5,11) > orientation=portrait > max-columns={PAGE_MAX_COLS} > max-lines={PAGE_MAX_LINES} > line-height={LINE_HEIGHT} > char-width={CHAR_WIDTH} > end-declare > > declare-report default > layout=default > printer-type=HPLASERJET > end-declare > > declare-report default2 > layout=default2 > printer-type=HPLASERJET > end-declare > > declare-procedure > for-reports=(default) > end-declare > > declare-procedure > for-reports=(default2) > end-declare > > end-setup > > begin-report > > begin-select on-error=cannot-select > PRREQ.PRCSINSTANCE > prreq.RUNLOCATION > PRREQ.OUTDESTFORMAT > PRREQ.OUTDESTTYPE > FROM PSPRCSRQST PRREQ > WHERE PRREQ.PRCSINSTANCE = [$PI_CHAR] > end-select > > let $output_format = &PRREQ.OUTDESTFORMAT > let $outdesttype = &PRREQ.OUTDESTTYPE > let $run_location = &PRREQ.RUNLOCATION > > display $output_format > > if $output_format = '2' > use-procedure > for-reports=(default2) > else > use-procedure > for-reports=(default) > end-if > > THANKS > > SE > > ------------------------------------------------------------------------ > begin-setup > > #include 'setupdb.sqc' > > declare-printer HP-definition > for-reports = (default, default2) > type=HPLASERJET > font=5 > point-size=6 > end-declare > > declare-layout default > left-margin=.25 > top-margin=.50 > paper-size=(8.5,11) > orientation=portrait > max-columns={PAGE_MAX_COLS} > max-lines={PAGE_MAX_LINES} > line-height={LINE_HEIGHT} > char-width={CHAR_WIDTH} > end-declare > > declare-layout default2 > paper-size=(8.5,11) > orientation=portrait > max-columns={PAGE_MAX_COLS} > max-lines={PAGE_MAX_LINES} > line-height={LINE_HEIGHT} > char-width={CHAR_WIDTH} > end-declare > > declare-report default > layout=default > printer-type=HPLASERJET > end-declare > > declare-report default2 > layout=default2 > printer-type=HPLASERJET > end-declare > > declare-procedure > for-reports=(default) > end-declare > > declare-procedure > for-reports=(default2) > end-declare > > end-setup > > begin-report > > begin-select on-error=cannot-select > PRREQ.PRCSINSTANCE > prreq.RUNLOCATION > PRREQ.OUTDESTFORMAT > PRREQ.OUTDESTTYPE > FROM PSPRCSRQST PRREQ > WHERE PRREQ.PRCSINSTANCE = [$PI_CHAR] > end-select > > let $output_format = &PRREQ.OUTDESTFORMAT > let $outdesttype = &PRREQ.OUTDESTTYPE > let $run_location = &PRREQ.RUNLOCATION > > display $output_format > > if $output_format = '2' > use-procedure > for-reports=(default2) > else > use-procedure > for-reports=(default) > end-if From owner-sqr-users@list.iex.net Tue Jul 23 12:43:16 2002 Date: Tue, 23 Jul 2002 13:34:43 -0400 From: Seth Earnhardt Subject: Re: Multiple Layouts Thanks for the response, however, if I specifiy "use-report" anywhere then no output is generated. Basically my issue is, when I send my output to either a .pdf or .lis file, I can't use the same margins. The margins for a .lis file don't work for a pdf file as it is off center. Any suggestions? Prasanna Menta wrote: > Hello, > I think you need to reorganise the code as follows: > See, after you go to the procedure you need to ask the report to use the > desired layout, your control is going out before you are able to use the > layout, sample is as follows: > > Begin-Procedure Student_Details > use-report Student_Details > End-procedure > > In this procedure printing details are specified, hope you follow. > Good luck > Prasanna > > Seth Earnhardt wrote: > > > > Am trying to manipulate an sqr to use one of two layouts. The value of > > $output_format (at the end of code sample) is two when running, however, > > the report uses the "default" layout. > > > > I have also tried using the use-report functionality, however, results > > are the same. Any help would be greatly appreciated. > > > > Code sample is pasted below: > > > > begin-setup > > > > #include 'setupdb.sqc' > > > > declare-printer HP-definition > > for-reports = (default, default2) > > type=HPLASERJET > > font=5 > > point-size=6 > > end-declare > > > > declare-layout default > > left-margin=.25 > > top-margin=.50 > > paper-size=(8.5,11) > > orientation=portrait > > max-columns={PAGE_MAX_COLS} > > max-lines={PAGE_MAX_LINES} > > line-height={LINE_HEIGHT} > > char-width={CHAR_WIDTH} > > end-declare > > > > declare-layout default2 > > paper-size=(8.5,11) > > orientation=portrait > > max-columns={PAGE_MAX_COLS} > > max-lines={PAGE_MAX_LINES} > > line-height={LINE_HEIGHT} > > char-width={CHAR_WIDTH} > > end-declare > > > > declare-report default > > layout=default > > printer-type=HPLASERJET > > end-declare > > > > declare-report default2 > > layout=default2 > > printer-type=HPLASERJET > > end-declare > > > > declare-procedure > > for-reports=(default) > > end-declare > > > > declare-procedure > > for-reports=(default2) > > end-declare > > > > end-setup > > > > begin-report > > > > begin-select on-error=cannot-select > > PRREQ.PRCSINSTANCE > > prreq.RUNLOCATION > > PRREQ.OUTDESTFORMAT > > PRREQ.OUTDESTTYPE > > FROM PSPRCSRQST PRREQ > > WHERE PRREQ.PRCSINSTANCE = [$PI_CHAR] > > end-select > > > > let $output_format = &PRREQ.OUTDESTFORMAT > > let $outdesttype = &PRREQ.OUTDESTTYPE > > let $run_location = &PRREQ.RUNLOCATION > > > > display $output_format > > > > if $output_format = '2' > > use-procedure > > for-reports=(default2) > > else > > use-procedure > > for-reports=(default) > > end-if > > > > THANKS > > > > SE > > > > ------------------------------------------------------------------------ > > begin-setup > > > > #include 'setupdb.sqc' > > > > declare-printer HP-definition > > for-reports = (default, default2) > > type=HPLASERJET > > font=5 > > point-size=6 > > end-declare > > > > declare-layout default > > left-margin=.25 > > top-margin=.50 > > paper-size=(8.5,11) > > orientation=portrait > > max-columns={PAGE_MAX_COLS} > > max-lines={PAGE_MAX_LINES} > > line-height={LINE_HEIGHT} > > char-width={CHAR_WIDTH} > > end-declare > > > > declare-layout default2 > > paper-size=(8.5,11) > > orientation=portrait > > max-columns={PAGE_MAX_COLS} > > max-lines={PAGE_MAX_LINES} > > line-height={LINE_HEIGHT} > > char-width={CHAR_WIDTH} > > end-declare > > > > declare-report default > > layout=default > > printer-type=HPLASERJET > > end-declare > > > > declare-report default2 > > layout=default2 > > printer-type=HPLASERJET > > end-declare > > > > declare-procedure > > for-reports=(default) > > end-declare > > > > declare-procedure > > for-reports=(default2) > > end-declare > > > > end-setup > > > > begin-report > > > > begin-select on-error=cannot-select > > PRREQ.PRCSINSTANCE > > prreq.RUNLOCATION > > PRREQ.OUTDESTFORMAT > > PRREQ.OUTDESTTYPE > > FROM PSPRCSRQST PRREQ > > WHERE PRREQ.PRCSINSTANCE = [$PI_CHAR] > > end-select > > > > let $output_format = &PRREQ.OUTDESTFORMAT > > let $outdesttype = &PRREQ.OUTDESTTYPE > > let $run_location = &PRREQ.RUNLOCATION > > > > display $output_format > > > > if $output_format = '2' > > use-procedure > > for-reports=(default2) > > else > > use-procedure > > for-reports=(default) > > end-if From owner-sqr-users@list.iex.net Tue Jul 23 13:47:18 2002 Date: Tue, 23 Jul 2002 13:34:01 -0500 From: Bob Helm Subject: concatenation problems with SQR6? Does anyone know if there are concatenation issues with SQR 6? It seems that a crash has been narrowed to a simple string concatenation. It's only been reported to me else I'd give more info. Thanks for any help. B The Programmer formerly known as Bob Mediware Information Systems Inc. (913) 307-1045 Bob.Helm@Mediware.com This message has been sent using 100% recycled electrons From owner-sqr-users@list.iex.net Tue Jul 23 14:15:36 2002 Date: Tue, 23 Jul 2002 12:10:42 -0700 From: Atul Shrivastava Subject: Re: concatenation problems with SQR6? Bob, I don't see any problem with concatenation in SQR 6. Currently we are using Brio Report Builder 6.1.3 atul --- Bob Helm wrote: > Does anyone know if there are concatenation issues > with SQR 6? It seems that > a crash has been narrowed to a simple string > concatenation. It's only been > reported to me else I'd give more info. > > Thanks for any help. > > B > The Programmer formerly known as Bob > Mediware Information Systems Inc. > (913) 307-1045 > Bob.Helm@Mediware.com > > > This message has been sent using 100% recycled electrons __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From owner-sqr-users@list.iex.net Tue Jul 23 14:49:06 2002 Date: Tue, 23 Jul 2002 19:43:23 +0000 From: "Srini ." Subject: Formating report.......... Hi, I got a problem...... While i am printing data, i am unable to restrict the data per page. I have to print data Officerwise ,District wise ,Region and State wise with totals. But i am unable to print data page wise. First i am printing data Officer wise....ok for example First Officer has 15 records and second Officer has 10 records for that i have to print like this... Officer Name.........David Record 1 Record 2 ......upto 15 Total 15 Officer Name..........Samuel Record 1 Record 2 ......upto 10 Total............. 10 District Name .........Irving David 15 Samuel 10 Total 25 like this state and Region i have to print. But while i am printing the records.....some headings or coming on end of page and data is coming another page......how can i restrict if the headings comes bottom of the page........ >From: Seth Earnhardt >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Multiple Layouts >Date: Tue, 23 Jul 2002 12:58:03 -0400 > >Am trying to manipulate an sqr to use one of two layouts. The value of >$output_format (at the end of code sample) is two when running, however, >the report uses the "default" layout. > >I have also tried using the use-report functionality, however, results >are the same. Any help would be greatly appreciated. > >Code sample is pasted below: > >begin-setup > >#include 'setupdb.sqc' > >declare-printer HP-definition > for-reports = (default, default2) > type=HPLASERJET > font=5 > point-size=6 >end-declare > >declare-layout default > left-margin=.25 > top-margin=.50 > paper-size=(8.5,11) > orientation=portrait > max-columns={PAGE_MAX_COLS} > max-lines={PAGE_MAX_LINES} > line-height={LINE_HEIGHT} > char-width={CHAR_WIDTH} >end-declare > >declare-layout default2 > paper-size=(8.5,11) > orientation=portrait > max-columns={PAGE_MAX_COLS} > max-lines={PAGE_MAX_LINES} > line-height={LINE_HEIGHT} > char-width={CHAR_WIDTH} >end-declare > >declare-report default > layout=default > printer-type=HPLASERJET >end-declare > >declare-report default2 > layout=default2 > printer-type=HPLASERJET >end-declare > >declare-procedure > for-reports=(default) >end-declare > >declare-procedure > for-reports=(default2) >end-declare > >end-setup > >begin-report > >begin-select on-error=cannot-select >PRREQ.PRCSINSTANCE >prreq.RUNLOCATION >PRREQ.OUTDESTFORMAT >PRREQ.OUTDESTTYPE >FROM PSPRCSRQST PRREQ >WHERE PRREQ.PRCSINSTANCE = [$PI_CHAR] >end-select > > let $output_format = &PRREQ.OUTDESTFORMAT > let $outdesttype = &PRREQ.OUTDESTTYPE > let $run_location = &PRREQ.RUNLOCATION > > display $output_format > > if $output_format = '2' > use-procedure > for-reports=(default2) > else > use-procedure > for-reports=(default) > end-if > >THANKS > >SE > > > >begin-setup > >#include 'setupdb.sqc' > >declare-printer HP-definition > for-reports = (default, default2) > type=HPLASERJET > font=5 > point-size=6 >end-declare > >declare-layout default > left-margin=.25 > top-margin=.50 > paper-size=(8.5,11) > orientation=portrait > max-columns={PAGE_MAX_COLS} > max-lines={PAGE_MAX_LINES} > line-height={LINE_HEIGHT} > char-width={CHAR_WIDTH} >end-declare > >declare-layout default2 > paper-size=(8.5,11) > orientation=portrait > max-columns={PAGE_MAX_COLS} > max-lines={PAGE_MAX_LINES} > line-height={LINE_HEIGHT} > char-width={CHAR_WIDTH} >end-declare > >declare-report default > layout=default > printer-type=HPLASERJET >end-declare > >declare-report default2 > layout=default2 > printer-type=HPLASERJET >end-declare > >declare-procedure > for-reports=(default) >end-declare > >declare-procedure > for-reports=(default2) >end-declare > >end-setup > >begin-report > >begin-select on-error=cannot-select >PRREQ.PRCSINSTANCE >prreq.RUNLOCATION >PRREQ.OUTDESTFORMAT >PRREQ.OUTDESTTYPE >FROM PSPRCSRQST PRREQ >WHERE PRREQ.PRCSINSTANCE = [$PI_CHAR] >end-select > > let $output_format = &PRREQ.OUTDESTFORMAT > let $outdesttype = &PRREQ.OUTDESTTYPE > let $run_location = &PRREQ.RUNLOCATION > > display $output_format > > if $output_format = '2' > use-procedure > for-reports=(default2) > else > use-procedure > for-reports=(default) > end-if _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From owner-sqr-users@list.iex.net Tue Jul 23 15:30:36 2002 Date: Tue, 23 Jul 2002 13:26:27 -0700 From: Atul Shrivastava Subject: Re: Formating report.......... Srini, When you print heading, just check the current-line like: if #current-line >= {max_lines} - 5 new-page print 'heading-1' () end-if Depending upon the layout you can define max_lines in the beginning like:\ #define max_lines HTH --- "Srini ." wrote: > Hi, > I got a problem...... > While i am printing data, i am unable to restrict > the data per page. > I have to print data Officerwise ,District wise > ,Region and State wise with > totals. But i am unable to print data page wise. > First i am printing data Officer wise....ok for > example First Officer has 15 > records and second Officer has 10 records for that i > have to print like > this... > > Officer Name.........David > Record 1 > Record 2 > ......upto 15 > Total 15 > > Officer Name..........Samuel > Record 1 > Record 2 > ......upto 10 > Total............. 10 > > District Name .........Irving > David 15 > Samuel 10 > Total 25 > > > like this state and Region i have to print. > > But while i am printing the records.....some > headings or coming on end of > page and data is coming another page......how can i > restrict if the headings > comes bottom of the page........ > > > >From: Seth Earnhardt > >Reply-To: sqr-users@list.iex.net > >To: SQR-USERS@list.iex.net > >Subject: Multiple Layouts > >Date: Tue, 23 Jul 2002 12:58:03 -0400 > > > >Am trying to manipulate an sqr to use one of two > layouts. The value of > >$output_format (at the end of code sample) is two > when running, however, > >the report uses the "default" layout. > > > >I have also tried using the use-report > functionality, however, results > >are the same. Any help would be greatly > appreciated. > > > >Code sample is pasted below: > > > >begin-setup > > > >#include 'setupdb.sqc' > > > >declare-printer HP-definition > > for-reports = (default, default2) > > type=HPLASERJET > > font=5 > > point-size=6 > >end-declare > > > >declare-layout default > > left-margin=.25 > > top-margin=.50 > > paper-size=(8.5,11) > > orientation=portrait > > max-columns={PAGE_MAX_COLS} > > max-lines={PAGE_MAX_LINES} > > line-height={LINE_HEIGHT} > > char-width={CHAR_WIDTH} > >end-declare > > > >declare-layout default2 > > paper-size=(8.5,11) > > orientation=portrait > > max-columns={PAGE_MAX_COLS} > > max-lines={PAGE_MAX_LINES} > > line-height={LINE_HEIGHT} > > char-width={CHAR_WIDTH} > >end-declare > > > >declare-report default > > layout=default > > printer-type=HPLASERJET > >end-declare > > > >declare-report default2 > > layout=default2 > > printer-type=HPLASERJET > >end-declare > > > >declare-procedure > > for-reports=(default) > >end-declare > > > >declare-procedure > > for-reports=(default2) > >end-declare > > > >end-setup > > > >begin-report > > > >begin-select on-error=cannot-select > >PRREQ.PRCSINSTANCE > >prreq.RUNLOCATION > >PRREQ.OUTDESTFORMAT > >PRREQ.OUTDESTTYPE > >FROM PSPRCSRQST PRREQ > >WHERE PRREQ.PRCSINSTANCE = [$PI_CHAR] > >end-select > > > > let $output_format = &PRREQ.OUTDESTFORMAT > > let $outdesttype = &PRREQ.OUTDESTTYPE > > let $run_location = &PRREQ.RUNLOCATION > > > > display $output_format > > > > if $output_format = '2' > > use-procedure > > for-reports=(default2) > > else > > use-procedure > > for-reports=(default) > > end-if > > > >THANKS > > > >SE > > > > > > > >begin-setup > > > >#include 'setupdb.sqc' > > > >declare-printer HP-definition > > for-reports = (default, default2) > > type=HPLASERJET > > font=5 > > point-size=6 > >end-declare > > > >declare-layout default > > left-margin=.25 > > top-margin=.50 > > paper-size=(8.5,11) > > orientation=portrait > > max-columns={PAGE_MAX_COLS} > > max-lines={PAGE_MAX_LINES} > > line-height={LINE_HEIGHT} > > char-width={CHAR_WIDTH} > >end-declare > > > >declare-layout default2 > > paper-size=(8.5,11) > > orientation=portrait > > max-columns={PAGE_MAX_COLS} > > max-lines={PAGE_MAX_LINES} > > line-height={LINE_HEIGHT} > > char-width={CHAR_WIDTH} > >end-declare > > > >declare-report default > > layout=default > > printer-type=HPLASERJET > >end-declare > > > >declare-report default2 > > layout=default2 > > printer-type=HPLASERJET > >end-declare > > > >declare-procedure > > for-reports=(default) > >end-declare > > > >declare-procedure > > for-reports=(default2) > >end-declare > > > >end-setup > > > >begin-report > > > >begin-select on-error=cannot-select > >PRREQ.PRCSINSTANCE > >prreq.RUNLOCATION > >PRREQ.OUTDESTFORMAT > >PRREQ.OUTDESTTYPE > >FROM PSPRCSRQST PRREQ > >WHERE PRREQ.PRCSINSTANCE = [$PI_CHAR] > === message truncated === __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From owner-sqr-users@list.iex.net Tue Jul 23 15:34:35 2002 Date: Tue, 23 Jul 2002 16:28:26 -0400 From: Prasanna Menta Subject: Re: Formating report.......... Hello, Use command called skiplines and need=xx you will be able to control the same. Also another way is to initialise a counter based upon your layout you could initiate next page. Hope this helps. Good luck Prasanna "Srini ." wrote: > > Hi, > I got a problem...... > While i am printing data, i am unable to restrict the data per page. > I have to print data Officerwise ,District wise ,Region and State wise with > totals. But i am unable to print data page wise. > First i am printing data Officer wise....ok for example First Officer has 15 > records and second Officer has 10 records for that i have to print like > this... > > Officer Name.........David > Record 1 > Record 2 > ......upto 15 > Total 15 > > Officer Name..........Samuel > Record 1 > Record 2 > ......upto 10 > Total............. 10 > > District Name .........Irving > David 15 > Samuel 10 > Total 25 > > like this state and Region i have to print. > > But while i am printing the records.....some headings or coming on end of > page and data is coming another page......how can i restrict if the headings > comes bottom of the page........ > > >From: Seth Earnhardt > >Reply-To: sqr-users@list.iex.net > >To: SQR-USERS@list.iex.net > >Subject: Multiple Layouts > >Date: Tue, 23 Jul 2002 12:58:03 -0400 > > > >Am trying to manipulate an sqr to use one of two layouts. The value of > >$output_format (at the end of code sample) is two when running, however, > >the report uses the "default" layout. > > > >I have also tried using the use-report functionality, however, results > >are the same. Any help would be greatly appreciated. > > > >Code sample is pasted below: > > > >begin-setup > > > >#include 'setupdb.sqc' > > > >declare-printer HP-definition > > for-reports = (default, default2) > > type=HPLASERJET > > font=5 > > point-size=6 > >end-declare > > > >declare-layout default > > left-margin=.25 > > top-margin=.50 > > paper-size=(8.5,11) > > orientation=portrait > > max-columns={PAGE_MAX_COLS} > > max-lines={PAGE_MAX_LINES} > > line-height={LINE_HEIGHT} > > char-width={CHAR_WIDTH} > >end-declare > > > >declare-layout default2 > > paper-size=(8.5,11) > > orientation=portrait > > max-columns={PAGE_MAX_COLS} > > max-lines={PAGE_MAX_LINES} > > line-height={LINE_HEIGHT} > > char-width={CHAR_WIDTH} > >end-declare > > > >declare-report default > > layout=default > > printer-type=HPLASERJET > >end-declare > > > >declare-report default2 > > layout=default2 > > printer-type=HPLASERJET > >end-declare > > > >declare-procedure > > for-reports=(default) > >end-declare > > > >declare-procedure > > for-reports=(default2) > >end-declare > > > >end-setup > > > >begin-report > > > >begin-select on-error=cannot-select > >PRREQ.PRCSINSTANCE > >prreq.RUNLOCATION > >PRREQ.OUTDESTFORMAT > >PRREQ.OUTDESTTYPE > >FROM PSPRCSRQST PRREQ > >WHERE PRREQ.PRCSINSTANCE = [$PI_CHAR] > >end-select > > > > let $output_format = &PRREQ.OUTDESTFORMAT > > let $outdesttype = &PRREQ.OUTDESTTYPE > > let $run_location = &PRREQ.RUNLOCATION > > > > display $output_format > > > > if $output_format = '2' > > use-procedure > > for-reports=(default2) > > else > > use-procedure > > for-reports=(default) > > end-if > > > >THANKS > > > >SE > > > > > > > >begin-setup > > > >#include 'setupdb.sqc' > > > >declare-printer HP-definition > > for-reports = (default, default2) > > type=HPLASERJET > > font=5 > > point-size=6 > >end-declare > > > >declare-layout default > > left-margin=.25 > > top-margin=.50 > > paper-size=(8.5,11) > > orientation=portrait > > max-columns={PAGE_MAX_COLS} > > max-lines={PAGE_MAX_LINES} > > line-height={LINE_HEIGHT} > > char-width={CHAR_WIDTH} > >end-declare > > > >declare-layout default2 > > paper-size=(8.5,11) > > orientation=portrait > > max-columns={PAGE_MAX_COLS} > > max-lines={PAGE_MAX_LINES} > > line-height={LINE_HEIGHT} > > char-width={CHAR_WIDTH} > >end-declare > > > >declare-report default > > layout=default > > printer-type=HPLASERJET > >end-declare > > > >declare-report default2 > > layout=default2 > > printer-type=HPLASERJET > >end-declare > > > >declare-procedure > > for-reports=(default) > >end-declare > > > >declare-procedure > > for-reports=(default2) > >end-declare > > > >end-setup > > > >begin-report > > > >begin-select on-error=cannot-select > >PRREQ.PRCSINSTANCE > >prreq.RUNLOCATION > >PRREQ.OUTDESTFORMAT > >PRREQ.OUTDESTTYPE > >FROM PSPRCSRQST PRREQ > >WHERE PRREQ.PRCSINSTANCE = [$PI_CHAR] > >end-select > > > > let $output_format = &PRREQ.OUTDESTFORMAT > > let $outdesttype = &PRREQ.OUTDESTTYPE > > let $run_location = &PRREQ.RUNLOCATION > > > > display $output_format > > > > if $output_format = '2' > > use-procedure > > for-reports=(default2) > > else > > use-procedure > > for-reports=(default) > > end-if > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com From owner-sqr-users@list.iex.net Mon Jul 29 09:03:38 2002 Date: Mon, 29 Jul 2002 13:59:48 +0000 From: "Srini ." Subject: Re: Formating report.......... Thanks >From: Atul Shrivastava >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Re: Formating report.......... >Date: Tue, 23 Jul 2002 13:26:27 -0700 > >Srini, > >When you print heading, just check the current-line >like: > > if #current-line >= {max_lines} - 5 > new-page > print 'heading-1' () > end-if > >Depending upon the layout you can define max_lines in >the beginning like:\ > >#define max_lines > >HTH > >--- "Srini ." wrote: > > Hi, > > I got a problem...... > > While i am printing data, i am unable to restrict > > the data per page. > > I have to print data Officerwise ,District wise > > ,Region and State wise with > > totals. But i am unable to print data page wise. > > First i am printing data Officer wise....ok for > > example First Officer has 15 > > records and second Officer has 10 records for that i > > have to print like > > this... > > > > Officer Name.........David > > Record 1 > > Record 2 > > ......upto 15 > > Total 15 > > > > Officer Name..........Samuel > > Record 1 > > Record 2 > > ......upto 10 > > Total............. 10 > > > > District Name .........Irving > > David 15 > > Samuel 10 > > Total 25 > > > > > > like this state and Region i have to print. > > > > But while i am printing the records.....some > > headings or coming on end of > > page and data is coming another page......how can i > > restrict if the headings > > comes bottom of the page........ > > > > > > >From: Seth Earnhardt > > >Reply-To: sqr-users@list.iex.net > > >To: SQR-USERS@list.iex.net > > >Subject: Multiple Layouts > > >Date: Tue, 23 Jul 2002 12:58:03 -0400 > > > > > >Am trying to manipulate an sqr to use one of two > > layouts. The value of > > >$output_format (at the end of code sample) is two > > when running, however, > > >the report uses the "default" layout. > > > > > >I have also tried using the use-report > > functionality, however, results > > >are the same. Any help would be greatly > > appreciated. > > > > > >Code sample is pasted below: > > > > > >begin-setup > > > > > >#include 'setupdb.sqc' > > > > > >declare-printer HP-definition > > > for-reports = (default, default2) > > > type=HPLASERJET > > > font=5 > > > point-size=6 > > >end-declare > > > > > >declare-layout default > > > left-margin=.25 > > > top-margin=.50 > > > paper-size=(8.5,11) > > > orientation=portrait > > > max-columns={PAGE_MAX_COLS} > > > max-lines={PAGE_MAX_LINES} > > > line-height={LINE_HEIGHT} > > > char-width={CHAR_WIDTH} > > >end-declare > > > > > >declare-layout default2 > > > paper-size=(8.5,11) > > > orientation=portrait > > > max-columns={PAGE_MAX_COLS} > > > max-lines={PAGE_MAX_LINES} > > > line-height={LINE_HEIGHT} > > > char-width={CHAR_WIDTH} > > >end-declare > > > > > >declare-report default > > > layout=default > > > printer-type=HPLASERJET > > >end-declare > > > > > >declare-report default2 > > > layout=default2 > > > printer-type=HPLASERJET > > >end-declare > > > > > >declare-procedure > > > for-reports=(default) > > >end-declare > > > > > >declare-procedure > > > for-reports=(default2) > > >end-declare > > > > > >end-setup > > > > > >begin-report > > > > > >begin-select on-error=cannot-select > > >PRREQ.PRCSINSTANCE > > >prreq.RUNLOCATION > > >PRREQ.OUTDESTFORMAT > > >PRREQ.OUTDESTTYPE > > >FROM PSPRCSRQST PRREQ > > >WHERE PRREQ.PRCSINSTANCE = [$PI_CHAR] > > >end-select > > > > > > let $output_format = &PRREQ.OUTDESTFORMAT > > > let $outdesttype = &PRREQ.OUTDESTTYPE > > > let $run_location = &PRREQ.RUNLOCATION > > > > > > display $output_format > > > > > > if $output_format = '2' > > > use-procedure > > > for-reports=(default2) > > > else > > > use-procedure > > > for-reports=(default) > > > end-if > > > > > >THANKS > > > > > >SE > > > > > > > > > > > >begin-setup > > > > > >#include 'setupdb.sqc' > > > > > >declare-printer HP-definition > > > for-reports = (default, default2) > > > type=HPLASERJET > > > font=5 > > > point-size=6 > > >end-declare > > > > > >declare-layout default > > > left-margin=.25 > > > top-margin=.50 > > > paper-size=(8.5,11) > > > orientation=portrait > > > max-columns={PAGE_MAX_COLS} > > > max-lines={PAGE_MAX_LINES} > > > line-height={LINE_HEIGHT} > > > char-width={CHAR_WIDTH} > > >end-declare > > > > > >declare-layout default2 > > > paper-size=(8.5,11) > > > orientation=portrait > > > max-columns={PAGE_MAX_COLS} > > > max-lines={PAGE_MAX_LINES} > > > line-height={LINE_HEIGHT} > > > char-width={CHAR_WIDTH} > > >end-declare > > > > > >declare-report default > > > layout=default > > > printer-type=HPLASERJET > > >end-declare > > > > > >declare-report default2 > > > layout=default2 > > > printer-type=HPLASERJET > > >end-declare > > > > > >declare-procedure > > > for-reports=(default) > > >end-declare > > > > > >declare-procedure > > > for-reports=(default2) > > >end-declare > > > > > >end-setup > > > > > >begin-report > > > > > >begin-select on-error=cannot-select > > >PRREQ.PRCSINSTANCE > > >prreq.RUNLOCATION > > >PRREQ.OUTDESTFORMAT > > >PRREQ.OUTDESTTYPE > > >FROM PSPRCSRQST PRREQ > > >WHERE PRREQ.PRCSINSTANCE = [$PI_CHAR] > > >=== message truncated === > > >__________________________________________________ >Do You Yahoo!? >Yahoo! Health - Feel better, live better >http://health.yahoo.com _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From owner-sqr-users@list.iex.net Tue Jul 23 15:20:09 2002 Date: Tue, 23 Jul 2002 16:01:22 -0400 From: Poonam Auluck Subject: Wrap functionality question HI All - I'm new to SQR and new to this group..this is a great site...I've already answered so many of my questions by searching the archives!! Hopefully, my question will be easy for some of you. I have one field called remarks, which is 255 characters. I'm unsure of how many spaces user will fill in. There are three rows that I am pulling from my DB that I want to combine all the remarks together. My code looks something along these lines.... begin-procedure remarks let #begin_remarks = 390 begin-select a.remarks &remarks print &remarks (#begin_remarks, 25) wrap 100 4 line-height=10 let #begin_remarks = #begin_remarks + 10 from mf_pr a where a.uidy = $input_uidy end-select end-procedure I identified #begin_remarks = 390 in the beginning because I want to have all the remarks from the three rows printed out together. If I hardcoded it in my select statement, I would have the three remarks printed out on top of each other. That's why I put the let #begin_remarks = #begin_remarks + 10 statement, so that for each record it picks up, the remarks will begin printing on the next line. I had to put the wrap statement in because of the 255 characters. My space alloted for the remarks section doesn't have enough to fit 255 in one line. The problem is that it will print out the remarks fine for the first record, but then it will overlap the beginning of the second remark onto the wrapped text from the previous record. Does that make sense?? I guess I'm wondering how to incorporate adding the lines wrapped so that it will advance nicely on the report. Any suggestions?? Any help is apprecited :o) Thanks, Poonam Auluck From owner-sqr-users@list.iex.net Tue Jul 23 15:39:28 2002 Date: Tue, 23 Jul 2002 16:31:50 -0400 From: Prasanna Menta Subject: Re: Wrap functionality question Will skip lines=1 might help you , i am not sure try and see Good Luck Prasanna Poonam Auluck wrote: > > HI All - > > I'm new to SQR and new to this group..this is a great site...I've already > answered so many of my questions by searching the archives!! > Hopefully, my question will be easy for some of you. > > I have one field called remarks, which is 255 characters. I'm unsure of > how many spaces user will fill in. There are three rows that I am pulling > from my DB that I want to combine all the remarks together. > > My code looks something along these lines.... > > begin-procedure remarks > let #begin_remarks = 390 > begin-select > a.remarks &remarks > print &remarks (#begin_remarks, 25) wrap 100 4 line-height=10 > let #begin_remarks = #begin_remarks + 10 > from mf_pr a > where a.uidy = $input_uidy > end-select > end-procedure > > I identified #begin_remarks = 390 in the beginning because I want to have > all the remarks from the three rows printed out together. If I hardcoded > it in my select statement, I would have the three remarks printed out on > top of each other. That's why I put the let #begin_remarks = > #begin_remarks + 10 statement, so that for each record it picks up, the > remarks will begin printing on the next line. I had to put the wrap > statement in because of the 255 characters. My space alloted for the > remarks section doesn't have enough to fit 255 in one line. > > The problem is that it will print out the remarks fine for the first > record, but then it will overlap the beginning of the second remark onto > the wrapped text from the previous record. Does that make sense?? I guess > I'm wondering how to incorporate adding the lines wrapped so that it will > advance nicely on the report. > > Any suggestions?? Any help is apprecited :o) > > Thanks, > Poonam Auluck From owner-sqr-users@list.iex.net Tue Jul 23 15:37:36 2002 Date: Tue, 23 Jul 2002 13:31:57 -0700 From: Greg Rabinovich Subject: Re: Wrap functionality question Hopefully I understand your problem properly. Here is what I would do: 1) Before SELECT, create an empty string variable $temp_rem. let $temp_rem = '' 2) Within SELECT, concatenate this variable with &remarks : let $temp_rem = $temp_rem || ' ' || &remarks 3) After your select is finished (END-SELECT) the $temp_rem will contain all remarks together and you can put your print statement with the wrap option here. Hope this works. Greg. --- Poonam Auluck wrote: > HI All - > > I'm new to SQR and new to this group..this is a > great site...I've already > answered so many of my questions by searching the > archives!! > Hopefully, my question will be easy for some of you. > > I have one field called remarks, which is 255 > characters. I'm unsure of > how many spaces user will fill in. There are three > rows that I am pulling > from my DB that I want to combine all the remarks > together. > > My code looks something along these lines.... > > begin-procedure remarks > let #begin_remarks = 390 > begin-select > a.remarks &remarks > print &remarks (#begin_remarks, 25) wrap 100 4 > line-height=10 > let #begin_remarks = #begin_remarks + 10 > from mf_pr a > where a.uidy = $input_uidy > end-select > end-procedure > > I identified #begin_remarks = 390 in the beginning > because I want to have > all the remarks from the three rows printed out > together. If I hardcoded > it in my select statement, I would have the three > remarks printed out on > top of each other. That's why I put the let > #begin_remarks = > #begin_remarks + 10 statement, so that for each > record it picks up, the > remarks will begin printing on the next line. I had > to put the wrap > statement in because of the 255 characters. My space > alloted for the > remarks section doesn't have enough to fit 255 in > one line. > > The problem is that it will print out the remarks > fine for the first > record, but then it will overlap the beginning of > the second remark onto > the wrapped text from the previous record. Does > that make sense?? I guess > I'm wondering how to incorporate adding the lines > wrapped so that it will > advance nicely on the report. > > Any suggestions?? Any help is apprecited :o) > > Thanks, > Poonam Auluck __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From owner-sqr-users@list.iex.net Tue Jul 23 15:53:46 2002 Date: Tue, 23 Jul 2002 14:47:54 -0600 From: Roger Harris Subject: Re: Wrap functionality question I think I would try it like this: begin-procedure remarks move '' to $remarks begin-select a.remarks &remarks let $remarks = $remarks || rtrim(&remarks, ' ') || ' ' from mf_pr a where a.uidy = $input_uidy end-select print $remarks (line, col) wrap 100 4 line-height=10 end-procedure Poonam Auluck cc: Sent by: bcc: "Discussion Subject: Wrap functionality question of SQR, Brio Software's database reporting language" 07/23/2002 02:01 PM Please respond to sqr-users HI All - I'm new to SQR and new to this group..this is a great site...I've already answered so many of my questions by searching the archives!! Hopefully, my question will be easy for some of you. I have one field called remarks, which is 255 characters. I'm unsure of how many spaces user will fill in. There are three rows that I am pulling from my DB that I want to combine all the remarks together. My code looks something along these lines.... begin-procedure remarks let #begin_remarks = 390 begin-select a.remarks &remarks print &remarks (#begin_remarks, 25) wrap 100 4 line-height=10 let #begin_remarks = #begin_remarks + 10 from mf_pr a where a.uidy = $input_uidy end-select end-procedure I identified #begin_remarks = 390 in the beginning because I want to have all the remarks from the three rows printed out together. If I hardcoded it in my select statement, I would have the three remarks printed out on top of each other. That's why I put the let #begin_remarks = #begin_remarks + 10 statement, so that for each record it picks up, the remarks will begin printing on the next line. I had to put the wrap statement in because of the 255 characters. My space alloted for the remarks section doesn't have enough to fit 255 in one line. The problem is that it will print out the remarks fine for the first record, but then it will overlap the beginning of the second remark onto the wrapped text from the previous record. Does that make sense?? I guess I'm wondering how to incorporate adding the lines wrapped so that it will advance nicely on the report. Any suggestions?? Any help is apprecited :o) Thanks, Poonam Auluck From owner-sqr-users@list.iex.net Tue Jul 23 16:00:09 2002 Date: Tue, 23 Jul 2002 13:55:41 -0700 From: Atul Shrivastava Subject: Re: Wrap functionality question Try this: begin-procedure remarks let $old_uidy = '' let $remarks = '' begin-select a.uidy &uidy a.remarks &remarks () on-break level=1 print=never before=bef_remarks from mf_pr a where a.uidy = $input_uidy end-select end-procedure begin-procedure bef-remarks if $old_uidy = '' OR $old_uidy = &uidy let $remarks = $remarks ||' '||&remarks else print $remarks (, ) wrap 100, 4 line-height=10 let $remarks = '' let $old_uidy = &uidy end-if end-procedure It should work for multiple uidy's HTH --- Poonam Auluck wrote: > HI All - > > I'm new to SQR and new to this group..this is a > great site...I've already > answered so many of my questions by searching the > archives!! > Hopefully, my question will be easy for some of you. > > I have one field called remarks, which is 255 > characters. I'm unsure of > how many spaces user will fill in. There are three > rows that I am pulling > from my DB that I want to combine all the remarks > together. > > My code looks something along these lines.... > > begin-procedure remarks > let #begin_remarks = 390 > begin-select > a.remarks &remarks > print &remarks (#begin_remarks, 25) wrap 100 4 > line-height=10 > let #begin_remarks = #begin_remarks + 10 > from mf_pr a > where a.uidy = $input_uidy > end-select > end-procedure > > I identified #begin_remarks = 390 in the beginning > because I want to have > all the remarks from the three rows printed out > together. If I hardcoded > it in my select statement, I would have the three > remarks printed out on > top of each other. That's why I put the let > #begin_remarks = > #begin_remarks + 10 statement, so that for each > record it picks up, the > remarks will begin printing on the next line. I had > to put the wrap > statement in because of the 255 characters. My space > alloted for the > remarks section doesn't have enough to fit 255 in > one line. > > The problem is that it will print out the remarks > fine for the first > record, but then it will overlap the beginning of > the second remark onto > the wrapped text from the previous record. Does > that make sense?? I guess > I'm wondering how to incorporate adding the lines > wrapped so that it will > advance nicely on the report. > > Any suggestions?? Any help is apprecited :o) > > Thanks, > Poonam Auluck __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From owner-sqr-users@list.iex.net Tue Jul 23 16:41:31 2002 Date: Tue, 23 Jul 2002 16:16:24 -0500 From: Don Mellen Subject: Re: Wrap functionality question Off-hand... You can use relative positions for this section. Since, by your position numbers, it looks like your setup with a 1pt x 1pt grid, you could do something like... begin-procedure remarks position(380) begin-select a.remarks &remarks print &remarks ( +10 , 25) wrap 100 4 line-height=10 from mf_pr a where a.uidy = $input_uidy end-select end-procedure You could use the wrap_depth command to figure how many lines actually printed, and adjust by that amount. Like... begin-procedure remarks let #begin_remarks = 390 begin-select a.remarks &remarks print &remarks (#begin_remarks, 25) wrap 100 4 line-height=10 let #begin_remarks = #begin_remarks + (wrapdepth(&remarks,100,1,'','') * 10) from mf_pr a where a.uidy = $input_uidy end-select end-procedure And, if you don't need to "go back" on the page, you can use "next-listing". This is very useful if you're not sure whether or not everything will fit on one page, and you want to keep each remark from splitting across pages... begin-procedure remarks position(390) begin-select a.remarks &remarks let #need_lines = (wrapdepth(&remarks,100,1,'','') * 10) next-listing no-advance skiplines=10 need=#need_lines print &remarks (, 25) wrap 100 4 line-height=10 from mf_pr a where a.uidy = $input_uidy end-select end-procedure Or, as I just see some others have suggested, you could concat the remarks together. If you want each remark to start a new line, you can also concat a carriage return or linefeed character and "force" the print/wrap to start a new line for each new remark. HTH, Don On Tue, 23 Jul 2002, Poonam Auluck wrote: > HI All - > > I'm new to SQR and new to this group..this is a great site...I've already > answered so many of my questions by searching the archives!! > Hopefully, my question will be easy for some of you. > > I have one field called remarks, which is 255 characters. I'm unsure of > how many spaces user will fill in. There are three rows that I am pulling > from my DB that I want to combine all the remarks together. > > My code looks something along these lines.... > > begin-procedure remarks > let #begin_remarks = 390 > begin-select > a.remarks &remarks > print &remarks (#begin_remarks, 25) wrap 100 4 line-height=10 > let #begin_remarks = #begin_remarks + 10 > from mf_pr a > where a.uidy = $input_uidy > end-select > end-procedure > > I identified #begin_remarks = 390 in the beginning because I want to have > all the remarks from the three rows printed out together. If I hardcoded > it in my select statement, I would have the three remarks printed out on > top of each other. That's why I put the let #begin_remarks = > #begin_remarks + 10 statement, so that for each record it picks up, the > remarks will begin printing on the next line. I had to put the wrap > statement in because of the 255 characters. My space alloted for the > remarks section doesn't have enough to fit 255 in one line. > > The problem is that it will print out the remarks fine for the first > record, but then it will overlap the beginning of the second remark onto > the wrapped text from the previous record. Does that make sense?? I guess > I'm wondering how to incorporate adding the lines wrapped so that it will > advance nicely on the report. > > Any suggestions?? Any help is apprecited :o) > > Thanks, > Poonam Auluck > ----------------------------------------------------------------------- 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 Tue Jul 23 16:35:23 2002 Date: Tue, 23 Jul 2002 16:24:28 -0500 From: Don Mellen Subject: Re: Wrap functionality question Whoops! On my previous post, there should be a space in the position commands. position (nnn) Sorry 'bout that! ----------------------------------------------------------------------- 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 Tue Jul 23 18:02:26 2002 Date: Tue, 23 Jul 2002 18:54:37 -0400 From: Poonam Auluck Subject: Re: Wrap functionality question Thank you to everyone who replied!! All the comments were great and I was able to print 'remarks' perfectly, thank you! Poonam Auluck Don Mellen cc: Sent by: Subject: Re: Wrap functionality question "Discussion of SQR, Brio Software's database reporting language" 07/23/2002 05:24 PM Please respond to sqr-users Whoops! On my previous post, there should be a space in the position commands. position (nnn) Sorry 'bout that! ----------------------------------------------------------------------- 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 Tue Jul 23 18:24:59 2002 Date: Tue, 23 Jul 2002 19:14:35 -0400 From: Poonam Auluck Subject: Re: Wrap functionality question Hi All - I take my previous email back. :o( While I was able to get my remarks working correctly, I was unable to get my addresses to print out correctly using the same logic. I used Don's suggestion of adding the wrapped rows to my #begin-row. When I compile the code below, I get an SQR error stating "The value for 'wrapdepth' (0) must be > 0." Any suggestions what this means and/or how to fix it? First of all, I can't imagine it not being greater than 0 because the line will definitely have to wrap. Here's my code...any suggestions how to fix this problem?? begin-procedure get_from_address let #begin_from = 82 begin-select b.addr_nm &from_addr_nm b.addr_l1 &from_addr_l1 b.addr_l2 &from_addr_l2 b.addr_l3 &from_addr_l3 b.addr_l4 &from_addr_l4 b.addr_l5 &from_addr_l5 b.addr_city &from_addr_city b.addr_stae &from_addr_stae b.addr_zpcd &from_addr_zpcd from mf_pr_amd a, mf_offc_doc_jn b where a.uidy = b.parn_id and a.doc_num = $input_doc_num and b.offc_typ = 'I' end-select string &from_addr_l1 ' ' &from_addr_l2 ' ' &from_addr_l3 by '' into $from_address_one string &from_addr_city ', ' &from_addr_stae ' ' &from_addr_zpcd by '' into $from_address_two print &from_addr_nm (72,285) print $from_address_one (#begin_from, 285) wrap 50 5 line-height=10 let #begin_from #begin_from + (wrapdepth($from_address_one,50,1,'','') * 10) print $from_address_two (#begin_from, 285) wrap 50 5 line-height=10 end-procedure !ends get_from_address Thanks for the help!! It's is all greatly appreciated. Poonam Auluck From owner-sqr-users@list.iex.net Thu Jul 25 07:51:25 2002 Date: Thu, 25 Jul 2002 08:47:12 -0400 From: Don Barclay Subject: Re: Wrap functionality question Poonam, I can't reproduce your error. I noticed you are missing an equals sign on the line that you are setting #begin_from - but that shouldn't be causing your problem. Don Barclay Westinghouse Savannah River Co. Aiken, SC 29860 Poonam Auluck Sent by: "Discussion of SQR, Brio Software's database reporting language" 07/23/2002 07:14 PM Please respond to sqr-users To: SQR-USERS@list.iex.net cc: Subject: Re: Wrap functionality question Hi All - I take my previous email back. :o( While I was able to get my remarks working correctly, I was unable to get my addresses to print out correctly using the same logic. I used Don's suggestion of adding the wrapped rows to my #begin-row. When I compile the code below, I get an SQR error stating "The value for 'wrapdepth' (0) must be > 0." Any suggestions what this means and/or how to fix it? First of all, I can't imagine it not being greater than 0 because the line will definitely have to wrap. Here's my code...any suggestions how to fix this problem?? begin-procedure get_from_address let #begin_from = 82 begin-select b.addr_nm &from_addr_nm b.addr_l1 &from_addr_l1 b.addr_l2 &from_addr_l2 b.addr_l3 &from_addr_l3 b.addr_l4 &from_addr_l4 b.addr_l5 &from_addr_l5 b.addr_city &from_addr_city b.addr_stae &from_addr_stae b.addr_zpcd &from_addr_zpcd from mf_pr_amd a, mf_offc_doc_jn b where a.uidy = b.parn_id and a.doc_num = $input_doc_num and b.offc_typ = 'I' end-select string &from_addr_l1 ' ' &from_addr_l2 ' ' &from_addr_l3 by '' into $from_address_one string &from_addr_city ', ' &from_addr_stae ' ' &from_addr_zpcd by '' into $from_address_two print &from_addr_nm (72,285) print $from_address_one (#begin_from, 285) wrap 50 5 line-height=10 let #begin_from #begin_from + (wrapdepth($from_address_one,50,1,'','') * 10) print $from_address_two (#begin_from, 285) wrap 50 5 line-height=10 end-procedure !ends get_from_address Thanks for the help!! It's is all greatly appreciated. Poonam Auluck From owner-sqr-users@list.iex.net Fri Aug 23 09:50:42 2002 Date: Fri, 23 Aug 2002 09:46:37 -0500 From: "Knapp, Richard" Subject: Re: Wrap functionality question I have solved this by keeping track of the first print line. If it is the first, start at #begin else start at +1 (or +4 or whatever works). Richard Knapp Database Programmer/Analyst Administrative Systems Project University of Missouri System 573-884-3157 knappr@umsystem.edu -----Original Message----- From: Poonam Auluck [mailto:poonam.auluck@AMS.COM] Sent: Monday, July 22, 2002 4:20 PM To: SQR-USERS@list.iex.net Subject: Wrap functionality question HI All - I'm new to SQR and new to this group..this is a great site...I've already answered so many of my questions by searching the archives!! Hopefully, my question will be easy for some of you. I have one field called remarks, which is 255 characters. I'm unsure of how many spaces user will fill in. There are three rows that I am pulling from my DB that I want to combine all the remarks together. My code looks something along these lines.... begin-procedure remarks let #begin_remarks = 390 begin-select a.remarks &remarks print &remarks (#begin_remarks, 25) wrap 100 4 line-height=10 let #begin_remarks = #begin_remarks + 10 from mf_pr a where a.uidy = $input_uidy end-select end-procedure I identified #begin_remarks = 390 in the beginning because I want to have all the remarks from the three rows printed out together. If I hardcoded it in my select statement, I would have the three remarks printed out on top of each other. That's why I put the let #begin_remarks = #begin_remarks + 10 statement, so that for each record it picks up, the remarks will begin printing on the next line. I had to put the wrap statement in because of the 255 characters. My space alloted for the remarks section doesn't have enough to fit 255 in one line. The problem is that it will print out the remarks fine for the first record, but then it will overlap the beginning of the second remark onto the wrapped text from the previous record. Does that make sense?? I guess I'm wondering how to incorporate adding the lines wrapped so that it will advance nicely on the report. Any suggestions?? Any help is apprecited :o) Thanks, Poonam Auluck From owner-sqr-users@list.iex.net Fri Aug 23 09:56:42 2002 Date: Fri, 23 Aug 2002 14:52:27 +0000 From: Francois Béliveau Subject: Re: Wrap functionality question Hi, What you should do is calculate the lines your remark will take in it's wrap. Let's say the remark is 200 char long. Knowing the line is 100 char long, just do the calculation: round(length of the remark / 100) * 10 = Number of line you should add to your begin_remark variable. You round it because if you get something like 250/100= 2.5, you actually have to jump 3 lines. Use the length() function to get the length of the remark field. Your code should look like this: begin-procedure remarks let #begin_remarks = 390 begin-select a.remarks &remarks print &remarks (#begin_remarks, 25) wrap 100 4 line-height=10 let #linesToJump = round(length(&remarks) / 100) * 10 let #begin_remarks = #begin_remarks + #linesToJump from mf_pr a where a.uidy = $input_uidy end-select end-procedure Pay attention to the round() function, can't remember if it's round() or rnd(). Well, this should work. Give some news! >From: Poonam Auluck >Reply-To: sqr-users@list.iex.net >To: SQR-USERS@list.iex.net >Subject: Wrap functionality question >Date: Mon, 22 Jul 2002 17:19:35 -0400 > >HI All - > >I'm new to SQR and new to this group..this is a great site...I've already >answered so many of my questions by searching the archives!! >Hopefully, my question will be easy for some of you. > >I have one field called remarks, which is 255 characters. I'm unsure of >how many spaces user will fill in. There are three rows that I am pulling >from my DB that I want to combine all the remarks together. > >My code looks something along these lines.... > >begin-procedure remarks >let #begin_remarks = 390 >begin-select >a.remarks &remarks > print &remarks (#begin_remarks, 25) wrap 100 4 line-height=10 > let #begin_remarks = #begin_remarks + 10 >from mf_pr a >where a.uidy = $input_uidy >end-select >end-procedure > >I identified #begin_remarks = 390 in the beginning because I want to have >all the remarks from the three rows printed out together. If I hardcoded >it in my select statement, I would have the three remarks printed out on >top of each other. That's why I put the let #begin_remarks = >#begin_remarks + 10 statement, so that for each record it picks up, the >remarks will begin printing on the next line. I had to put the wrap >statement in because of the 255 characters. My space alloted for the >remarks section doesn't have enough to fit 255 in one line. > >The problem is that it will print out the remarks fine for the first >record, but then it will overlap the beginning of the second remark onto >the wrapped text from the previous record. Does that make sense?? I guess >I'm wondering how to incorporate adding the lines wrapped so that it will >advance nicely on the report. > >Any suggestions?? Any help is apprecited :o) > >Thanks, >Poonam Auluck _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com From owner-sqr-users@list.iex.net Fri Aug 23 10:15:20 2002 Date: Fri, 23 Aug 2002 10:09:30 -0500 From: Eric Dimick Eastman Subject: Re: Wrap functionality question Poonam, The problem with this suggestion is the wrap does word wrapping, so a string of 198 characters is very likely to wrap onto 3 lines since the first 2 lines can't be filled exactly. SQR includes a "wrapdepth" function so you can know exactly onto how many lines a string will wrap. In most cases there is an even easier solution: use "next-listing" begin-procedure remarks position (390) ! usually this won't be necessary next-listing will take you down the page from whatever you printed last. next-listing begin-select a.remarks &remarks print &remarks (10, 25) wrap 100 4 line-height=10 next-listing from mf_pr a where a.uidy = $input_uidy end-select end-procedure Good luck, Eric Francois Béliveau wrote: > Hi, > > What you should do is calculate the lines your remark will take in it's > wrap. Let's say the remark is 200 char long. Knowing the line is 100 char > long, just do the calculation: > > round(length of the remark / 100) * 10 = Number of line you should add to > your begin_remark variable. You round it because if you get something > like > 250/100= 2.5, you actually have to jump 3 lines. Use the length() > function > to get the length of the remark field. Your code should look like this: > > begin-procedure remarks > let #begin_remarks = 390 > begin-select > a.remarks &remarks > print &remarks (#begin_remarks, 25) wrap 100 4 line-height=10 > let #linesToJump = round(length(&remarks) / 100) * 10 > let #begin_remarks = #begin_remarks + #linesToJump > from mf_pr a > where a.uidy = $input_uidy > end-select > end-procedure > > Pay attention to the round() function, can't remember if it's round() or > rnd(). Well, this should work. Give some news! > > >> From: Poonam Auluck >> Reply-To: sqr-users@list.iex.net >> To: SQR-USERS@list.iex.net >> Subject: Wrap functionality question >> Date: Mon, 22 Jul 2002 17:19:35 -0400 >> >> HI All - >> >> I'm new to SQR and new to this group..this is a great site...I've >> already >> answered so many of my questions by searching the archives!! >> Hopefully, my question will be easy for some of you. >> >> I have one field called remarks, which is 255 characters. I'm unsure of >> how many spaces user will fill in. There are three rows that I am >> pulling >> from my DB that I want to combine all the remarks together. >> >> My code looks something along these lines.... >> >> begin-procedure remarks >> let #begin_remarks = 390 >> begin-select >> a.remarks &remarks >> print &remarks (#begin_remarks, 25) wrap 100 4 line-height=10 >> let #begin_remarks = #begin_remarks + 10 >> from mf_pr a >> where a.uidy = $input_uidy >> end-select >> end-procedure >> >> I identified #begin_remarks = 390 in the beginning because I want to >> have >> all the remarks from the three rows printed out together. If I hardcoded >> it in my select statement, I would have the three remarks printed out on >> top of each other. That's why I put the let #begin_remarks = >> #begin_remarks + 10 statement, so that for each record it picks up, the >> remarks will begin printing on the next line. I had to put the wrap >> statement in because of the 255 characters. My space alloted for the >> remarks section doesn't have enough to fit 255 in one line. >> >> The problem is that it will print out the remarks fine for the first >> record, but then it will overlap the beginning of the second remark onto >> the wrapped text from the previous record. Does that make sense?? I >> guess >> I'm wondering how to incorporate adding the lines wrapped so that it >> will >> advance nicely on the report. >> >> Any suggestions?? Any help is apprecited :o) >> >> Thanks, >> Poonam Auluck > > > > > > _________________________________________________________________ > Join the world's largest e-mail service with MSN Hotmail. > http://www.hotmail.com > > From owner-sqr-users@list.iex.net Wed Jul 24 04:43:13 2002 Date: Wed, 24 Jul 2002 11:36:12 +0200 From: Daan de Jong Subject: filling message text ok, but displaying the text in process details goes wrong Hi there, I have a problem with displaying my own text message in the process detail page. I fill message_parm1 with my text. I´d expect I would see the message, however nothing appears in there. let $Error_Mesg = '*** Error opening file for reading ' || $invoerfile let #prcs_run_status = #prcs_run_status_error let #prcs_message_set_nbr = #prcs_msg_set_nbr let #prcs_message_nbr = 0 let $prcs_message_parm1 = $Error_Msg let #prcs_continuejob = 0 let #prcs_rc = #Ret_Code do Update-Prcs-Run-Status Does anyone have a clue? We´re running PeopleSoft 8.17. regards Daan `Externe E-Mail wordt door DNB niet gebruikt voor het aangaan van verplichtingen` `Any e-mail messages from The Nederlandsche Bank are given in good faith but shall not be binding nor shall they be construed as constituting any obligation on the part of the Bank.` From owner-sqr-users@list.iex.net Wed Jul 24 04:52:59 2002 Date: Wed, 24 Jul 2002 11:38:01 +0200 From: "O'riordan, Paul (EI05)" Subject: Re: filling message text ok, but displaying the text in process d etails goes wrong Yep - you are calling a wrongly named variable. You set $Error_Mesg but assign $Error_Msg. Once you get this right you should be fine. Regards, Paul Honeywell Paul O'Riordan Honeywell Application Services Application Developer Industrial Park, Cork Road PeopleSoft Applications, Waterford Ireland +353-51-309856 Direct +353-51-309821 Fax +353-87-9083244 Mobile mailto:Paul.O'Riordan@honeywell.com -----Original Message----- From: Daan de Jong [mailto:D.de.Jong@DNB.NL] Sent: 24 July 2002 10:36 To: SQR-USERS@list.iex.net Subject: filling message text ok, but displaying the text in process details goes wrong Hi there, I have a problem with displaying my own text message in the process detail page. I fill message_parm1 with my text. I?d expect I would see the message, however nothing appears in there. let $Error_Mesg = '*** Error opening file for reading ' || $invoerfile let #prcs_run_status = #prcs_run_status_error let #prcs_message_set_nbr = #prcs_msg_set_nbr let #prcs_message_nbr = 0 let $prcs_message_parm1 = $Error_Msg let #prcs_continuejob = 0 let #prcs_rc = #Ret_Code do Update-Prcs-Run-Status Does anyone have a clue? We?re running PeopleSoft 8.17. regards Daan `Externe E-Mail wordt door DNB niet gebruikt voor het aangaan van verplichtingen` `Any e-mail messages from The Nederlandsche Bank are given in good faith but shall not be binding nor shall they be construed as constituting any obligation on the part of the Bank.` From owner-sqr-users@list.iex.net Wed Jul 24 05:26:03 2002 Date: Wed, 24 Jul 2002 12:17:55 +0200 From: Daan de Jong Subject: Re: filling message text ok, but displaying the text in process d etails goes wrong Hello, Even if I have my variable spelled correctly it still doesn´t work. Thanks Daan "O'riordan, Paul (EI05)" To: SQR-USERS@LIST.IEX.NET Subject: Re: filling message text ok, but Sent by: "Discussion displaying the text in process d etails goes wrong of SQR, Brio Software's database reporting language" 07/24/02 11:38 AM Please respond to sqr-users Yep - you are calling a wrongly named variable. You set $Error_Mesg but assign $Error_Msg. Once you get this right you should be fine. Regards, Paul Honeywell Paul O'Riordan Honeywell Application Services Application Developer Industrial Park, Cork Road PeopleSoft Applications, Waterford Ireland +353-51-309856 Direct +353-51-309821 Fax +353-87-9083244 Mobile mailto:Paul.O'Riordan@honeywell.com -----Original Message----- From: Daan de Jong [mailto:D.de.Jong@DNB.NL] Sent: 24 July 2002 10:36 To: SQR-USERS@list.iex.net Subject: filling message text ok, but displaying the text in process details goes wrong Hi there, I have a problem with displaying my own text message in the process detail page. I fill message_parm1 with my text. I?d expect I would see the message, however nothing appears in there. let $Error_Mesg = '*** Error opening file for reading ' || $invoerfile let #prcs_run_status = #prcs_run_status_error let #prcs_message_set_nbr = #prcs_msg_set_nbr let #prcs_message_nbr = 0 let $prcs_message_parm1 = $Error_Msg let #prcs_continuejob = 0 let #prcs_rc = #Ret_Code do Update-Prcs-Run-Status Does anyone have a clue? We?re running PeopleSoft 8.17. regards Daan `Externe E-Mail wordt door DNB niet gebruikt voor het aangaan van verplichtingen` `Any e-mail messages from The Nederlandsche Bank are given in good faith but shall not be binding nor shall they be construed as constituting any obligation on the part of the Bank.` `Externe E-Mail wordt door DNB niet gebruikt voor het aangaan van verplichtingen` `Any e-mail messages from The Nederlandsche Bank are given in good faith but shall not be binding nor shall they be construed as constituting any obligation on the part of the Bank.` From owner-sqr-users@list.iex.net Wed Jul 24 17:42:31 2002 Date: Wed, 24 Jul 2002 18:32:24 -0400 From: "Nuccio, Vincent" Subject: PGP Hi ya'll... The development team and I are trying to determine the best solution in 'encrypting' the variable $userid. !*********************************************************************** BEGIN-PROCEDURE Encrypt-Files !*********************************************************************** let $userid = 'ABCDEFGH' do encrypt_pgp($filename,$userid,#status) if #status <> 0 show 'Failed to Encrypt the File' else do get-current-datetime show 'Successfully Encrypted the File ' $sysdatetime end-if END-PROCEDURE If you look at the above procedure, the var $userid = 'ABCDEFGH' and we call it a Public Key for the Vendor. It is used to encrypt the file at our end and used to decrypt the file at their end. However, from Security point of view it is not a good idea to have that KEY value hard-coded in the program. Two possibilities: 1) Create a setup table with PRCSNAME as Key and store the Key value in the table for each process (interface). Then write a common procedure to read it from this table for that particular interface. 2) Store the Key values in a text file and write some code (unsure) to read the text file to read the Key value for the particular interface. Neither one is totally secure, but, it is much better than having to hard-code in the SQR. Does anyone know a better solution? Thanks! Vince Nuccio AT&T Wireless Services Redmond, Washington email me at: < mailto:vincent.nuccio@attws.com> page me at: < mailto:vnuccio@my2way.com> call me at: 711, ask for (425) 580-8888 ~ TTY visit us at: < http://itpeoplesystems.attws.com> "Stuck? Ask for help and it is ok not to know everything!" -----Original Message----- From: Nuccio, Vincent [ mailto:vincent.nuccio@ATTWS.COM] Sent: Thursday, July 18, 2002 3:06 PM To: SQR-USERS@list.iex.net Subject: Re: PGP Thanks for the responses and here is my next question. What would be the best way to hide the KEY? A separate file, I suppose? Vince Nuccio AT&T Wireless Services Redmond, Washington email me at: < mailto:vincent.nuccio@attws.com> page me at: < mailto:vnuccio@my2way.com> call me at: 711, ask for (425) 580-8888 ~ TTY visit us at: < http://itpeoplesystems.attws.com> "Stuck? Ask for help and it is ok not to know everything!" -----Original Message----- From: Nuccio, Vincent [ mailto:vincent.nuccio@ATTWS.COM] Sent: Thursday, July 18, 2002 10:27 AM To: SQR-USERS@list.iex.net Subject: PGP I am trying to determine the best solution to encrypt all of our files that we send through our FTP server. Do anyone of you know the best way to code the PGP in SQRs? Thanks. Vince Nuccio AT&T Wireless Services Redmond, Washington email me at: <