From owner-sqr-users@list.iex.net Thu Apr 1 00:19:01 1999 Date: Thu, 1 Apr 1999 00:00:01 -0500 From: Nathan Treadway Subject: Monthly sqr-users Hints Posting sqr-users Mailing List Hints and Guidelines Nathan Treadway, Ray Ontko & Co. (nathant@ontko.com) $Revision: 1.3 $ $Date: 1999-03-09 23:51:52-05 $ This document gathers in one location information about the sqr-users mail list. Directions for common list-server commands are given, as are guidelines for list usage. ______________________________________________________________________ Table of Contents 1. Change 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 Posting a Message 4.2 Replying to a Message 5. Job Announcements ______________________________________________________________________ 1. Change Since Previous Version Changes since the version dated 1998/10/10: o Changed listserver machine name from "usa.net" to "list.iex.net". o Added info on "psusers" mailing list. 2. Introduction 2.1. sqr-users Mailing List The sqr-users mailing list was created to enable discussion related to the SQR database language (and to other products from SQRIBE Technologies). 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 (C)Copyright 1999 by Nathan Treadway. 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 psusers : PeopleSoft Users For questions related to any aspect of PeopleSoft (including PeopleSoft-specific SQR issues). To join, follow the link above, or send any message to "psusers-subscribe@egroups.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 and list server will continue to work for some period in the future, but you should start using the new addresses as soon as possible. The old address sqr-users-request@usa.net no longer works. 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. 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 SQRIBE product and version number o Operating system and version number o Database name and version number o Application name (i.e. PeopleSoft) and a version number, if any Also, include a short code sample whenever possible. It's much easier for other people to understand what you are trying to do when they can see the actual code. (At the same time, be careful not to post confidential code, since the posting will be placed in a public web archive.) Note that your question should relate to a SQRIBE product in some way. Don't ask questions about PeopleSoft, for example, unless you are having SQR-related issues. (To find out your version of SQR, you can run the following program: begin-program show $sqr-ver end-program This will produce a line that looks something like this: SQR/3.0.15/Intel/SCO Unix R3.2 V5.0/Oracle 7.2.2.3/Sep 25 1996 Include the full line of output in your message. Note that the oper- ating system version number listed here is the one under which this copy of SQR was compiled, so you'll still need to include your own information.) 4.2. 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 orginal 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. 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 SQR-related job announcements are currently allowed on the list, subject to the following restrictions: o The subject line must begin with the words "JOB ANNOUNCEMENT:". o The message should be very short (fewer than 20 lines), giving brief details of the job and a way for those interested to get more information directly (i.e. web page or phone number). o The message should specifically remind people interested in the job to respond directly to the message author (and not to use their mailer's "reply" function, since that would send the reply out on the list). o Post job announcements as infrequently as possible. From owner-sqr-users@list.iex.net Thu Apr 1 02:36:23 1999 Date: Thu, 1 Apr 1999 17:21:50 +1000 From: Paul Schattling Subject: Connecting to remote d/base through SQR Okay, I'm sorry if this appears very basic so please be understanding. We have peoplesoft Assets but not their full Financials (don't ask!). Through an SQR (launched via peoplesoft) we are able to select data from the remote Finance database and insert into the P/soft Asset database. We now need to insert data back to our finance system. I can't write to a remote d/base so I want to logon to the finance database and do my select and insert from there. If anyone can make sense of my dribble, can you advise of the commands/procedures to use in SQR to obtain this. Thanks in Advance Paul Schattling From owner-sqr-users@list.iex.net Thu Apr 1 07:27:01 1999 Date: Thu, 1 Apr 1999 07:12:26 -0500 From: Bob Buford Subject: Re: Connecting to remote d/base through SQR Hi Paul, Go to URL http://www.sqrug.com/sqr-users/ and search archive volumes for keyword connect. Several popular choices seem to be using ODBC or having your dba set up a listener to one of the databases. Perhaps ODBC might be better so you can write in same process instance to several different databases. Anyway, once you are setup and connect like that, just use your BEGIN-SELECT and BEGIN-SQL paragraphs to manipulate data as you would directly in SQL. Someone else had suggested an approach of having two different .INI files with shortcuts to your desktop, which would enable you to SELECT your data in one session, perhaps writing it to a file, then launching an SQR session into the other database and using the data in the file to insert into that database. HTH, Bob >>> Paul Schattling 04/01/99 02:21AM >>> Okay, I'm sorry if this appears very basic so please be understanding. We have peoplesoft Assets but not their full Financials (don't ask!). Through an SQR (launched via peoplesoft) we are able to select data from the remote Finance database and insert into the P/soft Asset database. We now need to insert data back to our finance system. I can't write to a remote d/base so I want to logon to the finance database and do my select and insert from there. If anyone can make sense of my dribble, can you advise of the commands/procedures to use in SQR to obtain this. Thanks in Advance Paul Schattling From owner-sqr-users@list.iex.net Thu Apr 1 16:09:14 1999 Date: Thu, 1 Apr 1999 12:07:48 -0800 From: Bryan Richey Subject: Syntax for Count(*) Hello all! I am trying to populate the dynamic headings that follow ....I was wondering if someone has any insight to the correct syntax for the count(*)...I am currently getting a mess of SQL errors... Thanks, Bryan !****************************************************** begin-procedure Determine-Sequence !****************************************************** create-array name=ERNmtx size=11 field=ERNttl:char do erncd-detail end-procedure !******************************************************begin-procedure erncd-detail !****************************************************** let #ERNctr = 0 begin-select b.erncd count(*) &b.count let $E.ERNCD = &b.erncd let #ERNctr = #ERNctr + 1 let ERNmtx.ERNttl(#ERNctr) = &b.count if #ERNctr >= 10 exit-select end-if from ps_dhm_emp_detail b where b.DEPTID = $V_DEPTID and b.paygroup = $V_PayGroup and b.pay_end_dt = $V_Pay_End_dt and b.DHM_WEEK_NBR = #V_Week_Nbr order by 2 desc, 1 !group by $E.ERNCD !group by b.erncd end-select let $H01 = ERNmtx.ERNttl(1) let $H02 = ERNmtx.ERNttl(2) let $H03 = ERNmtx.ERNttl(3) let $H04 = ERNmtx.ERNttl(4) let $H05 = ERNmtx.ERNttl(5) let $H06 = ERNmtx.ERNttl(6) let $H07 = ERNmtx.ERNttl(7) let $H08 = ERNmtx.ERNttl(8) let $H09 = ERNmtx.ERNttl(9) let $H10 = ERNmtx.ERNttl(10) display $h01 end-procedure _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From owner-sqr-users@list.iex.net Thu Apr 1 16:35:46 1999 Date: Thu, 1 Apr 1999 15:31:09 -0500 From: Jim Hardesty Subject: Syntax for Count(*) -Reply count(*) &b.count should be count(*) &count? From owner-sqr-users@list.iex.net Wed Apr 7 03:34:09 1999 Date: Thu, 1 Apr 1999 13:15:53 PST From: Parijat Sahai Subject: Re: Syntax for Count(*) Remove the dot from &b.count, i.e., you should have the following syntax: begin-select b.erncd count(b.*) &b_count let $E_ERNCD = &b.erncd ... let ERNmtx.ERNttl(#ERNctr) = &b_count ..... end-select The ampersand variable should be one word without any dots. I guess same holds for $ and # variables in SQR. You can have "-" and "_" as separators to make variable names more readable if you like. Parijat. >From: Bryan Richey >Reply-To: SQR-USERS@list.iex.net >To: Multiple recipients of list SQR-USERS >Subject: Syntax for Count(*) >Date: Thu, 1 Apr 1999 12:07:48 -0800 > >Hello all! > >I am trying to populate the dynamic headings that follow ....I was >wondering if someone has any insight to the correct syntax for the >count(*)...I am currently getting a mess of SQL errors... > >Thanks, > >Bryan > > >!****************************************************** >begin-procedure Determine-Sequence >!****************************************************** >create-array name=ERNmtx size=11 field=ERNttl:char > >do erncd-detail > >end-procedure > >!******************************************************begin-procedure >erncd-detail >!****************************************************** >let #ERNctr = 0 > >begin-select > >b.erncd >count(*) &b.count > > let $E.ERNCD = &b.erncd > let #ERNctr = #ERNctr + 1 > let ERNmtx.ERNttl(#ERNctr) = &b.count > if #ERNctr >= 10 > exit-select > end-if > > from ps_dhm_emp_detail b >where b.DEPTID = $V_DEPTID > and b.paygroup = $V_PayGroup > and b.pay_end_dt = $V_Pay_End_dt > and b.DHM_WEEK_NBR = #V_Week_Nbr >order by 2 desc, 1 >!group by $E.ERNCD >!group by b.erncd > >end-select > >let $H01 = ERNmtx.ERNttl(1) >let $H02 = ERNmtx.ERNttl(2) >let $H03 = ERNmtx.ERNttl(3) >let $H04 = ERNmtx.ERNttl(4) >let $H05 = ERNmtx.ERNttl(5) >let $H06 = ERNmtx.ERNttl(6) >let $H07 = ERNmtx.ERNttl(7) >let $H08 = ERNmtx.ERNttl(8) >let $H09 = ERNmtx.ERNttl(9) >let $H10 = ERNmtx.ERNttl(10) > >display $h01 > >end-procedure > > >_________________________________________________________ >Do You Yahoo!? >Get your free @yahoo.com address at http://mail.yahoo.com Get Your Private, Free Email at http://www.hotmail.com From owner-sqr-users@list.iex.net Thu Apr 1 16:48:17 1999 Date: Thu, 1 Apr 1999 16:28:09 -0500 From: Sam Spritzer Subject: Re: Syntax for Count(*) you need to replace the * with something at least for starts. Sam <<< Bryan Richey 4/ 1 3:07p >>> Hello all! I am trying to populate the dynamic headings that follow ....I was wondering if someone has any insight to the correct syntax for the count(*)...I am currently getting a mess of SQL errors... Thanks, Bryan !****************************************************** begin-procedure Determine-Sequence !****************************************************** create-array name=ERNmtx size=11 field=ERNttl:char do erncd-detail end-procedure !******************************************************begin-procedure erncd-detail !****************************************************** let #ERNctr = 0 begin-select b.erncd count(*) &b.count let $E.ERNCD = &b.erncd let #ERNctr = #ERNctr 1 let ERNmtx.ERNttl(#ERNctr) = &b.count if #ERNctr >= 10 exit-select end-if from ps_dhm_emp_detail b where b.DEPTID = $V_DEPTID and b.paygroup = $V_PayGroup and b.pay_end_dt = $V_Pay_End_dt and b.DHM_WEEK_NBR = #V_Week_Nbr order by 2 desc, 1 !group by $E.ERNCD !group by b.erncd end-select let $H01 = ERNmtx.ERNttl(1) let $H02 = ERNmtx.ERNttl(2) let $H03 = ERNmtx.ERNttl(3) let $H04 = ERNmtx.ERNttl(4) let $H05 = ERNmtx.ERNttl(5) let $H06 = ERNmtx.ERNttl(6) let $H07 = ERNmtx.ERNttl(7) let $H08 = ERNmtx.ERNttl(8) let $H09 = ERNmtx.ERNttl(9) let $H10 = ERNmtx.ERNttl(10) display $h01 end-procedure _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From owner-sqr-users@list.iex.net Thu Apr 1 18:15:53 1999 Date: Thu, 1 Apr 1999 17:52:11 -0400 From: Navneet Chandra Subject: (Out of Topic) Help needed in my research I'm sorry to bring in a non technical subject into this list but i need some help in my research on the Peoplesoft ERP market - it's current trend and what is to be expected in the near future. I would like to especially hear from people who are involved in upgrades or have plans to start an upgrade soon. The two main questions around which my research is based on is WHY - An upgrade?? and WHAT NEXT ?? All help in this regard would be appreciated. Thanx in advance Navneet From owner-sqr-users@list.iex.net Thu Apr 1 17:49:30 1999 Date: Thu, 1 Apr 1999 17:38:55 -0500 From: Tony DeLia Subject: Re: Syntax for Count(*) The syntax: count(*) &b.count is correct... I use this frequently... You should have: group by b.erncd order by 2 desc, 1 The GROUP BY comes before the ORDER BY... I don't know why you're moving the COUNT into the Heading... You should be sorting by the count(*) for each erncd then move the ERNCD to the ERNmtx.ERNttl (#ERNctr) array element... the COUNT itself is irrelevant for headings... All you need is... let #ERNctr = #ERNctr + 1 let ERNmtx.ERNttl(#ERNctr) = &b.erncd if #ERNctr >= 10 exit-select end-if ...within the select loop... -Tony DeLia PS - Another e-mail address???? Sam Spritzer wrote: > > you need to replace the * with something at least for starts. > > Sam > > <<< Bryan Richey 4/ 1 3:07p >>> > Hello all! > > I am trying to populate the dynamic headings that follow ....I was > wondering if someone has any insight to the correct syntax for the > count(*)...I am currently getting a mess of SQL errors... > > Thanks, > > Bryan > > !****************************************************** > begin-procedure Determine-Sequence > !****************************************************** > create-array name=ERNmtx size=11 field=ERNttl:char > > do erncd-detail > > end-procedure > > !******************************************************begin-procedure > erncd-detail > !****************************************************** > let #ERNctr = 0 > > begin-select > > b.erncd > count(*) &b.count > > let $E.ERNCD = &b.erncd > let #ERNctr = #ERNctr 1 > let ERNmtx.ERNttl(#ERNctr) = &b.count > if #ERNctr >= 10 > exit-select > end-if > > from ps_dhm_emp_detail b > where b.DEPTID = $V_DEPTID > and b.paygroup = $V_PayGroup > and b.pay_end_dt = $V_Pay_End_dt > and b.DHM_WEEK_NBR = #V_Week_Nbr > order by 2 desc, 1 > !group by $E.ERNCD > !group by b.erncd > > end-select > > let $H01 = ERNmtx.ERNttl(1) > let $H02 = ERNmtx.ERNttl(2) > let $H03 = ERNmtx.ERNttl(3) > let $H04 = ERNmtx.ERNttl(4) > let $H05 = ERNmtx.ERNttl(5) > let $H06 = ERNmtx.ERNttl(6) > let $H07 = ERNmtx.ERNttl(7) > let $H08 = ERNmtx.ERNttl(8) > let $H09 = ERNmtx.ERNttl(9) > let $H10 = ERNmtx.ERNttl(10) > > display $h01 > > end-procedure > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com -- Tony DeLia AnswerThink Consulting Group PeopleSoft Solutions Practice - Delphi Partners tdelia@erols.com From owner-sqr-users@list.iex.net Thu Apr 1 20:14:37 1999 Date: Thu, 1 Apr 1999 16:58:36 -0800 From: "Kibler, Daniel R - CFC" Subject: Re: Syntax for Count(*) Is the layout correct? You can't have non-SQL lines (eg, let ...) start in the 1st column. You also need to group on erncd. Daniel Kibler Cambridge Technology Partners 925 543-4612 503 471-5111 Client site -----Original Message----- From: Bryan Richey [mailto:b_richey@YAHOO.COM] Sent: Thursday, April 01, 1999 12:08 PM To: Multiple recipients of list SQR-USERS Subject: Syntax for Count(*) Hello all! I am trying to populate the dynamic headings that follow ....I was wondering if someone has any insight to the correct syntax for the count(*)...I am currently getting a mess of SQL errors... Thanks, Bryan !****************************************************** begin-procedure Determine-Sequence !****************************************************** create-array name=ERNmtx size=11 field=ERNttl:char do erncd-detail end-procedure !******************************************************begin-procedure erncd-detail !****************************************************** let #ERNctr = 0 begin-select b.erncd count(*) &b.count let $E.ERNCD = &b.erncd let #ERNctr = #ERNctr + 1 let ERNmtx.ERNttl(#ERNctr) = &b.count if #ERNctr >= 10 exit-select end-if from ps_dhm_emp_detail b where b.DEPTID = $V_DEPTID and b.paygroup = $V_PayGroup and b.pay_end_dt = $V_Pay_End_dt and b.DHM_WEEK_NBR = #V_Week_Nbr order by 2 desc, 1 !group by $E.ERNCD !group by b.erncd end-select let $H01 = ERNmtx.ERNttl(1) let $H02 = ERNmtx.ERNttl(2) let $H03 = ERNmtx.ERNttl(3) let $H04 = ERNmtx.ERNttl(4) let $H05 = ERNmtx.ERNttl(5) let $H06 = ERNmtx.ERNttl(6) let $H07 = ERNmtx.ERNttl(7) let $H08 = ERNmtx.ERNttl(8) let $H09 = ERNmtx.ERNttl(9) let $H10 = ERNmtx.ERNttl(10) display $h01 end-procedure _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From owner-sqr-users@list.iex.net Thu Apr 1 22:44:51 1999 Date: Thu, 1 Apr 1999 22:32:49 EST From: Terri Jenkins Subject: Re: (Out of Topic) Help needed in my research Regarding the Why....PeopleSoft only supports (that is, tries to help you when you call) a release for a limited time. So, usually you want to upgrade to the next supported release. PeopleSoft supports a release for 18 months after the next major release is out. So, they support release 7.whatever for 18 months after 8.whatever is out. It kind of seems like they have changed that spread recently, but that has been their trend. As for What next...go to the Customer Connection and get as much info as you can - like the upgrade kit. Keep searching the web site until you have some guidelines on how to get started. Helping you plan is also a key task for your PeopleSoft site rep. Call your rep. Then get approval for 3-4 dedicated FTE's, and borrow a couple more as you need them. There are also consulting companies that specialize in upgrades, but I have had minimal experience with them so I can't steer you in that direction. It is scarey at first, but invest a good amount of time in planning and you will get through it. Like, get any major system changes in before you start so you can freeze your instance during the upgrade. Hang in there... From owner-sqr-users@list.iex.net Fri Apr 2 07:15:18 1999 Date: Fri, 2 Apr 1999 07:02:17 -0500 From: Sam Spritzer Subject: Re: (Out of Topic) Help needed in my research I think one place you will find very useful is www.erpcentral.com >From my own experience, upgrades are mostly for two reasons. The first is functionality. Each upgrade not only represents a functional improvement to the product as a whole but more to the customer. They see it as an opportunity to improve their own business processes. The second is because "they have to". Y2K is an example; technology is another. And while technology may also be classified as a functionality because it allows the customer to improve or create a business process such as e-commerce. From a technical aspect, perhaps it fits in with a hardware or infra-structure upgrade, at the same time. Hope this helps and good luck, Sam <<< Navneet Chandra 4/ 1 4:52p >>> I'm sorry to bring in a non technical subject into this list but i need some help in my research on the Peoplesoft ERP market - it's current trend and what is to be expected in the near future. I would like to especially hear from people who are involved in upgrades or have plans to start an upgrade soon. The two main questions around which my research is based on is WHY - An upgrade?? and WHAT NEXT ?? All help in this regard would be appreciated. Thanx in advance Navneet From owner-sqr-users@list.iex.net Fri Apr 2 07:43:28 1999 Date: Fri, 2 Apr 1999 07:33:17 -0500 From: Tony DeLia Subject: Re: Syntax for Count(*) Clarification: You can't have non-SQL lines (eg, let ...) start in the 1st 'position' WITHIN the begin-select and end-select... The first position is for select columns... and subsequent SQL (eg, from, where, ...) ... ! Below is outside of select (Position 1) - OKAY let #ERNctr = 0 begin-select b.erncd count(*) &b.count ! Below is indented (Not in Position 1) - OKAY let #ERNctr = #ERNctr + 1 let ERNmtx.ERNttl(#ERNctr) = &b.erncd if #ERNctr >= 10 exit-select end-if from s_dhm_emp_detail b where ... group by b.erncd order by 2 desc, 1 end-select ... Tony DeLia Kibler, Daniel R - CFC wrote: > > Is the layout correct? You can't have non-SQL lines (eg, let ...) start in > the 1st column. > > You also need to group on erncd. > Daniel Kibler -- Tony DeLia AnswerThink Consulting Group PeopleSoft Solutions Practice - Delphi Partners tdelia@erols.com From owner-sqr-users@list.iex.net Fri Apr 2 08:00:07 1999 Date: Fri, 2 Apr 1999 07:49:30 -0500 From: Sam Spritzer Subject: Re: Syntax for Count(*) In almost all cases, the first line is usually "begin-Procedure" so it seems that this rule is redundant anyway. Sam <<< Tony DeLia 4/ 2 7:33a >>> Clarification: You can't have non-SQL lines (eg, let ...) start in the 1st 'position' WITHIN the begin-select and end-select... The first position is for select columns... and subsequent SQL (eg, from, where, ...) ... ! Below is outside of select (Position 1) - OKAY let #ERNctr = 0 begin-select b.erncd count(*) &b.count ! Below is indented (Not in Position 1) - OKAY let #ERNctr = #ERNctr 1 let ERNmtx.ERNttl(#ERNctr) = &b.erncd if #ERNctr >= 10 exit-select end-if from s_dhm_emp_detail b where ... group by b.erncd order by 2 desc, 1 end-select ... Tony DeLia Kibler, Daniel R - CFC wrote: > > Is the layout correct? You can't have non-SQL lines (eg, let ...) start in > the 1st column. > > You also need to group on erncd. > Daniel Kibler -- Tony DeLia AnswerThink Consulting Group PeopleSoft Solutions Practice - Delphi Partners tdelia@erols.com From owner-sqr-users@list.iex.net Fri Apr 2 08:51:14 1999 Date: Fri, 2 Apr 1999 07:39:52 -0600 From: Carlton Conley Subject: Re: Syntax for Count(*) No as Tony stated it the restriction is in between the begin and end selects or other SQL statements (i.e. update, delete) not the begin-report, program or procedure. Though for clarity and formating I indent all my non-sql lines within those headings. -----Original Message----- From: Discussion of SQR, SQRIBE Technologies's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Sam Spritzer Sent: Friday, April 02, 1999 6:50 AM To: Multiple recipients of list SQR-USERS Subject: Re: Syntax for Count(*) In almost all cases, the first line is usually "begin-Procedure" so it seems that this rule is redundant anyway. Sam <<< Tony DeLia 4/ 2 7:33a >>> Clarification: You can't have non-SQL lines (eg, let ...) start in the 1st 'position' WITHIN the begin-select and end-select... The first position is for select columns... and subsequent SQL (eg, from, where, ...) ... ! Below is outside of select (Position 1) - OKAY let #ERNctr = 0 begin-select b.erncd count(*) &b.count ! Below is indented (Not in Position 1) - OKAY let #ERNctr = #ERNctr 1 let ERNmtx.ERNttl(#ERNctr) = &b.erncd if #ERNctr >= 10 exit-select end-if from s_dhm_emp_detail b where ... group by b.erncd order by 2 desc, 1 end-select ... Tony DeLia Kibler, Daniel R - CFC wrote: > > Is the layout correct? You can't have non-SQL lines (eg, let ...) start in > the 1st column. > > You also need to group on erncd. > Daniel Kibler -- Tony DeLia AnswerThink Consulting Group PeopleSoft Solutions Practice - Delphi Partners tdelia@erols.com From owner-sqr-users@list.iex.net Fri Apr 2 09:10:43 1999 Date: Fri, 2 Apr 1999 09:00:52 -0500 From: Sam Spritzer Subject: Re: Syntax for Count(*) I gotcha....usually I put my "lets" right after the begin-procedure otherwise I do my selects. Sometimes I put my "lets" after the field...others, I group them after all the fields. Sam <<< Carlton Conley 4/ 2 8:39a >>> No as Tony stated it the restriction is in between the begin and end selects or other SQL statements (i.e. update, delete) not the begin-report, program or procedure. Though for clarity and formating I indent all my non-sql lines within those headings. -----Original Message----- From: Discussion of SQR, SQRIBE Technologies's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Sam Spritzer Sent: Friday, April 02, 1999 6:50 AM To: Multiple recipients of list SQR-USERS Subject: Re: Syntax for Count(*) In almost all cases, the first line is usually "begin-Procedure" so it seems that this rule is redundant anyway. Sam <<< Tony DeLia 4/ 2 7:33a >>> Clarification: You can't have non-SQL lines (eg, let ...) start in the 1st 'position' WITHIN the begin-select and end-select... The first position is for select columns... and subsequent SQL (eg, from, where, ...) ... ! Below is outside of select (Position 1) - OKAY let #ERNctr = 0 begin-select b.erncd count(*) &b.count ! Below is indented (Not in Position 1) - OKAY let #ERNctr = #ERNctr 1 let ERNmtx.ERNttl(#ERNctr) = &b.erncd if #ERNctr >= 10 exit-select end-if from s_dhm_emp_detail b where ... group by b.erncd order by 2 desc, 1 end-select ... Tony DeLia Kibler, Daniel R - CFC wrote: > > Is the layout correct? You can't have non-SQL lines (eg, let ...) start in > the 1st column. > > You also need to group on erncd. > Daniel Kibler -- Tony DeLia AnswerThink Consulting Group PeopleSoft Solutions Practice - Delphi Partners tdelia@erols.com From owner-sqr-users@list.iex.net Fri Apr 2 10:53:53 1999 Date: Fri, 2 Apr 1999 07:24:52 -0800 From: "Kibler, Daniel R - CFC" Subject: Re: Syntax for Count(*) You are right Tony. I fired that off hastily and wasn't as clear as I should have been. Daniel Kibler Cambridge Technology Partners 925 543-4612 503 471-5111 Client site -----Original Message----- From: Tony DeLia [mailto:tdelia@EROLS.COM] Sent: Friday, April 02, 1999 4:33 AM To: Multiple recipients of list SQR-USERS Subject: Re: Syntax for Count(*) Clarification: You can't have non-SQL lines (eg, let ...) start in the 1st 'position' WITHIN the begin-select and end-select... The first position is for select columns... and subsequent SQL (eg, from, where, ...) ... ! Below is outside of select (Position 1) - OKAY let #ERNctr = 0 begin-select b.erncd count(*) &b.count ! Below is indented (Not in Position 1) - OKAY let #ERNctr = #ERNctr + 1 let ERNmtx.ERNttl(#ERNctr) = &b.erncd if #ERNctr >= 10 exit-select end-if from s_dhm_emp_detail b where ... group by b.erncd order by 2 desc, 1 end-select ... Tony DeLia Kibler, Daniel R - CFC wrote: > > Is the layout correct? You can't have non-SQL lines (eg, let ...) start in > the 1st column. > > You also need to group on erncd. > Daniel Kibler -- Tony DeLia AnswerThink Consulting Group PeopleSoft Solutions Practice - Delphi Partners tdelia@erols.com From owner-sqr-users@list.iex.net Fri Apr 2 13:48:27 1999 Date: Fri, 2 Apr 1999 10:36:16 -0600 From: Lily Van Subject: logo Hi all, If there's already a resolution to this, please let me know and I do apologize for revisiting the topic. The problem I'm encountering is when I print Purchase Order(SQR) w/ the company's logo. If I route it to a .spf file and then print it then the logo is fine. If I route it directly from PS's process to a printer then the logo only appears as a box w/ small fined dots. I've tried .bmp file as well as .gif file and the results are the same. This problem occurs w/ PS's delivered program and PS's logo as well. I've placed a call into PS but I was hoping this would provide faster response. Any help is truly appreciated. Lily From owner-sqr-users@list.iex.net Fri Apr 2 12:16:28 1999 Date: Fri, 2 Apr 1999 12:05:27 -0500 From: Joe Wittrock Subject: Communication Box with PeopleSoft We are installing a new PeopleSoft HRMS. Our problem is that every time we run an SQR from the PeopleSoft menu a communication box opens up and asks us to hit enter and then put in our parameters. I know that -XCB suppresses the window, and have checked our process type panel to make sure that this is in there for SQR flags. I?ve even put the -XCB in the Configuration Manager for SQR flags, but it still won?t suppress the box. We just did a SQR upgrade from 3.x to 4.x, but I?m not sure if this was happening prior to that. Any help would be appreciated. Joe Wittrock joe.wittrock@smed.com From owner-sqr-users@list.iex.net Fri Apr 2 12:41:34 1999 Date: Fri, 2 Apr 1999 09:29:16 PST From: Parijat Sahai Subject: Re: Communication Box with PeopleSoft Check your Process Type for "SQR Process" and "SQR Report" in Process Scheduler, and also the process definitions in process scheduler. Chances are that you're not providing the input parameters that SQR is asking for, more specifically the process instance, oprid and run cntl id. You can verify that more easily by looking at run control parameter tab when you double-click the process in process monitor window. -XCB will not help in this case if SQR requires an "INPUT" parameter and it hasn't been provided at the command prompt. > > We are installing a new PeopleSoft HRMS. Our problem is that >every time we run an SQR from the PeopleSoft menu a communication box opens >up and asks us to hit enter and then put in our parameters. I know that >-XCB suppresses the window, and have checked our process type panel to make >sure that this is in there for SQR flags. I?ve even put the -XCB in the >Configuration Manager for SQR flags, but it still won?t suppress the box. >We just did a SQR upgrade from 3.x to 4.x, but I?m not sure if this was >happening prior to that. Any help would be appreciated. > >Joe Wittrock >joe.wittrock@smed.com Get Your Private, Free Email at http://www.hotmail.com From owner-sqr-users@list.iex.net Fri Apr 2 13:44:36 1999 Date: Fri, 2 Apr 1999 12:30:46 -0600 From: "Korbel, Gordon E." Subject: Unusual Error -- memory fault Sybase 11.x Peoplesoft 7 HP-UX SQR:V3.0.12.3 We are creating some customized Invoice forms in SQR, and we are encountering an unusual error -- the message is PeopleSoft prcs_sqr Started Process instance is 6520 SQR Output file is /opt/psoftfs/ps_output/biivcpn_6520.lis SQR: Structured Query Report Writer V3.0.12.3 Copyright (C) MITI, 1994, 1995. All Worldwide Rights Reserved. prcs_sqr[292]: 6536 Memory fault prcs_sqr: ------------------- Error ------------------- prcs_sqr: Command failure prcs_sqr: SQR Command Terminated abnormally prcs_sqr: Return code : 139 prcs_sqr: ------------------- Error ------------------- This program has a large number of #include files, and in general is fairly lengthy, but is otherwise 'correct' -- I can say this with confidence because when run from the Windows environment the same program executes correctly. It seems as though we are passing some critical threshold when ANY code is added to the SQR. The error occurs prior to any processing occuring -- it seems as though it blows when SQR parses and 'compiles' the source code. Any Ideas? Thanks, -Gordon From owner-sqr-users@list.iex.net Fri Apr 2 14:12:07 1999 Date: Fri, 2 Apr 1999 10:55:29 PST From: Pramod Bhavanam Subject: How to set cursor position to a particular field in a panel in Peoplesoft ? Hi all This is not a SQR question but hoping that there are PS users as well in this list I am posting this. In Peoplesoft 7.5 using Peoplecode Is there a way to set the cursor position to a particular editable field on a panel of a panel group irrespective of the panel layout order of fields ? I know that if we put that editable field first in the layout order we will always have the cursor in that field if we are in that panel anytime. But without changing the tab sequence order I want the cursor to be placed on a particular field which is other than the first editable field. How can we do it using Peoplecode ? I would appreciate if anyone could reply with a solution / possible solution if any. Thanks. Pramod. Get Your Private, Free Email at http://www.hotmail.com From owner-sqr-users@list.iex.net Fri Apr 2 14:34:41 1999 Date: Fri, 2 Apr 1999 14:12:33 -0500 From: Bob Buford Subject: Re: How to set cursor position to a particular field in a panel inPeoplesoft ? Hi Pramod, SetCursorPos (Panel.panelname, ... [recordname.] fieldname, target_row). It's specific to the panelname you use in the command. >>> Pramod Bhavanam 04/02/99 01:55PM >>> Hi all This is not a SQR question but hoping that there are PS users as well in this list I am posting this. In Peoplesoft 7.5 using Peoplecode Is there a way to set the cursor position to a particular editable field on a panel of a panel group irrespective of the panel layout order of fields ? I know that if we put that editable field first in the layout order we will always have the cursor in that field if we are in that panel anytime. But without changing the tab sequence order I want the cursor to be placed on a particular field which is other than the first editable field. How can we do it using Peoplecode ? I would appreciate if anyone could reply with a solution / possible solution if any. Thanks. Pramod. Get Your Private, Free Email at http://www.hotmail.com From owner-sqr-users@list.iex.net Fri Apr 2 15:15:57 1999 Date: Fri, 2 Apr 1999 11:14:51 PST From: Parijat Sahai Subject: Re: How to set cursor position to a particular field in a panel inPeoplesoft ? Hi Pramod, You should subsribe to psusers@egroups.com for Peoplesoft related queries, or go to http://www.egroups.com/list/psusers for more info. As for your question, use Peoplecode function "SetCursorPos()" to set the cursor to a particular editable field. You can find the exact syntax in Peoplebooks (go to Chapter on Peoplecode - Peoplecode Reference - Function Catagories). Parijat. > >Hi all > >This is not a SQR question but hoping that there are PS users as well in >this list I am posting this. > >In Peoplesoft 7.5 using Peoplecode Is there a way to set the cursor >position to a particular editable field on a panel of a panel group >irrespective of the panel layout order of fields ? > >I know that if we put that editable field first in the layout order we >will always have the cursor in that field if we are in that panel >anytime. > >But without changing the tab sequence order I want the cursor to be >placed on a particular field which is other than the first editable >field. > >How can we do it using Peoplecode ? > >I would appreciate if anyone could reply with a solution / possible >solution if any. > >Thanks. > >Pramod. > >Get Your Private, Free Email at http://www.hotmail.com Get Your Private, Free Email at http://www.hotmail.com From owner-sqr-users@list.iex.net Fri Apr 2 14:43:08 1999 Date: Fri, 2 Apr 1999 11:29:59 -0800 From: Greg Gargett Subject: Re: How to set cursor position to a particular field in a panel inPeoplesoft ? Pramod Bhavanam wrote: > Hi all > > This is not a SQR question but hoping that there are PS users as well in > this list I am posting this. > > In Peoplesoft 7.5 using Peoplecode Is there a way to set the cursor > position to a particular editable field on a panel of a panel group > irrespective of the panel layout order of fields ? > check out the setcursor peoplecode function. -- Greg "I never have more than one drink before dinner. But I do like that one to be large and very strong and very cold and very well-made." - Ian Fleming From owner-sqr-users@list.iex.net Fri Apr 2 15:46:54 1999 Date: Fri, 2 Apr 1999 11:35:52 PST From: Pramod Bhavanam Subject: Re: How to set cursor position to a particular field in a panelinPeoplesoft ? Hi I used SetCursorPos in RowInit but what happens is when I open that particular panel in that panelgroup directly it will set the cursor position to that field but once I go to another panel and come back the cursor is at the first field in the layout order. If there was a command like PanelChanged I would have used it and checked if the panel has changed and again reset the cursor position back to the required field. But we don't have any command like PanelChanged in Peoplecode. If there was a command like SetNextField I would have used it to achieve the task and placed the cursor at what ever fields the user is supposed to enter and skip all other fields which need no updation. But we don't have any command like SetNextField in Peoplecode. Is there any other way to achieve the above task. Thanks. Pramod. >From: Bob Buford >Reply-To: SQR-USERS@list.iex.net >To: Multiple recipients of list SQR-USERS >Subject: Re: How to set cursor position to a particular field in a panelinPeoplesoft ? >Date: Fri, 2 Apr 1999 14:12:33 -0500 > >Hi Pramod, > >SetCursorPos (Panel.panelname, ... [recordname.] fieldname, target_row). > >It's specific to the panelname you use in the command. > >>>> Pramod Bhavanam 04/02/99 01:55PM >>> >Hi all > >This is not a SQR question but hoping that there are PS users as well in >this list I am posting this. > >In Peoplesoft 7.5 using Peoplecode Is there a way to set the cursor >position to a particular editable field on a panel of a panel group >irrespective of the panel layout order of fields ? > >I know that if we put that editable field first in the layout order we >will always have the cursor in that field if we are in that panel >anytime. > >But without changing the tab sequence order I want the cursor to be >placed on a particular field which is other than the first editable >field. > >How can we do it using Peoplecode ? > >I would appreciate if anyone could reply with a solution / possible >solution if any. > >Thanks. > >Pramod. > >Get Your Private, Free Email at http://www.hotmail.com Get Your Private, Free Email at http://www.hotmail.com From owner-sqr-users@list.iex.net Fri Apr 2 16:13:37 1999 Date: Fri, 2 Apr 1999 13:45:32 -0600 From: "Korbel, Gordon E." Subject: Re: Unusual Error -- memory fault I tried the ulimit -- it returned "unlimited". Running the program as root exhibited the same symptom. Thanks for the suggestions -- any other ideas? -Gordon -----Original Message----- From: Franck Masson [mailto:franck.masson@SQRIBE.COM] Sent: Friday, April 02, 1999 1:55 PM To: Multiple recipients of list SQR-USERS Subject: Re: Unusual Error -- memory fault hi, this will check if it is an OS limitation. execute ulimit command from the unix prompt to determine if any memory limitation is set. try to execute your sqr program as root. If it run correctly, check the value of ulimit from HP-UX Franck, Korbel, Gordon E. wrote: > > Sybase 11.x > Peoplesoft 7 > HP-UX > SQR:V3.0.12.3 > > We are creating some customized Invoice forms in SQR, and we are > encountering an unusual error -- the message is > > PeopleSoft prcs_sqr Started > Process instance is 6520 > SQR Output file is /opt/psoftfs/ps_output/biivcpn_6520.lis > SQR: Structured Query Report Writer V3.0.12.3 > Copyright (C) MITI, 1994, 1995. All Worldwide Rights Reserved. > > prcs_sqr[292]: 6536 Memory fault > prcs_sqr: ------------------- Error ------------------- > prcs_sqr: Command failure > prcs_sqr: SQR Command Terminated abnormally > prcs_sqr: Return code : 139 > prcs_sqr: ------------------- Error ------------------- > > This program has a large number of #include files, and in general is fairly > lengthy, but is otherwise 'correct' -- I can say this with confidence > because when run from the Windows environment the same program executes > correctly. It seems as though we are passing some critical threshold when > ANY code is added to the SQR. > > The error occurs prior to any processing occuring -- it seems as though it > blows when SQR parses and 'compiles' the source code. > > Any Ideas? > > Thanks, > > -Gordon From owner-sqr-users@list.iex.net Fri Apr 2 13:58:24 1999 Date: Fri, 2 Apr 1999 20:47:51 +0100 From: Franck Masson Subject: Re: logo what is your System : Unix or NT ? what is your Printer: Postcript or PCL ? If postcript use the eps format for your logo franck, Lily Van wrote: > > Hi all, > > If there's already a resolution to this, please let me know and I do apologize for revisiting the topic. The problem I'm encountering is when I print Purchase Order(SQR) w/ the company's logo. If I route it to a .spf file and then print it then the logo is fine. If I route it directly from PS's process to a printer then the logo only appears as a box w/ small fined dots. > > I've tried .bmp file as well as .gif file and the results are the same. > This problem occurs w/ PS's delivered program and PS's logo as well. I've placed a call into PS but I was hoping this would provide faster response. > > Any help is truly appreciated. > > Lily From owner-sqr-users@list.iex.net Fri Apr 2 14:07:50 1999 Date: Fri, 2 Apr 1999 20:54:56 +0100 From: Franck Masson Subject: Re: Unusual Error -- memory fault hi, this will check if it is an OS limitation. execute ulimit command from the unix prompt to determine if any memory limitation is set. try to execute your sqr program as root. If it run correctly, check the value of ulimit from HP-UX Franck, Korbel, Gordon E. wrote: > > Sybase 11.x > Peoplesoft 7 > HP-UX > SQR:V3.0.12.3 > > We are creating some customized Invoice forms in SQR, and we are > encountering an unusual error -- the message is > > PeopleSoft prcs_sqr Started > Process instance is 6520 > SQR Output file is /opt/psoftfs/ps_output/biivcpn_6520.lis > SQR: Structured Query Report Writer V3.0.12.3 > Copyright (C) MITI, 1994, 1995. All Worldwide Rights Reserved. > > prcs_sqr[292]: 6536 Memory fault > prcs_sqr: ------------------- Error ------------------- > prcs_sqr: Command failure > prcs_sqr: SQR Command Terminated abnormally > prcs_sqr: Return code : 139 > prcs_sqr: ------------------- Error ------------------- > > This program has a large number of #include files, and in general is fairly > lengthy, but is otherwise 'correct' -- I can say this with confidence > because when run from the Windows environment the same program executes > correctly. It seems as though we are passing some critical threshold when > ANY code is added to the SQR. > > The error occurs prior to any processing occuring -- it seems as though it > blows when SQR parses and 'compiles' the source code. > > Any Ideas? > > Thanks, > > -Gordon From owner-sqr-users@list.iex.net Fri Apr 2 15:17:41 1999 Date: Fri, 2 Apr 1999 13:18:48 -0700 From: Christy Zigich Subject: Re: Communication Box with PeopleSoft I believe you are having trouble with your placement of the stdapi.sqc function calls. In the beginning of your program you should call : do Stdapi-Init and then you should also have a terminating call: do Stdapi-Term I hope that this helps! Christy Zigich -----Original Message----- From: Discussion of SQR, SQRIBE Technologies's database reporting language [mailto:SQR-USERS@list.iex.net] On Behalf Of Joe Wittrock Sent: Friday, April 02, 1999 10:05 AM To: Multiple recipients of list SQR-USERS Subject: Communication Box with PeopleSoft We are installing a new PeopleSoft HRMS. Our problem is that every time we run an SQR from the PeopleSoft menu a communication box opens up and asks us to hit enter and then put in our parameters. I know that -XCB suppresses the window, and have checked our process type panel to make sure that this is in there for SQR flags. I?ve even put the -XCB in the Configuration Manager for SQR flags, but it still won?t suppress the box. We just did a SQR upgrade from 3.x to 4.x, but I?m not sure if this was happening prior to that. Any help would be appreciated. Joe Wittrock joe.wittrock@smed.com From owner-sqr-users@list.iex.net Fri Apr 2 18:10:13 1999 Date: Fri, 2 Apr 1999 17:57:10 -0500 From: "Gina M. Bencke" Subject: Unusual Error -- memory fault Gordon, You may be running into a bug that I discovered in version 3.X of SQR. I too was developing a very large SQR program that, as it grew, became more and more unstable until finally it simply wouldn't run. The problem wound up being in the SQR product itself. Apparently certain variables in the C code were defined as 16 bit instead of 32 bit and memory was getting stomped on. There was no work around, SQRibe had to correct the problem and produce a new release of SQR. We were then forced to upgrade to version 4.x. Gina Bencke Bencke Consulting Corporation http://www.bencke.com -----Original Message----- From: Discussion of SQR, SQRIBE Technologies's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Korbel, Gordon E. Sent: Friday, April 02, 1999 1:31 PM To: Multiple recipients of list SQR-USERS Subject: Unusual Error -- memory fault Sybase 11.x Peoplesoft 7 HP-UX SQR:V3.0.12.3 We are creating some customized Invoice forms in SQR, and we are encountering an unusual error -- the message is PeopleSoft prcs_sqr Started Process instance is 6520 SQR Output file is /opt/psoftfs/ps_output/biivcpn_6520.lis SQR: Structured Query Report Writer V3.0.12.3 Copyright (C) MITI, 1994, 1995. All Worldwide Rights Reserved. prcs_sqr[292]: 6536 Memory fault prcs_sqr: ------------------- Error ------------------- prcs_sqr: Command failure prcs_sqr: SQR Command Terminated abnormally prcs_sqr: Return code : 139 prcs_sqr: ------------------- Error ------------------- This program has a large number of #include files, and in general is fairly lengthy, but is otherwise 'correct' -- I can say this with confidence because when run from the Windows environment the same program executes correctly. It seems as though we are passing some critical threshold when ANY code is added to the SQR. The error occurs prior to any processing occuring -- it seems as though it blows when SQR parses and 'compiles' the source code. Any Ideas? Thanks, -Gordon From owner-sqr-users@list.iex.net Fri Apr 2 18:53:37 1999 Date: Fri, 2 Apr 1999 15:46:01 -0800 From: "Ying, Chenter" Subject: how to create a download file with long raw field > sqr 4.3.2 > solaris 2.6 > oracle 7.3.4 > peoplesoft 7.0 > > hello gurus: > is there a way that i can dump a file or take a flat file from another > database which has a long raw field? > for example, if i want to develop an interface between our badging system > (informix db) with our HR system (oracle) and bring over the employee > photos. how should i best do this? > > thx in advance. From owner-sqr-users@list.iex.net Mon Apr 5 18:11:31 1999 Date: Mon, 5 Apr 1999 17:06:43 -0500 From: Dan Harmuth Subject: Emailing a Report from within an SQR on Unix with MS Outlook Emai l SQR/4.3.2/PC/Windows NT 4.0/Oracle 7.3.4/Sep 14 1998 ((run from client; running HP Unix)) Has anyone ever created an SQR that can email a report generated from within. My environment is HP Unix with MS Outlook Email. Dan Harmuth Project Lead - PeopleSoft HRMS 817-415-2224 dharmu1@tandy.com From owner-sqr-users@list.iex.net Mon Apr 5 17:55:10 1999 Date: Mon, 5 Apr 1999 17:36:00 -0500 From: Shankar Veerashetty Subject: Re: Emailing a Report from within an SQR on Unix with MS Outlook Emai l E-Mail the report from SQR. The server address has to be known and have to declare the output to be 80000 characters per line so that the text wouldn't be wrapping. Eg. Begin-setup Declare-layout default Paper-size = (80000,10) Right-margin=0 ... end-setup let $host_string='$HOME/famil2.pl'||$hr_email||' ' || $email_subject || '<' || $out_file let $directory = getenv('HOME') let $outfile = $directory || '/outmail/new_hire.lis' new-report $outfile call system using $host_string #mail_status Thanks, Shankar Veerashetty Senior Consultant Software Associates Inc. (734)678-6696 -----Original Message----- From: Dan Harmuth [SMTP:DHarmu1@TANDY.COM] Sent: Monday, April 05, 1999 5:07 PM To: Multiple recipients of list SQR-USERS Subject: Emailing a Report from within an SQR on Unix with MS Outlook Emai l SQR/4.3.2/PC/Windows NT 4.0/Oracle 7.3.4/Sep 14 1998 ((run from client; running HP Unix)) Has anyone ever created an SQR that can email a report generated from within. My environment is HP Unix with MS Outlook Email. Dan Harmuth Project Lead - PeopleSoft HRMS 817-415-2224 dharmu1@tandy.com From owner-sqr-users@list.iex.net Tue Apr 6 09:53:50 1999 Date: Tue, 6 Apr 1999 07:29:13 -0700 From: Chris Molitor Subject: Calling DLLs from SQR on Win95 or NT I need to call a 3rd party dll from within an SQR. This SQR will always be run on an NT App Server. It looks like the Interoperability section of the SQR User Guide for version 4.3 (pages 165-166) describes different rules for windows based calls? Do I just need to add a line to the [SQR Extension] section of my SQR.INI to name my dll and I can make calls to any functions in it? I have searched the list archives and have only found references to extufunc.c, which sounds like it would require re-compiling the SQR executables. Any help would be appreciated. -CM === _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From owner-sqr-users@list.iex.net Tue Apr 6 18:34:40 1999 Date: Tue, 6 Apr 1999 16:23:15 PDT From: Everry Man Subject: (Off Subject) Make money surfing the web Sorry to hit this list with this message, but I thought some of you would want to partake in this opportunity. Here's the short of it: A company called Alladvantage is changing the way advertising is done on the web (they pay directly to the consumer). This is the talk of Silicon Valley, and quite a few people are jumping onboard. You can get more details and sign up at http://www.alladvantage.com Please use my referral number: AMC-317 Here are more details: As a member, AllAdvantage.com will pay you 50 cents an hour while you surf the Web for up to 40 hours per month. That's up to $20 per month just for browsing the Internet the way you normally do. All members download the AllAdvantage.com Viewbar™. The bar is standard ad height, about one-half inch on most screens. The bar can be minimized with a single click to eliminate it from the screen at any time. Refer friends to AllAdvantage.com and receive 10 cents per hour while they surf the Web. And receive an additional 5 cents per hour from the extended referrals that come in from your referrals (for new members extended as far as four referrals from your original referrals!) Get Your Private, Free Email at http://www.hotmail.com From owner-sqr-users@list.iex.net Tue Apr 6 18:59:38 1999 Date: Tue, 6 Apr 1999 18:48:14 -0500 From: "Buchanan, Timothy" Subject: Re: (Off Subject) Make money surfing the web This is why this should be a moderated list. A guy with a free and anonymous email account hits us with Spam. Sigh... On Tuesday, April 06, 1999 6:23 PM, Everry Man [SMTP:everryman@HOTMAIL.COM] wrote: > Sorry to hit this list with this message, but I thought some of you > would want to partake in this opportunity. > > Here's the short of it: A company called Alladvantage is changing the > way advertising is done on the web (they pay directly to the consumer). > This is the talk of Silicon Valley, and quite a few people are jumping > onboard. > > You can get more details and sign up at http://www.alladvantage.com > > Please use my referral number: AMC-317 > > Here are more details: > As a member, AllAdvantage.com will pay you 50 cents an hour while you > surf the Web for up to 40 hours per month. That's up to $20 per month > just for browsing the Internet the way you normally do. All members > download the AllAdvantage.com Viewbar(tm). The bar is standard ad height, > about one-half inch on most screens. The bar can be minimized with a > single click to eliminate it from the screen at any time. > > Refer friends to AllAdvantage.com and receive 10 cents per hour while > they surf the Web. And receive an additional 5 cents per hour from the > extended referrals that come in from your referrals (for new members > extended as far as four referrals from your original referrals!) > Get Your Private, Free Email at http://www.hotmail.com From owner-sqr-users@list.iex.net Tue Apr 6 19:16:09 1999 Date: Tue, 6 Apr 1999 16:58:09 -0700 From: Paul Westcott Subject: Re: (Off Subject) Make money surfing the web everryman is a loser, no doubt. he's also clueless. by using hotmail he left his originating IP address on the mail header, belonging to Columbia College in Chicago (www.colum.edu). i forwarded the message to the university's sysadmin, asking if the college is in the spam business. and, if not, to fix their problem. -----Original Message----- From: Buchanan, Timothy To: Multiple recipients of list SQR-USERS Date: Tuesday, April 06, 1999 4:50 PM Subject: Re: (Off Subject) Make money surfing the web |This is why this should be a moderated list. A guy with a free and anonymous |email account hits us with Spam. Sigh... | |On Tuesday, April 06, 1999 6:23 PM, Everry Man [SMTP:everryman@HOTMAIL.COM] |wrote: |> Sorry to hit this list with this message, but I thought some of you |> would want to partake in this opportunity. |> |> Here's the short of it: A company called Alladvantage is changing the |> way advertising is done on the web (they pay directly to the consumer). |> This is the talk of Silicon Valley, and quite a few people are jumping |> onboard. |> |> You can get more details and sign up at http://www.alladvantage.com |> |> Please use my referral number: AMC-317 |> |> Here are more details: |> As a member, AllAdvantage.com will pay you 50 cents an hour while you |> surf the Web for up to 40 hours per month. That's up to $20 per month |> just for browsing the Internet the way you normally do. All members |> download the AllAdvantage.com Viewbar(tm). The bar is standard ad height, |> about one-half inch on most screens. The bar can be minimized with a |> single click to eliminate it from the screen at any time. |> |> Refer friends to AllAdvantage.com and receive 10 cents per hour while |> they surf the Web. And receive an additional 5 cents per hour from the |> extended referrals that come in from your referrals (for new members |> extended as far as four referrals from your original referrals!) |> Get Your Private, Free Email at http://www.hotmail.com | From owner-sqr-users@list.iex.net Tue Apr 6 19:25:19 1999 Date: Wed, 7 Apr 1999 01:13:16 +0100 From: "Allen, Dave" Subject: Re: (Off Subject) Make money surfing the web Thanks !! -----Original Message----- From: Paul Westcott [mailto:paul.westcott@SQRIBE.COM] Sent: Tuesday, April 06, 1999 7:58 PM To: Multiple recipients of list SQR-USERS Subject: Re: (Off Subject) Make money surfing the web everryman is a loser, no doubt. he's also clueless. by using hotmail he left his originating IP address on the mail header, belonging to Columbia College in Chicago (www.colum.edu). i forwarded the message to the university's sysadmin, asking if the college is in the spam business. and, if not, to fix their problem. -----Original Message----- From: Buchanan, Timothy To: Multiple recipients of list SQR-USERS Date: Tuesday, April 06, 1999 4:50 PM Subject: Re: (Off Subject) Make money surfing the web |This is why this should be a moderated list. A guy with a free and anonymous |email account hits us with Spam. Sigh... | |On Tuesday, April 06, 1999 6:23 PM, Everry Man [SMTP:everryman@HOTMAIL.COM] |wrote: |> Sorry to hit this list with this message, but I thought some of you |> would want to partake in this opportunity. |> |> Here's the short of it: A company called Alladvantage is changing the |> way advertising is done on the web (they pay directly to the consumer). |> This is the talk of Silicon Valley, and quite a few people are jumping |> onboard. |> |> You can get more details and sign up at http://www.alladvantage.com |> |> Please use my referral number: AMC-317 |> |> Here are more details: |> As a member, AllAdvantage.com will pay you 50 cents an hour while you |> surf the Web for up to 40 hours per month. That's up to $20 per month |> just for browsing the Internet the way you normally do. All members |> download the AllAdvantage.com Viewbar(tm). The bar is standard ad height, |> about one-half inch on most screens. The bar can be minimized with a |> single click to eliminate it from the screen at any time. |> |> Refer friends to AllAdvantage.com and receive 10 cents per hour while |> they surf the Web. And receive an additional 5 cents per hour from the |> extended referrals that come in from your referrals (for new members |> extended as far as four referrals from your original referrals!) |> Get Your Private, Free Email at http://www.hotmail.com | From owner-sqr-users@list.iex.net Tue Apr 6 20:04:35 1999 Date: Tue, 6 Apr 1999 17:51:37 -0700 From: Boris Nadler Subject: Re: (Off Subject) Make money surfing the web Elunia, Check it, Looks like interesting ? Love. Borisex. At 04:23 PM 4/6/99 -0700, you wrote: >Sorry to hit this list with this message, but I thought some of you >would want to partake in this opportunity. > >Here's the short of it: A company called Alladvantage is changing the >way advertising is done on the web (they pay directly to the consumer). >This is the talk of Silicon Valley, and quite a few people are jumping >onboard. > >You can get more details and sign up at http://www.alladvantage.com > >Please use my referral number: AMC-317 > >Here are more details: >As a member, AllAdvantage.com will pay you 50 cents an hour while you >surf the Web for up to 40 hours per month. That's up to $20 per month >just for browsing the Internet the way you normally do. All members >download the AllAdvantage.com Viewbar™. The bar is standard ad height, >about one-half inch on most screens. The bar can be minimized with a >single click to eliminate it from the screen at any time. > >Refer friends to AllAdvantage.com and receive 10 cents per hour while >they surf the Web. And receive an additional 5 cents per hour from the >extended referrals that come in from your referrals (for new members >extended as far as four referrals from your original referrals!) >Get Your Private, Free Email at http://www.hotmail.com > From owner-sqr-users@list.iex.net Tue Apr 6 20:49:38 1999 Date: Wed, 7 Apr 1999 11:31:09 +1000 From: Steve Cavill Subject: Re: (Off Subject) Make money surfing the web I forrwarded this to hotmail for action as they don't allow their users to send spam. Steve. ------------------------------------------------------------------------- Steve Cavill Technical Services Manager, Asia Pacific SQRIBE Technologies 1/14 Aquatic Drive Frenchs Forest NSW 2086 Australia ph: 02 9975 7600 mobile: 0417 439 160 fax: 02 9975 7602 mailto:steve.cavill@sqribe.com.au http://www.sqribe.com -----Original Message----- From: Discussion of SQR, SQRIBE Technologies's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Everry Man Sent: Wednesday, 7 April 1999 9:45 To: Multiple recipients of list SQR-USERS Subject: (Off Subject) Make money surfing the web <..snip..> From owner-sqr-users@list.iex.net Wed Apr 7 08:57:00 1999 Date: Wed, 7 Apr 1999 09:47:46 -0400 From: Tony DeLia Subject: Re: Syntax for Count(*) - DOTS!!! WITHOUT ANY DOTS??? You CAN and SHOULD take advantage of "dots" whenever possible... The statement: "The ampersand variable should be one word without any dots" SHOULD BE changed to: "The ampersand variable should be one word AND CAN have a dot" "Ampersand variable" referring to the column synonym... whether implicit or explicit... You may have noticed all "implied" column synonyms have "dots" when the select list has "dots"... I use this syntax frequently: begin-select decode(a.flag,'X',1,2) &a.flag sum(a.amount) &a.amount sum(b.amount) &b.amount count(*) &b.count a.something &a.something_with_dot etc... Combining the table alias with the column synonym is sensible, improves readability and remains consistent with any other columns in the select list... In the example above the source table is always identified using the alias... It doesn't get much simpler... -Tony DeLia PS - Each database has their own individual rules. The original request was for Oracle and this pertains to Oracle (and similar databases). One more thing: let ERNmtx.ERNttl(#ERNctr) = &b.erncd DO NOT move the "count" to the Earnings Code Heading!!!! Parijat Sahai wrote: > > Remove the dot from &b.count, i.e., you should have the following > syntax: > > begin-select > > b.erncd > count(b.*) &b_count > > let $E_ERNCD = &b.erncd > ... > let ERNmtx.ERNttl(#ERNctr) = &b_count > ..... > end-select > > The ampersand variable should be one word without any dots. I guess same > holds for $ and # variables in SQR. You can have "-" and "_" as > separators to make variable names more readable if you like. > > Parijat. > > >From: Bryan Richey > >Reply-To: SQR-USERS@list.iex.net > >To: Multiple recipients of list SQR-USERS > >Subject: Syntax for Count(*) > >Date: Thu, 1 Apr 1999 12:07:48 -0800 > > > >Hello all! > > > >I am trying to populate the dynamic headings that follow ....I was > >wondering if someone has any insight to the correct syntax for the > >count(*)...I am currently getting a mess of SQL errors... > > > >Thanks, > > > >Bryan > > > > > >!****************************************************** > >begin-procedure Determine-Sequence > >!****************************************************** > >create-array name=ERNmtx size=11 field=ERNttl:char > > > >do erncd-detail > > > >end-procedure > > > >!******************************************************begin-procedure > >erncd-detail > >!****************************************************** > >let #ERNctr = 0 > > > >begin-select > > > >b.erncd > >count(*) &b.count > > > > let $E.ERNCD = &b.erncd > > let #ERNctr = #ERNctr + 1 > > let ERNmtx.ERNttl(#ERNctr) = &b.count > > if #ERNctr >= 10 > > exit-select > > end-if > > > > from ps_dhm_emp_detail b > >where b.DEPTID = $V_DEPTID > > and b.paygroup = $V_PayGroup > > and b.pay_end_dt = $V_Pay_End_dt > > and b.DHM_WEEK_NBR = #V_Week_Nbr > >order by 2 desc, 1 > >!group by $E.ERNCD > >!group by b.erncd > > > >end-select > > > >let $H01 = ERNmtx.ERNttl(1) > >let $H02 = ERNmtx.ERNttl(2) > >let $H03 = ERNmtx.ERNttl(3) > >let $H04 = ERNmtx.ERNttl(4) > >let $H05 = ERNmtx.ERNttl(5) > >let $H06 = ERNmtx.ERNttl(6) > >let $H07 = ERNmtx.ERNttl(7) > >let $H08 = ERNmtx.ERNttl(8) > >let $H09 = ERNmtx.ERNttl(9) > >let $H10 = ERNmtx.ERNttl(10) > > > >display $h01 > > > >end-procedure > > > > > >_________________________________________________________ > >Do You Yahoo!? > >Get your free @yahoo.com address at http://mail.yahoo.com > > Get Your Private, Free Email at http://www.hotmail.com -- Tony DeLia AnswerThink Consulting Group PeopleSoft Solutions Practice - Delphi Partners tdelia@erols.com From owner-sqr-users@list.iex.net Wed Apr 7 09:35:47 1999 Date: Wed, 7 Apr 1999 09:16:12 -0500 From: Wes Williams Subject: How are dates handled in SQR with SQL Server Maximo 3.02 SQL Server 6.5 SQR 3.0.13.3 Reportmate 3.5 I'm having a difficult time converting my SQLBase reports to now run on SQL Server. My main problem is with dates. Chris Wanko was kind enough to provide an SQC that he uses on Sybase, but unfortunately it doesn't work here. It looks as though the SQR checks the syntax prior to running and fails since there is no value for $fromdate until actual execution (I never get prompted). example begin-program Input $FromDate type = date Let $FromDate = UPPER($FromDate) do check-valid-date . . . Begin-procedure check-valid-date begin-select convert(varchar(10),convert(datetime, $FromDate),101) &FromDate end-select end-procedure Here is the error (SQR 1303) Error in SQL (perhaps missing &name after expression): select convert(varchar(10),convert(datetime, ?),101) (SQR 1304) Check SELECT columns, expressions and 'where' clause for syntax. In addition, I try different combinations for date entry(those that work in ISql) and they don't want to work in SQR. TIA Wes Wes Williams Sundstrand Aerospace From owner-sqr-users@list.iex.net Wed Apr 7 10:58:50 1999 Date: Wed, 7 Apr 1999 09:32:59 -0500 From: Gracen Duffield Subject: Re: (Off Subject) Make money surfing the web ads@alladvantage.com I went out to the alladvantage site and it looks like the most significant email address ( i.e., the one that generates money for the site ) is the address for advertisers listed above. I forwarded a copy of this message to that address, since they are the beneficiaries of the spam. Gracen Duffield Texas Department of Housing and Community Affairs 475-3839 -----Original Message----- From: Paul Westcott [mailto:paul.westcott@SQRIBE.COM] Sent: Tuesday, April 06, 1999 6:58 PM To: Multiple recipients of list SQR-USERS Subject: Re: (Off Subject) Make money surfing the web everryman is a loser, no doubt. he's also clueless. by using hotmail he left his originating IP address on the mail header, belonging to Columbia College in Chicago (www.colum.edu). i forwarded the message to the university's sysadmin, asking if the college is in the spam business. and, if not, to fix their problem. -----Original Message----- From: Buchanan, Timothy To: Multiple recipients of list SQR-USERS Date: Tuesday, April 06, 1999 4:50 PM Subject: Re: (Off Subject) Make money surfing the web |This is why this should be a moderated list. A guy with a free and anonymous |email account hits us with Spam. Sigh... | |On Tuesday, April 06, 1999 6:23 PM, Everry Man [SMTP:everryman@HOTMAIL.COM] |wrote: |> Sorry to hit this list with this message, but I thought some of you |> would want to partake in this opportunity. |> |> Here's the short of it: A company called Alladvantage is changing the |> way advertising is done on the web (they pay directly to the consumer). |> This is the talk of Silicon Valley, and quite a few people are jumping |> onboard. |> |> You can get more details and sign up at http://www.alladvantage.com |> |> Please use my referral number: AMC-317 |> |> Here are more details: |> As a member, AllAdvantage.com will pay you 50 cents an hour while you |> surf the Web for up to 40 hours per month. That's up to $20 per month |> just for browsing the Internet the way you normally do. All members |> download the AllAdvantage.com Viewbar(tm). The bar is standard ad height, |> about one-half inch on most screens. The bar can be minimized with a |> single click to eliminate it from the screen at any time. |> |> Refer friends to AllAdvantage.com and receive 10 cents per hour while |> they surf the Web. And receive an additional 5 cents per hour from the |> extended referrals that come in from your referrals (for new members |> extended as far as four referrals from your original referrals!) |> Get Your Private, Free Email at http://www.hotmail.com | From owner-sqr-users@list.iex.net Wed Apr 7 12:25:32 1999 Date: Wed, 7 Apr 1999 08:16:54 -0700 From: Tai Luong Subject: Re: How are dates handled in SQR with SQL Server Bill, It appears to me the 'from' clause is missing. Add 'from dual' to your query and see if it'll work. Hope this will help. Tai Luong. On Wed, 7 Apr 1999, Wes Williams wrote: > Maximo 3.02 > SQL Server 6.5 > SQR 3.0.13.3 > Reportmate 3.5 > > I'm having a difficult time converting my SQLBase reports to now run on SQL Server. My main problem is with dates. Chris Wanko was kind enough to provide an SQC that he uses on Sybase, but unfortunately it doesn't work here. > > It looks as though the SQR checks the syntax prior to running and fails since there is no value for $fromdate until actual execution (I never get prompted). > > example > > begin-program > Input $FromDate type = date > Let $FromDate = UPPER($FromDate) > do check-valid-date > . > . > . > Begin-procedure check-valid-date > begin-select > convert(varchar(10),convert(datetime, $FromDate),101) &FromDate > end-select > end-procedure > > Here is the error > (SQR 1303) Error in SQL (perhaps missing &name after expression): > select convert(varchar(10),convert(datetime, ?),101) > (SQR 1304) Check SELECT columns, expressions and 'where' clause for syntax. > > In addition, I try different combinations for date entry(those that work in ISql) and they don't want to work in SQR. > > TIA > > Wes > > Wes Williams > Sundstrand Aerospace > From owner-sqr-users@list.iex.net Wed Apr 7 10:56:40 1999 Date: Wed, 7 Apr 1999 10:38:27 -0500 From: "Korbel, Gordon E." Subject: SQR, WTS printing and Peoplesoft Sybase 11.9.2 Peoplesoft 7.0 SQR 3.0.18.1.1 (Windows) All, Many of our users commnly access Peoplesoft via WTS. However, we have been unable to come up with an acceptable SQR-printing solution for this setup. Printer:WP appears to ignore many report formatting tags -- landscape, fonts, etc. Any ideas? Thanks, -Gordon Korbel From owner-sqr-users@list.iex.net Wed Apr 7 12:05:30 1999 Date: Wed, 7 Apr 1999 09:19:19 -0700 From: Vimce Mancino Subject: Check print outsource Has anyone used a provider to JUST print checks, create direct deposit tape, tax reporting and tax filling from PeopleSoft? I have a client that only wants to run the gross to net. Thank you From owner-sqr-users@list.iex.net Wed Apr 7 12:46:14 1999 Date: Wed, 7 Apr 1999 13:29:04 -0400 From: Marc Steele Subject: Re: Check print outsource Vince, I work for a company called reSource Partner, Inc.. We do outsourcing, implementations and consultation for PeopleSoft HRMS and Financials. We are a certified PeopleSoft Select and Outsourcing Partner and we provide the payroll services that you have specified. If you are interested in how our company can be of assistance, please e-mail me at msteele@resourcepartner.com. I will be more than happy assist you. Regards. Marcus Steele Systems Analyst/Implementation Specialist reSOURCE PARTNER, Inc. Vimce Mancino on 04/07/99 12:19:19 PM Please respond to SQR-USERS@list.iex.net To: Multiple recipients of list SQR-USERS cc: (bcc: Marc Steele/HRMS/rSP) Subject: Check print outsource Has anyone used a provider to JUST print checks, create direct deposit tape, tax reporting and tax filling from PeopleSoft? I have a client that only wants to run the gross to net. Thank you From owner-sqr-users@list.iex.net Wed Apr 7 13:05:37 1999 Date: Wed, 7 Apr 1999 12:41:07 -0500 From: Wes Williams Subject: Re: How are dates handled in SQR with SQL Server Well I figured out (sqribe mentioned a bug #586)I have to make it a dynamic variable to get dates to work e.g. INPUT $FROMDATE type = date LET $FROMDATE = UPPER($FROMDATE) let $fromdate = 'reportdate >= '||''''||$fromdate||'''' . . . FROM workorder WHERE status = 'INPRG' AND ESTLABHRS >= 1 AND LEADCRAFT LIKE '583%' and [$fromdate] Wes >>> Wes Williams 04/07 9:16 AM >>> Maximo 3.02 SQL Server 6.5 SQR 3.0.13.3 Reportmate 3.5 I'm having a difficult time converting my SQLBase reports to now run on SQL Server. My main problem is with dates. Chris Wanko was kind enough to provide an SQC that he uses on Sybase, but unfortunately it doesn't work here. It looks as though the SQR checks the syntax prior to running and fails since there is no value for $fromdate until actual execution (I never get prompted). example begin-program Input $FromDate type = date Let $FromDate = UPPER($FromDate) do check-valid-date . . . Begin-procedure check-valid-date begin-select convert(varchar(10),convert(datetime, $FromDate),101) &FromDate end-select end-procedure Here is the error (SQR 1303) Error in SQL (perhaps missing &name after expression): select convert(varchar(10),convert(datetime, ?),101) (SQR 1304) Check SELECT columns, expressions and 'where' clause for syntax. In addition, I try different combinations for date entry(those that work in ISql) and they don't want to work in SQR. TIA Wes Wes Williams Sundstrand Aerospace Wes Williams Sundstrand Aerospace From owner-sqr-users@list.iex.net Wed Apr 7 16:03:48 1999 Date: Wed, 7 Apr 1999 13:32:09 -0700 From: Joan Hudson Subject: Re: Calling DLLs from SQR on Win95 or NT If the 3rd party dll was made specifically to be used with sqr, putting the location in the ini file will work. However, it seems unlikely that this would be the case. You will probably need to make a "translator" dll which tells sqr about the calls you will be making. See the examples in ufunc.c (unix) or extufunc.c (win/nt). joan -----Original Message----- From: Chris Molitor To: Multiple recipients of list SQR-USERS Date: Tuesday, April 06, 1999 7:50 AM Subject: Calling DLLs from SQR on Win95 or NT >I need to call a 3rd party dll from within an SQR. This SQR will >always be run on an NT App Server. It looks like the Interoperability >section of the SQR User Guide for version 4.3 (pages 165-166) describes >different rules for windows based calls? Do I just need to add a line >to the [SQR Extension] section of my SQR.INI to name my dll and I can >make calls to any functions in it? > >I have searched the list archives and have only found references to >extufunc.c, which sounds like it would require re-compiling the SQR >executables. Any help would be appreciated. > >-CM >=== > >_________________________________________________________ >Do You Yahoo!? >Get your free @yahoo.com address at http://mail.yahoo.com From owner-sqr-users@list.iex.net Wed Apr 7 16:06:06 1999 Date: Wed, 7 Apr 1999 13:51:08 -0700 From: Joan Hudson Subject: Re: Calling DLLs from SQR on Win95 or NT A couple more things about those dll's -- 1) Of course it's not unix -- it's a dll -- am not concentrating ok here :) 2) You don't need to recompile everything, but you will need to put together and compile that translator dll. joan -----Original Message----- From: Chris Molitor To: Multiple recipients of list SQR-USERS Date: Tuesday, April 06, 1999 7:50 AM Subject: Calling DLLs from SQR on Win95 or NT >I need to call a 3rd party dll from within an SQR. This SQR will >always be run on an NT App Server. It looks like the Interoperability >section of the SQR User Guide for version 4.3 (pages 165-166) describes >different rules for windows based calls? Do I just need to add a line >to the [SQR Extension] section of my SQR.INI to name my dll and I can >make calls to any functions in it? > >I have searched the list archives and have only found references to >extufunc.c, which sounds like it would require re-compiling the SQR >executables. Any help would be appreciated. > >-CM >=== > >_________________________________________________________ >Do You Yahoo!? >Get your free @yahoo.com address at http://mail.yahoo.com From owner-sqr-users@list.iex.net Wed Apr 7 19:19:21 1999 Date: Wed, 7 Apr 1999 20:00:51 -0400 From: Ghislaine Brouillette Subject: Re: Check print outsource Yes we did that for a client. We used a third party party printing company and had better than expected results. If you would like more information, please e-mail me directly. Regards, GB Vimce Mancino wrote: > Has anyone used a provider to JUST print checks, create direct deposit > tape, tax reporting and tax filling from PeopleSoft? > I have a client that only wants to run the gross to net. > Thank you From owner-sqr-users@list.iex.net Wed Apr 7 23:12:27 1999 Date: Thu, 8 Apr 1999 10:53:02 +0700 From: Hartono Sutirman Subject: Simple Query Hi... Could anyone tell me what is the difference between these two Query and why they produce a different result ? I only want to get the current record from the JOB record. any help would very appreciated thanks in advance regards, Hartono Sutirman This one I use alias A in the SubQuery ************************************** SQL> ED Wrote file afiedt.buf 1 SELECT EMPLID, EFFDT 2 FROM PS_JOB 3* WHERE EFFDT = (SELECT MAX(A.EFFDT) FROM PS_JOB A WHERE A.EMPLID = EMPLID) SQL> / EMPLID EFFDT ----------- --------- 680000643 01-OCT-98 This one I use alias A in the main Query **************************************** SQL> ED Wrote file afiedt.buf 1 SELECT A.EMPLID, A.EFFDT 2 FROM PS_JOB A 3* WHERE A.EFFDT = (SELECT MAX(EFFDT) FROM PS_JOB WHERE EMPLID = A.EMPLID) SQL> / EMPLID EFFDT ----------- --------- 130344940 07-AUG-98 680000643 01-OCT-98 T68456789 06-APR-92 680000136 09-AUG-98 From owner-sqr-users@list.iex.net Thu Apr 8 00:06:41 1999 Date: Wed, 7 Apr 1999 21:55:52 -0700 From: David Donnelly Subject: Re: Simple Query Dear Hartono, Your second query is a coordinated subquery and gets you the latest record for each EMPLID. The first example is not a coordinated subquery, as it does not refer back into the main query. The subquery is evaluated once, and is interpreted as "A.EMPLID = A.EMPLID". This finds one record, the one with the most recent date in the database. If you write "WHERE A.EMPLID = PS_JOB.EMPLID", I think you will have the same thing as your second example. Hope that helps Dave At 10:53 AM 4/8/1999 +0700, you wrote: >Hi... >Could anyone tell me what is the difference between these two Query and >why they produce a different result ? >I only want to get the current record from the JOB record. >any help would very appreciated >thanks in advance > >regards, >Hartono Sutirman > >This one I use alias A in the SubQuery >************************************** >SQL> ED >Wrote file afiedt.buf > 1 SELECT EMPLID, EFFDT > 2 FROM PS_JOB > 3* WHERE EFFDT = (SELECT MAX(A.EFFDT) FROM PS_JOB A WHERE A.EMPLID = >EMPLID) >SQL> / > >EMPLID EFFDT >----------- --------- >680000643 01-OCT-98 > > >This one I use alias A in the main Query >**************************************** >SQL> ED >Wrote file afiedt.buf > 1 SELECT A.EMPLID, A.EFFDT > 2 FROM PS_JOB A > 3* WHERE A.EFFDT = (SELECT MAX(EFFDT) FROM PS_JOB WHERE EMPLID = >A.EMPLID) >SQL> / > >EMPLID EFFDT >----------- --------- >130344940 07-AUG-98 >680000643 01-OCT-98 >T68456789 06-APR-92 >680000136 09-AUG-98 > From owner-sqr-users@list.iex.net Thu Apr 8 01:45:21 1999 Date: Wed, 7 Apr 1999 23:37:53 -0700 From: Michael Lee Subject: Re: Simple Query Hartono. If you want to obtain the "CURRENT" JOB record, then your SQL is incorrect. Here's a query that should work, substituting [current date] with your DB's alias to the current date: SELECT A.EMPLID, A.EFFDT FROM PS_JOB A WHERE A.EFFDT = (SELECT MAX(B.EFFDT) FROM PS_JOB B WHERE B.EMPLID = A.EMPLID AND B.EMPL_RCD# = A.EMPL_RCD# AND B.EFFDT <= [current date]); You need to be aware of future dated rows in PeopleSoft. PeopleSoft is an effective-dated system and future dated rows are legal. Hope this helps. Good luck. Michael K. Lee mlee@agconsult.com Consultant AG Consulting, an ADP Company http://www.agconsult.com Hartono Sutirman on 04/07/99 08:53:02 PM Please respond to SQR-USERS@list.iex.net To: Multiple recipients of list SQR-USERS cc: (bcc: Michael Lee/Application Group) Subject: Simple Query Hi... Could anyone tell me what is the difference between these two Query and why they produce a different result ? I only want to get the current record from the JOB record. any help would very appreciated thanks in advance regards, Hartono Sutirman This one I use alias A in the SubQuery ************************************** SQL> ED Wrote file afiedt.buf 1 SELECT EMPLID, EFFDT 2 FROM PS_JOB 3* WHERE EFFDT = (SELECT MAX(A.EFFDT) FROM PS_JOB A WHERE A.EMPLID = EMPLID) SQL> / EMPLID EFFDT ----------- --------- 680000643 01-OCT-98 This one I use alias A in the main Query **************************************** SQL> ED Wrote file afiedt.buf 1 SELECT A.EMPLID, A.EFFDT 2 FROM PS_JOB A 3* WHERE A.EFFDT = (SELECT MAX(EFFDT) FROM PS_JOB WHERE EMPLID = A.EMPLID) SQL> / EMPLID EFFDT ----------- --------- 130344940 07-AUG-98 680000643 01-OCT-98 T68456789 06-APR-92 680000136 09-AUG-98 From owner-sqr-users@list.iex.net Thu Apr 8 03:49:27 1999 Date: Thu, 8 Apr 1999 15:41:24 +0700 From: Hartono Sutirman Subject: How to Schedule SQR ? Hi... I'm new in this mailing list and SQR, yet the responses I get is great, I get the answers from the expert very Quickly and solved my problems. To everyone I want to say thank you ! I have another problem, I've already check the PeopleBook, but I cannot find what I want to do. 1. I want to schedule a report to run every month. I've already set the Run Occurence to Monthly. The problem is what should I use when I define a Process Type in the process scheduler, is it a SQR PROCESS, SQR REPORT or something else ?? what the difference between the two of them ? 2. I want to run this report automatically every month, so in my thinking I don't need to create a new panel group and place it on the peoplesoft Menu (We don't have to click on a menu to run this process), is it possible ?? If we can schedule a report/process to run automatically without asking user to click on the menu and run button, can anyone tell me how ?? any help would very appreciated thanks in advance regards, Hartono Sutirman From owner-sqr-users@list.iex.net Thu Apr 8 07:00:41 1999 Date: Thu, 8 Apr 1999 07:48:52 -0400 From: Doug Kinney Subject: Re: Check print outsource We use ADP to print our checks and advices. They were kind enough to provide us with a set of SQR's to extract the appropriate info. We also create an ACH file for transmission to the Fed Reserve. We also use ADP to print W2's and create the IRS tape. Doug Kinney doug.kinney@usa.net -----Original Message----- From: Vimce Mancino [SMTP:e5d4@EARTHLINK.NET] Sent: Wednesday, April 07, 1999 12:19 PM To: Multiple recipients of list SQR-USERS Subject: Check print outsource Has anyone used a provider to JUST print checks, create direct deposit tape, tax reporting and tax filling from PeopleSoft? I have a client that only wants to run the gross to net. Thank you From owner-sqr-users@list.iex.net Thu Apr 8 08:09:21 1999 Date: Thu, 8 Apr 1999 08:00:55 -0500 From: Lisa Prokopeak Subject: Re: Simple Query Make sure to add the EFFSEQ also, as a person can have multiple rows for the same effdt. select j.emplid, j.effdt from ps_job j and j.effdt = (select max(effdt) from ps_job where emplid = j.emplid and empl_rcd# = j.empl_rcd# and effdt <= [current date]) and j.effseq = (select max(effseq) from ps_job where emplid = j.emplid and empl_rcd# = j.empl_rcd# and effdt = j.effdt); -Lisa MLee@AGCONSULT.COM on 04/08/99 02:40:45 AM Please respond to SQR-USERS@list.iex.net@Internet To: SQR-USERS@list.iex.net@Internet cc: Subject: Re: Simple Query Hartono. If you want to obtain the "CURRENT" JOB record, then your SQL is incorrect. Here's a query that should work, substituting [current date] with your DB's alias to the current date: SELECT A.EMPLID, A.EFFDT FROM PS_JOB A WHERE A.EFFDT = (SELECT MAX(B.EFFDT) FROM PS_JOB B WHERE B.EMPLID = A.EMPLID AND B.EMPL_RCD# = A.EMPL_RCD# AND B.EFFDT <= [current date]); You need to be aware of future dated rows in PeopleSoft. PeopleSoft is an effective-dated system and future dated rows are legal. Hope this helps. Good luck. Michael K. Lee mlee@agconsult.com Consultant AG Consulting, an ADP Company http://www.agconsult.com Hartono Sutirman on 04/07/99 08:53:02 PM Please respond to SQR-USERS@list.iex.net To: Multiple recipients of list SQR-USERS cc: (bcc: Michael Lee/Application Group) Subject: Simple Query Hi... Could anyone tell me what is the difference between these two Query and why they produce a different result ? I only want to get the current record from the JOB record. any help would very appreciated thanks in advance regards, Hartono Sutirman This one I use alias A in the SubQuery ************************************** SQL> ED Wrote file afiedt.buf 1 SELECT EMPLID, EFFDT 2 FROM PS_JOB 3* WHERE EFFDT = (SELECT MAX(A.EFFDT) FROM PS_JOB A WHERE A.EMPLID = EMPLID) SQL> / EMPLID EFFDT ----------- --------- 680000643 01-OCT-98 This one I use alias A in the main Query **************************************** SQL> ED Wrote file afiedt.buf 1 SELECT A.EMPLID, A.EFFDT 2 FROM PS_JOB A 3* WHERE A.EFFDT = (SELECT MAX(EFFDT) FROM PS_JOB WHERE EMPLID = A.EMPLID) SQL> / EMPLID EFFDT ----------- --------- 130344940 07-AUG-98 680000643 01-OCT-98 T68456789 06-APR-92 680000136 09-AUG-98 From owner-sqr-users@list.iex.net Thu Apr 8 08:34:29 1999 Date: Thu, 8 Apr 1999 09:23:22 -0400 From: Sherry Jin Subject: Print Signature through SQR We are thinking about printing signature on PO so that it can be faxed to vendor directly. Does anyone have any experience about printing signature through SQR? Thanks in advance for your suggestion Sherry From owner-sqr-users@list.iex.net Thu Apr 8 10:46:55 1999 Date: Thu, 8 Apr 1999 10:19:47 -0400 From: Eric Dimick Eastman Subject: Re: SQR as data transfer tool Redleaf, My highly unscientific experience shows that as far as performance there is virtually no difference. I have gotten better than 110 records per second on several data load programs using SQR. These programs did some parsing, manipulation and key lookups in addition to loading the records. The cost of executing the SQL statements total swamps the time spent processing the data in the program. SQR also has a few features like "load-lookup" that are highly efficient and easy to use. The big difference comes in programming and maintenance time. C is a pain. Well written SQR programs read like english and are quick to write compared to C. Unless you have to calculate 500 digits of pi between each record I'd use SQR. Good luck, Eric "redleaf@mindspring.com" wrote: > > The company I am currently working for may be considering using SQR > instead of C as a tool for data transfers from source tables to target > tables. Does anyone have any thoughts and/or statistics about the > efficiency of SQR vs. C for this? Has anyone performed any tests along > these lines? -- ------------------------------------------------------------------------ Eric Dimick Eastman | To match what we [humans] can do, there would Ray Ontko & Co. | have to 3 billion of them [computers] . . . erice@ontko.com | wired together, . . . talking incessantly. http://www.ontko.com | Lewis Thomas, The Lives of a Cell 1974 From owner-sqr-users@list.iex.net Thu Apr 8 09:36:02 1999 Date: Thu, 8 Apr 1999 10:21:49 -0400 From: "redleaf@mindspring.com" Subject: SQR as data transfer tool The company I am currently working for may be considering using SQR instead of C as a tool for data transfers from source tables to target tables. Does anyone have any thoughts and/or statistics about the efficiency of SQR vs. C for this? Has anyone performed any tests along these lines? From owner-sqr-users@list.iex.net Thu Apr 8 10:42:39 1999 Date: Thu, 8 Apr 1999 10:18:11 -0500 From: "Gottdenker, Jay S" Subject: Re: Print Signature through SQR We had to do this for printing signatures on payroll checks. Basically the process you will follow is like this (there may be other variations as well): 1) load your signature font on the printer from which you will be printing your POs, using a utility like "fload" - you probably want to secure this font (one possible way is to load the font into RAM rather than a hard drive, and power off the printer when you're done, then reload the next time). 2) get the appropriate code to invoke the font from the printer (most laser printers will have some kind of control panel option to print the available fonts and their associated codes). 3) add a line to your SQR to invoke the signature font on the printer like, "encode '<39>&l0O<39>(1Q<39>(s0p1.00h72.0v0s0b0T' into $SigFont" !this will be the code you get from the !printer 4) Add some lines to print the signature print $SigFont (+2,1) code print '!!H' (,+2) !this line will contain whatever character your signature font uses to invoke the !signature Hope this helps! Jay Gottdenker > -----Original Message----- > From: Sherry Jin [SMTP:sjin@WINSTAR.COM] > Sent: Thursday, April 08, 1999 8:23 AM > To: Multiple recipients of list SQR-USERS > Subject: Print Signature through SQR > > We are thinking about printing signature on PO so that it can be faxed to > vendor directly. Does anyone have any experience about printing signature > through SQR? > > Thanks in advance for your suggestion > > Sherry From owner-sqr-users@list.iex.net Thu Apr 8 11:43:44 1999 Date: Thu, 8 Apr 1999 11:33:57 -0400 From: "Dray, Adam" Subject: Re: SQR as data transfer tool I have thoughts, but no statistics to back them. My instinct is that C will be more efficient in terms of run time, but that SQR will be much more efficient to write. However, without knowing more about the problem, I can't give an informed answer. If you're transferring between tables, why can't you use a database tool, such as an INSERT statement, replication, CIS, or the likes of bcpxfer (for Sybase, at least)? Adam Dray > -----Original Message----- > From: redleaf@mindspring.com [SMTP:redleaf@MINDSPRING.COM] > Sent: Thursday, April 08, 1999 10:22 AM > To: Multiple recipients of list SQR-USERS > Subject: SQR as data transfer tool > > The company I am currently working for may be considering using SQR > instead of C as a tool for data transfers from source tables to target > tables. Does anyone have any thoughts and/or statistics about the > efficiency of SQR vs. C for this? Has anyone performed any tests along > these lines? From owner-sqr-users@list.iex.net Thu Apr 8 10:59:04 1999 Date: Thu, 8 Apr 1999 08:47:35 -0700 From: Aboukr Sadikh Hi Gurus, Oracle:7.3.4 Unix PeopleSoft Public Sector 7.04 I'm to run one SQR in which the user has to input the pay_end_dt, and I get the following error message: Please press ENTER (Do not input a value): Report Began: 09:01:47 Update PaySheets with Pay Input Data Enter Payroll Run ID: 902 There is more than on Pay Calendar for the Run ID. You must identify the Pay Calendar. Enter Company ID (e.g. ccb): cob Enter Pay Group (e.g. sm1): gen Enter Pay End Date (e.g. 15-Nov-89): 17/01/1999 (SQR 1943) The date '17/01/1999' is not in one of the accepted formats listed below: MM/DD/YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM-DD-YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM.DD.YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] SYYYYMMDD[HH24[MI[SS[NNNNNN]]]] Enter Pay End Date (e.g. 15-Nov-89): (SQR 2514) Enter a date in one of the following formats: MM/DD/YYYY [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM-DD-YYYY [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM.DD.YYYY [HH:MI[:SS[.NNNNNN]] [AM | PM]] SYYYYMMDD[HH24[MI[SS[NNNNNN]]]] I changed the date setting in Contro Panel, but I still have the same error. Any ideas??? Thanks in advance. BS _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From owner-sqr-users@list.iex.net Thu Apr 8 10:56:39 1999 Date: Thu, 8 Apr 1999 11:49:39 -0400 From: Steve Krim Subject: Editor info Has anyone created a Multi-Edit tmplate for SQR? If so, would you mind sharing it? Thanks, Steve From owner-sqr-users@list.iex.net Thu Apr 8 11:06:18 1999 Date: Thu, 8 Apr 1999 10:52:46 -0500 From: Krishnan Sarangarajan Subject: Re: How do I know What Qtr of Year it is ! > ---------- > From: Dominick LoGiudice[SMTP:dlogiudice@PINE.VPCC.SUNYSB.EDU] > Sent: Thursday, April 08, 1999 1:31 PM > To: Multiple recipients of list SQR-USERS > Subject: How do I know What Qtr of Year it is ! > > I am writing an sqr that needs to look for qtr data. Example if > I ran today the run date I have is formatted like this 19990408. I can > substr out > the month as 04. Using 04 I need to look on a table if the date is '01' > or '02' or > '03'. Based on the run date the qtrs I need to look for will always > change. I next > run this sqr in July so my qtr rundate will be 07 so I need to look for > '04' , '05' or > '06'. Is there a delivered sqr to do this. > I guess the short story is I need to know what 3 months are the previous > qtr. > thanks > Dear Mr. Logiudice, With regards to what period ending is tied with what quarter, if you have a pay calendar, you could use it ? If I am not mistaken, sometimes the pay calendar are preset or pre-defined and other times one may have to define it and maintain it on an on-going basis. As for the pay calendar, the following is what we have at Ruan : SQL> desc ps_pay_calendar; Name Null? Type ------------------------------- -------- ---- COMPANY NOT NULL VARCHAR2(3) PAYGROUP NOT NULL VARCHAR2(3) PAY_END_DT NOT NULL DATE RUN_ID NOT NULL VARCHAR2(3) PAY_BEGIN_DT NOT NULL DATE CHECK_DT NOT NULL DATE PERIOD_WEEKS NOT NULL NUMBER(4) CALENDAR_YEAR NOT NULL NUMBER(4) QTRCD NOT NULL VARCHAR2(1) MONTHCD NOT NULL VARCHAR2(2) PAY_PERIOD NOT NULL VARCHAR2(1) PAY_PDS_PER_YEAR NOT NULL NUMBER(4) ACCRUAL_PCT NOT NULL NUMBER(5,3) REVERSE_FLAG NOT NULL VARCHAR2(1) PAY_SHEETS_RUN NOT NULL VARCHAR2(1) PAY_PRECALC_RUN NOT NULL VARCHAR2(1) PAY_CALC_RUN NOT NULL VARCHAR2(1) PAY_CONFIRM_START NOT NULL VARCHAR2(1) PAY_CONFIRM_RUN NOT NULL VARCHAR2(1) PAY_CHECKS_RUN NOT NULL VARCHAR2(1) PAY_OFF_CYCLE NOT NULL VARCHAR2(1) PAY_OFF_CYCLE_CLS NOT NULL VARCHAR2(1) GL_INTERFACE_RUN NOT NULL VARCHAR2(1) SINGLE_CHECK NOT NULL VARCHAR2(1) TF_TAX_FILE_BUILT NOT NULL VARCHAR2(1) TF_TAX_FILE_XMIT NOT NULL VARCHAR2(1) Hope it helps. Krishnan Sarangarajan ksaranga@ruan.com Ruan Transportation 3200 Ruan Center (DSM 6th Floor) Des Moines, IA 50309 [O] (515) 245-5655 [F] (515) 247-2284 From owner-sqr-users@list.iex.net Thu Apr 8 11:08:38 1999 Date: Thu, 8 Apr 1999 08:55:44 -0700 From: Chris Molitor Subject: Re: SQR as data transfer tool On a recent implementation we replaced a c interface program with one written in SQR for ease of maintenance. The initial decision was made to go with c for performance reasons, but the program quickly got very complicated and "buggy". The performance was as good or better when re-written in SQR mainly because the delivered functionality in SQR made it easy to code it simply. --- "redleaf@mindspring.com" wrote: > The company I am currently working for may be considering using SQR > instead of C as a tool for data transfers from source tables to > target > tables. Does anyone have any thoughts and/or statistics about the > efficiency of SQR vs. C for this? Has anyone performed any tests > along > these lines? > === _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From owner-sqr-users@list.iex.net Thu Apr 8 11:08:50 1999 Date: Thu, 8 Apr 1999 10:57:49 -0500 From: Krishnan Sarangarajan > Enter Pay End Date (e.g. 15-Nov-89): > (SQR 2514) Enter a date in one of the following formats: > MM/DD/YYYY [HH:MI[:SS[.NNNNNN]] [AM | PM]] > MM-DD-YYYY [HH:MI[:SS[.NNNNNN]] [AM | PM]] > MM.DD.YYYY [HH:MI[:SS[.NNNNNN]] [AM | PM]] > SYYYYMMDD[HH24[MI[SS[NNNNNN]]]] > > I changed the date setting in Contro Panel, but I still have the same > error. Any ideas??? > > Thanks in advance. > > BS > Dear Mr. Sadikh, With regards to the date format, setting the date format using the control panel may in fact only alter the date format, the way Windows or the work-station looks at it. If you would like to alter the manner in which the database displays the date, or extracts it, you could do the following : begin-sql alter session set nls_date_format = 'DD-MON-YYYY' end-sql commit The above code can reside within your SQR or be called using an include file but in any case, it will alter the date format only for the session but hopefully, it helps. Sincerely, Krishnan Krishnan Sarangarajan ksaranga@ruan.com Ruan Transportation 3200 Ruan Center (DSM 6th Floor) Des Moines, IA 50309 [O] (515) 245-5655 [F] (515) 247-2284 From owner-sqr-users@list.iex.net Thu Apr 8 11:12:24 1999 Date: Thu, 8 Apr 1999 10:58:54 -0500 From: "Kidd, Kelli" This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01BE81D8.B5CDEEE6 Content-Type: text/plain; charset="iso-8859-1" Try entering the date in the format specified in the input statement: 17-Jan-99 -----Original Message----- From: Aboukr Sadikh [mailto:bsadikh@YAHOO.COM] Sent: Thursday, April 08, 1999 10:48 AM To: Multiple recipients of list SQR-USERS Subject: Hi Gurus, Oracle:7.3.4 Unix PeopleSoft Public Sector 7.04 I'm to run one SQR in which the user has to input the pay_end_dt, and I get the following error message: Please press ENTER (Do not input a value): Report Began: 09:01:47 Update PaySheets with Pay Input Data Enter Payroll Run ID: 902 There is more than on Pay Calendar for the Run ID. You must identify the Pay Calendar. Enter Company ID (e.g. ccb): cob Enter Pay Group (e.g. sm1): gen Enter Pay End Date (e.g. 15-Nov-89): 17/01/1999 (SQR 1943) The date '17/01/1999' is not in one of the accepted formats listed below: MM/DD/YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM-DD-YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM.DD.YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] SYYYYMMDD[HH24[MI[SS[NNNNNN]]]] Enter Pay End Date (e.g. 15-Nov-89): (SQR 2514) Enter a date in one of the following formats: MM/DD/YYYY [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM-DD-YYYY [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM.DD.YYYY [HH:MI[:SS[.NNNNNN]] [AM | PM]] SYYYYMMDD[HH24[MI[SS[NNNNNN]]]] I changed the date setting in Contro Panel, but I still have the same error. Any ideas??? Thanks in advance. BS _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ------_=_NextPart_001_01BE81D8.B5CDEEE6 Content-Type: text/html; charset="iso-8859-1" RE:

Try entering the date in the format specified in the input statement:

        17-Jan-99


-----Original Message-----
From: Aboukr Sadikh [mailto:bsadikh@YAHOO.COM]
Sent: Thursday, April 08, 1999 10:48 AM
To: Multiple recipients of list SQR-USERS
Subject:


Hi Gurus,

Oracle:7.3.4
Unix
PeopleSoft Public Sector 7.04

I'm to run one SQR in which the user has to input the pay_end_dt, and I
get the following error message:

Please press ENTER (Do not input a value):
Report Began: 09:01:47
Update PaySheets with Pay Input Data

Enter Payroll Run ID: 902
There is more than on Pay Calendar for the Run ID.
You must identify the Pay Calendar.
Enter Company ID (e.g. ccb): cob
Enter Pay Group (e.g. sm1): gen
Enter Pay End Date (e.g. 15-Nov-89): 17/01/1999
   (SQR 1943) The date '17/01/1999' is not in one of the accepted
formats listed below:
        MM/DD/YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]]
        MM-DD-YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]]
        MM.DD.YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]]
        SYYYYMMDD[HH24[MI[SS[NNNNNN]]]]

Enter Pay End Date (e.g. 15-Nov-89):
(SQR 2514)    Enter a date in one of the following formats:
        MM/DD/YYYY [HH:MI[:SS[.NNNNNN]] [AM | PM]]
        MM-DD-YYYY [HH:MI[:SS[.NNNNNN]] [AM | PM]]
        MM.DD.YYYY [HH:MI[:SS[.NNNNNN]] [AM | PM]]
        SYYYYMMDD[HH24[MI[SS[NNNNNN]]]]

I changed the date setting in Contro Panel, but I still have the same
error. Any ideas???

Thanks in advance.

BS
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

------_=_NextPart_001_01BE81D8.B5CDEEE6-- From owner-sqr-users@list.iex.net Thu Apr 8 12:08:24 1999 Date: Thu, 8 Apr 1999 12:50:47 -0400 From: "Bergeron, Marc, Herndon" Subject: Re: Print Signature through SQR use the print-image commmand. make the signature a bitmap file. the type is bmp-file and the file itself must have a .bmp extension. -----Original Message----- From: Sherry Jin [mailto:sjin@WINSTAR.COM] Sent: Thursday, April 08, 1999 9:23 AM To: Multiple recipients of list SQR-USERS Subject: Print Signature through SQR We are thinking about printing signature on PO so that it can be faxed to vendor directly. Does anyone have any experience about printing signature through SQR? Thanks in advance for your suggestion Sherry From owner-sqr-users@list.iex.net Thu Apr 8 16:52:36 1999 Date: Thu, 8 Apr 1999 13:49:53 -0400 From: Steve Krim Subject: Re: Editor info Franck, Is visualSqribe freeware? or part of a bundle? Thanks, Steve At 07:27 PM 4/8/99 +0100, you wrote: >try the visualsqribe product from sqribe. >it does what you want and more. > >franck, > >Steve Krim wrote: >> >> Has anyone created a Multi-Edit tmplate for SQR? If so, would you mind >> sharing it? >> >> Thanks, >> >> Steve > From owner-sqr-users@list.iex.net Thu Apr 8 13:08:22 1999 Date: Thu, 8 Apr 1999 10:55:24 -0700 From: Aboukr Sadikh Subject: help with date format Hi Guys, I have tried different ways of entering the date, but it looks like any of the formats is recognized as a valid date format. Can the problem be an installation one?? Thanks in advance for your hints. BS. *************************************************************************************** Please press ENTER (Do not input a value): Report Began: 01:06:57 Update PaySheets with Pay Input Data Enter Payroll Run ID: 902 There is more than on Pay Calendar for the Run ID. You must identify the Pay Calendar. Enter Company ID (e.g. ccb): cob Enter Pay Group (e.g. sm1): gen Enter Pay End Date (e.g. 15-Nov-89): 17-Jan-99 (SQR 1943) The date '17-Jan-99' is not in one of the accepted formats listed below: MM/DD/YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM-DD-YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM.DD.YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] SYYYYMMDD[HH24[MI[SS[NNNNNN]]]] Enter Pay End Date (e.g. 15-Nov-89): 17-JAN-99 (SQR 1943) The date '17-JAN-99' is not in one of the accepted formats listed below: MM/DD/YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM-DD-YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM.DD.YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] SYYYYMMDD[HH24[MI[SS[NNNNNN]]]] Enter Pay End Date (e.g. 15-Nov-89): 17-01-99 (SQR 1943) The date '17-01-99' is not in one of the accepted formats listed below: MM/DD/YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM-DD-YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM.DD.YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] SYYYYMMDD[HH24[MI[SS[NNNNNN]]]] Enter Pay End Date (e.g. 15-Nov-89): 17-01-1999 (SQR 1943) The date '17-01-1999' is not in one of the accepted formats listed below: MM/DD/YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM-DD-YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM.DD.YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] SYYYYMMDD[HH24[MI[SS[NNNNNN]]]] Enter Pay End Date (e.g. 15-Nov-89): 17-Jan-1999 (SQR 1943) The date '17-Jan-1999' is not in one of the accepted formats listed below: MM/DD/YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM-DD-YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM.DD.YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] SYYYYMMDD[HH24[MI[SS[NNNNNN]]]] Enter Pay End Date (e.g. 15-Nov-89): 1999-01-17 (SQR 1943) The date '1999-01-17' is not in one of the accepted formats listed below: MM/DD/YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM-DD-YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM.DD.YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] SYYYYMMDD[HH24[MI[SS[NNNNNN]]]] Enter Pay End Date (e.g. 15-Nov-89): 99-01-17 (SQR 1943) The date '99-01-17' is not in one of the accepted formats listed below: MM/DD/YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM-DD-YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM.DD.YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] SYYYYMMDD[HH24[MI[SS[NNNNNN]]]] Enter Pay End Date (e.g. 15-Nov-89): 01-17-1999 (SQR 5528) ORACLE OFEN error 1843 in cursor 7: ORA-01843: not a valid month Error on line 966: (SQR 3725) Bad return fetching row from database. SQR: Program Aborting. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From owner-sqr-users@list.iex.net Thu Apr 8 13:10:44 1999 Date: Thu, 8 Apr 1999 13:57:24 -0400 From: "Dray, Adam" Subject: Re: How do I know What Qtr of Year it is ! Without going into all the details, let me talk about one trick you can use: Set up two strings: Let $months = '010203040506070809101112' Let $month_map = '101010010101040404070707' In your SQL use a charindex or substr or whatever to determine the position of the month (01, 02, ..., 12) in $months. Use that index to grab a 2-character substring out of $month_map. Those two characters are the starting month for the quarter on which you need to report. /ad/ > -----Original Message----- > From: Dominick LoGiudice [SMTP:dlogiudice@PINE.VPCC.SUNYSB.EDU] > Sent: Thursday, April 08, 1999 2:32 PM > To: Multiple recipients of list SQR-USERS > Subject: How do I know What Qtr of Year it is ! > > I am writing an sqr that needs to look for qtr data. Example if > I ran today the run date I have is formatted like this 19990408. I can > substr out > the month as 04. Using 04 I need to look on a table if the date is '01' > or '02' or > '03'. Based on the run date the qtrs I need to look for will always > change. I next > run this sqr in July so my qtr rundate will be 07 so I need to look for > '04' , '05' or > '06'. Is there a delivered sqr to do this. > I guess the short story is I need to know what 3 months are the previous > qtr. > thanks From owner-sqr-users@list.iex.net Thu Apr 8 12:45:51 1999 Date: Thu, 8 Apr 1999 19:27:22 +0100 From: Franck Masson Subject: Re: Editor info try the visualsqribe product from sqribe. it does what you want and more. franck, Steve Krim wrote: > > Has anyone created a Multi-Edit tmplate for SQR? If so, would you mind > sharing it? > > Thanks, > > Steve From owner-sqr-users@list.iex.net Thu Apr 8 10:54:40 1999 Date: Thu, 8 Apr 1999 11:31:55 -0700 From: Dominick LoGiudice Subject: How do I know What Qtr of Year it is ! I am writing an sqr that needs to look for qtr data. Example if I ran today the run date I have is formatted like this 19990408. I can substr out the month as 04. Using 04 I need to look on a table if the date is '01' or '02' or '03'. Based on the run date the qtrs I need to look for will always change. I next run this sqr in July so my qtr rundate will be 07 so I need to look for '04' , '05' or '06'. Is there a delivered sqr to do this. I guess the short story is I need to know what 3 months are the previous qtr. thanks From owner-sqr-users@list.iex.net Thu Apr 8 14:38:49 1999 Date: Thu, 8 Apr 1999 15:22:54 -0400 From: "Holly N. Reid" Subject: Search directories for SQR on MVS Is there a way to first search one directory, then if its not found there search another directory for an SQR? I've heard that you can't do this on MVS. You can do it on every other environment, so I'm hoping this is not true. Please respond. Thanks, Holly N. Reid Elleon Dier, Inc. elleond@bellsouth.net From owner-sqr-users@list.iex.net Thu Apr 8 15:03:47 1999 Date: Thu, 8 Apr 1999 15:49:16 EDT From: Ken Look Subject: Re: Search directories for SQR on MVS Holly, I assume you mean searching PDS libraries when executing an SQR on the MVS mainframe. It's seems to be an accurate statement you made. We specify the PDS library in our SQRIN ddname. I tried using a DD concatenation of PDS libraries, removing the 1st member on purpose and the job returned an error message stating it couldn't open the 1st PDS library and gave the error "File not found", which means it didn't even bother using the 2nd PDS library. Hope this answers your question. Ken Look Look Consulting From owner-sqr-users@list.iex.net Thu Apr 8 15:19:48 1999 Date: Thu, 8 Apr 1999 16:07:26 -0400 From: Wade Wells Subject: Re: Year 2000 Vicki, Although human beings may consider the way Oracle handles YY to be in error, Oracle thinks of it as a feature. The YY format means current century prepended to the year. There is an alternative RR format, which has a complicated definition.Read about it in * Oracle SQL Reference Manual, Chapter 3, date format elements * Oracle magazine, Jan/Feb 1999 * chapter 8 of "High Performance Oracle8 Tuning" by Don Burleson RR uses a 2x2 decision matrix, comparing how current year (as YY) and the 2-digit year specified by RR relate in terms of 00-49 (low) or 50-99 (high). The 4 possibilities are: 1. current low, RR low -> this century 2. current low, RR high -> previous century 3. current high, RR low -> next century 4. current high, RR high -> this century RR is not a panacea. You still need YYYY to specifiy dates outside these assumptions. - Wade Wells Deepak Shirguppi wrote: > Vicki, > I tried doing this directly on the Oracle database. > I created a dummy table with name xyz and one column "trial", datatype > as date. > If you do a insert as follows : > insert into xyz values('29-FEB-00'); > I got an error. Basically Oracle thinks it to be 1900 and not 2000. > > So, > insert into xyz values (to_date('02-29-2000','mm-dd-yyyy')); > worked and on doing a select I got the following result. > > SQL> select to_char(trial,'mm-dd-yyyy') from xyz; > > TO_CHAR(TRIAL,'MM-DD-YYYY') > --------------------------------------------------------------------- > 02-29-2000 > > HTH, > > -- Deepak. > > >From: Victoria Lo > >Reply-To: SQR-USERS@list.iex.net > >To: Multiple recipients of list SQR-USERS > >Subject: Year 2000 > >Date: Thu, 18 Mar 1999 12:39:02 EST > > > >Hello everyone; > > > >Has anyone had problem to insert date of "29-FEB-00" into PeopleSoft > tables > >on Oracle platform? Is there any resolution? Please let me know. Thank > you. > > > >Vicki > > > > > > Get Your Private, Free Email at http://www.hotmail.com From owner-sqr-users@list.iex.net Thu Apr 8 15:31:56 1999 Date: Thu, 8 Apr 1999 13:18:46 -0700 From: Sivaram Gowkanapalli Subject: Re: How to Schedule SQR ? Hi, as far as my knowledgde goes, the process class in the PS Process scheduler panel would end up to be sqr report in either scenarios. To schedule a process/report from PS, it must have a run control Id and the scheduling is done from the Process scheduler request dialog box which props up when u try to run the report, so the process/ report must be attached to a panel. If u feel that a panel is not necssary then depending on ur operationg system u can schedule the process outside PS. like a cronjob in unix, etc., I hope this helps, siva --- Hartono Sutirman wrote: > Hi... > > I'm new in this mailing list and SQR, yet the > responses I get is great, > I get the answers from the expert very Quickly and > solved my problems. > To everyone I want to say thank you ! > > I have another problem, I've already check the > PeopleBook, but I cannot > find what I want to do. > 1. I want to schedule a report to run every month. > I've already set the > Run Occurence to Monthly. The problem is what should > I use when I define > a Process Type in the process scheduler, is it a SQR > PROCESS, SQR REPORT > or something else ?? > what the difference between the two of them ? > 2. I want to run this report automatically every > month, so in my > thinking I don't need to create a new panel group > and place it on the > peoplesoft Menu (We don't have to click on a menu to > run this process), > is it possible ?? > If we can schedule a report/process to run > automatically without asking > user to click on the menu and run button, can anyone > tell me how ?? > > any help would very appreciated > thanks in advance > > regards, > Hartono Sutirman > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From owner-sqr-users@list.iex.net Thu Apr 8 16:04:01 1999 Date: Thu, 8 Apr 1999 13:38:54 -0700 From: Keri Palko Subject: printing on the mainframe We have just installed PeopleSoft HRMS 7.5 with MVS/DB2 as our Database Server (DB2 v5.1). This is our first experience with SQR (v 4.3). I thought I could just run SQRs on the mainframe and they would come out formatted correctly. This didn't happen. If I use SQROUT DD SYSOUT=9 (which is a mainframe printer class for a Xerox OCE impact printer), the report comes out. The problems are 1. the first line is the garbase printer-init characters (E (0N &l0O &l8D &l88F (s16.66H &a9L &k2G). 2. There is a 1 on each of the subsequent pages where the top of page should be (like I would use if coding a COBOL report and using control characters 1-top of page, 0-double space... and then I would also use RECFM=FBA). 3. The pages are not breaking where they should be. The 1 mentioned above is never at the top of the page. This all also happens when I send the output to the mainframe line printer. When I try using SQROUT DD SYSOUT=L,DEST=U37 (which is a HP network laserjet printer that is also a VPS printer), the report never comes out. Instead a page comes out with Error Detected and the printer goes into EDRAINED status. I would be so HAPPY if someone could help me out. Thanks, Keri From owner-sqr-users@list.iex.net Thu Apr 8 15:58:07 1999 Date: Thu, 8 Apr 1999 16:40:09 -0400 From: Anthony Leung-New York Subject: Re: How do I know What Qtr of Year it is ! Quick alogrithm: 1. Get the Month 2. subtract month by 1 3. divide the result from step 2 by 3 4. get the integer part and add 1 to it. That will be your qtr. > -----Original Message----- > From: Krishnan Sarangarajan [SMTP:ksaranga@RUAN.COM] > Sent: April 08, 1999 11:53 AM > To: Multiple recipients of list SQR-USERS > Subject: Re: How do I know What Qtr of Year it is ! > > > ---------- > > From: Dominick LoGiudice[SMTP:dlogiudice@PINE.VPCC.SUNYSB.EDU] > > Sent: Thursday, April 08, 1999 1:31 PM > > To: Multiple recipients of list SQR-USERS > > Subject: How do I know What Qtr of Year it is ! > > > > I am writing an sqr that needs to look for qtr data. Example if > > I ran today the run date I have is formatted like this 19990408. I can > > substr out > > the month as 04. Using 04 I need to look on a table if the date is '01' > > or '02' or > > '03'. Based on the run date the qtrs I need to look for will always > > change. I next > > run this sqr in July so my qtr rundate will be 07 so I need to look for > > '04' , '05' or > > '06'. Is there a delivered sqr to do this. > > I guess the short story is I need to know what 3 months are the previous > > qtr. > > thanks > > > Dear Mr. Logiudice, > With regards to what period ending is tied with what quarter, if > you > have a pay calendar, you could use it ? If I am not mistaken, sometimes > the > pay calendar are preset or pre-defined and other times one may have to > define it and maintain it on an on-going basis. > > As for the pay calendar, the following is what we have at Ruan : > > SQL> desc ps_pay_calendar; > > Name Null? Type > ------------------------------- -------- ---- > COMPANY NOT NULL VARCHAR2(3) > PAYGROUP NOT NULL VARCHAR2(3) > PAY_END_DT NOT NULL DATE > RUN_ID NOT NULL VARCHAR2(3) > PAY_BEGIN_DT NOT NULL DATE > CHECK_DT NOT NULL DATE > PERIOD_WEEKS NOT NULL NUMBER(4) > CALENDAR_YEAR NOT NULL NUMBER(4) > QTRCD NOT NULL VARCHAR2(1) > MONTHCD NOT NULL VARCHAR2(2) > PAY_PERIOD NOT NULL VARCHAR2(1) > PAY_PDS_PER_YEAR NOT NULL NUMBER(4) > ACCRUAL_PCT NOT NULL NUMBER(5,3) > REVERSE_FLAG NOT NULL VARCHAR2(1) > PAY_SHEETS_RUN NOT NULL VARCHAR2(1) > PAY_PRECALC_RUN NOT NULL VARCHAR2(1) > PAY_CALC_RUN NOT NULL VARCHAR2(1) > PAY_CONFIRM_START NOT NULL VARCHAR2(1) > PAY_CONFIRM_RUN NOT NULL VARCHAR2(1) > PAY_CHECKS_RUN NOT NULL VARCHAR2(1) > PAY_OFF_CYCLE NOT NULL VARCHAR2(1) > PAY_OFF_CYCLE_CLS NOT NULL VARCHAR2(1) > GL_INTERFACE_RUN NOT NULL VARCHAR2(1) > SINGLE_CHECK NOT NULL VARCHAR2(1) > TF_TAX_FILE_BUILT NOT NULL VARCHAR2(1) > TF_TAX_FILE_XMIT NOT NULL VARCHAR2(1) > > Hope it helps. > > Krishnan Sarangarajan > ksaranga@ruan.com > Ruan Transportation > 3200 Ruan Center (DSM 6th Floor) > Des Moines, IA 50309 > [O] (515) 245-5655 > [F] (515) 247-2284 From owner-sqr-users@list.iex.net Fri Apr 9 00:33:00 1999 Date: Thu, 8 Apr 1999 13:40:43 -0700 From: Michael Lee Subject: Re: Simple Query Lisa, Thanks for the correction. 8-) EFFSEQ is defintely one that you need to obtain the max of... I responded pretty late in the evening. Michael K. Lee mlee@agconsult.com Consultant AG Consulting, an ADP Company http://www.agconsult.com Lisa Prokopeak on 04/08/99 06:00:55 AM Please respond to SQR-USERS@list.iex.net To: Multiple recipients of list SQR-USERS cc: (bcc: Michael Lee/Application Group) Subject: Re: Simple Query Make sure to add the EFFSEQ also, as a person can have multiple rows for the same effdt. select j.emplid, j.effdt from ps_job j and j.effdt = (select max(effdt) from ps_job where emplid = j.emplid and empl_rcd# = j.empl_rcd# and effdt <= [current date]) and j.effseq = (select max(effseq) from ps_job where emplid = j.emplid and empl_rcd# = j.empl_rcd# and effdt = j.effdt); -Lisa MLee@AGCONSULT.COM on 04/08/99 02:40:45 AM Please respond to SQR-USERS@list.iex.net@Internet To: SQR-USERS@list.iex.net@Internet cc: Subject: Re: Simple Query Hartono. If you want to obtain the "CURRENT" JOB record, then your SQL is incorrect. Here's a query that should work, substituting [current date] with your DB's alias to the current date: SELECT A.EMPLID, A.EFFDT FROM PS_JOB A WHERE A.EFFDT = (SELECT MAX(B.EFFDT) FROM PS_JOB B WHERE B.EMPLID = A.EMPLID AND B.EMPL_RCD# = A.EMPL_RCD# AND B.EFFDT <= [current date]); You need to be aware of future dated rows in PeopleSoft. PeopleSoft is an effective-dated system and future dated rows are legal. Hope this helps. Good luck. Michael K. Lee mlee@agconsult.com Consultant AG Consulting, an ADP Company http://www.agconsult.com Hartono Sutirman on 04/07/99 08:53:02 PM Please respond to SQR-USERS@list.iex.net To: Multiple recipients of list SQR-USERS cc: (bcc: Michael Lee/Application Group) Subject: Simple Query Hi... Could anyone tell me what is the difference between these two Query and why they produce a different result ? I only want to get the current record from the JOB record. any help would very appreciated thanks in advance regards, Hartono Sutirman This one I use alias A in the SubQuery ************************************** SQL> ED Wrote file afiedt.buf 1 SELECT EMPLID, EFFDT 2 FROM PS_JOB 3* WHERE EFFDT = (SELECT MAX(A.EFFDT) FROM PS_JOB A WHERE A.EMPLID = EMPLID) SQL> / EMPLID EFFDT ----------- --------- 680000643 01-OCT-98 This one I use alias A in the main Query **************************************** SQL> ED Wrote file afiedt.buf 1 SELECT A.EMPLID, A.EFFDT 2 FROM PS_JOB A 3* WHERE A.EFFDT = (SELECT MAX(EFFDT) FROM PS_JOB WHERE EMPLID = A.EMPLID) SQL> / EMPLID EFFDT ----------- --------- 130344940 07-AUG-98 680000643 01-OCT-98 T68456789 06-APR-92 680000136 09-AUG-98 From owner-sqr-users@list.iex.net Thu Apr 8 16:21:31 1999 Date: Thu, 8 Apr 1999 17:05:07 -0400 From: Joe Patton Subject: Re: help with date format The SQR date input variable is looking for MM/DD/YYYY, MM-DD-YYYY, or MM.DD.YYYY. On your last try, you entered a valid date(01-17-1999) as far as the SQR date field was concerned. It looks like you made it past the SQR program's type checking on the last try, but you received an Oracle error. I would check the 'NLS_DATE_FORMAT' setting on your database or client software. Your Oracle native date format may be defaulting to 'DD-MON-YY', so a valid SQR date input variable might not be valid when the program executes a query and uses the date variable. Joe Patton RELTEC Corporation Aboukr Sadikh on 04/08/99 01:55:24 PM Please respond to SQR-USERS@list.iex.net To: Multiple recipients of list SQR-USERS cc: (bcc: Joe Patton/LLP/RELTECCORP) Subject: help with date format Hi Guys, I have tried different ways of entering the date, but it looks like any of the formats is recognized as a valid date format. Can the problem be an installation one?? Thanks in advance for your hints. BS. *************************************************************************** ************ Please press ENTER (Do not input a value): Report Began: 01:06:57 Update PaySheets with Pay Input Data Enter Payroll Run ID: 902 There is more than on Pay Calendar for the Run ID. You must identify the Pay Calendar. Enter Company ID (e.g. ccb): cob Enter Pay Group (e.g. sm1): gen Enter Pay End Date (e.g. 15-Nov-89): 17-Jan-99 (SQR 1943) The date '17-Jan-99' is not in one of the accepted formats listed below: MM/DD/YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM-DD-YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM.DD.YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] SYYYYMMDD[HH24[MI[SS[NNNNNN]]]] Enter Pay End Date (e.g. 15-Nov-89): 17-JAN-99 (SQR 1943) The date '17-JAN-99' is not in one of the accepted formats listed below: MM/DD/YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM-DD-YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM.DD.YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] SYYYYMMDD[HH24[MI[SS[NNNNNN]]]] Enter Pay End Date (e.g. 15-Nov-89): 17-01-99 (SQR 1943) The date '17-01-99' is not in one of the accepted formats listed below: MM/DD/YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM-DD-YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM.DD.YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] SYYYYMMDD[HH24[MI[SS[NNNNNN]]]] Enter Pay End Date (e.g. 15-Nov-89): 17-01-1999 (SQR 1943) The date '17-01-1999' is not in one of the accepted formats listed below: MM/DD/YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM-DD-YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM.DD.YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] SYYYYMMDD[HH24[MI[SS[NNNNNN]]]] Enter Pay End Date (e.g. 15-Nov-89): 17-Jan-1999 (SQR 1943) The date '17-Jan-1999' is not in one of the accepted formats listed below: MM/DD/YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM-DD-YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM.DD.YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] SYYYYMMDD[HH24[MI[SS[NNNNNN]]]] Enter Pay End Date (e.g. 15-Nov-89): 1999-01-17 (SQR 1943) The date '1999-01-17' is not in one of the accepted formats listed below: MM/DD/YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM-DD-YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM.DD.YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] SYYYYMMDD[HH24[MI[SS[NNNNNN]]]] Enter Pay End Date (e.g. 15-Nov-89): 99-01-17 (SQR 1943) The date '99-01-17' is not in one of the accepted formats listed below: MM/DD/YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM-DD-YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] MM.DD.YYYY [BC | AD] [HH:MI[:SS[.NNNNNN]] [AM | PM]] SYYYYMMDD[HH24[MI[SS[NNNNNN]]]] Enter Pay End Date (e.g. 15-Nov-89): 01-17-1999 (SQR 5528) ORACLE OFEN error 1843 in cursor 7: ORA-01843: not a valid month Error on line 966: (SQR 3725) Bad return fetching row from database. SQR: Program Aborting. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From owner-sqr-users@list.iex.net Thu Apr 8 17:08:27 1999 Date: Thu, 8 Apr 1999 17:46:53 -0400 From: "Holly N. Reid" Subject: Re: printing on the mainframe Hi Keri, 1. You will need to setup your setenv.sqc so that it knows that you are running on MVS with a DB2 database. 2. The is needed by MVS, because that's how it knows that it start a new page. (Set -GPRINT=YES) 3. You may want to check that your are using the correct report heading for your report. Yeah, I haven't had success sending the print to anything other than a line printer directly from MVS. We had to install special fonts so that our reports would have upper and lower case characters and our landscaped reports would go beyond 130 columns. I'm out of the office until late Monday. If you don't have the problem resolved before that, please email me back and I can send you our setup exactly. Hope that helps. Holly N. Reid Elleon Dier, Inc. elleond@bellsouth.net -----Original Message----- We have just installed PeopleSoft HRMS 7.5 with MVS/DB2 as our Database Server (DB2 v5.1). This is our first experience with SQR (v 4.3). I thought I could just run SQRs on the mainframe and they would come out formatted correctly. This didn't happen. If I use SQROUT DD SYSOUT=9 (which is a mainframe printer class for a Xerox OCE impact printer), the report comes out. The problems are 1. the first line is the garbase printer-init characters (E (0N &l0O &l8D &l88F (s16.66H &a9L &k2G). 2. There is a 1 on each of the subsequent pages where the top of page should be (like I would use if coding a COBOL report and using control characters 1-top of page, 0-double space... and then I would also use RECFM=FBA). 3. The pages are not breaking where they should be. The 1 mentioned above is never at the top of the page. This all also happens when I send the output to the mainframe line printer. When I try using SQROUT DD SYSOUT=L,DEST=U37 (which is a HP network laserjet printer that is also a VPS printer), the report never comes out. Instead a page comes out with Error Detected and the printer goes into EDRAINED status. I would be so HAPPY if someone could help me out. Thanks, Keri From owner-sqr-users@list.iex.net Thu Apr 8 18:49:41 1999 Date: Fri, 9 Apr 1999 01:35:20 +0100 From: Franck Masson Subject: Re: Editor info visualsqribe is not a freeware ? you can buy it from sqribe. visite our site www.sqribe.com and ask for a cotation. it is a window product at the price of a windows product. One licence is included with SQRibe enterprise server ( sqr server) since version 4.3.3 franck, Steve Krim wrote: > > Franck, > > Is visualSqribe freeware? or part of a bundle? > > Thanks, > > Steve > At 07:27 PM 4/8/99 +0100, you wrote: > >try the visualsqribe product from sqribe. > >it does what you want and more. > > > >franck, > > > >Steve Krim wrote: > >> > >> Has anyone created a Multi-Edit tmplate for SQR? If so, would you mind > >> sharing it? > >> > >> Thanks, > >> > >> Steve > > From owner-sqr-users@list.iex.net Thu Apr 8 20:22:36 1999 Date: Thu, 8 Apr 1999 21:12:32 -0400 From: Tony DeLia Subject: Re: How do I know What Qtr of Year it is ! Here's a simplified version in 'SQR lingo': let #qtr = round(#month/3+.33,0) -Tony DeLia Anthony Leung-New York wrote: > > Quick alogrithm: > > 1. Get the Month > 2. subtract month by 1 > 3. divide the result from step 2 by 3 > 4. get the integer part and add 1 to it. That will be your qtr. > -- Tony DeLia AnswerThink Consulting Group PeopleSoft Solutions Practice - Delphi Partners tdelia@erols.com From owner-sqr-users@list.iex.net Thu Apr 8 20:17:22 1999 Date: Thu, 8 Apr 1999 19:50:00 -0700 From: Steve Bergin Subject: Can use SQR to "update statistics on database" ? Database is Centure 6.1.2 PTF-4 running on Windows NT 4.0; workstations are Windows 95 HRizon is 7.x SQRW is 3.x Has anyone put the "update statistics on database" database command in an SQR so the user can run it just like they run their other reports? From owner-sqr-users@list.iex.net Fri Apr 9 02:45:00 1999 Date: Fri, 9 Apr 1999 17:32:07 +1000 From: Pietersz Mark x8938 Subject: Re: Run Recurrence ?? Hartono If you press the new button underneath the run recurrence drop down on the Process Scheduler Request screen you can create a new recurrence. A screen with a calendar will pop up and then you can create your recurrence that runs once per month. Once the first instance of the process has been run another will be queued for the time specified by your recurrence definition. The use of the run recurrence is that a number of processes can use the same recurrence definition. Regards Mark Pietersz > -----Original Message----- > From: Hartono Sutirman [SMTP:hsutirman@JATIS.COM] > Sent: Sunday, 9 April 2000 17:09 > To: Multiple recipients of list SQR-USERS > Subject: Run Recurrence ?? > > Hi.. > > I am doing a Peoplesoft HR 7.0 Asia Pacific version running on oracle > 7.3.3 > Can I run a SQR Report/SQR Process automatically every month ?? > As far as I know we need to click the Run button to run the > report/process, but this would mean we need a person/operator to run it > every month. If this is the case, I want to know what is the use of the > RUN RECURRENCE ?? > > Is there a way to run the report/process every month without the need > for an operator/user to click the run button ?? Or at least can we > design that we click only once and for the next month the Process/Report > would run automatically ??. > > > Immediate reply would very appreciated !! > thank you very much... > > regards, > Hartono Sutirman ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This email message has been swept for the presence of computer viruses. CitiPower Pty ACN 064 651 056 ********************************************************************** From owner-sqr-users@list.iex.net Fri Apr 9 04:36:40 1999 Date: Fri, 9 Apr 1999 16:26:34 +0700 From: Hartono Sutirman Subject: Re: Run Recurrence ?? So it's mean For the First time we need user/operator to click the run button to run the process and then for the next/rest of the process will scheduled and run automatically according what we have define in the run recurrence ?? And for the next month we don't need to click a run button to run the process ?? So we only need to run the process/report once.. !! Am I correct ?? regards, Hartono Sutirman Pietersz Mark x8938 wrote: > Hartono > > If you press the new button underneath the run recurrence drop down on the > Process Scheduler Request screen you can create a new recurrence. A screen > with a calendar will pop up and then you can create your recurrence that > runs once per month. Once the first instance of the process has been run > another will be queued for the time specified by your recurrence definition. > > The use of the run recurrence is that a number of processes can use the same > recurrence definition. > > Regards > > Mark Pietersz > > > -----Original Message----- > > From: Hartono Sutirman [SMTP:hsutirman@JATIS.COM] > > Sent: Sunday, 9 April 2000 17:09 > > To: Multiple recipients of list SQR-USERS > > Subject: Run Recurrence ?? > > > > Hi.. > > > > I am doing a Peoplesoft HR 7.0 Asia Pacific version running on oracle > > 7.3.3 > > Can I run a SQR Report/SQR Process automatically every month ?? > > As far as I know we need to click the Run button to run the > > report/process, but this would mean we need a person/operator to run it > > every month. If this is the case, I want to know what is the use of the > > RUN RECURRENCE ?? > > > > Is there a way to run the report/process every month without the need > > for an operator/user to click the run button ?? Or at least can we > > design that we click only once and for the next month the Process/Report > > would run automatically ??. > > > > > > Immediate reply would very appreciated !! > > thank you very much... > > > > regards, > > Hartono Sutirman > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > This email message has been swept for the presence of computer viruses. > > CitiPower Pty ACN 064 651 056 > ********************************************************************** From owner-sqr-users@list.iex.net Fri Apr 9 05:42:46 1999 Date: Fri, 9 Apr 1999 06:37:03 -0400 From: Steve Schelske Subject: Re: Search directories for SQR on MVS This is a multi-part message in MIME format. ------=_NextPart_000_0006_01BE8253.7EA4F970 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hello Holly, We added a FileAid step to the SQR JCL that can search a group of PDSs and pull the desired member from the first PDS that contains that member. The extracted member is output to a temporary PDS which is then input to SQR on the SQRIN DD. You'll notice too (as you're probably already aware), that you are able to concatenate PDSs on the SQRINC DD. I'm attaching a copy of the Proc and the calling JCL. -----Original Message----- From: Discussion of SQR, SQRIBE Technologies's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Holly N. Reid Sent: Thursday, April 08, 1999 3:23 PM To: Multiple recipients of list SQR-USERS Subject: Search directories for SQR on MVS Is there a way to first search one directory, then if its not found there search another directory for an SQR? I've heard that you can't do this on MVS. You can do it on every other environment, so I'm hoping this is not true. Please respond. Thanks, Holly N. Reid Elleon Dier, Inc. elleond@bellsouth.net ------=_NextPart_000_0006_01BE8253.7EA4F970 Content-Type: text/plain; name="shlsqrfi.txt" Content-Disposition: attachment; filename="shlsqrfi.txt" Content-Transfer-Encoding: quoted-printable ++SQRF SQR SHELL - OUTPUT TYPE IS FILE //%OPRID%%SFX% JOB %JOBACCT%,'DEV750 SQR FILE',CLASS=3DF,MSGCLASS=3D8 //%PRCSNAME% EXEC PSSQRFT, // SQRID=3D'%PRCSNAME%', // PSHLQ=3DAMTOIFS, // OUTNODE=3D'%OUTDEST%.%OPRID%', // PRCSNAME=3D'%PRCSNAME%', // ENV=3DFSDEV, // DBENV=3DI //COPY.SYSIN DD * $$DD01 COPY MEMBER=3D%PRCSNAME% /* //SQR.SYSIN DD * %SQRPARMS% /* //* //* //********************************************************************* //* THIS STEP WILL ENSURE TO UPDATE THE STATUS OF THE PROCESS INSTANCE //* TO AN 'ERROR' WHEN THE ABOVE SQR PROGRAM ABNORMALLY TERMINATED //* //* AS CONDITION PARAMETER STATES, THIS STEP WILL ONLY RUN WHEN THE //* PREVIOUS STEP RECEIVED A RETURN CODE OTHER THAN 0 OR 4 //* //* THE LAST PARAMETER IS USED TO SPECIFY THE JCL JOB NAME IN THE //* MESSAGE TEXT OF PROCESS MONITOR //********************************************************************* //PTRCSERR EXEC PSSQRFT, // SQRID=3DPTRCSERR, // OUTNODE=3D'%OUTDEST%.%OPRID%', // PSHLQ=3DAMTOIFS, // PRCSNAME=3D'%PRCSNAME%', // ENV=3DFSDEV, // DBENV=3DI, // COND=3D((0,EQ),(4,EQ),EVEN) //COPY.SYSIN DD * $$DD01 COPY MEMBER=3DPTRCSERR /* //SQR.SYSIN DD * %SQRPARMS% %OPRID%%SFX% /* // ------=_NextPart_000_0006_01BE8253.7EA4F970 Content-Type: text/plain; name="pssqrft.txt" Content-Disposition: attachment; filename="pssqrft.txt" Content-Transfer-Encoding: quoted-printable //PSFTSQRF PROC DB2LOAD=3D'AMPSTDB2.SDSNLOAD', DB2 LOAD LIB // DB2EXIT=3D'AMPMDB2.SDSNEXIT', DB2 LOAD LIB // SQRHLQ=3D'AMTOIFS.SQR411.SQR', SQR HLQ FOR LOAD, = ERRDAT, IB //* LINKLIB = IB // PSHLQ=3D, SQR,SQC PARMS LIB // REL=3DFS750, PEOPLESOFT VERSION // OUTNODE=3D, // PRCSNAME=3D, // ENV=3D, // DBENV=3D, // PRMID=3DNOPARMS, SQR PARM ID // SYSO=3D*, SYSOUT // SQRID=3D SQR MEMBER ID //******************************************************************** //* CHANGED DEFAULT OUTPUT DATASET FROM PDS TO SEQUENTIAL DATASET. * //* PDS CAUSING SHARING PROBLEMS WHEN ONE PERSON IS LOOKING AT * //* REPORT OUTPUT AND SOMEONE ELSE IS TRYING TO RUN A JOB. * //* SEQUENTIAL DATASETS SHOULD REDUCE THIS CONTENTION IF THERE IS * //* MORE THAN ONE OUTPUT DATASET. * //******************************************************************** //DELOUT EXEC PGM=3DIEFBR14 //DD1 DD DSN=3D&OUTNODE..&ENV..&PRCSNAME, // DISP=3D(MOD,DELETE,DELETE), // SPACE=3D(TRK,(1,1),RLSE) //******************************************************************** //******************************************************************** //* ADDED A STEP TO CONCATENATE INPUT SOURCE LIBRARIES * //* FILEAID WILL COPY THE MEMBER IT FINDS FIRST TO THE TEMP PDS * //******************************************************************** //COPY EXEC PGM=3DFILEAID //DD01 DD DSN=3D&PSHLQ..&REL..&ENV..SQRSRC, // DISP=3D(SHR,KEEP,KEEP) // DD DSN=3D&PSHLQ..&REL..SQRSRC, // DISP=3D(SHR,KEEP,KEEP) //DD01O DD DSN=3D&&TEMPPDS, // DISP=3D(NEW,PASS,DELETE), // UNIT=3DDISK, // SPACE=3D(TRK,(2,1,1),RLSE), // DCB=3D(RECFM=3DVB,LRECL=3D256,BLKSIZE=3D15476) //SYSPRINT DD SYSOUT=3D&SYSO //SYSOUT DD SYSOUT=3D&SYSO //SYSUDUMP DD SYSOUT=3D&SYSO //SYSIN DD DUMMY //* //SQR EXEC PGM=3DIKJEFT01 //STEPLIB DD DSN=3D&DB2EXIT.,DISP=3DSHR //* DD DSN=3D&SQRHLQ..LOAD,DISP=3DSHR // DD DSN=3DAMPACNFG.TEST.DENU.STD.LOADIFS,DISP=3DSHR // DD DSN=3D&DB2LOAD.,DISP=3DSHR //SYSPRINT DD SYSOUT=3D&SYSO //SYSTSPRT DD SYSOUT=3D&SYSO //********************************************************************* //* UNCOMMENT CTRANS BELOW IF GET ERROR: UNABLE TO LOAD RUNTIME I/O //* MODULE. SET TO MITI-DELIVERED LINKLIB WHICH CONTAINS DYNAMIC //* C RUNTIME LIBRARY. //********************************************************************* //CTRANS DD DSN=3D&SQRHLQ..LINKLIB,DISP=3DSHR //SQRDIR DD DSN=3D&SQRHLQ..ERRDAT,DISP=3DSHR //SQRINC DD DSN=3D&PSHLQ..&REL..&ENV..SQRINC,DISP=3DSHR // DD DSN=3D&PSHLQ..&REL..SQRINC,DISP=3DSHR //SYSTERM DD SYSOUT=3D&SYSO //SYSOUT DD SYSOUT=3D&SYSO //DBGLOG DD SYSOUT=3D&SYSO //SYSTMPDB DD UNIT=3DDISK,SPACE=3D(TRK,25) VS1 ONLY //SQRIN DD DSN=3D&&TEMPPDS(&SQRID),DISP=3D(SHR,PASS) //SYSTERM DD SYSOUT=3D&SYSO //SQROUT DD DSN=3D&OUTNODE..&ENV..&PRCSNAME, // DISP=3D(NEW,CATLG,DELETE), // UNIT=3DDISK, // VOL=3DSER=3DIFS004, // SPACE=3D(TRK,(10,5),RLSE), // DCB=3D(RECFM=3DVB,LRECL=3D15472,BLKSIZE=3D15476) //SYSERR DD SYSOUT=3D&SYSO //SYSTSIN DD DSN=3D&PSHLQ..&REL..PARMLIB(SQRPARM&DBENV),DISP=3DSHR //SYSIN DD DSN=3D&PSHLQ..&REL..PARMLIB(&PRMID),DISP=3DSHR //MAXIN DD DSN=3D&PSHLQ..&REL..PARMLIB(ALLMAXES),DISP=3DSHR //SQRINI DD DSN=3D&PSHLQ..&REL..SQRSRC(PSSQRINI),DISP=3DSHR //* //DELETE EXEC PGM=3DIEFBR14 //DD1 DD DSN=3D&&TEMPPDS, // DISP=3D(MOD,DELETE,DELETE), // SPACE=3D(TRK,(1,1,1),RLSE) ------=_NextPart_000_0006_01BE8253.7EA4F970-- From owner-sqr-users@list.iex.net Fri Apr 9 06:54:03 1999 Date: Fri, 9 Apr 1999 07:47:51 -0700 From: Steve Hall Subject: SQR Run times vs C I remember an engagement where this fellow claimed C++ was 'faster' than SQR, even running over the network! The point is: make certain to run SQL-intensive programs on the server, to cut down on network traffic. Network traffic is far and away the biggest performance-blocker. The next biggest performance-blocker is bad SQL. Good SQL is efficient and uses indexes. Compiled language vs. scripted language is a red herring. It just doesnt make any difference. We are basically sending SQL statements to ORACLE (or whatever), and waiting for the results to arrive in thousands of little packets. The only difference is compiled languages (C) require the poor programmer to crank up the compiler for every teeny tiny little change. Development time takes forever and the whole enterprise becomes boring and a waste of time. !Script Languages, Si! !Compiled Languages, No! From owner-sqr-users@list.iex.net Fri Apr 9 14:12:16 1999 Date: Fri, 9 Apr 1999 13:54:42 -0400 From: Yana Tolchin Subject: Printing multiple reports Hi, I need to print a summary page report before the detail report, running only one SQR file. I don't know, how to do this. Also, is it possible to print GRAND TOTAL of the report on EACH page (like part of the header, for example)? I'll appreciate all the help. Yana From owner-sqr-users@list.iex.net Fri Apr 9 14:53:46 1999 Date: Fri, 9 Apr 1999 13:31:52 -0600 From: Juan Alvarado Subject: Re: Printing multiple reports you can do this with declare-report and use-report feature in the sqr program. For the topic of the print a grand total in the header, you can print any variable in the header section. I hope this help you -----Original Message----- From: Yana Tolchin [mailto:Yana_Tolchin@EDELMAN.COM] Sent: Friday, April 09, 1999 11:55 AM To: Multiple recipients of list SQR-USERS Subject: Printing multiple reports Hi, I need to print a summary page report before the detail report, running only one SQR file. I don't know, how to do this. Also, is it possible to print GRAND TOTAL of the report on EACH page (like part of the header, for example)? I'll appreciate all the help. Yana From owner-sqr-users@list.iex.net Fri Apr 9 15:18:46 1999 Date: Fri, 9 Apr 1999 13:04:23 PDT From: srinivasa Bikki Subject: Re: Printing multiple reports Try using two seperate SQL statements, the first one like begin-select .. sum(.. ) from .. do print-report group by .. end-select then do the second SQl statement fro detail report. U can use different type of header for each report with in the same sqr. Hope this helps.. Srinivas Bikki >From: Yana Tolchin >Reply-To: SQR-USERS@list.iex.net >To: Multiple recipients of list SQR-USERS >Subject: Printing multiple reports >Date: Fri, 9 Apr 1999 13:54:42 -0400 > > Hi, > I need to print a summary page report before the detail report, > running only one SQR file. I don't know, how to do this. > Also, is it possible to print GRAND TOTAL of the report on EACH page > (like part of the header, for example)? > I'll appreciate all the help. > > Yana > _______________________________________________________________ Get Free Email and Do More On The Web. Visit http://www.msn.com From owner-sqr-users@list.iex.net Fri Apr 9 19:38:24 1999 Date: Fri, 9 Apr 1999 17:16:58 -0700 From: Keri Palko Subject: mainfram parmlib ? I have another question. At this point, it looks like I'm going to have lots of SQR questions and not many answers for anyone else. Hopefully I'll work through my questions, learn more about SQR, and then be a resource for others. Since it looks like I will be a frequent poster to this list, a short introduction is in order. My name is Keri Palko, and I work at UC Davis Medical Center in Sacramento. We have recently installed PeopleSoft HRMS 7.5 with MVS/DB2 (5.1) and are working on the implementation of it. My only SQR experience is the SQL/SQR class that PeopleSoft puts on (I don't think this is a good class). I have coded one small conversion program (starting from another one) that I got to run on the client and the mainframe. Is there any kind of SQR for Mainframe book out there? The SQRIBE user guide and language reference don't seem to be terribly MVS friendly. When changing PeopleSoft delivered reports that use input data (as of date from Process Scheduler, or reports using the oprid for security,...), what do people normally do to get them to work on the mainframe? I got one suggestion of writing an SQR before the report SQR to populate the process request table. I thought maybe it would be easier to get rid of the read to the process request table and just populate the variable another way (like parms or input files). Which brings me to my next question... What is the PARMLIB for (dd SYSIN)? It seems that all the delivered SQRs use the NOPARMS member. Can you create a member and use it as you would use parms in COBOL/DB2 programs? If so, can anyone tell me how to use the member in the SQR? Would I treat it like any other input file? Open the file, read it, assigning the data to parm variables for the SQR? Thanks, Keri PS. If anyone saw my mainframe printer question yesterday, I had a mistake. Our mainframe printer isn't an impact printer. It's a OCE, Page Stream, LED printer. It's still not coming out correctly. From owner-sqr-users@list.iex.net Fri Apr 9 19:53:49 1999 Date: Fri, 9 Apr 1999 20:42:06 -0400 From: John Ferguson Subject: Re: mainfram parmlib ? I am new to SQR also and you are correct, This is a great group for questions. I enjoy reading the postings in this group everyday knowing I'm going to learn something new or another way of looking at something I already know. There is a book called SQR in Peoplesoft and other Applications. You can find this book at http://www.manning.com. The book is due out this month and only cost $44.95. One of the posters to this group, Tony Delia, recommended the book highly. I found the book at Amazon.com for $10 less but when I went back to order I could no longer find it on their site. I hope this helps in some way. John Keri Palko wrote: > I have another question. At this point, it looks like I'm going to have > lots of SQR questions and not many answers for anyone else. Hopefully I'll > work through my questions, learn more about SQR, and then be a resource for > others. Since it looks like I will be a frequent poster to this list, a > short introduction is in order. My name is Keri Palko, and I work at UC > Davis Medical Center in Sacramento. We have recently installed PeopleSoft > HRMS 7.5 with MVS/DB2 (5.1) and are working on the implementation of it. My > only SQR experience is the SQL/SQR class that PeopleSoft puts on (I don't > think this is a good class). I have coded one small conversion program > (starting from another one) that I got to run on the client and the > mainframe. > > Is there any kind of SQR for Mainframe book out there? The SQRIBE user > guide and language reference don't seem to be terribly MVS friendly. > > When changing PeopleSoft delivered reports that use input data (as of date > from Process Scheduler, or reports using the oprid for security,...), what > do people normally do to get them to work on the mainframe? I got one > suggestion of writing an SQR before the report SQR to populate the process > request table. I thought maybe it would be easier to get rid of the read to > the process request table and just populate the variable another way (like > parms or input files). Which brings me to my next question... > > What is the PARMLIB for (dd SYSIN)? It seems that all the delivered SQRs > use the NOPARMS member. Can you create a member and use it as you would use > parms in COBOL/DB2 programs? If so, can anyone tell me how to use the > member in the SQR? Would I treat it like any other input file? Open the > file, read it, assigning the data to parm variables for the SQR? > > Thanks, > Keri > > PS. If anyone saw my mainframe printer question yesterday, I had a mistake. > Our mainframe printer isn't an impact printer. It's a OCE, Page Stream, LED > printer. It's still not coming out correctly. From owner-sqr-users@list.iex.net Sat Apr 10 09:36:39 1999 Date: Sat, 10 Apr 1999 06:57:33 -0700 From: Aboukr Sadikh Subject: Re: help with Date format Hi there, I found the problem. In SQR version 4, the way to input dates is: type=date format=(the format you want), instead of type=date. Thanks for your hints. BS. --- Krishnan Sarangarajan wrote: > > Enter Pay End Date (e.g. 15-Nov-89): > > (SQR 2514) Enter a date in one of the following > formats: > > MM/DD/YYYY [HH:MI[:SS[.NNNNNN]] [AM | PM]] > > MM-DD-YYYY [HH:MI[:SS[.NNNNNN]] [AM | PM]] > > MM.DD.YYYY [HH:MI[:SS[.NNNNNN]] [AM | PM]] > > SYYYYMMDD[HH24[MI[SS[NNNNNN]]]] > > > > I changed the date setting in Contro Panel, but I > still have the same > > error. Any ideas??? > > > > Thanks in advance. > > > > BS > > > Dear Mr. Sadikh, > With regards to the date format, setting the > date format using the > control panel may in fact only alter the date > format, the way Windows or the > work-station looks at it. If you would like to alter > the manner in which the > database displays the date, or extracts it, you > could do the following : > > begin-sql > alter session set nls_date_format = 'DD-MON-YYYY' > end-sql > commit > > The above code can reside within your SQR or be > called using an include file > but in any case, it will alter the date format only > for the session but > hopefully, it helps. > > Sincerely, > Krishnan > > > Krishnan Sarangarajan > ksaranga@ruan.com > Ruan Transportation > 3200 Ruan Center (DSM 6th Floor) > Des Moines, IA 50309 > [O] (515) 245-5655 > [F] (515) 247-2284 > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From owner-sqr-users@list.iex.net Mon Apr 12 03:28:10 1999 Date: Mon, 12 Apr 1999 15:15:44 +0700 From: Hartono Sutirman Subject: Report Parameter ! Hi... I'm a beginner in peoplesoft and just learning about SQR. I want to make a report with a parameter called AsOfDate, to make this report I copied the existing panel that already have the Parameter AsOfDate. But everytime I click the run button, the parameter already have a value ?? Where does this value come from ??? What I want to do is, to default the parameter to current date. Does anyone know where the program to default the parameter value is located ??? any suggestion would very appreciated, thanks in advance ! regards, Hartono Sutirman From owner-sqr-users@list.iex.net Mon Apr 12 09:12:12 1999 Date: Mon, 12 Apr 1999 08:47:31 -0400 From: Eric Dimick Eastman Subject: Separate strings for quotes. Hello all, This is by no means meant as criticism of anyone. I have seen this done several times and am wondering why people do it. In an answer to a previous question on the list someone sent the following code using a separate string for each quote character he wanted to add. > let $WhereClause = 'Where (A.HMRGP = ' || '''' || '01' || '''' > let $WhereClause = $WhereClause || ' or A.HMRGP = ' || '''' || '15' || '''' || ')' > Most of the quotes and all of the concatenation are unnecessary. The above could be replaced with the following code: Let $WhereClause = 'where (A.HMRGP = ''01'' or A.HMRGP = ''15'')' I am just curious why people like to treat the "'" character so specially. Cheers, Eric -- ------------------------------------------------------------------------ Eric Dimick Eastman | To match what we [humans] can do, there would Ray Ontko & Co. | have to 3 billion of them [computers] . . . erice@ontko.com | wired together, . . . talking incessantly. http://www.ontko.com | Lewis Thomas, The Lives of a Cell 1974 From owner-sqr-users@list.iex.net Mon Apr 12 08:21:10 1999 Date: Mon, 12 Apr 1999 08:05:46 -0500 From: Deepak Joshi Subject: SQR error on AS/400 I am trying to run the following SQR on the AS/400. But when I call the SQR, I get an error during pre-run time. The code and the error is as given below, CODE Begin-Procedure Get-Legacy-Values Begin-Select loops=100 A.HMRCCD A.HMRNID ... More fields .... Some Let's and Do's FROM HR006P A [$WhereClause] END-SELECT End-Procedure !Get-Legacy-Values **The $whereclause is defined elsewhere in the program and contains Where (A.HMRGP = '01' or A.HMRGP = '15') ERROR I get the following error SQR V4.1.3 Copyright (C) SQRIBE Technologies, 1994-98. All Worldwide Rights Reserved. (SQR 5528) DB2 SQL PREPARE/DECLARE error -104 in cursor 4: (SQR 5536) Unknown error message number: -104. SQL: select A.HMRCCD, A.HMRNID, other fields FROM HR006P A [? Error on line 300: (SQR 3716) Error in SQL statement. Errors were found in the program file. SQR: Program Aborting. Press ENTER to end terminal session. I get this error when I use the STRSQR command on the AS/400. Any assistance to correct the problem will be appreciated. Do not know what I am doing wrong. When I replace the [$whereclause] with the actual value the program works. What is the problem ? Thanks, Deepak From owner-sqr-users@list.iex.net Mon Apr 12 08:47:41 1999 Date: Mon, 12 Apr 1999 06:39:08 -0700 From: Les Hancock Subject: Re: SQR error on AS/400 Try using \$whereclause\ instead of [$whereclause] IBM Mainframes (and I guess AS/400) don't like the brackets. --- Deepak Joshi wrote: > I am trying to run the following SQR on the AS/400. > But when I call the > SQR, I get an error during pre-run time. > > The code and the error is as given below, > CODE > Begin-Procedure Get-Legacy-Values > > Begin-Select loops=100 > A.HMRCCD > A.HMRNID > ... More fields > > .... Some Let's and Do's > > FROM HR006P A > [$WhereClause] > END-SELECT > > End-Procedure !Get-Legacy-Values > > **The $whereclause is defined elsewhere in the > program and contains > Where (A.HMRGP = '01' or A.HMRGP = '15') > > ERROR > I get the following error > SQR V4.1.3 > Copyright (C) SQRIBE Technologies, 1994-98. All > Worldwide Rights Reserved. > (SQR 5528) DB2 SQL PREPARE/DECLARE error -104 in > cursor 4: > (SQR 5536) Unknown error message number: -104. > SQL: select A.HMRCCD, A.HMRNID, other fields > FROM > HR006P A [? > Error on line 300: > (SQR 3716) Error in SQL statement. > Errors were found in the program file. > SQR: Program Aborting. > Press ENTER to end terminal session. > > > I get this error when I use the STRSQR command on > the AS/400. Any > assistance to correct the problem will be > appreciated. Do not know what I > am doing wrong. When I replace the [$whereclause] > with the actual value the > program works. What is the problem ? > > > Thanks, Deepak > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From owner-sqr-users@list.iex.net Mon Apr 12 08:59:02 1999 Date: Mon, 12 Apr 1999 09:47:33 EDT From: Ken Look Subject: Re: mainfram parmlib ? Keri, Yes, you can make your own parmlib members. The SYSIN Parmlib member can be used for supplying the input parmaters for your specific SQR. We're using Peoplesoft 6.02, DB2 v5 on IBM mainframe. For example, one of my parmlib members has the following: 0 OPRID RUN_CNTL_ID B P23 O HCS E The Line 1, 0 (zero) indicates you're running traditional batch, so the program doesn't try to access the process scheduler. The next 2 lines are essentially constants when running in batch mode (they're used when running thru process scheduler). The rest of the parm values are prompts for input from the SQR program, so these will vary from program to program. Ken Look Look Consulting From owner-sqr-users@list.iex.net Mon Apr 12 08:37:15 1999 Date: Mon, 12 Apr 1999 09:19:17 -0500 From: David Anderson Subject: SQR error on AS/400 -Reply Be sure your where clause is defined using the correct number of apsotrophies: let $WhereClause = 'Where (A.HMRGP = ' || '''' || '01' || '''' let $WhereClause = $WhereClause || ' or A.HMRGP = ' || '''' || '15' || '''' || ')' I split this into two lines only for readability. From owner-sqr-users@list.iex.net Mon Apr 12 10:19:07 1999 Date: Mon, 12 Apr 1999 08:04:03 -0700 From: "Robin Drury." Subject: Re: SQR error on AS/400 On AS400 you need to replace the brackets ('[', ']') with '\' at both ends. From owner-sqr-users@list.iex.net Mon Apr 12 10:52:24 1999 Date: Mon, 12 Apr 1999 10:37:08 -0500 From: "Korbel, Gordon E." Subject: Re: Can use SQR to "update statistics on database" ? I have done this successfully in sybase -- just make sure the USERID runnign the SQR has the needed permissions, and enclose the platfrom-specific syntax in a begin-sql block! Thanks, -Gordon -----Original Message----- From: Steve Bergin [mailto:Steve.Bergin@KAISERAL.COM] Sent: Thursday, April 08, 1999 9:50 PM To: Multiple recipients of list SQR-USERS Subject: Can use SQR to "update statistics on database" ? Database is Centure 6.1.2 PTF-4 running on Windows NT 4.0; workstations are Windows 95 HRizon is 7.x SQRW is 3.x Has anyone put the "update statistics on database" database command in an SQR so the user can run it just like they run their other reports? From owner-sqr-users@list.iex.net Mon Apr 12 11:33:18 1999 Date: Mon, 12 Apr 1999 11:12:46 -0500 From: Deepak Joshi Subject: Re: SQR error on AS/400 Robin, Thanks. I just found it out after checking the PeopleSoft supplied SQR's. Deepak On Monday, April 12, 1999 10:04 AM, Robin Drury. [SMTP:Robin_Drury@DTCONSULTING.COM] wrote: > On AS400 you need to replace the brackets ('[', ']') with '\' at both ends. From owner-sqr-users@list.iex.net Mon Apr 12 12:40:00 1999 Date: Mon, 12 Apr 1999 10:23:59 -0700 From: Sharon Brandow Subject: scannable amount enclosed Hi All, I'm trying to create a returnable stub for the Benefits Billing Statement. The stub needs to include an amount-enclosed scannable area, where the insured recipients write in how much they are returning. The stub and check are sent directly to our bank, which then scans the stub, reading the scan line and the amount enclosed. The amount enclosed area is a shaded box, with unshaded boxes inside, one for each digit. Here is a representation of it, with S being a shaded position, W being a white box, and . being the decimal point: SSSSSSSSSSSSSSSSS $ SWSWSWSWSWSW.WSWS SSSSSSSSSSSSSSSSS Here are the bank's specifications: Amount Enclosed area to be printed in drop-out-ink. - box size of 0.220" high by 0.180" wide (this is the W) - boxes to be spaced 0.031" apart (spacing for dollars/cents to be 0.062" apart) - box group outlined by 0.150" drop-out-ink I have not been able to adjust the height of the boxes, and can only adjust the width of the boxes (W) and shaded areas between the boxes (S) by .1" increments. This is written in SQR version 4 and is being printed on an HP4si printer using PCL. I've tried both fixed and proportional fonts and various pitches and point sizes. But nothing I've tried changes the widths in other than .1" increments. Here is my code: alter-printer font-type=fixed !The manual states that fixed fonts should be used !for graphics printing, but I've tried both. font=3 !Courier, but have tried Times Roman and Helvetica. ! print top shaded line: graphic (Ln, Col, 25) Box 1 0 15 ! print $ sign: print '$' (+1, Col ) bold alter-printer pitch=20 !tried values above and below point-size=8 !tried values above and below ! print boxes and shading between boxes: graphic (0, Col, 1) Box 1 0 15 graphic (0, +3, 1) Box 1 0 15 graphic (0, +3, 1) Box 1 0 15 and so on... I haven't tackled trying to change the box height yet. Any suggestions will be greatly appreciated. Sharon Brandow U of Utah From owner-sqr-users@list.iex.net Mon Apr 12 16:07:59 1999 Date: Mon, 12 Apr 1999 15:05:52 -0500 From: Carlton Conley Subject: Re: Report Parameter ! if you are using as delivered here is the flow: {prompt-date} is defined in the setenv.sqc So you would then by including the askaod.sqc the following: display 'Enter the ''As Of'' Date ({Prompt-Date}) for this report or press' input $AsOfDate 'enter to default today''s date as the ''As Of'' date' etc If the $AsOfDate is = '' then it uses $AsOfNow which it gets from Curdttim.sqc which sets that variable = to depending on the database, essentially the SYSDATE. So you need to include all the sqc's mentioned and any referenced within them to have the prompt-date = the sysdate if not filled in by the user. Hope that helps Carlton > -----Original Message----- > From: Discussion of SQR, SQRIBE Technologies's database reporting > language [mailto:SQR-USERS@list.iex.net]On Behalf Of Hartono Sutirman > Sent: Monday, April 12, 1999 3:16 AM > To: Multiple recipients of list SQR-USERS > Subject: Report Parameter ! > > > Hi... > > I'm a beginner in peoplesoft and just learning about SQR. > > I want to make a report with a parameter called AsOfDate, to make this > report I copied the existing panel that already have the Parameter > AsOfDate. > But everytime I click the run button, the parameter already have a value > > ?? > Where does this value come from ??? > What I want to do is, to default the parameter to current date. > > Does anyone know where the program to default the parameter value is > located ??? > > any suggestion would very appreciated, > thanks in advance ! > > regards, > Hartono Sutirman > From owner-sqr-users@list.iex.net Mon Apr 12 17:21:18 1999 Date: Mon, 12 Apr 1999 15:09:04 -0700 From: Bryan Richey Subject: Optional fields from a runctl panel To whom may know the answer, I am writing an SQR that will be kicked off by a runctl panel in PeopleSoft. There will be one of three possible reports that will run depending on certain fields. Is there a way that I can code my where clause to either equal nulls for a field that is optionally populated in the runctl panel? _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From owner-sqr-users@list.iex.net Mon Apr 12 17:22:28 1999 Date: Mon, 12 Apr 1999 15:09:46 -0700 From: Bryan Richey Subject: Optional fields from a runctl panel To whom may know the answer, I am writing an SQR that will be kicked off by a runctl panel in PeopleSoft. There will be one of three possible reports that will run depending on certain fields. Is there a way that I can code my where clause to either equal nulls or the value from the panel field for a field that is optionally populated in the runctl panel? _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From owner-sqr-users@list.iex.net Mon Apr 12 17:45:53 1999 Date: Mon, 12 Apr 1999 18:34:37 -0400 From: Paul Haninger Subject: Re: Report Parameter ! You can determine the record where the as of date is coming from by looking at the panel in the designer. Chances are, the reason the date is filled in is because someone saved the record with the operator id you are using. Once is has been saved, the panel will display the current contents of the fields each time it is displayed. You could use peoplecode to set the value each time the panel is displayed to the current system date. Hope this helps -----Original Message----- From: Hartono Sutirman To: Multiple recipients of list SQR-USERS Date: Monday, April 12, 1999 4:18 AM Subject: Report Parameter ! >Hi... > >I'm a beginner in peoplesoft and just learning about SQR. > >I want to make a report with a parameter called AsOfDate, to make this >report I copied the existing panel that already have the Parameter >AsOfDate. >But everytime I click the run button, the parameter already have a value > >?? >Where does this value come from ??? >What I want to do is, to default the parameter to current date. > >Does anyone know where the program to default the parameter value is >located ??? > >any suggestion would very appreciated, >thanks in advance ! > >regards, >Hartono Sutirman > From owner-sqr-users@list.iex.net Mon Apr 12 18:05:44 1999 Date: Mon, 12 Apr 1999 16:11:35 -0700 From: Dominick LoGiudice Subject: how do I read an variable length file Does anyone have an example of reading an variable length file ? From owner-sqr-users@list.iex.net Mon Apr 12 18:47:22 1999 Date: Tue, 13 Apr 1999 09:35:47 +1000 From: Pietersz Mark x8938 Subject: Re: Can use SQR to "update statistics on database" ? In oracle I create temporary tables and analyse them to improve performance BEGIN-SQL ANALYZE TABLE [$TempTableName] COMPUTE STATISTICS END-SQL I imagine that analyse database will be just as straight forward Rgds Mark Pietersz > -----Original Message----- > From: Korbel, Gordon E. [SMTP:GEKORBEL@NORSTAN.COM] > Sent: Tuesday, 13 April 1999 1:37 > To: Multiple recipients of list SQR-USERS > Subject: Re: Can use SQR to "update statistics on database" ? > > I have done this successfully in sybase -- just make sure the USERID > runnign > the SQR has the needed permissions, and enclose the platfrom-specific > syntax > in a begin-sql block! > > Thanks, > > -Gordon > > -----Original Message----- > From: Steve Bergin [mailto:Steve.Bergin@KAISERAL.COM] > Sent: Thursday, April 08, 1999 9:50 PM > To: Multiple recipients of list SQR-USERS > Subject: Can use SQR to "update statistics on database" ? > > > Database is Centure 6.1.2 PTF-4 running on Windows NT 4.0; workstations > are > Windows 95 > HRizon is 7.x > SQRW is 3.x > > Has anyone put the "update statistics on database" database command in an > SQR so > the user can run it just like they run their other reports? ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This email message has been swept for the presence of computer viruses. CitiPower Pty ACN 064 651 056 ********************************************************************** From owner-sqr-users@list.iex.net Mon Apr 12 19:24:09 1999 Date: Mon, 12 Apr 1999 17:13:42 PDT From: Ed Kelly Subject: Re: Optional fields from a runctl panel Bryan, This can be done very easilt using dynamic SQL. There are plenty of good examples in this User Group's Archive, but here's a simplistic example. Let's assume that one of the optional fields is a From Date value. After you've retrieved (and optionally formatted) the field from the run control record, try something like the following: If $FromDate <> '' Let $WhereDate = ' And A.EFFDT >= ''' || $FromDate || '''' End-If . . . Begin-Select A.COLUMN1 A.COLUMN2 A.COLUMN3 >From PS_TABLE A Where A.Key1 = $KeyValue1 [$WhereDate] End-Select . . . I know this is a crude example, but hopefully it will illustrate the technique well enough. Good Luck, Ed >From: Bryan Richey >Reply-To: SQR-USERS@list.iex.net >To: Multiple recipients of list SQR-USERS >Subject: Optional fields from a runctl panel >Date: Mon, 12 Apr 1999 15:09:04 -0700 > >To whom may know the answer, > >I am writing an SQR that will be kicked off by a runctl panel in >PeopleSoft. There will be one of three possible reports that will run >depending on certain fields. Is there a way that I can code my where >clause to either equal nulls for a field that is optionally populated >in the runctl panel? > >_________________________________________________________ >Do You Yahoo!? >Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________________________ Get Free Email and Do More On The Web. Visit http://www.msn.com From owner-sqr-users@list.iex.net Tue Apr 13 06:11:18 1999 Date: Tue, 13 Apr 1999 07:00:21 -0400 From: "Womble, Tony A" Subject: Re: how do I read an variable length file This might help. Begin-Procedure GET-TEXT1 If &rept1 <> '' open &rept1 as 1 for-reading record=255 while 1=1 read 1 into $read_rec1:255 Print $read_rec1 (+2,1) wrap 100 6 if #end-file !=1 break end-if end-while close 1 end-if End-Procedure !GET-TEXT1 Tony > ---------- > From: Dominick LoGiudice[SMTP:dlogiudice@PINE.VPCC.SUNYSB.EDU] > Sent: Monday, April 12, 1999 7:11 PM > To: Multiple recipients of list SQR-USERS > Subject: how do I read an variable length file > > Does anyone have an example of reading an variable length file ? > From owner-sqr-users@list.iex.net Tue Apr 13 07:26:57 1999 Date: Tue, 13 Apr 1999 07:15:48 -0500 From: Carlton Conley Subject: Re: Report Parameter ! You could use peoplecode to > set the value > each time the panel is displayed to the current system date. Yes, that is another place you could set the AsOfDate to what ever date you want by setting FieldDefault PeopleCode in the ASOFDATE Field on the RUN_CNTL_HR which is where all the run control parameters are stored From owner-sqr-users@list.iex.net Tue Apr 13 07:59:25 1999 Date: Tue, 13 Apr 1999 08:45:52 -0400 From: "Walsh, Daniel R" Subject: comparison of 2.5 to 4.x I have been tasked with the assignment of attempting to determine what changes/impacts will occur when the current version of SQR (2.5) is updated to 4.x. Specifically, we have an interest in reserved word changes, etc. that would necessitate changes to our current reports to allow them to run on 4.x. Is there some documentation available that specifically details differences between versions? Dan Walsh EDS/RSC 919-854-2281 From owner-sqr-users@list.iex.net Tue Apr 13 07:56:35 1999 Date: Tue, 13 Apr 1999 08:46:29 -0400 From: Anne-Marie Matula Subject: Re: Report Parameter ! > Hartono Sutirman asked > I want to make a report with a parameter called AsOfDate, to >make this > report I copied the existing panel that already have the Parameter > AsOfDate. > But everytime I click the run button, the parameter already >have a value > > ?? > Where does this value come from ??? I believe Carlton already responded with the specifics. I wanted to add that I find Windows "Find" option exceeding helpful in determining where variable values are set, where procedures are located or called, etc. Just search the SQR directory, doing an advanced find on whatever you are searching. Be sure though that the SQC file where you locate something is one in the #include list of your SQR. Hope that helps ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Anne-Marie Matula Student Information System Project Office of Information Technologies Whitmore Bldg, University of Massachusetts, Amherst Phone: 413/577-0685 Fax: 413/545-2150 From owner-sqr-users@list.iex.net Tue Apr 13 08:18:26 1999 Date: Tue, 13 Apr 1999 09:04:24 -0400 From: Sam Spritzer Subject: Re: comparison of 2.5 to 4.x Dan... Go to WWW.ONTKO.COM...you will find condensed programmer's guides for SQR which also indicates the differences in the versions. Hope this helps, Sam <<< "Walsh, Daniel R" 4/13 8:45a >>> I have been tasked with the assignment of attempting to determine what changes/impacts will occur when the current version of SQR (2.5) is updated to 4.x. Specifically, we have an interest in reserved word changes, etc. that would necessitate changes to our current reports to allow them to run on 4.x. Is there some documentation available that specifically details differences between versions? Dan Walsh EDS/RSC 919-854-2281 From owner-sqr-users@list.iex.net Tue Apr 13 09:59:24 1999 Date: Tue, 13 Apr 1999 10:46:15 -0400 From: "Hilts, Mike" Subject: Performance issues with Sybase-Unix-SQR This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01BE85BC.66A33D74 Content-Type: text/plain I am working on a team implementing PeopleSoft HRMS(7.5) and GL(7.0) project. I have questions on what others are doing to tune the running of processes on the server. I have SQRs running on the client(NT) faster than the server! I know there is something wrong somewhere! We have SQR 3.0.18.1 and SQR 4.3.2 with Sybase 11.9.1 and Sybase 11.9.2 and HP Unix 10.2,HP- 9000. I am trying to find out any "tips/hints/how-to's" that will help out. Thanks in advance! ------_=_NextPart_001_01BE85BC.66A33D74 Content-Type: text/html Content-Transfer-Encoding: quoted-printable Performance issues with Sybase-Unix-SQR

 

I am working on a team = implementing  PeopleSoft HRMS(7.5) and GL(7.0)
 project.

 I have questions on what others = are doing to tune the running of processes on the server. I have
SQRs running on the client(NT)  = faster than the server! 

I know there is something wrong = somewhere!  We have SQR 3.0.18.1 and SQR 4.3.2 with  Sybase = 11.9.1 and Sybase 11.9.2
and HP Unix 10.2,HP- 9000.

I am trying to find out any = "tips/hints/how-to's"  that will help out.
 

Thanks in advance!

------_=_NextPart_001_01BE85BC.66A33D74-- From owner-sqr-users@list.iex.net Tue Apr 13 11:45:04 1999 Date: Tue, 13 Apr 1999 11:55:00 -0400 From: Ravi Ginjupalli Subject: Visual SQRIBE Version Hello, Can someone tell me the latest version of VisualSQRIBE. We have 4.3.2 and when I called SQRIBE the CR informs me there is only version 4.3 and there is no 4.3.2, so I thought it would be better to post the question here. If anyone from SQRIBE is reading this message, I would also appreciate if you can tell me whether there will be a newer release in the next couple of months. Thanks Ravi. From owner-sqr-users@list.iex.net Tue Apr 13 11:38:52 1999 Date: Wed, 14 Apr 1999 00:19:07 +0800 From: "Ivory, Wayne" Subject: Re: Report Parameter ! -----Original Message----- From: Anne-Marie Matula To: SQR-USERS@list.iex.net; amatula@OIT.UMASS.EDU Sent: 4/13/99 8:46 PM Subject: Re: Report Parameter ! I believe Carlton already responded with the specifics. I wanted to add that I find Windows "Find" option exceeding helpful in determining where variable values are set, where procedures are located or called, etc. Just search the SQR directory, doing an advanced find on whatever you are searching. Be sure though that the SQC file where you locate something is one in the #include list of your SQR. --------- Somthing else that might help with this sort of thing - I recently completed version 2 of SQR Tree which I believe Nathan Treadway will be posting on the sqrug web site within the next week (don't get it confused with the original version which is there at the moment). One of the new features is a Search capability that lets you search for a string in the SQR and optionally in it's #included files (and the #included files' #included files). This way you can be sure of finding where variables are set without having to check if a particular SQC is in the #include list of the SQR as Anne-Marie mentioned. Wayne Ivory Information Services Westralian Sands Limited From owner-sqr-users@list.iex.net Tue Apr 13 17:16:24 1999 Date: Tue, 13 Apr 1999 12:45:51 -0400 From: George Emrich Subject: GL Interface without PS/GL Product We are currently implementing PeopleSoft HR & Payroll version 7.50, but will NOT be using the PS Financials/GL module. I am curious to know how other sites have created an interface between two such systems? For example, is it possible (useful) to populate the HR_ACCTG_LINE table using the "Paygl01.sqr" without having the PS Financial Module installed, or is there even a need to do this? What other solutions are there? Thanks in advance for your help. From owner-sqr-users@list.iex.net Tue Apr 13 12:38:50 1999 Date: Tue, 13 Apr 1999 10:12:16 -0700 From: "John A. Hayes" Subject: Re: Visual SQRIBE Version I received my copy of VisualSQRibe a couple months ago. I have version 4.3 (build 22.3). 4.2.3 sounds like your SQR version. At 11:55 AM 4/13/99 -0400, you wrote: >Hello, > Can someone tell me the latest version of VisualSQRIBE. We have 4.3.2 >and when I called SQRIBE the CR informs me there is only version 4.3 and >there is no 4.3.2, so I thought it would be better to post the question >here. > If anyone from SQRIBE is reading this message, I would also appreciate >if you can tell me whether there will be a newer release in the next couple >of months. > >Thanks >Ravi. ---------------------------------------- Hayes Systems Solutions Canoga Park, CA mailto:owner@hss-usa.com http://www.hss-usa.com ---------------------------------------- From owner-sqr-users@list.iex.net Tue Apr 13 12:56:15 1999 Date: Tue, 13 Apr 1999 11:17:43 -0600 From: "Ackerson, Glenn" Subject: SQR documentation We're in the process of installing/upgrading HRMS version 7.5 and this includes installing the new version of SQR that comes bundled with Peoplesoft (SQR Server version 4.3.2.) Since the installation of SQR is somewhat fuzzy (Peoplesoft doesn't provide any documentation in their Installation/Administration guides,) I'm curious what others have done with the tools that Scribe includes with the CD, like InScribe and their GUI development tool. I assume that we are free to use those tools since they come on the CD, yes? Also, since we didn't receive an SQR manual like we did with version 3 of SQR, I assume that this documentation is now online - is that true as well? If so, I'm having trouble finding it. Thanks for your feedback... Glenn Ackerson ************************************************** Glenn Ackerson Information Technology Professional III Internet Address: gsacker@is.unco.edu University of Northern Colorado Information Services Carter Hall Greeley, CO 80639 From owner-sqr-users@list.iex.net Tue Apr 13 13:40:06 1999 Date: Tue, 13 Apr 1999 14:20:38 -0400 From: Sam Spritzer Subject: Re: SQR documentation Glenn, Check with your PS account mgr. You should get 2 manuals. Sam <<< "Ackerson, Glenn" 4/13 1:17p >>> We're in the process of installing/upgrading HRMS version 7.5 and this includes installing the new version of SQR that comes bundled with Peoplesoft (SQR Server version 4.3.2.) Since the installation of SQR is somewhat fuzzy (Peoplesoft doesn't provide any documentation in their Installation/Administration guides,) I'm curious what others have done with the tools that Scribe includes with the CD, like InScribe and their GUI development tool. I assume that we are free to use those tools since they come on the CD, yes? Also, since we didn't receive an SQR manual like we did with version 3 of SQR, I assume that this documentation is now online - is that true as well? If so, I'm having trouble finding it. Thanks for your feedback... Glenn Ackerson ************************************************** Glenn Ackerson Information Technology Professional III Internet Address: gsacker@is.unco.edu University of Northern Colorado Information Services Carter Hall Greeley, CO 80639 From owner-sqr-users@list.iex.net Tue Apr 13 15:07:33 1999 Date: Tue, 13 Apr 1999 15:38:46 -0400 From: "Talley, Steve" Subject: AEtna US Healthcare Interface with Psoft 7.5 Hello SQR gurus - Forgive me for asking if you are not a PeopleSoft user, but I am in search of an SQR interface to Aetna HealthCare under PeopleSoft version 7.5. If you have this code and would like to share it with me, I would greatly appreciate it. I hope I can return the favor someday. Thanks in advance. Steve Talley <<...>> HRMS Technical Lead Talleys@hsn.net 727.572.8585 x7589 From owner-sqr-users@list.iex.net Tue Apr 13 18:52:03 1999 Date: Tue, 13 Apr 1999 13:06:01 -0700 From: "Walcker, Paul" Subject: Re: AEtna US Healthcare Interface with Psoft 7.5 I suspect that we are talking about their EDI format? Let me know if this is true and we can talk off-line. Paul > -----Original Message----- > From: Talley, Steve [SMTP:TalleyS@HSN.NET] > Sent: Tuesday, April 13, 1999 12:39 PM > To: Multiple recipients of list SQR-USERS > Subject: AEtna US Healthcare Interface with Psoft 7.5 > > Hello SQR gurus - > > Forgive me for asking if you are not a PeopleSoft user, but I am in search > of an SQR interface to Aetna HealthCare under PeopleSoft version 7.5. If > you have this code and would like to share it with me, I would greatly > appreciate it. I hope I can return the favor someday. Thanks in advance. > > > Steve Talley > <<...>> HRMS Technical Lead > Talleys@hsn.net > 727.572.8585 x7589 From owner-sqr-users@list.iex.net Tue Apr 13 15:42:44 1999 Date: Tue, 13 Apr 1999 20:25:20 GMT From: mahidhar puvvada Subject: Looking for a contract in PeopleSoft HRMS Hi Guys, I have been working since the last 2 and half years on PeopleSoft- HRMS, SQR and People Tools as a Technical Consultant. I have just completed an assignment at Georgia Tech, Atlanta and I'm looking for another contract anywhere in the States. Pl. let me know of any strings. TIA Mahidhar Puvvada mpuvvada@hotmail.com _______________________________________________________________ Get Free Email and Do More On The Web. Visit http://www.msn.com From owner-sqr-users@list.iex.net Tue Apr 13 15:55:28 1999 Date: Tue, 13 Apr 1999 16:36:53 -0400 From: ADIL ASAR Subject: Ref: Listing of all OPRID's and the menus and rights assigned to them! Hi everyone Does anyone know if there is any SQR provided by PS or any custom SQR by means of which I can find out all the menus assigned to a particular OPRID/ OPRCLASS? Within the menu Can I also get a further drilldown of all the panels to which the OPRID has DISPLAY ONLY rights or rights to add at these panels? TIA Regards Adil Mail to adila@mastech.com From owner-sqr-users@list.iex.net Tue Apr 13 16:24:28 1999 Date: Tue, 13 Apr 1999 17:07:34 -0400 From: "Martin, George" Subject: Re: Looking for a contract in PeopleSoft HRMS I would appreciate if people can use this users group for sharing intellectual ideas rather than searching for jobs, in which case they could make use of sites like dice, whatever. Hope this stops, George. -----Original Message----- From: mahidhar puvvada [mailto:mpuvvada@HOTMAIL.COM] Sent: Tuesday, April 13, 1999 4:25 PM To: Multiple recipients of list SQR-USERS Subject: Looking for a contract in PeopleSoft HRMS Hi Guys, I have been working since the last 2 and half years on PeopleSoft- HRMS, SQR and People Tools as a Technical Consultant. I have just completed an assignment at Georgia Tech, Atlanta and I'm looking for another contract anywhere in the States. Pl. let me know of any strings. TIA Mahidhar Puvvada mpuvvada@hotmail.com _______________________________________________________________ Get Free Email and Do More On The Web. Visit http://www.msn.com From owner-sqr-users@list.iex.net Tue Apr 13 15:38:44 1999 Date: Tue, 13 Apr 1999 22:23:06 +0100 From: Franck Masson Subject: Re: Visual SQRIBE Version visual sqribe follows the sqr version. next version is 4.3.3 in few month (Q2) John A. Hayes wrote: > > I received my copy of VisualSQRibe a couple months ago. I have version 4.3 > (build 22.3). 4.2.3 sounds like your SQR version. > > At 11:55 AM 4/13/99 -0400, you wrote: > >Hello, > > Can someone tell me the latest version of VisualSQRIBE. We have 4.3.2 > >and when I called SQRIBE the CR informs me there is only version 4.3 and > >there is no 4.3.2, so I thought it would be better to post the question > >here. > > If anyone from SQRIBE is reading this message, I would also appreciate > >if you can tell me whether there will be a newer release in the next couple > >of months. > > > >Thanks > >Ravi. > > ---------------------------------------- > Hayes Systems Solutions Canoga Park, CA > mailto:owner@hss-usa.com > http://www.hss-usa.com > ---------------------------------------- From owner-sqr-users@list.iex.net Tue Apr 13 15:52:21 1999 Date: Tue, 13 Apr 1999 22:29:24 +0100 From: Franck Masson Subject: Re: SQR documentation SQR & Reportmart documentation can now be bought online from our website www.sqribe.com. Going forward, This is the method to use if paying by credit card. There is a link at the bottom of our homepage, which explains everything. Payment is accepted by most major credit cards. We are selling (from our website) - V4.3 user guide and language reference -V3.0 user guide -Reportmart planning and administrator's guide Any other documentation will need to be purchased using your current method ( by contacting sqribe office). hope this help you franck, Ackerson, Glenn wrote: > > We're in the process of installing/upgrading HRMS version 7.5 > and this includes installing the new version of SQR that comes > bundled with Peoplesoft (SQR Server version 4.3.2.) Since the > installation of SQR is somewhat fuzzy (Peoplesoft doesn't provide > any documentation in their Installation/Administration guides,) I'm > curious what others have done with the tools that Scribe includes > with the CD, like InScribe and their GUI development tool. I assume > that we are free to use those tools since they come on the CD, > yes? Also, since we didn't receive an SQR manual like we did with > version 3 of SQR, I assume that this documentation is now online - > is that true as well? If so, I'm having trouble finding it. Thanks for > your feedback... > > Glenn Ackerson > ************************************************** > Glenn Ackerson > Information Technology Professional III > Internet Address: gsacker@is.unco.edu > University of Northern Colorado > Information Services > Carter Hall Greeley, CO 80639 From owner-sqr-users@list.iex.net Tue Apr 13 18:18:16 1999 Date: Tue, 13 Apr 1999 16:05:13 -0700 From: "John A. Hayes" Subject: Re: SQR documentation The same manuals, Users Guide and Language Reference, are also in PDF format located in your $PS_HOME\sqrbinw\doc\sqr directory named sqrguide.pdf and langref.pdf respectively. Also, be sure to check out the file sqr.htm located in $PS_HOME\sqrbinw\doc\sqr\addendum for additional info, as well as online error message lookups. At 02:20 PM 4/13/99 -0400, you wrote: >Glenn, >Check with your PS account mgr. You should get 2 manuals. >Sam > ><<< "Ackerson, Glenn" 4/13 1:17p >>> > We're in the process of installing/upgrading HRMS version 7.5 >and this includes installing the new version of SQR that comes >bundled with Peoplesoft (SQR Server version 4.3.2.) Since the >installation of SQR is somewhat fuzzy (Peoplesoft doesn't provide >any documentation in their Installation/Administration guides,) I'm >curious what others have done with the tools that Scribe includes >with the CD, like InScribe and their GUI development tool. I assume >that we are free to use those tools since they come on the CD, >yes? Also, since we didn't receive an SQR manual like we did with >version 3 of SQR, I assume that this documentation is now online - >is that true as well? If so, I'm having trouble finding it. Thanks for >your feedback... > >Glenn Ackerson >************************************************** >Glenn Ackerson >Information Technology Professional III >Internet Address: gsacker@is.unco.edu >University of Northern Colorado >Information Services >Carter Hall Greeley, CO 80639 From owner-sqr-users@list.iex.net Tue Apr 13 18:21:55 1999 Date: Tue, 13 Apr 1999 19:09:40 -0400 From: "Talley, Steve" Subject: Re: Listing of all OPRID's and the menus and rights assigned to t hem! There is no Sqr available from psoft that I am aware of. However, under oper security, do file-print and you will get the info you are looking for. Steve Talley <<...>> HRMS Technical Lead Talleys@hsn.net 727.572.8585 x7589 -----Original Message----- From: ADIL ASAR [mailto:ADILA@MASTECH.COM] Sent: Tuesday, April 13, 1999 4:37 PM To: Multiple recipients of list SQR-USERS Subject: Ref: Listing of all OPRID's and the menus and rights assigned to them! Hi everyone Does anyone know if there is any SQR provided by PS or any custom SQR by means of which I can find out all the menus assigned to a particular OPRID/ OPRCLASS? Within the menu Can I also get a further drilldown of all the panels to which the OPRID has DISPLAY ONLY rights or rights to add at these panels? TIA Regards Adil Mail to adila@mastech.com From owner-sqr-users@list.iex.net Tue Apr 13 19:58:37 1999 Date: Wed, 14 Apr 1999 10:46:39 +1000 From: Pietersz Mark x8938 Subject: Re: SQR documentation Glenn, For financials 7.5x online doco for 4.x is supplied in the form of 2 .pdf files (langref.pdf and sqrguide.pdf). There is also the help file cmdhlp.hlp. They should all be under the sqrbinw installation directory Rgds Mark Pietersz > -----Original Message----- > From: Ackerson, Glenn [SMTP:Gsacker@IS.UNCO.EDU] > Sent: Wednesday, 14 April 1999 3:18 > To: Multiple recipients of list SQR-USERS > Subject: SQR documentation > > We're in the process of installing/upgrading HRMS version 7.5 > and this includes installing the new version of SQR that comes > bundled with Peoplesoft (SQR Server version 4.3.2.) Since the > installation of SQR is somewhat fuzzy (Peoplesoft doesn't provide > any documentation in their Installation/Administration guides,) I'm > curious what others have done with the tools that Scribe includes > with the CD, like InScribe and their GUI development tool. I assume > that we are free to use those tools since they come on the CD, > yes? Also, since we didn't receive an SQR manual like we did with > version 3 of SQR, I assume that this documentation is now online - > is that true as well? If so, I'm having trouble finding it. Thanks for > your feedback... > > Glenn Ackerson > ************************************************** > Glenn Ackerson > Information Technology Professional III > Internet Address: gsacker@is.unco.edu > University of Northern Colorado > Information Services > Carter Hall Greeley, CO 80639 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This email message has been swept for the presence of computer viruses. CitiPower Pty ACN 064 651 056 ********************************************************************** From owner-sqr-users@list.iex.net Tue Apr 13 22:04:48 1999 Date: Tue, 13 Apr 1999 21:53:49 -0500 From: Ray Ontko Subject: Re: scannable amount enclosed Sharon, You may be able to achieve your objective by using a suitable LINEHEIGHT= and CHARWIDTH= in your DECLARE-LAYOUT. This is where SQR obtains the spacing for the coordinate grid of the page. (I think this is done slightly differently using the setup strings in the PeopleSoft page setup .sqc file, but I think it is the same concept). Another approach, if you're familiar with PCL, is to use PRINT-DIRECT PRINTER=HP and write your own escape sequences to draw the boxes. Look in the manual for your printer to see the exact sequences. Hope this helps. Ray > Hi All, > > I'm trying to create a returnable stub for the Benefits Billing Statement. > The stub needs to include an amount-enclosed scannable area, where the > insured recipients write in how much they are returning. The stub and > check are sent directly to our bank, which then scans the stub, reading > the scan line and the amount enclosed. > > The amount enclosed area is a shaded box, with unshaded boxes inside, one > for each digit. Here is a representation of it, with S being a shaded > position, W being a white box, and . being the decimal point: > > SSSSSSSSSSSSSSSSS > $ SWSWSWSWSWSW.WSWS > SSSSSSSSSSSSSSSSS > > Here are the bank's specifications: > > Amount Enclosed area to be printed in drop-out-ink. > - box size of 0.220" high by 0.180" wide (this is the W) > - boxes to be spaced 0.031" apart (spacing for dollars/cents > to be 0.062" apart) > - box group outlined by 0.150" drop-out-ink > > I have not been able to adjust the height of the boxes, and can only > adjust the width of the boxes (W) and shaded areas between the boxes > (S) by .1" increments. > > This is written in SQR version 4 and is being printed on an HP4si printer > using PCL. I've tried both fixed and proportional fonts and various > pitches and point sizes. But nothing I've tried changes the widths in > other than .1" increments. > > > Here is my code: > > alter-printer > font-type=fixed !The manual states that fixed fonts should be used > !for graphics printing, but I've tried both. > font=3 !Courier, but have tried Times Roman and Helvetica. > > ! print top shaded line: > graphic (Ln, Col, 25) Box 1 0 15 > > ! print $ sign: > print '$' (+1, Col ) bold > > alter-printer > pitch=20 !tried values above and below > point-size=8 !tried values above and below > > ! print boxes and shading between boxes: > graphic (0, Col, 1) Box 1 0 15 > graphic (0, +3, 1) Box 1 0 15 > graphic (0, +3, 1) Box 1 0 15 > > and so on... > > > I haven't tackled trying to change the box height yet. > > Any suggestions will be greatly appreciated. > > Sharon Brandow > U of Utah > ---------------------------------------------------------------------- Ray Ontko | Ray Ontko & Co | "ROC: data movers and shakers." rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/ From owner-sqr-users@list.iex.net Wed Apr 14 00:07:53 1999 Date: Wed, 14 Apr 1999 04:45:58 +0000 From: Vikram Muratee hello all, I will greatly appreciate some views on my problem. I am on Oracle 7.3 and SQR 4.3 (and PS 7.5). I am trying to get the equivalen of a "FOR " Loop in SQR. (Which I understand is not available in SQR) I am attempting something like the pseudo code below. The objective is that I am picking up three rows for one VENDOR from a single source table and inserting three rows into one target table (PS_VENDOR_ADDR). I would greatly appreciate some direction on how to emulate the below pseudo code in SQR : #INCR=0; #LOCTYPE1 =10; #LOCTYPE3 =20; #LOCTYPE2 = 35; FOR #INCR 1 TO 3 (EVALUATE #INCR WHEN =1 select $a,$b,$c from ADDR_TABLE WHERE LOCTYPE =#LOCTYPE1; WHEN =2 select $a,$b,$c from ADDR_TABLE WHERE LOCTYPE=#LOCTYPE2; WHEN =3 select $a,$b,$c from ADDR_TABLE WHERE LOCTYPE=#LOCTYPE3; WHEN OTHER EXIT; INSERT $a,$b,$c INTO target_table !(as address seqno#INCR) #INCR+1 ) !!The earlier you can help the better our whole team is doing 12-14 hrs a day to catch deadlines !! Thanks in advance, vikram From owner-sqr-users@list.iex.net Wed Apr 14 00:31:02 1999 Date: Wed, 14 Apr 1999 13:19:35 +0800 From: Abbas Dangor You can achieve this through sql Begin-Select $a $b $c Do Insert-Vendor-Addr >From PS_ADDR_TABLE where LOCTYPE in (10,20,35) End-Select Note: It would be best to define the "where" in the select as dynamic, thereby ensuring that it can be re-used. See the SQR manual to find out more about dynamic query variables. Begin-Procedure Insert-Vendor-Addr Begin-SQL Insert into ps_vendor_addr (a,b,c) values ($a,$b,$c) End-SQL End-Procedure . Hope this helps. > ---Original Message----- > From: Vikram Muratee [SMTP:vmuratee@ATT.NET] > Sent: Wednesday, 14 April 1999 12:46 PM > To: Multiple recipients of list SQR-USERS > Subject: > > hello all, > > I will greatly appreciate some views on my problem. > > I am on Oracle 7.3 and SQR 4.3 (and PS 7.5). I am trying > to get the equivalen of a "FOR " Loop in SQR. (Which I > understand is not available in SQR) > > I am attempting something like the pseudo code below. > The objective is that I am picking up three rows for one > VENDOR from a single source table and inserting three > rows into one target table (PS_VENDOR_ADDR). > > I would greatly appreciate some direction on how to > emulate the > below pseudo code in SQR : > > #INCR=0; > #LOCTYPE1 =10; > #LOCTYPE3 =20; > #LOCTYPE2 = 35; > > FOR #INCR 1 TO 3 (EVALUATE #INCR > WHEN =1 > select $a,$b,$c from ADDR_TABLE WHERE LOCTYPE =#LOCTYPE1; > WHEN =2 > select $a,$b,$c from ADDR_TABLE WHERE LOCTYPE=#LOCTYPE2; > WHEN =3 > select $a,$b,$c from ADDR_TABLE WHERE LOCTYPE=#LOCTYPE3; > WHEN OTHER > EXIT; > INSERT $a,$b,$c INTO target_table !(as address > seqno#INCR) > #INCR+1 ) > !!The earlier you can help the better our whole team is > doing 12-14 hrs a day to catch deadlines !! > > Thanks in advance, > > vikram From owner-sqr-users@list.iex.net Wed Apr 14 03:04:32 1999 Date: Tue, 13 Apr 1999 23:11:29 -0700 From: Tolga Ercan You can accomplish the same function of a FOR loop using a WHILE loop. For the situation you describe, to follow your pseudocode, you should do the following. #Incr = 1 #LocType1 = 10 #LocType2 = 20 #LocType3 = 35 WHILE #Incr <= 3 Evaluate #Incr When = 1 Let $LocTypeCondition = 'LOCTYPE = #LocType1' Break When = 2 Let $LocTypeCondition = 'LOCTYPE = #LocType2' Break When = 3 Let $LocTypeCondition = 'LOCTYPE = #LocType 3' Break End-Evaluate BEGIN-SELECT FIELD_A FIELD_B FIELD_C FROM ADDR_TABLE WHERE [$LocTypeCondition] END-SELECT BEGIN-SQL INSERT INTO PS_VENDOR_ADDR (A,B,C) VALUES (&FIELD_A, &FIELD_B, &FIELD_C) END-SQL Let #Incr = #Incr + 1 END-WHILE However, I would think the same could be accomplished using an INSERT INTO...SELECT Syntax such as BEGIN-SQL INSERT INTO PS_VENDOR_ADDR (A,B,C) SELECT A,B,C FROM ADDR_TABLE WHERE LOCTYPE IN (10,20,35) END-SQL Unless there is some type of key mismatch... Have Fun... ----- Original Message ----- From: Vikram Muratee To: Multiple recipients of list SQR-USERS Sent: Tuesday, April 13, 1999 9:45 PM > hello all, > > I will greatly appreciate some views on my problem. > > I am on Oracle 7.3 and SQR 4.3 (and PS 7.5). I am trying > to get the equivalen of a "FOR " Loop in SQR. (Which I > understand is not available in SQR) > > I am attempting something like the pseudo code below. > The objective is that I am picking up three rows for one > VENDOR from a single source table and inserting three > rows into one target table (PS_VENDOR_ADDR). > > I would greatly appreciate some direction on how to > emulate the > below pseudo code in SQR : > > #INCR=0; > #LOCTYPE1 =10; > #LOCTYPE3 =20; > #LOCTYPE2 = 35; > > FOR #INCR 1 TO 3 (EVALUATE #INCR > WHEN =1 > select $a,$b,$c from ADDR_TABLE WHERE LOCTYPE =#LOCTYPE1; > WHEN =2 > select $a,$b,$c from ADDR_TABLE WHERE LOCTYPE=#LOCTYPE2; > WHEN =3 > select $a,$b,$c from ADDR_TABLE WHERE LOCTYPE=#LOCTYPE3; > WHEN OTHER > EXIT; > INSERT $a,$b,$c INTO target_table !(as address > seqno#INCR) > #INCR+1 ) > !!The earlier you can help the better our whole team is > doing 12-14 hrs a day to catch deadlines !! > > Thanks in advance, > > vikram From owner-sqr-users@list.iex.net Wed Apr 14 08:22:20 1999 Date: Wed, 14 Apr 1999 21:06:46 +0800 From: "Ivory, Wayne" Subject: Re: GL Interface without PS/GL Product George, You said "how other sites have created an interface between two such systems" but you didn't say what the other system was. You just told us it wasn't PS/GL. At our site the corporate decision was to keep our existing financial system written in Today/4GL. In PeopleSoft (HRMS 5.8) we run up to Confirmed Payrun. At the end of the month we run a custom-built process that extracts info from ps_pay_page et al and writes a flat file which is imported into our Financial system. Hope this helps. Wayne Ivory Information Services Westralian Sands Limited -----Original Message----- From: George Emrich To: SQR-USERS@list.iex.net; George.Emrich@NOTES.OSIPC.CAN.EDS.COM Sent: 4/14/99 12:45 AM Subject: GL Interface without PS/GL Product We are currently implementing PeopleSoft HR & Payroll version 7.50, but will NOT be using the PS Financials/GL module. I am curious to know how other sites have created an interface between two such systems? For example, is it possible (useful) to populate the HR_ACCTG_LINE table using the "Paygl01.sqr" without having the PS Financial Module installed, or is there even a need to do this? What other solutions are there? Thanks in advance for your help. <> From owner-sqr-users@list.iex.net Wed Apr 14 08:29:15 1999 Date: Wed, 14 Apr 1999 08:16:10 -0500 From: "Pham, Chuong" Subject: SQR Error 5400 I have a report that was running fine. Introducing a few more procedures yielded this error msg: (SQR 5400) Second page write attempted while writing current page. Check BEFORE-PAGE, AFTER-PAGE procedures Debugging the report led me to the procedure that is responsible for this error msg. It is an after procedure that is called on a break field. I am not doing anything fancy except for a new-page command in order to put the grouping on a new page. Even then...the new-page command is the last command in the procedure. The kicker is that I didn't even touch the procedure that produced this error msg. Any ideas? Thanks, Chuong cpham@integrationware.com www.integrationware.com From owner-sqr-users@list.iex.net Wed Apr 14 10:22:16 1999 Date: Wed, 14 Apr 1999 09:55:31 -0400 From: Bruce Weinstein Subject: Experiencing a weird problem Hope someone can help, This is a weird one. When I invoke the SQR dialog box where you enter the report file, database, username and password to execute an SQR I get an error message like the following, "Specify the Oracle DLL name in the SQR.INI file in [Environment:Oracle] section for ORACLE_DLL entry, such as ORACLE_DLL=orant71.dll" After extensive research, I have found that if I type in my reort file name directly rather than using the FILES button, everything is fine and the SQR executes. It seems to only happen when I use FILES to enter my report name. Has anyone ever experienced this kind of error? I have added the above line into my SQR.INI but with no success. The error still appears when I use the FILES button. Does anyone know where this error comes from? Where should I be looking? I am currently using SQR V3.0.18.1.1 with ORACLE 7.3. Thanks. From owner-sqr-users@list.iex.net Wed Apr 14 09:17:27 1999 Date: Wed, 14 Apr 1999 10:00:15 -0400 From: Sam Spritzer Subject: Re: SQR Question about number formatting routine (number.sqc) Steve... You are using it right and the sqc works. Most of the time, I just use an SQR edit mask instead of the sqc. Sam <<< Steve Bergin 4/14 11:29a >>> Environment: HRizon 7.01b Centura SQLBase 6.1.2 PTF-4 on NT 4.0 SQR 3.x When I call the number formatting routine like this: do format-number(#in, $out, '99,999.99') I expect to get a number formatted like 99,999.99 but instead get a number formatted like 9999999 When I format the number like this move #in to $out '99,999.99' I get the desired result. The statements executed in number.sqc are: begin-procedure Format-Number(#in, :$out, $mask) move #in to $out :$mask let $out = translate($out,',.',$_Delimiters) end-procedure I have two questions: 1. Am I using number.sqc properly and getting a bad result or do I misunderstand the purpose of the routine. 2. Is ":$mask" correct or should it be "$mask" in the move statement in the routine? Just learning. Thanks for your help. From owner-sqr-users@list.iex.net Wed Apr 14 08:50:45 1999 Date: Wed, 14 Apr 1999 08:29:00 -0700 From: Steve Bergin Subject: SQR Question about number formatting routine (number.sqc) Environment: HRizon 7.01b Centura SQLBase 6.1.2 PTF-4 on NT 4.0 SQR 3.x When I call the number formatting routine like this: do format-number(#in, $out, '99,999.99') I expect to get a number formatted like 99,999.99 but instead get a number formatted like 9999999 When I format the number like this move #in to $out '99,999.99' I get the desired result. The statements executed in number.sqc are: begin-procedure Format-Number(#in, :$out, $mask) move #in to $out :$mask let $out = translate($out,',.',$_Delimiters) end-procedure I have two questions: 1. Am I using number.sqc properly and getting a bad result or do I misunderstand the purpose of the routine. 2. Is ":$mask" correct or should it be "$mask" in the move statement in the routine? Just learning. Thanks for your help. From owner-sqr-users@list.iex.net Wed Apr 14 12:19:55 1999 Date: Wed, 14 Apr 1999 10:04:41 -0700 From: Ravi Alladi Subject: Re: printing on the mainframe Title: Printing SQR Reports to MVS Connected HP LaserJet Printers The following steps are required for printing SQR reports from MVS to HP LaserJet printers. 1. The RECFM parameter for the SQR Shell JCLs (SHELSQRF and SHELSQRP) has to be changed from RECFM=VB to RECFM=VBA to include the ANSI printer control characters. The DCB for SQROUTF and SQROUTP should be coded as follows: RECFM=VBA,LRECL=256 OR RECFM=FBA,LRECL=188 2. The -GPRINT parameter for SQRPARMS has to be changed from -GPRINT=NO to -GPRINT=YES. The SQRPARMS must contain -GPRINT=YES to enable SQR to write ANSI printer control characters to the output files. 3. The SETUP SQCs have to be changed to include printer init-string for MVS. There should be a printer init-string for MVS to allow SQR reports to be printed properly on a LaserJet printer. The printer init-string is needed to control page size, orientation, margins, and font size on the LaserJet printer. The following lines need to be commented out in the various SETUP SQCs: !#ifndef MVS printer-init <27>E<27> ........ !#endif "Holly N. Reid" on 04/08/99 02:46:53 PM Please respond to SQR-USERS@list.iex.net To: Multiple recipients of list SQR-USERS cc: (bcc: Ravi Alladi/PeopleSoft) Subject: Re: printing on the mainframe Hi Keri, 1. You will need to setup your setenv.sqc so that it knows that you are running on MVS with a DB2 database. 2. The is needed by MVS, because that's how it knows that it start a new page. (Set -GPRINT=YES) 3. You may want to check that your are using the correct report heading for your report. Yeah, I haven't had success sending the print to anything other than a line printer directly from MVS. We had to install special fonts so that our reports would have upper and lower case characters and our landscaped reports would go beyond 130 columns. I'm out of the office until late Monday. If you don't have the problem resolved before that, please email me back and I can send you our setup exactly. Hope that helps. Holly N. Reid Elleon Dier, Inc. elleond@bellsouth.net -----Original Message----- We have just installed PeopleSoft HRMS 7.5 with MVS/DB2 as our Database Server (DB2 v5.1). This is our first experience with SQR (v 4.3). I thought I could just run SQRs on the mainframe and they would come out formatted correctly. This didn't happen. If I use SQROUT DD SYSOUT=9 (which is a mainframe printer class for a Xerox OCE impact printer), the report comes out. The problems are 1. the first line is the garbase printer-init characters (E (0N &l0O &l8D &l88F (s16.66H &a9L &k2G). 2. There is a 1 on each of the subsequent pages where the top of page should be (like I would use if coding a COBOL report and using control characters 1-top of page, 0-double space... and then I would also use RECFM=FBA). 3. The pages are not breaking where they should be. The 1 mentioned above is never at the top of the page. This all also happens when I send the output to the mainframe line printer. When I try using SQROUT DD SYSOUT=L,DEST=U37 (which is a HP network laserjet printer that is also a VPS printer), the report never comes out. Instead a page comes out with Error Detected and the printer goes into EDRAINED status. I would be so HAPPY if someone could help me out. Thanks, Keri From owner-sqr-users@list.iex.net Wed Apr 14 19:53:58 1999 Date: Wed, 14 Apr 1999 09:36:29 -0800 From: Mike Harrison Subject: HTML Output and font size When outputting reports to html using -printer:ht, is there any way of avoiding the user having to reset their fixed-width font size in IE or Netscape in order to have the html page print properly? Right now they would have to go into options and make it smaller, print the report, then make it bigger. Is there anything we can do to avoid this? We can't leave the font at the smallest size because some HTML pages are illegible with the smallest size fixed font. Thanks, Mike Harrison mikeha1@zdnetmail.com Free web-based email, anytime, anywhere! ZDNet Mail - http://www.zdnetmail.com From owner-sqr-users@list.iex.net Wed Apr 14 13:08:14 1999 Date: Wed, 14 Apr 1999 10:54:43 -0700 From: Katragadda Ramanjenevulu Subject: Re: Experiencing a weird problem Hi Bruce, Some time back we experienced the same problem. We came out of this problem by adding the DLL file path in AUTOEXEC.BAT file. I hope it would solve your problem. Thanks, Rama At 09:55 AM 4/14/99 -0400, you wrote: >Hope someone can help, > >This is a weird one. When I invoke the SQR dialog box where you enter the >report file, database, username and password to execute an SQR I get an >error message like the following, > > "Specify the Oracle DLL name in the SQR.INI > file in [Environment:Oracle] section for ORACLE_DLL entry, such >as > > ORACLE_DLL=orant71.dll" > >After extensive research, I have found that if I type in my reort file name >directly rather than using the FILES button, everything is fine and the SQR >executes. It seems to only happen when I use FILES to enter my report name. >Has anyone ever experienced this kind of error? I have added the above line >into my SQR.INI but with no success. The error still appears when I use the >FILES button. Does anyone know where this error comes from? Where should I >be looking? I am currently using SQR V3.0.18.1.1 with ORACLE 7.3. > >Thanks. > > From owner-sqr-users@list.iex.net Wed Apr 14 12:51:25 1999 Date: Wed, 14 Apr 1999 12:33:00 -0700 From: Steve Bergin Subject: SQR on an AS/400 I use SQR for HRizon HRMS and would also like to learn to use it on the AS/400 (if possible). Where can I get information? Current SQR environment: Centura SQLBase 6.1.2 PTF-4 on NT 4.0 Win95 client workstations HRizon 7.01b SQRW 3.x Current AS/400 environment: OS/400 V3R2 and OS/400 V3R1 Client Access/400 3.1.3 via TCP/IP on Win95 workstations Thanks. From owner-sqr-users@list.iex.net Wed Apr 14 17:22:30 1999 Date: Wed, 14 Apr 1999 15:07:56 PDT From: Ugandhar Mukkamala Subject: Re: GL Interface without PS/GL Product George, Paygl01.sqr is a nice PAYROLL TO GL interface. You can populate HR_ACCTG_LINE, but you may have to modify the interface. We created flat files with modified Paygl01.sqr for our financial system. If you don't have GL Installed I think that is way to do it. Hope this helps Ugandhar Mukkamala >From: "Ivory, Wayne" >Reply-To: SQR-USERS@list.iex.net >To: Multiple recipients of list SQR-USERS >Subject: Re: GL Interface without PS/GL Product >Date: Wed, 14 Apr 1999 21:06:46 +0800 > >George, > >You said "how other sites have created an interface between two such >systems" but you didn't say what the other system was. You just told us it >wasn't PS/GL. > >At our site the corporate decision was to keep our existing financial system >written in Today/4GL. In PeopleSoft (HRMS 5.8) we run up to Confirmed >Payrun. At the end of the month we run a custom-built process that extracts >info from ps_pay_page et al and writes a flat file which is imported into >our Financial system. > >Hope this helps. > >Wayne Ivory >Information Services >Westralian Sands Limited > > >-----Original Message----- >From: George Emrich >To: SQR-USERS@list.iex.net; George.Emrich@NOTES.OSIPC.CAN.EDS.COM >Sent: 4/14/99 12:45 AM >Subject: GL Interface without PS/GL Product > >We are currently implementing PeopleSoft HR & Payroll version 7.50, but >will NOT >be using the PS Financials/GL module. I am curious to know how other >sites >have created >an interface between two such systems? For example, is it possible >(useful) >to populate the >HR_ACCTG_LINE table using the "Paygl01.sqr" without having the PS >Financial Module >installed, or is there even a need to do this? >What other solutions are there? > >Thanks in advance for your help. > > <> > _______________________________________________________________ Get Free Email and Do More On The Web. Visit http://www.msn.com From owner-sqr-users@list.iex.net Wed Apr 14 18:17:06 1999 Date: Wed, 14 Apr 1999 17:03:49 -0600 From: "Ackerson, Glenn" Subject: Max record length on created flat file from SQR Has anyone found documentation telling what the maximum record length is that's allowed creating/writing to a flat file from an SQR program? I'm creating an extract file for one of our departments and the record length is getting VERY large. I'd rather keep the format of the file with 1 record type rather than creating multiple record types per employee if I can. Thanks if you know! Glenn Ackerson ************************************************** Glenn Ackerson Information Technology Professional III Internet Address: gsacker@is.unco.edu University of Northern Colorado Information Services Carter Hall Greeley, CO 80639 From owner-sqr-users@list.iex.net Wed Apr 14 18:18:13 1999 Date: Wed, 14 Apr 1999 18:09:09 -0500 From: Larry Oltmanns Subject: Re: Experiencing a weird problem This is a multi-part message in MIME format. --------------DB135E6F8A1A6727DDC7C5DC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit The "Files" button has a bug. In your Icon on your desktop the SQR Icon, right click it, go to properties and after the include files (i.e. -it:\psoft\sa700dev\sqr\.... place the name and password to the SQR application by: Using local or network (i.e.) c:\user\sqr\mysqr1234.sqr database_name/username@password {continue with your path statements. At the very end of this string place the following: {some number like 1234} space {USERNAME} space {RUNCONTROL}. This will launch the SQR as if it was being launched from the application as well as pass the Parms if any from the runcontrol that you saved. Bruce Weinstein wrote: > Hope someone can help, > > This is a weird one. When I invoke the SQR dialog box where you enter the > report file, database, username and password to execute an SQR I get an > error message like the following, > > "Specify the Oracle DLL name in the SQR.INI > file in [Environment:Oracle] section for ORACLE_DLL entry, such > as > > ORACLE_DLL=orant71.dll" > > After extensive research, I have found that if I type in my reort file name > directly rather than using the FILES button, everything is fine and the SQR > executes. It seems to only happen when I use FILES to enter my report name. > Has anyone ever experienced this kind of error? I have added the above line > into my SQR.INI but with no success. The error still appears when I use the > FILES button. Does anyone know where this error comes from? Where should I > be looking? I am currently using SQR V3.0.18.1.1 with ORACLE 7.3. > > Thanks. --------------DB135E6F8A1A6727DDC7C5DC Content-Type: text/x-vcard; charset=us-ascii; name="skyway.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Larry Oltmanns Content-Disposition: attachment; filename="skyway.vcf" begin:vcard n:Oltmanns;Larry tel;pager:612-579-5970 tel;cell:612-275-6118 tel;home:612-374-3181 tel;work:612-624-6334 x-mozilla-html:TRUE org:Softlink Inc.;Office of Information Technology Univ of Minn adr:;;4500 Cedar Lake Rd S;Saint Louis Park;MN;55416-3753;United States of America version:2.1 email;internet:skyway@mn.uswest.net title:Peoplesoft Consultant fn:Larry Oltmanns end:vcard --------------DB135E6F8A1A6727DDC7C5DC-- From owner-sqr-users@list.iex.net Thu Apr 15 04:42:37 1999 Date: Thu, 15 Apr 1999 05:36:43 -0400 From: Mike Harrison Subject: Re: HTML Output and font size -printer:eh is not really an option for me, because the html page does not display properly under Netscape 4.08, which is the corporate browser. All of the columns on the report run together when I output using eh. When using ht, the report displays a lot better (but with too big fonts). Mike Harrison mharris@interlog.com mikeha1@zdnetmail.com > -----Original Message----- > From: Discussion of SQR, SQRIBE Technologies's database reporting > language [mailto:SQR-USERS@list.iex.net]On Behalf Of Franck Masson > Sent: Thursday, April 15, 1999 5:52 AM > To: Multiple recipients of list SQR-USERS > Subject: Re: HTML Output and font size > > > use -printer:eh > in this case we use CSS to specify font and size. > CSS run only on netscape 3.2 and IE 4 > > Franck, > > Mike Harrison wrote: > > > > When outputting reports to html using -printer:ht, is there any > way of avoiding the user having to reset their fixed-width font > size in IE or Netscape in order to have the html page print > properly? Right now they would have to go into options and make > it smaller, > > print the report, then make it bigger. Is there anything we can > do to avoid this? We can't leave the font at the smallest size > because some HTML pages are illegible with the smallest size fixed font. > > Thanks, > > > > Mike Harrison > > mikeha1@zdnetmail.com > > > > Free web-based email, anytime, anywhere! > > ZDNet Mail - http://www.zdnetmail.com > From owner-sqr-users@list.iex.net Thu Apr 15 04:08:41 1999 Date: Thu, 15 Apr 1999 10:51:59 +0100 From: Franck Masson Subject: Re: HTML Output and font size use -printer:eh in this case we use CSS to specify font and size. CSS run only on netscape 3.2 and IE 4 Franck, Mike Harrison wrote: > > When outputting reports to html using -printer:ht, is there any way of avoiding the user having to reset their fixed-width font size in IE or Netscape in order to have the html page print properly? Right now they would have to go into options and make it smaller, > print the report, then make it bigger. Is there anything we can do to avoid this? We can't leave the font at the smallest size because some HTML pages are illegible with the smallest size fixed font. > Thanks, > > Mike Harrison > mikeha1@zdnetmail.com > > Free web-based email, anytime, anywhere! > ZDNet Mail - http://www.zdnetmail.com From owner-sqr-users@list.iex.net Thu Apr 15 09:45:04 1999 Date: Thu, 15 Apr 1999 09:22:55 -0400 From: Yana Tolchin Subject: Printing on the top of the page This is my region subtotal routine. It prints after each region detail section, which can be anywhere from one to ten pages. I need to print this subtotal on the TOP OF EVERY corresponding detail page. I will really appreciate any help I can get - I can't figure this one out. Thank you very much! Yana !************************************************************** begin-procedure REGION-TOTAL-SUM print $region (+1,1,15) move 0 to #AMT-IN move 1 to #i while #i < 3 get #AMT from region-total-sum(#i) add #AMT to #AMT-IN do Format_Currency_Amt(#AMT-IN,$report-currency,$AsOfToday,'B99,999,999.9 9mi',$amt,'I') print $amt (0,49,18) array-add #AMT TO grand-total-sum(#i) add #AMT to #cust-grand-total add #AMT to #AMT-TOTAL put 0 into region-total-sum(#i) add 1 to #i end-while while #i > 2 and #i < 6 move 0 to #AMT-IN get #AMT from region-total-sum(#i) do Format_Currency_Amt(#AMT,$report-currency,$AsOfToday,'B99,999,999.99mi ',$amt,'I') if #i = 3 print $amt (0,67,18) else print $amt (0,0,18) end-if array-add #AMT TO grand-total-sum(#i) add #AMT to #cust-grand-total put 0 into region-total-sum(#i) put $region #AMT into region-sum(#i) add 1 to #i end-while if #region-cust-total <> 0 let #AMT-TOTAL-IN = (#AMT-TOTAL * 100) / #region-cust-total let #AMT-TOTAL-IN = TRUNC(#AMT-TOTAL-IN,1) end-if do Format_Currency_Amt(#region-cust-total,$report-currency,$AsOfToday,'B9 9,999,999.99mi',$amt,'I') print $amt (0,+2,18) print #AMT-TOTAL-IN (0,145,6) edit 9999.9 print '%' (0,151,1) move 0 to #AMT-TOTAL move 0 to #region-cust-total end-procedure !******************************************************************** From owner-sqr-users@list.iex.net Thu Apr 15 10:56:47 1999 Date: Thu, 15 Apr 1999 10:37:26 -0500 From: Sharon Bennett Subject: Re: Max record length on created flat file from SQR I have not found documentation, although I really haven't looked. However, I know I have a couple of SQRs that read and write 1080 characters per record. -----Original Message----- From: Discussion of SQR, SQRIBE Technologies's database reporting language [mailto:SQR-USERS@list.iex.net] On Behalf Of Ackerson, Glenn Sent: Wednesday, April 14, 1999 6:04 PM To: Multiple recipients of list SQR-USERS Subject: Max record length on created flat file from SQR Has anyone found documentation telling what the maximum record length is that's allowed creating/writing to a flat file from an SQR program? I'm creating an extract file for one of our departments and the record length is getting VERY large. I'd rather keep the format of the file with 1 record type rather than creating multiple record types per employee if I can. Thanks if you know! Glenn Ackerson ************************************************** Glenn Ackerson Information Technology Professional III Internet Address: gsacker@is.unco.edu University of Northern Colorado Information Services Carter Hall Greeley, CO 80639 From owner-sqr-users@list.iex.net Thu Apr 15 14:30:11 1999 Date: Thu, 15 Apr 1999 11:27:37 CDT From: the dragon Subject: Re: Max record length on created flat file from SQR Glenn, I have a program creating a fixed length fat file of 6100 characters. clark dragon enterprises, consulting services. ----Original Message Follows---- I have not found documentation, although I really haven't looked. However, I know I have a couple of SQRs that read and write 1080 characters per record. -----Original Message----- Has anyone found documentation telling what the maximum record length is that's allowed creating/writing to a flat file from an SQR program? I'm creating an extract file for one of our departments and the record length is getting VERY large. I'd rather keep the format of the file with 1 record type rather than creating multiple record types per employee if I can. Thanks if you know! Glenn Ackerson _______________________________________________________________ Get Free Email and Do More On The Web. Visit http://www.msn.com From owner-sqr-users@list.iex.net Thu Apr 15 11:50:30 1999 Date: Thu, 15 Apr 1999 12:35:27 -0400 From: Tony DeLia Subject: Re: Max record length on created flat file from SQR I don't have access to SQR documentation but if you try to open a file with a length greater than 32767 or (2**15)-1 it will not compile... Example 1: ---------- open 'c:\temp\reclen.txt' as 1 for-writing record=32767:vary close 1 This compiles and executes without a problem... Example 2: ---------- open 'c:\temp\reclen.txt' as 1 for-writing record=32768:vary close 1 This does not compile and displays the error message: (SQR 2902) OPEN missing required qualifiers: RECORD={rec_len} FOR-READING|FOR-WRITING|FOR-APPEND The version of SQR I used to test this is 3.0.13.2 which leads me to believe a half-word (16 bit) is used to store the length (FCB or DCB area) without utilizing the high-order bit (which may indicate a file attribute/mode)... I think 32767 is sufficient in most cases... Tony DeLia Sharon Bennett wrote: > > I have not found documentation, although I really haven't looked. However, I > know I have a couple of SQRs that read and write 1080 characters per record. > > -----Original Message----- > From: Discussion of SQR, SQRIBE Technologies's database > reporting language [mailto:SQR-USERS@list.iex.net] On Behalf Of Ackerson, > Glenn > Sent: Wednesday, April 14, 1999 6:04 PM > To: Multiple recipients of list SQR-USERS > Subject: Max record length on created flat file from SQR > > Has anyone found documentation telling what the maximum record > length is that's allowed creating/writing to a flat file from an SQR > program? I'm creating an extract file for one of our departments and > the record length is getting VERY large. I'd rather keep the format > of the file with 1 record type rather than creating multiple record > types per employee if I can. Thanks if you know! > > Glenn Ackerson > ************************************************** > Glenn Ackerson > Information Technology Professional III > Internet Address: gsacker@is.unco.edu > University of Northern Colorado > Information Services > Carter Hall Greeley, CO 80639 -- Tony DeLia AnswerThink Consulting Group PeopleSoft Solutions Practice - Delphi Partners tdelia@erols.com From owner-sqr-users@list.iex.net Thu Apr 15 11:54:39 1999 Date: Thu, 15 Apr 1999 12:39:37 -0400 From: Tony DeLia Subject: [Fwd: sqr problem] This is a multi-part message in MIME format. --------------38BD2A6C16F7 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Our friend Theresa is having some system problems and cannot post to the SQRUG list... I'm forwarding her post... maybe someone has encountered a similar problem... Thanks, Tony DeLia -- Tony DeLia AnswerThink Consulting Group PeopleSoft Solutions Practice - Delphi Partners tdelia@erols.com --------------38BD2A6C16F7 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Received: from mx06.erols.com ([207.172.3.248]) by mta1.mail.erols.net (InterMail v03.02.07.03 118-128) with ESMTP id <19990415144450.CADC508@mx06.erols.com> for ; Thu, 15 Apr 1999 10:44:51 -0400 Received: from nsc273.na.gw2k.com (imail.gateway.com [63.66.78.240]) by mx06.erols.com (8.8.8-970530/8.8.5/MX-980323-gjp) with ESMTP id KAA27222 for ; Thu, 15 Apr 1999 10:44:46 -0400 (EDT) Received: from nsc-150.na.gw2k.com (unverified) by nsc273.na.gw2k.com (Content Technologies SMTPRS 2.0.15) with ESMTP id for ; Thu, 15 Apr 1999 09:39:39 -0500 Received: by nsc-150.gw2k.com with Internet Mail Service (5.0.1460.8) id <21610S79>; Thu, 15 Apr 1999 09:39:39 -0500 Message-Id: From: "Cleveland, Theresa" To: "'tdelia@EROLS.com'" Subject: sqr problem Date: Thu, 15 Apr 1999 09:39:24 -0500 Return-Receipt-To: "Cleveland, Theresa" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1460.8) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Tony, I am having a problem with running an SQR on Unix Server, Sybase 11.9, = PS 7.01, SQR 3.18.... I am receiving this message: PeopleSoft prcs_sqr Started prcs_sqr[228]: ^=8D8: Generated or received a file descriptor number = that is not valid. This program has not changed since April 4 and has been running fine = until Monday night, when our database segment ran out of space, which abended = all jobs with this message. I reran a few jobs yesterday and they ran fine = so I thought all was well. Last night this one program abended again. I run = this program in our test environment, which is supposed to be the same set = up as production, and it works fine. =20 I have searched the archives and can not find this particular error. Have you an idea on this? I sure would appreciate it. Thanks, Theresa PS. Sorry I am writing you directly, but I can not send to the list = either. If you would, please forward!=20 =20 --------------38BD2A6C16F7-- From owner-sqr-users@list.iex.net Thu Apr 15 15:13:45 1999 Date: Thu, 15 Apr 1999 15:52:53 -0400 From: Bill Ciunowicz Subject: Break and group on a sub string This is a multi-part message in MIME format. ------=_NextPart_000_0030_01BE8758.05F3FB20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am trying to break and group on a substring. I have seen this done with begin-sql but not with Begin-Select. Example: Begin-select=20 a.name a.address substring(a.userID,4,1) on-break print=3Dnever procedure=3DDoit from user_tbl a order by substring(a.userID,4,1)=20 End-Select Any help would be appreciated. Bill C.. ------=_NextPart_000_0030_01BE8758.05F3FB20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am trying to break and group on a = substring.
I have seen this done with begin-sql but not with=20 Begin-Select.
Example:
 
Begin-select
a.name
a.address
substring(a.userID,4,1) on-break print=3Dnever=20 procedure=3DDoit
from user_tbl a
order by substring(a.userID,4,1)=20
End-Select
 
Any help would be appreciated.
 
Bill C..
 
------=_NextPart_000_0030_01BE8758.05F3FB20-- From owner-sqr-users@list.iex.net Thu Apr 15 15:33:00 1999 Date: Thu, 15 Apr 1999 13:15:39 -0700 From: Peter Lewandowski Subject: How to print to control printer output. I have 1 SQR report that produces 5 print files. 'xxxx.lis' 'xxxx.l01' 'xxxx.l02' 'xxxx.l03' 'xxxx.l04' I need 'xxxx.lis', 'xxxx.l01', 'xxxx.l02' to print out to a printer in the payroll department, and the 'xxxx.l03' to print in the HR department, and the 'xxxx.l04' to print in both departments. Any ideas on how to make this happen would be helpful. UNIX/Oracle/SQR/Peoplesoft environment. -- Peter Lewandowski Analyst/Programmer Level II 18111 Nordhoff St Northridge, CA 91330-8211 818-677-7539 From owner-sqr-users@list.iex.net Thu Apr 15 15:55:39 1999 Date: Thu, 15 Apr 1999 22:35:29 +0200 From: "Terry Cheung." Subject: line-heght and char-width change during runtime? Hi , I am using SQR v4 on SYBASE 11 I have written a SQR report and printing on a overlay containing a table grid. The problem is that I have set the line-height = 10 and so the positioning is done by rows and columns rather than the accurate point grid system, so it was difficult to fit align to the overlay grid. Is there any way I can change the line-height (=1)and char-width (=1) to use the point system for some part of the report without having to re positioning all the print positions of the whole report? Best Regards Terry Cheung - Bertelsmann mediaSystems BMG Distribution, Unit 24 Crystal Drive, Warley, West Midlands, B66 1QG, United Kingdom. * terry.cheung@bmg.co.uk * terry.cheung@bertelsmann.de * Tel: +(44)-121-543-4276 * Fax: +(44)-121-543-4393 From owner-sqr-users@list.iex.net Thu Apr 15 15:59:59 1999 Date: Thu, 15 Apr 1999 16:43:31 -0400 From: Venu Gopal Subject: How To call sybase stored procedure from SQR Can any one help us in Calling sybase stored procedures from SQR Naseer From owner-sqr-users@list.iex.net Thu Apr 15 16:23:11 1999 Date: Thu, 15 Apr 1999 13:59:02 -0700 From: "Shaver, Richard H" Subject: email problems HELP!!! SQR 4.3 Maximo SQL Server 6.5 We are attempting to notify people of various events via email generated within SQR scripts. The results are intermittent. It works most of the time, but for some unknown reason it will bomb occasionally. Our contractor says it isn't his code as it does work most of the time. I know there isn't much info regarding the problem in this message. I don't have all the information to give. I just know that I now have the job to make the email function work consistently. All I am looking for now is find anyone who has used SQR, Maximo and SQL Server and encountered an intermittent mail problem. Thanks Rick Shaver Lockheed Martin Data Systems richard.h.shaver@lmco.com 360.396.8488 "To Lt. Gen. Cromwell, I bequeath one of my words, which he must want, seeing that he hath never kept any of his own." >From the last will and testament of the fifth Earl of Pembroke From owner-sqr-users@list.iex.net Thu Apr 15 17:00:36 1999 Date: Thu, 15 Apr 1999 17:37:25 -0400 From: "Dray, Adam" Subject: Re: How To call sybase stored procedure from SQR [Naseer asks about calling Sybase stored procedures from SQR] Here's a couple examples: ! example 1 Execute Do = Print_Form @#proc_return_status = p_get_bill_of_sale INTO &txn_id int, ! transaction ID &year int, ! vehicle year ("1998") &make char(20), ! vehicle make ("Ford") &model char(20), ! vehicle model ("Escort") &style char(20), ! vehicle style ("LX") &color char(20), ! vehicle color ("seafoam") ! et cetera, ! many columns &cli_no char(4) ! client number ("0123") ! check #proc_return_status here ! example 2 Begin-Procedure Acknowledge_Queue ( #queue, #txn_id ) Execute p_q_acknowledge @task_queue_id = #queue, @txn_id = #txn_id ! lazy and sloppy: did not check return status of proc End-Procedure ! Acknowledge_Queue Hope this helps. Refer to the EXECUTE statement in the SQR Language Reference for more information. -- Adam Dray From owner-sqr-users@list.iex.net Thu Apr 15 17:51:22 1999 Date: Thu, 15 Apr 1999 15:35:03 -0700 From: Loren Berthelsen Subject: BLOB assignment in Informix Does anyone have any knowledge of how to deal with a BLOB assignment from Informix - changing it to a character? Are there any flags, variables or other process used to handle a BLOB? Thanks, Loren Berthelsen Customer Support Manager Convoy Corporation From owner-sqr-users@list.iex.net Thu Apr 15 20:16:17 1999 Date: Thu, 15 Apr 1999 20:05:52 -0500 From: Don Mellen Subject: Re: HTML Output and font size Have you tried using an "alter-printer point-size=" command before the first item prints in the report? For some reason the "declare" sections for reports don't get checked for the font size by the HTML converter, so without explicitly stating it, the HTML converter uses its default. We've put out several "eh" reports that look great on several browsers. On Thu, 15 Apr 1999, Mike Harrison wrote: > -printer:eh is not really an option for me, because the html page does not > display properly under Netscape 4.08, which is the corporate browser. All > of the columns on the report run together when I output using eh. When using > ht, the report displays a lot better (but with too big fonts). > > Mike Harrison > mharris@interlog.com > mikeha1@zdnetmail.com > > > -----Original Message----- > > From: Discussion of SQR, SQRIBE Technologies's database reporting > > language [mailto:SQR-USERS@list.iex.net]On Behalf Of Franck Masson > > Sent: Thursday, April 15, 1999 5:52 AM > > To: Multiple recipients of list SQR-USERS > > Subject: Re: HTML Output and font size > > > > > > use -printer:eh > > in this case we use CSS to specify font and size. > > CSS run only on netscape 3.2 and IE 4 > > > > Franck, > > > > Mike Harrison wrote: > > > > > > When outputting reports to html using -printer:ht, is there any > > way of avoiding the user having to reset their fixed-width font > > size in IE or Netscape in order to have the html page print > > properly? Right now they would have to go into options and make > > it smaller, > > > print the report, then make it bigger. Is there anything we can > > do to avoid this? We can't leave the font at the smallest size > > because some HTML pages are illegible with the smallest size fixed font. > > > Thanks, > > > > > > Mike Harrison > > > mikeha1@zdnetmail.com > > > > > > Free web-based email, anytime, anywhere! > > > ZDNet Mail - http://www.zdnetmail.com > > > ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ donm@ontko.com | "In the beginning, there was nothing, which exploded" From owner-sqr-users@list.iex.net Fri Apr 16 01:16:58 1999 Date: Fri, 16 Apr 1999 11:34:11 +0530 From: "K. S. Narayanan" Subject: SQL Insert Hi all, We have been attempting to read a flat file and insert the output into a table using SQL insert (upon running a SQR program). We are able to get the values when we give the Write command but when we try inserting directly into the PS record we have encountered the following error. (SQR 5528) SQLBase SQLEXE error 321 in cursor 1: Insert/Update value is too large Could somebody out there help Thanx a tonne in advance K S Narayanan. Intelligroup Asia Pvt. Ltd Hyderabad India From owner-sqr-users@list.iex.net Fri Apr 16 06:52:18 1999 Date: Fri, 16 Apr 1999 06:39:04 -0500 From: Wes Williams Subject: Re: SQL Insert >SQR 5528) SQLBase SQLEXE error 321 in >cursor 1: > Insert/Update value is too >large It means what it says. Check the length of the data against the length of the table columns you are attempting to insert into. Wes Wes Williams Sundstrand Aerospace >>> "K. S. Narayanan" 04/16 1:04 AM >>> Hi all, We have been attempting to read a flat file and insert the output into a table using SQL insert (upon running a SQR program). We are able to get the values when we give the Write command but when we try inserting directly into the PS record we have encountered the following error. ( Could somebody out there help Thanx a tonne in advance K S Narayanan. Intelligroup Asia Pvt. Ltd Hyderabad India From owner-sqr-users@list.iex.net Fri Apr 16 08:04:02 1999 Date: Fri, 16 Apr 1999 08:54:03 -0400 From: Venu Gopal Subject: Re: SQL Insert Check the sizes of the values and truncate them according to the actual field lengths and check for the data types Hope this will help you and if u need any further help contact me directly and I have some programs wriiten for Data interfacing and conversion Venu From owner-sqr-users@list.iex.net Fri Apr 16 08:33:44 1999 Date: Fri, 16 Apr 1999 09:25:19 -0400 From: Tony DeLia Subject: Re: SQL Insert That's correct... the length of the variable exceeds the length of the column you are inserting into... here's a few additional tips to ensure data is inserted or updated properly: ---------------------------------------------------------------------------- read 1 into $rec:100 ... let $I_value = lpad(rtrim(substr($rec,1,30),' '),1,' ') ... do Insert-Value ... ---------------------------------------------------------------------------- This accomplishes several things: A - limits variable length to maximum allowed for column (30) substr($rec,1,30) B - removes trailing blanks from variable rtrim(substr($rec,1,30),' ') C - avoids null column error by padding w/blank for length of 1 lpad(rtrim(substr($rec,1,30),' '),1,' ') * This is optional - use when column is defined as NOT NULL. Tony DeLia Note: Step B (remove trailing blanks) can be helpful during conversion. A column with an extra trailing blank will not match the same value without the trailing blank... The fields look identical online or through SQL*Plus, SQL*Talk, etc. You'll notice the discrepency when evaluating the length of the data... Wes Williams wrote: > > >SQR 5528) SQLBase SQLEXE error 321 in >cursor 1: > > Insert/Update value is too >large > > It means what it says. > Check the length of the data against the length of the table columns you are attempting to insert into. > > Wes > > Wes Williams > Sundstrand Aerospace > > >>> "K. S. Narayanan" 04/16 1:04 AM >>> > Hi all, > > We have been attempting to read a flat file and insert the output into a table using SQL insert (upon running a SQR program). We are able to get the values when we give the Write command but when we try inserting directly into the PS record we have encountered the following error. > > ( > Could somebody out there help > Thanx a tonne in advance > > K S Narayanan. > Intelligroup Asia Pvt. Ltd > Hyderabad > India -- Tony DeLia AnswerThink Consulting Group PeopleSoft Solutions Practice - Delphi Partners tdelia@erols.com From owner-sqr-users@list.iex.net Fri Apr 16 11:17:46 1999 Date: Fri, 16 Apr 1999 11:48:09 -0400 From: Chris Kelly Subject: LOCKING TABLES --0__=Ogj9QCioKMYUkPja5enwX5UhrvjuGVzv5rSuCvfNtIXV1jOcv8dhGZga Content-type: text/plain; charset=us-ascii Content-Disposition: inline I ASKED THIS QUESTION LAST WEEK AND I HAVE DONE MORE TESTING my blocking locks are not in TEMPDB they are in the prodution database , on my production database SELECT INTO is turned off i tried traceon (5302), i increased the LE THRESHOLD,i increased the CURSOR THRESHOLD, i increased the USER CONNECTIONS, NONE of this made any difference i looked at the input buffer of the blocking lock and the statment was not in my sqr so i guess that it comes from the SQR code itself. i guess what i really want to know is IS THIS A KNOWN SQR PROBLEM THAT REALY HAS NO SOLUTION When I run any sqr that does anything more than a simple select it locks the system tables Consequently no other users can use the database until the sqr is finished. I even put an input in the sqr so that it would wait and not do any processing and during the pause for I sometimes can not get into any database or even enterprise manager. After the input it locks Tables that do not allow any one to enter the database . Even enterprise manager gets an eternal hourglass until the sqr is finished running. These SQR usually take under 2 minutes to run. Server microsoft SQL 6.5 Application ADP --0__=Ogj9QCioKMYUkPja5enwX5UhrvjuGVzv5rSuCvfNtIXV1jOcv8dhGZga Content-type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-transfer-encoding: quoted-printable ?S HRIZON which is the same as Peoplesoft version 5 sqr version SQRW/3.0.16.3/PC/WINDOWS NT 3.51/ODBC Level1/Jan 10 1997 = --0__=Ogj9QCioKMYUkPja5enwX5UhrvjuGVzv5rSuCvfNtIXV1jOcv8dhGZga-- From owner-sqr-users@list.iex.net Fri Apr 16 20:37:42 1999 Date: Fri, 16 Apr 1999 11:56:32 -0500 From: Jimmy Liao Subject: Re: LOCKING TABLES Chris, As far as I know, I don't think the locking issue is caused by sqr, but rather how SQL server 6.5 is set-up. In most instances, when you do a "select" statement, be it from PeopleSoft queries, panels, Enterprise Manager or SQR programs, you automatically lock others from accessing the same table. You can do the following to alleviate the situation: 1. In Enterprise Manager, there's a no-lock command that you can use for your select statements so others can access the tables as well. However, your queried results may not be as accurate if others are updating the same tables concurrently. You can try to implement this into your sqr's select statement. I think there's an Lock RR vs Lock XX mode. I have not really worked with it extensively - but it could be something for you to look into. 2. Performance Issue: make sure the select / insert statements that you are working with are set for optimum performance. That is, efficient joins, limit number of tables...keys, indexes etc. If you are inserting data into a big table, you might want to drop indexex for that table, insert, then re-create the indexes. I hope this helps! Regards, Jimmy Chris Kelly 04/16/99 03:48 PM GMT Please respond to SQR-USERS@list.iex.net To: Multiple recipients of list SQR-USERS cc: (bcc: Chien-Wei J. Liao) Subject: LOCKING TABLES I ASKED THIS QUESTION LAST WEEK AND I HAVE DONE MORE TESTING my blocking locks are not in TEMPDB they are in the prodution database , on my production database SELECT INTO is turned off i tried traceon (5302), i increased the LE THRESHOLD,i increased the CURSOR THRESHOLD, i increased the USER CONNECTIONS, NONE of this made any difference i looked at the input buffer of the blocking lock and the statment was not in my sqr so i guess that it comes from the SQR code itself. i guess what i really want to know is IS THIS A KNOWN SQR PROBLEM THAT REALY HAS NO SOLUTION When I run any sqr that does anything more than a simple select it locks the system tables Consequently no other users can use the database until the sqr is finished. I even put an input in the sqr so that it would wait and not do any processing and during the pause for I sometimes can not get into any database or even enterprise manager. After the input it locks Tables that do not allow any one to enter the database . Even enterprise manager gets an eternal hourglass until the sqr is finished running. These SQR usually take under 2 minutes to run. Server microsoft SQL 6.5 Application ADP ?S HRIZON which is the same as Peoplesoft version 5 sqr version SQRW/3.0.16.3/PC/WINDOWS NT 3.51/ODBC Level1/Jan 10 1997 From owner-sqr-users@list.iex.net Fri Apr 16 14:44:12 1999 Date: Fri, 16 Apr 1999 15:17:56 -0400 From: "Hilts, Mike" Subject: Re: LOCKING TABLES This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01BE883D.D5D5CDA6 Content-Type: text/plain Are you running with the -XP option. My guess is that you are creating stored procedures inside the SQR which may improve performance at the cost of concurrency. Try running with the -XP option and see if your problem goes away, but don't be surprised if your sqr takes longer. > -----Original Message----- > From: Chris Kelly [SMTP:ckelly@ATRIACOM.COM] > Sent: 16 April 1999 11:48 > To: Multiple recipients of list SQR-USERS > Subject: LOCKING TABLES > > > > I ASKED THIS QUESTION LAST WEEK AND I HAVE DONE MORE TESTING > > my blocking locks are not in TEMPDB they are in the prodution database , > on my > production database > SELECT INTO is turned off > i tried traceon (5302), i increased the LE THRESHOLD,i increased the > CURSOR > THRESHOLD, > i increased the USER CONNECTIONS, NONE of this made any difference > i looked at the input buffer of the blocking lock and the statment was > not in > my sqr so i guess that it comes from > the SQR code itself. i guess what i really want to know is IS THIS A > KNOWN SQR > PROBLEM THAT REALY HAS NO SOLUTION > When I run any sqr that does anything more than a simple select it locks > the > system tables > Consequently no other users can use the database until the sqr is > finished. > I even put an input in the sqr so that it would wait and not do any > processing > and during the pause for > I sometimes can not get into any database or even enterprise manager. > After the > input it locks > Tables that do not allow any one to enter the database . Even enterprise > manager gets an eternal hourglass until the sqr is finished running. > These SQR > usually take under 2 minutes to run. > > Server microsoft SQL 6.5 > Application ADP << File: ATT713037.txt >> ------_=_NextPart_001_01BE883D.D5D5CDA6 Content-Type: text/html Content-Transfer-Encoding: quoted-printable RE: LOCKING TABLES

Are you running with = the -XP option.  My guess is that you are creating stored = procedures inside the SQR which may improve performance at

the cost of = concurrency.  Try running with the -XP option and see if your = problem goes away, but don't be surprised if your sqr takes = longer.

    -----Original Message-----
    From:   Chris Kelly [SMTP:ckelly@ATRIACOM.COM]
    Sent:   16 April 1999 11:48
    To:     Multiple recipients of list SQR-USERS
    Subject:       = LOCKING TABLES



    I ASKED THIS = QUESTION LAST WEEK AND I HAVE DONE MORE TESTING

    my blocking locks = are not in TEMPDB they are in the prodution database , on my
    production = database
    SELECT INTO is = turned off
    i tried traceon = (5302), i increased the LE THRESHOLD,i increased the CURSOR
    THRESHOLD,
    i increased the = USER CONNECTIONS,    NONE of this made any = difference
    i looked at the = input buffer  of the blocking lock and the statment was not = in
    my sqr so i guess = that it comes from
    the SQR code = itself.  i guess what i really want to know is IS THIS A KNOWN = SQR
    PROBLEM THAT REALY = HAS NO SOLUTION
    When I run any sqr = that does anything more than a simple select it locks the
    system = tables
    Consequently no = other users can use the database  until the sqr is = finished.
    I even put an input = in the  sqr so that it would wait and not do any processing
      and during = the pause for
    I sometimes can not = get into any database or even enterprise manager. After the
    input it = locks
    Tables that do not = allow any one to enter the database .  Even enterprise
    manager gets an = eternal hourglass until the sqr is finished running.  These = SQR
    usually take under = 2 minutes to run.

    Server  = microsoft SQL 6.5
    Application  = ADP << File: ATT713037.txt >>

------_=_NextPart_001_01BE883D.D5D5CDA6-- From owner-sqr-users@list.iex.net Fri Apr 16 16:12:18 1999 Date: Fri, 16 Apr 1999 15:55:04 -0500 From: Diwakar Bhatt Subject: Re: GL Interface without PS/GL Product If you plan to feed your GL system with the Payroll accounting data, then by all means do populate the table. From owner-sqr-users@list.iex.net Fri Apr 16 18:42:37 1999 Date: Fri, 16 Apr 1999 16:01:57 -0500 From: Diwakar Bhatt Subject: Re: Listing of all OPRID's and the menus and rights assigned to t hem! This was developed for version 6.0 SELECT A.MENUGROUP, A.MENULABEL, B.BARNAME, C.ITEMLABEL, D.ITEMLABEL, A.MENUNAME, B.BARITEMNAME, B.PNLITEMNAME, B.DISPLAYONLY FROM PSMENUDEFN A, PSAUTHITEM B, PSMENUITEM C, PSPNLGROUP D WHERE C.MENUNAME = A.MENUNAME AND D.MENUNAME = C.MENUNAME AND D.ITEMNUM = C.ITEMNUM AND ( A.MENUNAME = B.MENUNAME AND B.OPRID = :1 AND C.ITEMTYPE = 5 AND C.BARNAME = B.BARNAME AND C.ITEMNAME = B.BARITEMNAME AND D.ITEMNAME = B.PNLITEMNAME ) ORDER BY 1, 2, 3, 4 From owner-sqr-users@list.iex.net Fri Apr 16 16:39:45 1999 Date: Fri, 16 Apr 1999 23:24:56 +0100 From: Franck Masson Subject: Re: Can you append to a .lis file? hi, try to use the '-A' option of sqrw.exe -A Causes the output to be appended to an existing output file of the same name. If the file does not exist, a new one is created. This is useful when you want to run the same report more than once but only want to create a single output file. franck, Steve Bergin wrote: > > Current SQR environment: > > Centura SQLBase 6.1.2 PTF-4 on NT 4.0 > Win95 client workstations > HRizon 7.01b > SQRW 3.0.7.1 > > Question: > > Have the a report that is run for three pay groups (maybe more in the future), > each at a different time. Rather than three create reports with different names > or print the report three times, I would like to append to the first .lis > file and print the whole thing later. Thought I saw something like this in > archives but have not been able to locate it. Does anyone know how to do this? > Thanks!!! From owner-sqr-users@list.iex.net Fri Apr 16 18:59:47 1999 Date: Fri, 16 Apr 1999 15:34:00 -0700 From: Steve Bergin Subject: Can you append to a .lis file? Current SQR environment: Centura SQLBase 6.1.2 PTF-4 on NT 4.0 Win95 client workstations HRizon 7.01b SQRW 3.0.7.1 Question: Have the a report that is run for three pay groups (maybe more in the future), each at a different time. Rather than three create reports with different names or print the report three times, I would like to append to the first .lis file and print the whole thing later. Thought I saw something like this in archives but have not been able to locate it. Does anyone know how to do this? Thanks!!! From owner-sqr-users@list.iex.net Fri Apr 16 19:29:24 1999 Date: Fri, 16 Apr 1999 20:23:16 -0700 From: Steve Hall Subject: Re: LOCKING TABLES I had a similar problem - it had nothing to do with sqr per se, but was a sql-server 6.5 locking problem. Really bad, the whole database had to be restored, just cycling it didn't work. sql-server 6.5 database had been improperly installed/configured, it turned out. I suggest talking to the dba and checking out configuration. good luck! -S -----Original Message----- From: Discussion of SQR, SQRIBE Technologies's database reporting language [mailto:SQR-USERS@list.iex.net]On Behalf Of Chris Kelly Sent: Friday, April 16, 1999 8:48 AM To: Multiple recipients of list SQR-USERS Subject: LOCKING TABLES I ASKED THIS QUESTION LAST WEEK AND I HAVE DONE MORE TESTING my blocking locks are not in TEMPDB they are in the prodution database , on my production database SELECT INTO is turned off i tried traceon (5302), i increased the LE THRESHOLD,i increased the CURSOR THRESHOLD, i increased the USER CONNECTIONS, NONE of this made any difference i looked at the input buffer of the blocking lock and the statment was not in my sqr so i guess that it comes from the SQR code itself. i guess what i really want to know is IS THIS A KNOWN SQR PROBLEM THAT REALY HAS NO SOLUTION When I run any sqr that does anything more than a simple select it locks the system tables Consequently no other users can use the database until the sqr is finished. I even put an input in the sqr so that it would wait and not do any processing and during the pause for I sometimes can not get into any database or even enterprise manager. After the input it locks Tables that do not allow any one to enter the database . Even enterprise manager gets an eternal hourglass until the sqr is finished running. These SQR usually take under 2 minutes to run. Server microsoft SQL 6.5 Application ADP From owner-sqr-users@list.iex.net Sun Apr 18 18:42:15 1999 Date: Sun, 18 Apr 1999 19:26:16 EDT From: Steffon Johnson Subject: Re: SQR documentation The SQR Language Ref langref.pdf, and sqrguide.pdf, and its associated HELP file(s) should be located on your application server. You should have at least two files (the lang ref and command ref) with an Acrobat Reader file extension of *.PDF and additional help files named cmdhlp, sqrp,sqrw, sqrt, and sqrwv. For the single user version, they are located in the ...\(your PeopleSoft directory name)\sqrbinw, and ...\(your PeopleSoft directory name)\sqrbinw\doc\sqr HTH, Steffon From owner-sqr-users@list.iex.net Mon Apr 19 08:49:59 1999 Date: Mon, 19 Apr 1999 09:33:06 -0400 From: Moore Anthony B Subject: PeopleSoft questions ?? - NON-TECHNICAL!!! JOB RELATED!!! I have been doing SQR development for the last two years as a reporting solution for Wireless Billing Systems. I would love to move into PeopleSoft development. Any suggestions or ideas on how I can do this with no PeopleSoft experience ? Anthony Moore Front End Development BellSouth Cellular Corp. (770) 351-1382 email: Anthony_B_Moore@bscc.bls.com From owner-sqr-users@list.iex.net Mon Apr 19 09:38:01 1999 Date: Mon, 19 Apr 1999 10:17:05 -0400 From: Chris Kelly Subject: Re: LOCKING TABLES i have tried to use -XP and it gives me an error of sqr 5716 unknown flag on command line xp i looked up in the sqr3 users guide and it tells me that -XP is used for Sybase does xp work under microsoft sql 6.5 From owner-sqr-users@list.iex.net Mon Apr 19 09:51:22 1999 Date: Mon, 19 Apr 1999 10:37:51 -0400 From: "Reddy, Venkat" Subject: Re: LOCKING TABLES This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01BE8A72.33F88082 Content-Type: text/plain; charset="iso-8859-1" hi Chris, -XP works for Oracle and SYBASE only. Venkat -----Original Message----- From: Chris Kelly [mailto:ckelly@ATRIACOM.COM] Sent: Monday, April 19, 1999 10:17 AM To: Multiple recipients of list SQR-USERS Subject: Re: LOCKING TABLES i have tried to use -XP and it gives me an error of sqr 5716 unknown flag on command line xp i looked up in the sqr3 users guide and it tells me that -XP is used for Sybase does xp work under microsoft sql 6.5 ------_=_NextPart_001_01BE8A72.33F88082 Content-Type: text/html; charset="iso-8859-1" RE: LOCKING TABLES

hi Chris,
-XP works for  Oracle and SYBASE only.

Venkat

-----Original Message-----
From: Chris Kelly [mailto:ckelly@ATRIACOM.COM]
Sent: Monday, April 19, 1999 10:17 AM
To: Multiple recipients of list SQR-USERS
Subject: Re: LOCKING TABLES


i have tried to use -XP and it gives me an error of sqr 5716  unknown flag on
command line xp
i looked up in the sqr3 users guide  and it tells me that -XP is used for Sybase
does xp work under microsoft sql 6.5

------_=_NextPart_001_01BE8A72.33F88082-- From owner-sqr-users@list.iex.net Mon Apr 19 11:13:25 1999 Date: Mon, 19 Apr 1999 08:43:55 -0600 From: Juan Alvarado Subject: Re: LOCKING TABLES What is the version of SQR that you have and the version of ODBC ??? -----Original Message----- From: Chris Kelly [mailto:ckelly@ATRIACOM.COM] Sent: Monday, April 19, 1999 8:17 AM To: Multiple recipients of list SQR-USERS Subject: Re: LOCKING TABLES i have tried to use -XP and it gives me an error of sqr 5716 unknown flag on command line xp i looked up in the sqr3 users guide and it tells me that -XP is used for Sybase does xp work under microsoft sql 6.5 From owner-sqr-users@list.iex.net Mon Apr 19 11:05:53 1999 Date: Mon, 19 Apr 1999 08:00:50 -0700 From: Michael Lee Subject: Re: PeopleSoft questions ?? - NON-TECHNICAL!!! JOB RELATED!!! Anthony, There are some consulting firms that may hire you with your SQR experience. You may want to post your information at DICE or some other job engine site or perhaps go through a head hunter. There's alot of SQR work out there still for PeopleSoft clients. With the Y2K issues, there are still PeopleSoft clients still scrambling to meet deadlines. If you go with one of these consulting firms, they may or may not give you the PeopleSoft training. Depends on the company, so be choosy. Good luck! Michael K. Lee mlee@agconsult.com Consultant AG Consulting, an ADP Company http://www.agconsult.com Moore Anthony B on 04/19/99 06:33:06 AM Please respond to SQR-USERS@list.iex.net To: Multiple recipients of list SQR-USERS cc: (bcc: Michael Lee/Application Group) Subject: PeopleSoft questions ?? - NON-TECHNICAL!!! JOB RELATED!!! I have been doing SQR development for the last two years as a reporting solution for Wireless Billing Systems. I would love to move into PeopleSoft development. Any suggestions or ideas on how I can do this with no PeopleSoft experience ? Anthony Moore Front End Development BellSouth Cellular Corp. (770) 351-1382 email: Anthony_B_Moore@bscc.bls.com From owner-sqr-users@list.iex.net Mon Apr 19 11:16:09 1999 Date: Mon, 19 Apr 1999 12:02:47 -0400 From: Venu Gopal Subject: Sybase Stored Procedures In response to my early question and reply e-mails We are using PS 7.53 and Oracle 8 as backend. When we are trying to connect to Sybase using -db we are getting the following errors Can any one out there has faced similar type of problems ?? any help is a great support to us Thanks in advance Error on line 81: (SQR 3730) Incorrect arguments for BEGIN-SQL: [-Cnn] [ON-ERROR=procedure[(arg1[,argi]...)]] begin-sql -DB DSN='icsdbn.dsn;UID=Lifeboat;PWD=lifeboat' (SQR 5528) ORACLE OPARSE error -900 in cursor 4: ORA-00900: invalid SQL statement SQL: Execute Do = 210-Write-Tvc-Data-Out @#proc_return_status = get_poseidon_piece INTO :1 CHAR(50), :2 CHAR(50), :3 CHAR(50), :4 CHAR(50), :5 CHAR(50), :6 CHAR(50), :7 CHAR(50), :8 CHAR(50), :9 CHAR(50), :10 CHAR(50), :11 CHAR(50) Error at: Execute Error on line 97: (SQR 3716) Error in SQL statement. (SQR 5528) ORACLE OPARSE error -2185 in cursor 5: ORA-02185: a token other than WORK follows COMMIT SQL: commit transaction Error at: transaction Error on line 130: (SQR 3716) Error in SQL statement. (SQR 4407) Referenced variables not defined: &pce_cd &rvsn_tx &pce_nm &pce_typ_tx &pce_short_nm &item_catgry_id &item_gr_cd &item_gam_cd &slifeboat_inv &lst_updtd_user_id &lst_updtd_tspiece_id Errors were found in the program file. SQR: Program Aborting. Naseer From owner-sqr-users@list.iex.net Mon Apr 19 12:09:03 1999 Date: Mon, 19 Apr 1999 12:57:17 -0400 From: Natalie Wilson Subject: In Tree Query Option used with Custom Panel to run SQR Has anyone been able to use the In Tree Criteria Option used in Query in conjuction with a custom Panel / SQR report request? We are trying to build an SQR Select statement giving the users the ability to include select Tree Nodes for select Chartfields in GL. PS Query has a great panel or option in the criteria - In Tree - the system lists all the trees and the option to list the nodes, the user easily selects the desired nodes and the SQL is built. We are looking to store this SQL return in a work table to be used in conjunction with a SQR. I don't want to recreate this when I see a perfect application in use currently. Has anyone done something like this in GL? We are on version 7.00 - implementing 7.01 by the end of the month - Informix DB. Thanks! From owner-sqr-users@list.iex.net Mon Apr 19 12:29:08 1999 Date: Mon, 19 Apr 1999 13:11:24 -0400 From: "Dray, Adam" Subject: Re: Sybase Stored Procedures Looking at the error you got (SQR 5528), it seems that you are attaching to Oracle, not Sybase. The -DB syntax that you are using is for ODBC. Are you connecting to Oracle using native drivers or ODBC drivers? I typically put the connection information on my command line for sqrw.exe (-DB, -V, etc.) to establish server, database, username, and password. Try that. -- Adam Dray > -----Original Message----- > From: Venu Gopal [SMTP:Venu_Gopal@VANGUARD.COM] > Sent: Monday, April 19, 1999 12:03 PM > To: Multiple recipients of list SQR-USERS > Subject: Sybase Stored Procedures > > In response to my early question and reply e-mails > > We are using PS 7.53 and Oracle 8 as backend. > > When we are trying to connect to Sybase using -db we are getting the > following errors > > Can any one out there has faced similar type of problems ?? any help is a > great support to us > > Thanks in advance > > Error on line 81: > (SQR 3730) Incorrect arguments for BEGIN-SQL: > [-Cnn] [ON-ERROR=procedure[(arg1[,argi]...)]] > begin-sql -DB DSN='icsdbn.dsn;UID=Lifeboat;PWD=lifeboat' > (SQR 5528) ORACLE OPARSE error -900 in cursor 4: > ORA-00900: invalid SQL statement > SQL: Execute Do = 210-Write-Tvc-Data-Out @#proc_return_status = > get_poseidon_piece INTO :1 CHAR(50), :2 CHAR(50), :3 > > CHAR(50), :4 CHAR(50), :5 CHAR(50), :6 > CHAR(50), :7 CHAR(50), :8 CHAR(50), :9 CHAR(50), :10 > CHAR(50), :11 CHAR(50) > Error at: Execute > > Error on line 97: > (SQR 3716) Error in SQL statement. > > (SQR 5528) ORACLE OPARSE error -2185 in cursor 5: > ORA-02185: a token other than WORK follows COMMIT > SQL: commit transaction > Error at: transaction > > Error on line 130: > (SQR 3716) Error in SQL statement. > > (SQR 4407) Referenced variables not defined: > > &pce_cd > &rvsn_tx > &pce_nm > &pce_typ_tx > &pce_short_nm > &item_catgry_id > &item_gr_cd > &item_gam_cd > &slifeboat_inv > &lst_updtd_user_id > &lst_updtd_tspiece_id > > Errors were found in the program file. > > SQR: Program Aborting. > > > Naseer From owner-sqr-users@list.iex.net Mon Apr 19 12:47:07 1999 Date: Mon, 19 Apr 1999 13:23:44 -0400 From: Marlon Corrales Subject: Relinking SQR Executable/Problems with UFUNC.C Hello All! We are trying to update our system from: Old Platform SQR 3.0 Oracle 7.3 VAX/VMS to: New Platform SQR 4.3 Oracle 8.0 Unix/Solaris We have our own functions defined in ufunc.c. Our revised ufunc.c uses SQR functions like sqgmem and sqerfp. Problem: When we are re-linking the SQR executable in our new platform, we got the linker errors: Undefined first referenced symbol in file sqgmem ..../ufunc.o sqerfp ..../ufunc.o Does anybody know what happened to these functions? Were they dropped in the new version of SQR? Or are we missing some libraries? Thanx. From owner-sqr-users@list.iex.net Mon Apr 19 14:05:23 1999 Date: Mon, 19 Apr 1999 14:01:42 -0400 From: Chris Kelly Subject: locking tables --0__=cyFGXFLh93Qfo0ByT9Y1ZNg84543fXS6Xr7HB4HMEGuXFZgKZMbMPU9Y Content-type: text/plain; charset=us-ascii Content-Disposition: inline I ASKED THIS QUESTION LAST WEEK AND I HAVE DONE MORE TESTING I UP GRADED THE ODBC TOVERSION 3.7 USING THE MDAC 2.1 AND THIS DID HELP MY BLOCKING LOCKS. NOW IT SEEMS THAT THE ONLY BLOCKING LOCKS ARE ON SOME PRODUCTION TABLES AND spt_values in MASTER. Thank you for your help on the -XP so if - XP only works on oracle and Sybase and I am using sql6.5 What else can I try. my blocking locks are not in TEMPDB they are in the prodution database , on my production database SELECT INTO is turned off i tried traceon (5302), i increased the LE THRESHOLD,i increased the CURSOR THRESHOLD, i increased the USER CONNECTIONS, NONE of this made any difference i looked at the input buffer of the blocking lock and the statment was not in my sqr so i guess that it comes from the SQR code itself. i guess what i really want to know is IS THIS A KNOWN SQR PROBLEM THAT REALY HAS NO SOLUTION When I run any sqr that does anything more than a simple select it locks the system tables Consequently no other users can use the database until the sqr is finished. I even put an input in the sqr so that it would wait and not do any processing and during the pause for I sometimes can not get into any database or even enterprise manager. After the input it locks ables that do not allow any one to enter the database . Even enterprise manager gets an eternal hourglass until the sqr is finished running. These SQR usually take under 2 minutes to run. Server microsoft SQL 6.5 Application ADP --0__=cyFGXFLh93Qfo0ByT9Y1ZNg84543fXS6Xr7HB4HMEGuXFZgKZMbMPU9Y Content-type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-transfer-encoding: quoted-printable ?S HRIZON which is the same as Peoplesoft version 5 sqr version SQRW/3.0.16.3/PC/WINDOWS NT 3.51/ODBC Level1/Jan 10 1997 = --0__=cyFGXFLh93Qfo0ByT9Y1ZNg84543fXS6Xr7HB4HMEGuXFZgKZMbMPU9Y-- From owner-sqr-users@list.iex.net Mon Apr 19 14:57:44 1999 Date: Mon, 19 Apr 1999 12:41:42 -0700 From: Frank Hanny Subject: Oracle Stored Procedures I searched several years worth of archives and found many references to the possibility of calling Oracle stored procedures from within begin-sql/end-sql blocks, but no clear syntax examples. Can anyone help with this? Thanks! Frank Hanny From owner-sqr-users@list.iex.net Mon Apr 19 16:07:05 1999 Date: Mon, 19 Apr 1999 13:46:09 PDT From: srinivasa Bikki Subject: Re: SQL Insert Check the length of the field in PS table and increase it properly, if possible. Otherwise find out the length of that PS field, and extract that same length from the inserting variable(from flat file) to a temp variable, then insert that temp variable to PS table. Hope this helps.. Srinivas Bikki KPMG >From: "K. S. Narayanan" >Reply-To: SQR-USERS@list.iex.net >To: Multiple recipients of list SQR-USERS >Subject: SQL Insert >Date: Fri, 16 Apr 1999 11:34:11 +0530 > >Hi all, > >We have been attempting to read a flat file and insert the output into a table using SQL insert (upon running a SQR program). We are able to get the values when we give the Write command but when we try inserting directly into the PS record we have encountered the following error. > >(SQR 5528) SQLBase SQLEXE error 321 in cursor 1: > Insert/Update value is too large > >Could somebody out there help >Thanx a tonne in advance > >K S Narayanan. >Intelligroup Asia Pvt. Ltd >Hyderabad >India _______________________________________________________________ Get Free Email and Do More On The Web. Visit http://www.msn.com From owner-sqr-users@list.iex.net Mon Apr 19 16:09:29 1999 Date: Mon, 19 Apr 1999 16:50:39 -0400 From: Venu Gopal Subject: Executing Sybase Stored Procedure from Oracle Environment. 1. With out Begin-Sql or Begin-Select we cannot logon to Sybase server. > At > this point without these statements if you try to use EXECUTE command > it will go to Oracle Database & try run that Stored procedure from Oracle > Server where as that it sitting in Sybase Server. > > 2. If we are trying to log on from command line -DB & -V option are giving > some error.(like : Invalid Number in -d ) > > 3. Without loggin on to Sybase Server it is Logging to Oracle Server. > > > Thanks for any Help. > From owner-sqr-users@list.iex.net Mon Apr 19 23:23:37 1999 Date: Tue, 20 Apr 1999 00:10:30 -0400 From: John Ferguson Subject: Select and Insert in one SQL Statement I have a need to do reversing entries into a table and to accomplish this I would like to do the following: I would like to select an entry based on system source, id, date, line #, amount ,etc.. from table1, then change the date back one day, change sign on the amount (+500 to -500) and change a few other fields and then insert back into same table. I have a few ideas how to do this but was looking for a way to accomplish this in one SQl statement. Would this be faster than doing to separate SQL Statements? Any advice would be appreciated, TIA From owner-sqr-users@list.iex.net Mon Apr 19 23:54:20 1999 Date: Tue, 20 Apr 1999 12:42:45 +0800 From: "Ivory, Wayne" Subject: Re: Select and Insert in one SQL Statement John, You didn't state what RDBMS you were using. Some will buck at selection/modification operations on the same table. However, if it will permit it you can do something like: insert into mytab select system, id, somedatefunction(date,-1), line, -1*amount from mytab HTH Wayne Ivory Information Services Westralian Sands Limited -----Original Message----- From: John Ferguson [mailto:SQR-USERS@list.iex.net] Sent: Tuesday, 20 April 1999 12:10 To: jferguson@INETNOW.NET; SQR-USERS@list.iex.net Subject: Select and Insert in one SQL Statement I have a need to do reversing entries into a table and to accomplish this I would like to do the following: I would like to select an entry based on system source, id, date, line #, amount ,etc.. from table1, then change the date back one day, change sign on the amount (+500 to -500) and change a few other fields and then insert back into same table. I have a few ideas how to do this but was looking for a way to accomplish this in one SQl statement. Would this be faster than doing to separate SQL Statements? Any advice would be appreciated, TIA From owner-sqr-users@list.iex.net Tue Apr 20 02:11:17 1999 Date: Tue, 20 Apr 1999 15:09:18 +0800 From: Hee Kok Hwa Subject: Oracle Stored Procedures Hi Frank, Please refer to the example below : 1. Create a stored procedure create procedure test1 (in_name IN varchar2, in_salary IN number) is begin update employee set salary = salary * 0.1 where name = in_name; end; 2. create SQR begin-program input $input_name do test1 ($input_name) end-program begin-procedure test1 ($input_name) begin-sql begin test1($input_name);; end;; end-sql end-procedure Please try it out. Sorry, I did not test these script, hope no syntax error. Good luck. Regards, KH Hee. 20/4/99. ------------------------------ Date: Mon, 19 Apr 1999 12:41:42 -0700 From: Frank Hanny Subject: Oracle Stored Procedures I searched several years worth of archives and found many references to the possibility of calling Oracle stored procedures from within begin-sql/end-sql blocks, but no clear syntax examples. Can anyone help with this? Thanks! Frank Hanny From owner-sqr-users@list.iex.net Tue Apr 20 05:08:24 1999 Date: Tue, 20 Apr 1999 16:54:05 +0700 From: Hartono Sutirman Subject: Insert into PS_JOB --------------5853AF9F4EA992F81E7657FB Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi... I do a SQR program, my platform is Oracle 7.3, Peopletools 7.52.10 and SQR 4.3 the problem is like this : 1. I create a SQR Report that reads EMPLID, STEP, EFFDT from custom table, I called it B_TEMP table. 2. for each Employee I read from the B_TEMP table, I need to insert an new Record into JOB table using the STEP and EFFDT from the B_TEMP table. 3. If the EFFDT in the JOB table is the same with the the EFFDT from the B_TEMP table, then I would increase the EFFSEQ in the JOB table. my program would look something like this : begin-procedure Insert-Record-PsJob Let EFFSEQ=0 begin-select EMPLID &EMPLID STEP &STEP EFFDT &EFFDT Do Select-From-PsJob Do Insert-To-PsJob FROM PS_B_TEMP end-select end-procedure I select all the column in the JOB and save it in a variable, because the column in Peoplesoft table is NOT NULL, so I need to copy the previous value. begin-procedure Select-From-PsJob begin-select A.EMPLID &A1 A.EMPL_RCD# &A2 A.EFFDT &A3 A.EFFSEQ &A4 move &A4 to #EFFSEQ let #diff=datediff(&DATE_CREATED,&A3,'day') if #diff=0 let #EFFDEQ = #EFFSEQ + 1 end-if A.DEPTID &A5 . . . . A.Custom_Field &A90 FROM PS_JOB A WHERE A.EMPLID = &EMPLID AND ( A.EFFDT = (SELECT MAX(EFFDT) FROM PS_JOB WHERE A.EMPLID = EMPLID AND A.EMPL_RCD# = EMPL_RCD# AND EFFDT <= SYSDATE) AND A.EFFSEQ = (SELECT MAX(EFFSEQ) FROM PS_JOB WHERE A.EMPLID = EMPLID AND A.EMPL_RCD# = EMPL_RCD# AND A.EFFDT = EFFDT) ) end-select end-procedure begin-procedure Insert-To-PsJob begin-SQL On-Error = SQL-ERROR INSERT INTO PS_JOB (EMPLID, EMPL_RCD#,EFFDT,EFFSEQ.....) VALUES(&A1, &A2, &EFFDT,#EFFSEQ,&A5,&A6 ....) end-SQL end-procedure I have several Question : 1. Is there any faster way to create a new row in the JOB table ? Because what I did is not effisien at all. 2. I always get the following error : It seems that I hve violated the unique constraint, but where ? I've already Change the EFFSEQ is the EFFDT is having a same value. z:\hr750\sqr\print_gj.sqr: PRINT_GJ - SQL Statement = PRCSAPI.SQC,Get-Job-Instance,Select,PSPrcsRqst SQL Status = -9, SQL Error = ORA-00001: unique constraint (SYSADM.PS_JOB) violated Error on line 127: (SQR 3301) Program stopped by user request. SQR: Program Aborting. any help would very appreciated !! kind regards, Hartono Sutirman --------------5853AF9F4EA992F81E7657FB Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi...

I do a SQR program, my platform is Oracle 7.3, Peopletools 7.52.10 and SQR 4.3

the problem is like this :
1. I create a SQR Report that reads EMPLID, STEP, EFFDT from custom table, I called it B_TEMP table.
2. for each Employee I read from the B_TEMP table, I need to insert an new Record into JOB table using the STEP and EFFDT from the B_TEMP table.
3. If the EFFDT in the JOB table is the same with the the EFFDT from the B_TEMP table, then I would increase the EFFSEQ in the JOB table.

my program would look something like this :

begin-procedure Insert-Record-PsJob
Let EFFSEQ=0
begin-select
EMPLID    &EMPLID
STEP          &STEP
EFFDT       &EFFDT
         Do Select-From-PsJob
         Do Insert-To-PsJob
FROM PS_B_TEMP
end-select
end-procedure

I select all the column in the JOB and save it in a variable, because the column in Peoplesoft table is NOT NULL, so I need to copy the previous value.

begin-procedure Select-From-PsJob
begin-select
A.EMPLID             &A1
A.EMPL_RCD#     &A2
A.EFFDT               &A3
A.EFFSEQ            &A4
           move &A4 to #EFFSEQ
           let #diff=datediff(&DATE_CREATED,&A3,'day')
           if #diff=0
                let #EFFDEQ = #EFFSEQ + 1
           end-if
A.DEPTID             &A5
   .
   .
   .
   .
A.Custom_Field     &A90
FROM PS_JOB A
WHERE A.EMPLID = &EMPLID
AND ( A.EFFDT = (SELECT MAX(EFFDT) FROM PS_JOB WHERE A.EMPLID = EMPLID AND A.EMPL_RCD# = EMPL_RCD# AND EFFDT <= SYSDATE)
AND A.EFFSEQ = (SELECT MAX(EFFSEQ) FROM PS_JOB WHERE A.EMPLID = EMPLID AND A.EMPL_RCD# = EMPL_RCD# AND A.EFFDT = EFFDT) )
end-select
end-procedure

begin-procedure Insert-To-PsJob
begin-SQL On-Error = SQL-ERROR
INSERT INTO PS_JOB (EMPLID, EMPL_RCD#,EFFDT,EFFSEQ.....)
VALUES(&A1, &A2, &EFFDT,#EFFSEQ,&A5,&A6 ....)
end-SQL
end-procedure
 

I have several Question :
1. Is there any faster way to create a new row in the JOB table ?
    Because what I did is not effisien at all.
2. I always get the following error :
    It seems that I hve violated the unique constraint, but where ?
    I've already Change the EFFSEQ is the EFFDT is having a same value.

z:\hr750\sqr\print_gj.sqr: PRINT_GJ - SQL Statement =
PRCSAPI.SQC,Get-Job-Instance,Select,PSPrcsRqst
SQL Status =    -9, SQL Error  = ORA-00001: unique constraint (SYSADM.PS_JOB) violated

Error on line 127:
   (SQR 3301) Program stopped by user request.

SQR: Program Aborting.
 

any help would very appreciated !!

kind regards,
Hartono Sutirman --------------5853AF9F4EA992F81E7657FB-- From owner-sqr-users@list.iex.net Tue Apr 20 08:11:54 1999 Date: Tue, 20 Apr 1999 08:57:03 EDT From: Ken Look Subject: Re: Insert into PS_JOB Hartono, You've got a typo on your accumulator for #EFFSEQ, you spelled it as #EFFDEQ. Ken Look Look Consulting From owner-sqr-users@list.iex.net Tue Apr 20 08:27:29 1999 Date: Tue, 20 Apr 1999 08:38:03 -0500 From: David Anderson Subject: Insert into PS_JOB -Reply I would follow these general guidelines assuming you want the data from B_TEMP to have a lower effseq than data from PS_JOB. 1. Select data from B_Temp. 2. Attempt insert into PS_JOB. 3. Using ON-ERROR on the sql insert into JOB check for the unique constraint error using FIND. 4. If unique constraint then SQL-UPDATE data in PS_JOB where JOB.key fields = B_TEMP.key fields and add 1 to effseq. 5. Attempt insert into PS_JOB again, using the original effseq. Hope this was helpful, Dave Anderson From owner-sqr-users@list.iex.net Tue Apr 20 09:21:07 1999 Date: Tue, 20 Apr 1999 09:05:59 CDT From: the dragon Subject: Is this possible???? Hi fellow gurus, SQR : 4.3.x Oracle : 8.x PSoft : 7.5x Some flavor of Solaris One of the people I am working with is having a problem with EDI purchase orders. Somewhere between POPO005 and the EDI program, data is getting screwed up. I am wondering if SQR has problems with bangs (!) embedded in database description fields. It's just a hunch, and I can't back it up with a good experiment yet, so I was wondering if anyone had any experience with this phenomenon or any thoughts about it. I am going to continue working with the EDI program since it seems to be getting through POPO fine. clark _______________________________________________________________ Get Free Email and Do More On The Web. Visit http://www.msn.com From owner-sqr-users@list.iex.net Tue Apr 20 09:34:58 1999 Date: Tue, 20 Apr 1999 10:18:47 -0400 From: Eric Dimick Eastman Subject: Re: Is this possible???? Yes. SQR interprets the exclamation mark, "!", as the start of a comment wherever it is found. That can be in the middle of a quoted string or command literally anywhere. There are two exceptions "!=" is treated as "not equal to" and "!!" becomes "!". You probably just need to double your bang. Hope this helps, Eric the dragon wrote: > > Hi fellow gurus, > > SQR : 4.3.x > Oracle : 8.x > PSoft : 7.5x > Some flavor of Solaris > > One of the people I am working with is having a problem with EDI > purchase orders. Somewhere between POPO005 and the EDI program, data > is getting screwed up. I am wondering if SQR has problems with bangs > (!) embedded in database description fields. It's just a hunch, and I > can't back it up with a good experiment yet, so I was wondering if > anyone had any experience with this phenomenon or any thoughts about > it. I am going to continue working with the EDI program since it > seems to be getting through POPO fine. > > clark > > _______________________________________________________________ > Get Free Email and Do More On The Web. Visit http://www.msn.com -- ------------------------------------------------------------------------ Eric Dimick Eastman | To match what we [humans] can do, there would Ray Ontko & Co. | have to 3 billion of them [computers] . . . erice@ontko.com | wired together, . . . talking incessantly. http://www.ontko.com | Lewis Thomas, The Lives of a Cell 1974 From owner-sqr-users@list.iex.net Tue Apr 20 10:23:34 1999 Date: Tue, 20 Apr 1999 11:02:13 -0400 From: "Salem, Mark" Subject: Re: Is this possible???? Our QA Group is always testing us by inserting carriage returns and line feeds in database columns too. We have learned to replace these characters with nulls when necessary. Their theory is: if a client can hit any key on a keyboard and the user interface does not block its insertion into the database, SQR better be able to handle it when fetching, printing and/or loading into flat files. They keep us on our toes! > -----Original Message----- > From: Eric Dimick Eastman [SMTP:erice@ONTKO.COM] > Sent: Tuesday, April 20, 1999 10:19 AM > To: Multiple recipients of list SQR-USERS > Subject: Re: Is this possible???? > > Yes. SQR interprets the exclamation mark, "!", as the start of a > comment wherever it is found. That can be in the middle of a quoted > string or command literally anywhere. There are two exceptions "!=" is > treated as "not equal to" and "!!" becomes "!". You probably just need > to double your bang. > > Hope this helps, > Eric > > the dragon wrote: > > > > Hi fellow gurus, > > > > SQR : 4.3.x > > Oracle : 8.x > > PSoft : 7.5x > > Some flavor of Solaris > > > > One of the people I am working with is having a problem with EDI > > purchase orders. Somewhere between POPO005 and the EDI program, data > > is getting screwed up. I am wondering if SQR has problems with bangs > > (!) embedded in database description fields. It's just a hunch, and I > > can't back it up with a good experiment yet, so I was wondering if > > anyone had any experience with this phenomenon or any thoughts about > > it. I am going to continue working with the EDI program since it > > seems to be getting through POPO fine. > > > > clark > > > > _______________________________________________________________ > > Get Free Email and Do More On The Web. Visit http://www.msn.com > > -- > ------------------------------------------------------------------------ > Eric Dimick Eastman | To match what we [humans] can do, there would > Ray Ontko & Co. | have to 3 billion of them [computers] . . . > erice@ontko.com | wired together, . . . talking incessantly. > http://www.ontko.com | Lewis Thomas, The Lives of a Cell 1974 From owner-sqr-users@list.iex.net Tue Apr 20 13:10:42 1999 Date: Tue, 20 Apr 1999 13:52:38 -0400 From: Wendell Kirby Subject: HTML outputs to directory Hi I have a set of report that I print every month, example, reports 1,2,3, and 4. I want, not only, to print these unique reports but also a corresponding set of html file and I want to put them in a directory for later distribution. I want the end result to be like the following. I print the reports labels by a unique account number ex 1, 2, 3, 4. and have a corresponding HTML files named 1.html, 2.html, 3.html and 4.html put into a directory of my choice for later distribution. Can anyone give me some guidance thanks in advance for all your help.. From owner-sqr-users@list.iex.net Tue Apr 20 14:16:04 1999 Date: Tue, 20 Apr 1999 21:01:19 +0200 From: Richard Meijn Subject: Re: HTML outputs to directory Yes this is possible and very simple. By using the -F flag you could control your output name and the path where you want to put the output. Wendell Kirby wrote: > Hi > > I have a set of report that I print every month, example, reports 1,2,3, and 4. > I want, not only, to print these unique reports but also a corresponding set of > html file and I want to put them in a directory for later distribution.  I want > the end result to be like the following. > > I print the reports labels by a unique account number ex 1, 2, 3, 4. and have a > corresponding HTML files named 1.html, 2.html, 3.html and 4.html put into a > directory of my choice for later distribution. > > Can anyone give me some guidance > > thanks in advance for all your help.. --   Kind Regards, Richard Meijn, e-mail : Consultant Quant Systems Europe bv.  ( http://www.quantsystems.nl ) Zuiderkade 7 1948 NG Beverwijk         Tel : +31 (0)251 268268 Fax : +31 (0)251 268269   From owner-sqr-users@list.iex.net Tue Apr 20 15:46:24 1999 Date: Tue, 20 Apr 1999 16:29:49 -0400 From: Venu Gopal Subject: Calling Sybase Stored Procedure while connected to Oracle via ODBC. Hello, Is any one know How to call a Sybase Stored Procedure while connected to Oracle via ODBC. This feature is availabe in begin-sql, begin-select syntax with -DBConnectString Option. If any one does please need help... Khaja. From owner-sqr-users@list.iex.net Tue Apr 20 16:54:04 1999 Date: Tue, 20 Apr 1999 16:33:58 -0500 From: David Smith Subject: ORDER BY clause in a $variable Environment: Oracle, SQR3, PSoft 6 Can I specify my ORDER BY clause as an $SQR_variable containing the string? I would like to let the users specify a SORT order for a report on the Run Control panel and have the SQR read the run control values and build the ORDER BY variables accordingly. (our database enviroment is not yet set up, so I can't test this) e.g., Four possible run-control values to determine sort order (say, PO or DEPT or VENDOR or DATE). The SQR will do something like the following: evaluate $Run_Cntl_Sort_field when = 'PO' let $Order_By_Clause = ' PO_ID, VENDOR_ID, DEPTID, ACCOUNT' when = ' DEPT' let $Order_By_Clause = ' DEPTID, PO_ID, VENDOR_ID, ACCOUNT' when = 'VENDOR' let $Order_By_Clause = ' PO_ID, DEPTID, ACCOUNT' when = 'DATE' let $Order_By_Clause = ' DUE_DT, PO_ID, VENDOR_ID, DEPTID, ACCOUNT' when-other display 'error' end-evaluate begin-SELECT . . . ORDER BY $Order_By_Clause end-SELECT 'Pre-shate any advice. Dave Smith n n n n From owner-sqr-users@list.iex.net Tue Apr 20 17:01:38 1999 Date: Tue, 20 Apr 1999 17:45:35 -0400 From: "Fay, Brannon" Subject: Re: ORDER BY clause in a $variable David, I think you just want to put [] around you variable. I did this today for my table in the from clause I.e. ORDER BY [$Order_By_Clause] Brannon Fay -----Original Message----- From: David Smith [mailto:david.a.smith@AC.COM] Sent: Tuesday, April 20, 1999 5:34 PM To: Multiple recipients of list SQR-USERS Subject: ORDER BY clause in a $variable Environment: Oracle, SQR3, PSoft 6 Can I specify my ORDER BY clause as an $SQR_variable containing the string? I would like to let the users specify a SORT order for a report on the Run Control panel and have the SQR read the run control values and build the ORDER BY variables accordingly. (our database enviroment is not yet set up, so I can't test this) e.g., Four possible run-control values to determine sort order (say, PO or DEPT or VENDOR or DATE). The SQR will do something like the following: evaluate $Run_Cntl_Sort_field when = 'PO' let $Order_By_Clause = ' PO_ID, VENDOR_ID, DEPTID, ACCOUNT' when = ' DEPT' let $Order_By_Clause = ' DEPTID, PO_ID, VENDOR_ID, ACCOUNT' when = 'VENDOR' let $Order_By_Clause = ' PO_ID, DEPTID, ACCOUNT' when = 'DATE' let $Order_By_Clause = ' DUE_DT, PO_ID, VENDOR_ID, DEPTID, ACCOUNT' when-other display 'error' end-evaluate begin-SELECT . . . ORDER BY $Order_By_Clause end-SELECT 'Pre-shate any advice. Dave Smith n n n n From owner-sqr-users@list.iex.net Tue Apr 20 21:49:09 1999 Date: Wed, 21 Apr 1999 12:28:44 +1000 From: Pietersz Mark x8938 Subject: Re: ORDER BY clause in a $variable David, This is possible Rgds Mark Pietersz > -----Original Message----- > From: David Smith [SMTP:david.a.smith@AC.COM] > Sent: Wednesday, 21 April 1999 7:34 > To: Multiple recipients of list SQR-USERS > Subject: ORDER BY clause in a $variable > > Environment: Oracle, SQR3, PSoft 6 > > Can I specify my ORDER BY clause as an $SQR_variable containing the > string? > I would like to let the users specify a SORT order for a report on the Run > Control panel and have the SQR read the run control values and build the > ORDER BY variables accordingly. (our database enviroment is not yet set > up, so I can't test this) > > > ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This email message has been swept for the presence of computer viruses. CitiPower Pty ACN 064 651 056 ********************************************************************** From owner-sqr-users@list.iex.net Wed Apr 21 07:18:34 1999 Date: Wed, 21 Apr 1999 07:01:21 -0500 From: Diwakar Bhatt Subject: Re: Insert into PS_JOB The row retrieved from PS_JOB does not hav the same effective date as the one from B_TEMP. You are selecting the max effective date based on sysdate. Instead, select from PS_JOB where max effective date is based on effective date from B_TEMP. Then you will be assured that if the dates are the same, incrementing the effective sequence will do the job. begin-procedure Select-From-PsJob begin-select A.EMPLID &A1 A.EMPL_RCD# &A2 A.EFFDT &A3 A.EFFSEQ &A4 move &A4 to #EFFSEQ let #diff=datediff(&DATE_CREATED,&A3,'day') if #diff=0 let #EFFDEQ = #EFFSEQ + 1 end-if A.DEPTID &A5 . . . . A.Custom_Field &A90 FROM PS_JOB A WHERE A.EMPLID = &EMPLID AND ( A.EFFDT = (SELECT MAX(EFFDT) FROM PS_JOB WHERE A.EMPLID = EMPLID AND A.EMPL_RCD# = EMPL_RCD# AND EFFDT <= &EFFDT) <==(&effdt from B_TEMP instead of sysdate) AND A.EFFSEQ = (SELECT MAX(EFFSEQ) FROM PS_JOB WHERE A.EMPLID = EMPLID AND A.EMPL_RCD# = EMPL_RCD# AND A.EFFDT = EFFDT) ) end-select end-procedure From owner-sqr-users@list.iex.net Wed Apr 21 12:53:13 1999 Date: Wed, 21 Apr 1999 04:52:15 -0800 From: Mike Harrison Subject: Print on-break fields in heading I'm trying to modify one of the PeopleSoft HR delivered reports (POS001) to add Business Unit and Company to the report. The design calls for the BU and Company to print in the headings instead of the report itself, like this: Business Unit: XXXX / Company Name: XXXXXXXX DeptID Union Code Jobcode ... XXXX XXX XXXXX ... Is there a way to do this? If I do an on-break print=never before=print-headings level=1 (and level=2 on Company) I get headings that print twice like this: Business UnitBusiness Unit: XXXX XXXX / Company Name / Company Name : XXXXXXXX XXXXXXXX DeptID DeptId .... Ideally I would like to force a page-break each time either Business Unit or Company changes and print the headings. Is there a way to do this in SQR? I used to use Focus in a previous job, and it was easy to do. Thanks, Mike Harrison mikeha1@zdnetmail.com Free web-based email, anytime, anywhere! ZDNet Mail - http://www.zdnetmail.com From owner-sqr-users@list.iex.net Wed Apr 21 08:35:33 1999 Date: Wed, 21 Apr 1999 09:24:23 -0400 From: Raymond Ruppert Subject: Re: ORDER BY clause in a $variable David, You can specify the ORDER BY clause as an SQR variable containing the string as you described. I would advise, though, including the "ORDER BY " string in the variable and doing something like the following : begin-select column_one column_two from the_table where things_happen [$order_by] end-select This way you can have a null $order_by string and not have the SQL be invalid. (In the case of an error or if you simply don't care how the results are sorted.) HTH, Ray -----Original Message----- From: David Smith To: Multiple recipients of list SQR-USERS Sent: 4/20/99 5:33 PM Subject: ORDER BY clause in a $variable Environment: Oracle, SQR3, PSoft 6 Can I specify my ORDER BY clause as an $SQR_variable containing the string? I would like to let the users specify a SORT order for a report on the Run Control panel and have the SQR read the run control values and build the ORDER BY variables accordingly. (our database enviroment is not yet set up, so I can't test this) e.g., Four possible run-control values to determine sort order (say, PO or DEPT or VENDOR or DATE). The SQR will do something like the following: evaluate $Run_Cntl_Sort_field when = 'PO' let $Order_By_Clause = ' PO_ID, VENDOR_ID, DEPTID, ACCOUNT' when = ' DEPT' let $Order_By_Clause = ' DEPTID, PO_ID, VENDOR_ID, ACCOUNT' when = 'VENDOR' let $Order_By_Clause = ' PO_ID, DEPTID, ACCOUNT' when = 'DATE' let $Order_By_Clause = ' DUE_DT, PO_ID, VENDOR_ID, DEPTID, ACCOUNT' when-other display 'error' end-evaluate begin-SELECT . . . ORDER BY $Order_By_Clause end-SELECT 'Pre-shate any advice. Dave Smith n n n n From owner-sqr-users@list.iex.net Wed Apr 21 09:58:39 1999 Date: Wed, 21 Apr 1999 06:47:15 -0700 From: "C. Duncan Hudson" Subject: Watermarks? I need to place a watermark across a report that I'm writing. I thought about creating a bitmap and then placing the image in the middle of the page, but I thought I would see if anyone had any better ideas or experience. Thanks in advance, Dunc. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From owner-sqr-users@list.iex.net Wed Apr 21 09:20:56 1999 Date: Wed, 21 Apr 1999 09:05:40 -0500 From: Heather Maile Subject: Re: In Tree Query Option used with Custom Panel to run SQR Natalie, I have been able to recreate tree queries in SQR using the tree selector tables (Financials 7.01, Oracle). It works fine but there is one thing to keep in mind, the selector tables are not automatically updated when a change is made in tree manager. The tables are only updated when they are needed by the application, i.e. query or nVision. My solution was set up a query and run it for all nodes whenever the tree is updated. Only takes a minute but it is extra maintenance. Anyway if you like the idea here is an excerpt from an SQC I wrote to use a business unit tree. You should be able to modify it for your tree. You will just need to change to the appropriate PSTREESELECT table where your detail field length is the number at the end. There is a separate PSTREESELECT table for each possible detail field length (01 to 30). I also included a check to make sure the tree is valid. Hope this is of some use to you. Heather !----------------------------------------------------------------------! ! Procedure: Get-BU-Values ! Description: Processes tree values to get BUs !----------------------------------------------------------------------! begin-procedure Get-BU-Values BEGIN-SELECT A.TREE_NODE_NUM , A.TREE_NODE_NUM_END , B.SELECTOR_NUM , C.RANGE_FROM_05 , D.VALID_TREE if &d.valid_tree = 'N' show 'ERROR: INVALID TREE' show 'The LEROLLUP tree is either missing business units or includes business units ' show 'that are no longer valid. Audit the tree in Tree Manager to find problems.' stop end-if let $business_unit_new = &c.range_from_05 FROM PSTREENODE A, PSTREESELCTL B, PSTREESELECT05 C, PSTREEDEFN D WHERE A.SETID = B.SETID AND A.TREE_NAME = B.TREE_NAME AND B.EFFDT = A.EFFDT AND D.SETID = A.SETID AND D.TREE_NAME = A.TREE_NAME AND D.EFFDT = A.EFFDT AND A.EFFDT = (SELECT MAX(EFFDT) FROM PSTREENODE A1 WHERE A1.SETID = A.SETID AND A1.TREE_NAME = A.TREE_NAME AND A1.EFFDT <= $effdt) AND A.SETID = $setid AND A.TREE_NAME = $tree_name AND A.TREE_NODE = $tax_entity AND B.SELECTOR_NUM = C.SELECTOR_NUM AND C.TREE_NODE_NUM BETWEEN A.TREE_NODE_NUM AND A.TREE_NODE_NUM_END END-SELECT ---------- From: Natalie Wilson[SMTP:Natalie_Wilson@CCNOTES.CCITY.COM] Sent: Monday, April 19, 1999 11:57 AM Subject: In Tree Query Option used with Custom Panel to run SQR Has anyone been able to use the In Tree Criteria Option used in Query in conjuction with a custom Panel / SQR report request? We are trying to build an SQR Select statement giving the users the ability to include select Tree Nodes for select Chartfields in GL. PS Query has a great panel or option in the criteria - In Tree - the system lists all the trees and the option to list the nodes, the user easily selects the desired nodes and the SQL is built. We are looking to store this SQL return in a work table to be used in conjunction with a SQR. I don't want to recreate this when I see a perfect application in use currently. Has anyone done something like this in GL? We are on version 7.00 - implementing 7.01 by the end of the month - Informix DB. Thanks! From owner-sqr-users@list.iex.net Wed Apr 21 11:50:41 1999 Date: Wed, 21 Apr 1999 11:17:05 -0400 From: Schiff Fred Subject: Re: Watermarks? I do something like this in a PostScript report we created: ! let $ps_slant = ' gsave ' let $ps_slant = $ps_slant||'200 150 translate 45 rotate ' let $ps_slant = $ps_slant||'/Times-Roman findfont 144 scalefont setfont ' let $ps_slant = $ps_slant||'0 0 moveto 0.6 setgray ' let $ps_slant = $ps_slant||'(Pending) show' let $ps_slant = $ps_slant||' grestore ' print-direct nolf printer=ps $ps_slant -----Original Message----- From: C. Duncan Hudson [mailto:c_duncan_hudson@YAHOO.COM] Sent: Wednesday, April 21, 1999 9:47 AM To: Multiple recipients of list SQR-USERS Subject: Watermarks? I need to place a watermark across a report that I'm writing. I thought about creating a bitmap and then placing the image in the middle of the page, but I thought I would see if anyone had any better ideas or experience. Thanks in advance, From owner-sqr-users@list.iex.net Wed Apr 21 13:03:13 1999 Date: Wed, 21 Apr 1999 11:49:16 -0400 From: Tony DeLia Subject: Re: Watermarks? Dunc, This is the simplest solution... If this is going to be run frequently your organization can invest in some stock paper with watermarks... This is common when printing checks with watermarks... Just change the tray before printing... Personally I've never seen other methods of placing watermarks on printed reports... not any "usable" method that is... I'll refrain from talking about my damn cats again! I sometimes wonder why I keep them around! Tony DeLia C. Duncan Hudson wrote: > > I need to place a watermark across a report that I'm > writing. I thought about creating a bitmap and then > placing the image in the middle of the page, but I > thought I would see if anyone had any better ideas or > experience. Thanks in advance, > > Dunc. > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com -- Tony DeLia AnswerThink Consulting Group PeopleSoft Solutions Practice - Delphi Partners tdelia@erols.com From owner-sqr-users@list.iex.net Wed Apr 21 12:15:28 1999 Date: Wed, 21 Apr 1999 13:03:28 -0400 From: Venu Gopal Subject: How to Talk Simultaneously to Oracle & Sybase Databases From SQR. Hello All, Anyone can help us how to talk simultaneously with Oracle and Sybase Databases via ODBC DRIVERS. The problem we are facing here is that by default when we run the SQR from it get connected to ORACLE, at the same time we want to run a SYBASE stored procedure via ODBC DRIVER . I think actually this can be via begin-sql , begin-select commands in SQR followed by -DBConnectString option. If any does it please need help.... Venu. From owner-sqr-users@list.iex.net Wed Apr 21 13:09:48 1999 Date: Wed, 21 Apr 1999 13:55:26 -0400 From: Venu Gopal Hello, Is any one know How to call a Sybase Stored Procedure while connected to Oracle via ODBC. This feature is availabe in begin-sql, begin-select syntax with -DBConnectString Option. If any one does please need help... Venu. From owner-sqr-users@list.iex.net Wed Apr 21 13:09:29 1999 Date: Wed, 21 Apr 1999 13:56:20 -0400 From: Venu Gopal Hello All, Anyone can help us how to talk simultaneously with Oracle and Sybase Databases via ODBC DRIVERS. The problem we are facing here is that by default when we run the SQR from it get connected to ORACLE, at the same time we want to run a SYBASE stored procedure via ODBC DRIVER . I think actually this can be via begin-sql , begin-select commands in SQR followed by -DBConnectString option. If any does it please need help.... Venu. From owner-sqr-users@list.iex.net Wed Apr 21 13:18:44 1999 Date: Wed, 21 Apr 1999 11:02:14 -0700 From: Jeromy McMahon Subject: Re: Print on-break fields in heading Yes, very easy to do. Use this: ON-BREAK PRINT=CHANGES/TOP-PAGE Make sure you use this in the begin select procedure. Jeromy > -----Original Message----- > From: Mike Harrison [SMTP:mikeha1@ZDNETMAIL.COM] > Sent: Wednesday, April 21, 1999 5:52 AM > To: Multiple recipients of list SQR-USERS > Subject: Print on-break fields in heading > > I'm trying to modify one of the PeopleSoft HR delivered reports (POS001) > to add Business Unit and Company to the report. The design calls for the > BU and Company to print in the headings instead of the report itself, like > this: > > Business Unit: XXXX / Company Name: XXXXXXXX > > DeptID Union Code Jobcode ... > > XXXX XXX XXXXX ... > > Is there a way to do this? If I do an on-break print=never > before=print-headings level=1 (and level=2 on Company) I get headings that > print twice like this: > > Business UnitBusiness Unit: XXXX XXXX / Company Name / Company Name : > XXXXXXXX XXXXXXXX > > DeptID DeptId .... > > Ideally I would like to force a page-break each time either Business Unit > or Company changes and print the headings. Is there a way to do this in > SQR? I used to use Focus in a previous job, and it was easy to do. > > Thanks, > > Mike Harrison > mikeha1@zdnetmail.com > > > > Free web-based email, anytime, anywhere! > ZDNet Mail - http://www.zdnetmail.com From owner-sqr-users@list.iex.net Wed Apr 21 13:38:23 1999 Date: Wed, 21 Apr 1999 14:11:01 -0400 From: "Dray, Adam" Subject: Repetition of questions on the list Venu, It's not that we don't hear you. I suspect the reason you're getting no response is that no one knows the answer to your problem. While this is rather unfortunate, repeating yourself over and over will probably result in people getting annoyed with you, and not helping you at all. This is the third message I have received from you today, and the sixth I have received from you this week. People see your question, as far as I can tell. If you feel you must re-send a message to get people to pay attention (and not because of a technical problem with the list), try to limit how often and how many times you do so. Generally, if you don't get a response after trying once or twice, give up and try other avenues. I strongly recommend working with SQRIBE technical support on this one. If you do not have a technical support contract, perhaps your client does. Search the list archives for similar problems. Search the web for other SQR resources. I don't think you're going to find your answer here. The list is a self-supporting user's group. No one pays us for our advice, and we don't "expect" answers to our questions, but we really do try to help each other out. However, a certain amount of courtesy is requested, even demanded. I think I speak for many on the list, but I could be mistaken. However, the last thing I want to do is generate a series of "me too" responses. Adam > -----Original Message----- > From: Venu Gopal [SMTP:Venu_Gopal@VANGUARD.COM] > Sent: Wednesday, April 21, 1999 1:56 PM > To: Multiple recipients of list SQR-USERS > Subject: > > Hello All, > > Anyone can help us how to talk simultaneously with Oracle and Sybase > Databases via ODBC DRIVERS. > > The problem we are facing here is that by default when we run the SQR from > it get connected to ORACLE, at the same time we want to run a SYBASE > stored > procedure via ODBC DRIVER . I think actually this can be via begin-sql , > begin-select commands in SQR followed by -DBConnectString option. > > If any does it please need help.... > > > Venu. From owner-sqr-users@list.iex.net Wed Apr 21 14:23:23 1999 Date: Wed, 21 Apr 1999 12:56:54 -0600 From: Juan Alvarado Venu: We are in development with SQR 4.3.2.1 for MS SQL that use ODBC drivers. We facing severals problems with the odbc drivers, but all is the way that configure the odbc or limitation of the drivers. i think, you must use the SQR for ODBC, not for Oracle or Sybase because this products using the native libraries of the DBMS. I use the feature that you point ( -DB) and works fine with the same dbms, i dont know if the sqr for ms sqlserver, that use odbc drivers can connect with other system with odbc. I think that the key is SQR for ODBC. I hope this help you -----Original Message----- From: Venu Gopal [mailto:Venu_Gopal@VANGUARD.COM] Sent: Wednesday, April 21, 1999 11:56 AM To: Multiple recipients of list SQR-USERS Subject: Hello All, Anyone can help us how to talk simultaneously with Oracle and Sybase Databases via ODBC DRIVERS. The problem we are facing here is that by default when we run the SQR from it get connected to ORACLE, at the same time we want to run a SYBASE stored procedure via ODBC DRIVER . I think actually this can be via begin-sql , begin-select commands in SQR followed by -DBConnectString option. If any does it please need help.... Venu. From owner-sqr-users@list.iex.net Wed Apr 21 17:21:49 1999 Date: Thu, 22 Apr 1999 10:06:42 +1200 From: Ryszard Jedrychowski Subject: SQR report printing My questions refer to the following codes: 1) print-image (1,66) type=bmp-file source='smartpay.bmp' image-size=(35,2) 2) alter-printer pitch = 7.5 point-size = 14 print #t_amount_due (9,40,21) box edit 999,999,999.99 alter-printer pitch = 15 point-size = 8.5 SQR is running on SUN boxes under UNIX platform. The report I create looks fine when I try to display or print from within SQR Viewer (Windows platform). If I try to print from UNIX then the bitmap becomes a shadow area and the box is shrinking. FYI: I use HP5 or HP6 laser printers. Any solutions ? From owner-sqr-users@list.iex.net Thu Apr 22 08:36:33 1999 Date: Thu, 22 Apr 1999 05:26:28 -0700 From: Mike Harrison Subject: Re: Print on-break fields in heading If I'm not mistaken on-break print=change/top-page will print the values of the break field in the data part of the report, ie under the headings. For this report, change/top-page would work well for Deptid but not for business unit or company unless I put those two fields as new columns on the report. -- On Wed, 21 Apr 1999 11:02:14 Jeromy McMahon wrote: >Yes, very easy to do. Use this: ON-BREAK PRINT=CHANGES/TOP-PAGE Make sure >you use this in the begin select procedure. > >Jeromy > >> -----Original Message----- >> From: Mike Harrison [SMTP:mikeha1@ZDNETMAIL.COM] >> Sent: Wednesday, April 21, 1999 5:52 AM >> To: Multiple recipients of list SQR-USERS >> Subject: Print on-break fields in heading >> >> I'm trying to modify one of the PeopleSoft HR delivered reports (POS001) >> to add Business Unit and Company to the report. The design calls for the >> BU and Company to print in the headings instead of the report itself, like >> this: >> >> Business Unit: XXXX / Company Name: XXXXXXXX >> >> DeptID Union Code Jobcode ... >> >> XXXX XXX XXXXX ... >> >> Is there a way to do this? If I do an on-break print=never >> before=print-headings level=1 (and level=2 on Company) I get headings that >> print twice like this: >> >> Business UnitBusiness Unit: XXXX XXXX / Company Name / Company Name : >> XXXXXXXX XXXXXXXX >> >> DeptID DeptId .... >> >> Ideally I would like to force a page-break each time either Business Unit >> or Company changes and print the headings. Is there a way to do this in >> SQR? I used to use Focus in a previous job, and it was easy to do. >> >> Thanks, >> >> Mike Harrison >> mikeha1@zdnetmail.com >> >> >> >> Free web-based email, anytime, anywhere! >> ZDNet Mail - http://www.zdnetmail.com > Free web-based email, anytime, anywhere! ZDNet Mail - http://www.zdnetmail.com From owner-sqr-users@list.iex.net Thu Apr 22 10:10:44 1999 Date: Thu, 22 Apr 1999 09:41:00 -0700 From: Steve Bergin Subject: Re: Can you append to a .lis file? Thanks. The '-A' works great at appending. I need to start the report over at the beginning of each pay cycle or if a mistake is made during the current pay cycle. In these cases I think I can run a batch file to delete the .lis file before the report begins. Alternatively, is there a way to "clear" the .lis file or "overwrite" the current .lis file even when '-A' is used? -----Original Message----- hi, try to use the '-A' option of sqrw.exe -A Causes the output to be appended to an existing output file of the same name. If the file does not exist, a new one is created. This is useful when you want to run the same report more than once but only want to create a single output file. franck, Steve Bergin wrote: > > Current SQR environment: > > Centura SQLBase 6.1.2 PTF-4 on NT 4.0 > Win95 client workstations > HRizon 7.01b > SQRW 3.0.7.1 > > Question: > > Have the a report that is run for three pay groups (maybe more in the future), > each at a different time. Rather than three create reports with different nam es > or print the report three times, I would like to append to the first .lis > file and print the whole thing later. Thought I saw something like this in > archives but have not been able to locate it. Does anyone know how to do this ? > Thanks!!! From owner-sqr-users@list.iex.net Thu Apr 22 12:17:54 1999 Date: Thu, 22 Apr 1999 10:01:53 PDT From: Victor Loghin Subject: Re: Print on-break fields in heading Mike, Try this: Add the Business Unit and Company headings in your begin-heading section. Use on-break, print=never, level=1 for both field and code the before=procname on the last field. In your before procedure do a new-page and then set the heading fields. The check of the page count prevents a blank page from being printed. This example uses the Company and Pay Group instead. begin-heading 6 #Include 'stdhdg01.sqc' print 'Company: ' (3,1) print $Company () print 'Pay Group: ' (4,1) print $PayGroup () print 'PAY_END_DT ' (+2, 1,17) print 'RUN_ID ' ( 0,+2,17) print '-' (+1, 1,17) fill print '-' ( 0,+2,17) fill end-heading In your main select begin-SELECT COMPANY () on-break level=1 print=never PAYGROUP () on-break level=1 print=never before=New-Heading PAY_END_DT (+1, 1,17) RUN_ID ( 0,+2,17) FROM PS_PAY_CALENDAR ORDER BY COMPANY , PAYGROUP , PAY_END_DT end-SELECT begin-procedure New-Heading if #page-count > 1 new-page end-if let $Company = &COMPANY let $PayGroup = &PAYGROUP end-procedure New-Heading Hope this helps. Victor Loghin VGL Consulting Inc. >From: Mike Harrison >Reply-To: SQR-USERS@list.iex.net >To: Multiple recipients of list SQR-USERS >Subject: Re: Print on-break fields in heading >Date: Thu, 22 Apr 1999 05:26:28 -0700 > > If I'm not mistaken on-break print=change/top-page will print the values of the break field in the data part of the report, ie under the headings. For this report, change/top-page would work well for Deptid but not for business unit or company unless I put those two fields as new columns on the report. >-- > >On Wed, 21 Apr 1999 11:02:14 Jeromy McMahon wrote: >>Yes, very easy to do. Use this: ON-BREAK PRINT=CHANGES/TOP-PAGE Make sure >>you use this in the begin select procedure. >> >>Jeromy >> >>> -----Original Message----- >>> From: Mike Harrison [SMTP:mikeha1@ZDNETMAIL.COM] >>> Sent: Wednesday, April 21, 1999 5:52 AM >>> To: Multiple recipients of list SQR-USERS >>> Subject: Print on-break fields in heading >>> >>> I'm trying to modify one of the PeopleSoft HR delivered reports (POS001) >>> to add Business Unit and Company to the report. The design calls for the >>> BU and Company to print in the headings instead of the report itself, like >>> this: >>> >>> Business Unit: XXXX / Company Name: XXXXXXXX >>> >>> DeptID Union Code Jobcode ... >>> >>> XXXX XXX XXXXX ... >>> >>> Is there a way to do this? If I do an on-break print=never >>> before=print-headings level=1 (and level=2 on Company) I get headings that >>> print twice like this: >>> >>> Business UnitBusiness Unit: XXXX XXXX / Company Name / Company Name : >>> XXXXXXXX XXXXXXXX >>> >>> DeptID DeptId .... >>> >>> Ideally I would like to force a page-break each time either Business Unit >>> or Company changes and print the headings. Is there a way to do this in >>> SQR? I used to use Focus in a previous job, and it was easy to do. >>> >>> Thanks, >>> >>> Mike Harrison >>> mikeha1@zdnetmail.com >>> >>> >>> >>> Free web-based email, anytime, anywhere! >>> ZDNet Mail - http://www.zdnetmail.com >> > > >Free web-based email, anytime, anywhere! >ZDNet Mail - http://www.zdnetmail.com ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com From owner-sqr-users@list.iex.net Thu Apr 22 16:11:45 1999 Date: Thu, 22 Apr 1999 13:15:00 -0400 From: Richard Mitchell Subject: Date Comparison Problem --UNS_gsauns2_3103265503 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline SQR4 NT ORACLE 8 READ THE MANUAL = YES (can't wait for the new book due out) Desire: Calculate a 'next due' and compare it to the last possible date. Stop when the new date is greater than the last date. Problem: The compare is never NextDate > Last Possible date The dates printed go way beyond the EndDate Specified. The code stops using the generic counter I installed. The "dates" printed show dates that "look" correct, but the while is never satisfied. My code is not good as this is a first attempt at array processing and date processing to this extent. Any help regards getting the While to terminate would be appreciated. TIA, Rick DECLARE-VARIABLE DATE $200-NextDue DATE $200-LastNextdue DATE $Date1 ! Temporary date holders DATE $Date2 DATE $Date3 DATE $Date4 DATE $Date5 DATE $Date6 END-DECLARE ... Begin-Procedure 200-DetermineNumberOfEntriesInTable !Save the next due, Frequency Get $JPJPDURATION $PMFREQUENCY $PMNEXTDATE $PMMONTH From PMScheduleArray(#_ArraySubscript) JPJPDURATION PMFREQUENCY PMNEXTDATE PMMONTH Let #EvJPDuration = to_number($JPJPDURATION) Let $MonthNumber = $PMMonth Let #MonthNumber = to_Number($MonthNumber) Let #MonthNumber = #MonthNumber + 1 Let $Date1 = $PMNEXTDATE Let $200-NextDue = $PMNEXTDATE Let $200-LastNextDue = dateadd($Date1, 'day' , 364) Let #200-Frequency = to_Number($PMFREQUENCY) print $200-NextDue (+1,1) print #200-Frequency (+1,1) print $200-LastNextdue (+1,1) While ($200-NextDue <= $200-LastNextdue) or (#_LockUp < 365) Let #_lockUp = #_LockUp + 1 ! Add hours to Array(NextDue) Do 300-EvaluateMonth (#_ArraySubscript,#MonthNumber,#EvJPDuration) ! Add Frequency to the date giving NextDate Let $date1 = dateadd($200-NextDue, 'day' , #200-Frequency) Let $200-NextDue = $date1 ! Diagnostic prints for debugging only Print $200-NextDue (+1,1) Print '<=========' () Print #200-Frequency (,+1) Print '<=========' () Print #MonthNumber (,+1) Print '<=========' () Print #EvJPDuration (,+1) Print '<=========' () ! Get the new Month from NextDue incase work is due in a new month Let #MonthNumber = to_Number(edit($200-NextDue,'MM')) End-While End-Procedure --UNS_gsauns2_3103265503-- From owner-sqr-users@list.iex.net Thu Apr 22 14:59:11 1999 Date: Thu, 22 Apr 1999 21:40:22 +0200 From: Richard Meijn Subject: Re: Print on-break fields in heading Yes it is possible to put BU and company in the heading. You could do that by using the BEGIN-HEADING procedure. This procedure is just a procedure like any other procedure. The only difference is that this procedure is executed when the body is filled up or a new page comman is executed. In the Heading procedure you have also the posibility to use variables. Good luck  Richard Meijn Mike Harrison wrote: > I'm trying to modify one of the PeopleSoft HR delivered reports (POS001) to add Business Unit and Company to the report. The design calls for the BU and Company to print in the headings instead of the report itself, like this: > > Business Unit: XXXX / Company Name: XXXXXXXX > > DeptID  Union Code Jobcode ... > > XXXX     XXX        XXXXX ... > > Is there a way to do this? If I do an on-break print=never before=print-headings level=1 (and level=2 on Company) I get headings that print twice like this: > > Business UnitBusiness Unit: XXXX XXXX / Company Name / Company Name : XXXXXXXX XXXXXXXX > > DeptID DeptId  .... > > Ideally I would like to force a page-break each time either Business Unit or Company changes and print the headings.  Is there a way to do this in SQR?  I used to use Focus in a previous job, and it was easy to do. > > Thanks, > > Mike Harrison > mikeha1@zdnetmail.com > > Free web-based email, anytime, anywhere! > ZDNet Mail - http://www.zdnetmail.com --   Kind Regards, Richard Meijn, e-mail : Consultant Quant Systems Europe bv.  ( http://www.quantsystems.nl ) Zuiderkade 7 1948 NG Beverwijk         Tel : +31 (0)251 268268 Fax : +31 (0)251 268269   From owner-sqr-users@list.iex.net Thu Apr 22 18:07:13 1999 Date: Thu, 22 Apr 1999 15:41:00 -0400 From: Richard Mitchell Subject: Re[2]: E-mail generator --UNS_gsauns2_3103267124 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Regarding "single quotes would be the worst. I suppose the code would be ''' or '\'', but you might have to try a few different things before you find the one that works." The quote is no problem once you know that chr(39) is the single quote mark. You can assign it to a string or refer to it directly. Try to find an old BASIC book and get codes for the special characters there, or an IBM 'Green Card' for EBCDIC or .... From there it takes a few loops and prints to be sure you got the right character set but they can be found and stripped using SUBSTR. I use this little routine to add quotes for selecting based on user input: Begin-Procedure QuoteIt (:$QuoteParm) LET $TEMP1='' LET $QUOTE = CHR(39) CONCAT $QUOTE WITH $TEMP1 CONCAT $QuoteParm WITH $TEMP1 CONCAT $QUOTE WITH $TEMP1 LET $QuoteParm=$TEMP1 End-Procedure Rick ______________________________ Reply Separator _________________________________ Subject: Re: E-mail generator Author: "gracen duffield" at internet Date: 4/22/1999 4:12 PM I have a procedure that strips quotes, which could be modified. I take the original value let $Desc_in = &A.ITM_DESCR and append a strange, unique string to the end of it: let $Desc_in = $Desc_in ||'xqz' then I call the procedure: do strip-quotes !---------------------------------------------------------------------- ! strip-quotes !---------------------------------------------------------------------- begin-procedure strip-quotes #debuga display ' strip-quotes ' let #x = 1 let $Description = '' while 1 LET $vx = substr($Desc_in, #x, 3) LET $vxx = substr($Desc_in, #x, 1) if $vx = 'xqz' break else if ($vxx != '"') and ($vxx != '-') and (etc....) let $Description = $Description || $vxx end-if end-if add 1 to #x end-while end-procedure ------------------------------------------------------------ Strip quotes puts a clean description into $description. You would just need to add code to get rid of your special characters. single quotes would be the worst. I suppose the code would be ''' or '\'', but you might have to try a few different things before you find the one that works. Gracen Duffield Texas Department of Housing and Community Affairs 475-3839 -----Original Message----- From: Sam Spritzer [mailto:SSpritzer@GW.CTG.COM] Sent: Thursday, April 22, 1999 3:55 PM To: Multiple recipients of list SQR-USERS Subject: E-mail generator I m in the process of creating an e-mail generator which will take an employee's name and create the user part of an e-mail address. The requirement is to take the first letter of the first name and marry it to the last name. For example, Bill Clinton would be bclinton. Straight names are easy...its the non-letter characters I am having trouble with such as O'Gore,Al / de Agnew, Spiro / Rodham-Clinton,Hillary. Does anyone have a "stripper/scrubber" code that they would be willing to share? Thanks in advance, Sam --UNS_gsauns2_3103267124-- From owner-sqr-users@list.iex.net Thu Apr 22 16:09:51 1999 Date: Thu, 22 Apr 1999 16:54:55 -0400 From: Sam Spritzer Subject: E-mail generator I m in the process of creating an e-mail generator which will take an employee's name and create the user part of an e-mail address. The requirement is to take the first letter of the first name and marry it to the last name. For example, Bill Clinton would be bclinton. Straight names are easy...its the non-letter characters I am having trouble with such as O'Gore,Al / de Agnew, Spiro / Rodham-Clinton,Hillary. Does anyone have a "stripper/scrubber" code that they would be willing to share? Thanks in advance, Sam From owner-sqr-users@list.iex.net Thu Apr 22 16:33:11 1999 Date: Thu, 22 Apr 1999 16:12:32 -0500 From: Gracen Duffield Subject: Re: E-mail generator I have a procedure that strips quotes, which could be modified. I take the original value let $Desc_in = &A.ITM_DESCR and append a strange, unique string to the end of it: let $Desc_in = $Desc_in ||'xqz' then I call the procedure: do strip-quotes !---------------------------------------------------------------------- ! strip-quotes !---------------------------------------------------------------------- begin-procedure strip-quotes #debuga display ' strip-quotes ' let #x = 1 let $Description = '' while 1 LET $vx = substr($Desc_in, #x, 3) LET $vxx = substr($Desc_in, #x, 1) if $vx = 'xqz' break else if ($vxx != '"') and ($vxx != '-') and (etc....) let $Description = $Description || $vxx end-if end-if add 1 to #x end-while end-procedure ------------------------------------------------------------ Strip quotes puts a clean description into $description. You would just need to add code to get rid of your special characters. single quotes would be the worst. I suppose the code would be ''' or '\'', but you might have to try a few different things before you find the one that works. Gracen Duffield Texas Department of Housing and Community Affairs 475-3839 -----Original Message----- From: Sam Spritzer [mailto:SSpritzer@GW.CTG.COM] Sent: Thursday, April 22, 1999 3:55 PM To: Multiple recipients of list SQR-USERS Subject: E-mail generator I m in the process of creating an e-mail generator which will take an employee's name and create the user part of an e-mail address. The requirement is to take the first letter of the first name and marry it to the last name. For example, Bill Clinton would be bclinton. Straight names are easy...its the non-letter characters I am having trouble with such as O'Gore,Al / de Agnew, Spiro / Rodham-Clinton,Hillary. Does anyone have a "stripper/scrubber" code that they would be willing to share? Thanks in advance, Sam From owner-sqr-users@list.iex.net Thu Apr 22 15:55:09 1999 Date: Thu, 22 Apr 1999 22:37:35 +0100 From: Franck Masson Subject: Re: Can you append to a .lis file? You have two solution 1) in your batch job start the batch by deleting the file or test if it is the first sqr job then do not use the -A option 2) in your sqr program use the exist and delete function to do the same Function DELETE --------------- Deletes the file filename. The function returns either a zero (0) to indicate success or the value returned from the operating system to indicate an error. Syntax: stat_var = delete(filename) filename = text literal, column, variable, or expression stat_var = decimal, float, or integer variable Example: let #fstatus = delete($filename) Function arguments are enclosed in parentheses and can be nested. Arguments referenced as x, y, and z indicate the first, second, and third argument to a function. Otherwise, functions take a single argument. Use parentheses to override the normal precedence rules. Function EXIST ----------------- Determines if the file, filename, exists. The function returns either a zero (0) to indicate success or the value returned from the operating system to indicate an error. Syntax: stat_var = exists(filename) filename = text literal, column, variable, or expression stat_var = decimal, float, or integer variable Example: let #fstatus = exists($filename) Function arguments are enclosed in parentheses and can be nested. Arguments referenced as x, y, and z indicate the first, second, and third argument to a function. Otherwise, functions take a single argument. Use parentheses to override the normal precedence rules. franck, Steve Bergin wrote: > > Thanks. The '-A' works great at appending. I need to start the report over at > the beginning of each pay cycle or if a mistake is made during the current pay > cycle. In these cases I think I can run a batch file to delete the .lis file > before the report begins. Alternatively, is there a way to "clear" the .lis > file or "overwrite" the current .lis file even when '-A' is used? > > -----Original Message----- > > hi, > try to use the '-A' option of sqrw.exe > > -A Causes the output to be appended to an existing output file of the > same name. If the file does not exist, a new one is created. This is > useful when you want to run the same report more than once but only want > to create a single output file. > > franck, > > Steve Bergin wrote: > > > > Current SQR environment: > > > > Centura SQLBase 6.1.2 PTF-4 on NT 4.0 > > Win95 client workstations > > HRizon 7.01b > > SQRW 3.0.7.1 > > > > Question: > > > > Have the a report that is run for three pay groups (maybe more in the future), > > each at a different time. Rather than three create reports with different nam > es > > or print the report three times, I would like to append to the first .lis > > file and print the whole thing later. Thought I saw something like this in > > archives but have not been able to locate it. Does anyone know how to do this > ? > > Thanks!!! From owner-sqr-users@list.iex.net Thu Apr 22 17:45:48 1999 Date: Thu, 22 Apr 1999 18:21:51 -0400 From: "Gowdy, Ron" Subject: Date validation needed I'm wondering if SQR has a way of validating dates from an input file (flat file). I've found the input type=date, but that doesn't seem to be what I'm looking for as that gets its input from a terminal. Thanks Ron From owner-sqr-users@list.iex.net Thu Apr 22 17:50:57 1999 Date: Thu, 22 Apr 1999 15:42:58 -0700 From: FONG_FAI Subject: Printing image I'm having problem printing an image. I keep getting just an empty box with no image. 1. Do you have to get the dimension of the image correctly to show? or Does SQR scale it according to image-size (39,7)? 2. Also it is really confusing as to what that numbers should be. I looked at an SQR example that supplied by Scribe. where an 747x292 pixels bmp file (7.78"x3.4") converts to image-size=(39,7). I ran this sample sqr (on the 3.0 CD), I still get an empty box while all the graphic boxes on the same page came out. I made sure the path is correct. -Fai Fong Santa Monica College From owner-sqr-users@list.iex.net Thu Apr 22 20:35:58 1999 Date: Thu, 22 Apr 1999 20:24:50 -0500 From: Don Mellen Subject: Re: Print on-break fields in heading On Thu, 22 Apr 1999, Victor Loghin wrote: > begin-procedure New-Heading > if #page-count > 1 > new-page > end-if It might be better to set a flag before the begin-select, and change it within the select. If the first level 1 break happens in the middle of the first page, using #page-count won't make a new page. The rest of it looked spot-on. ----------------------------------------------------------------------- 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 Apr 22 21:20:02 1999 Date: Thu, 22 Apr 1999 21:05:59 -0500 From: Don Mellen Subject: Re: Date validation needed On Thu, 22 Apr 1999, Gowdy, Ron wrote: > I'm wondering if SQR has a way of validating dates from an input file > (flat file). I've found the input type=date, but that doesn't seem to > be what I'm looking for as that gets its input from a terminal. Unfortunately, there is no "one-line" date validation in SQR. You can either write a procedure to parse the date string you read in and check each of the components against each other, or you can use your databases date conversions or checks on the string. (selecting against dual on oracle with an on-error procedure). HTH, ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ donm@ontko.com | "In the beginning, there was nothing, which exploded" From owner-sqr-users@list.iex.net Thu Apr 22 23:27:00 1999 Date: Fri, 23 Apr 1999 09:39:53 +0530 From: Pramod Parepalli Subject: Re: Printing image ------ =_NextPart_000_01BE8D6D.3E6DFDA0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Fong, Please try this code. Insert the BMP in the path specified. I am also = sending BMP or you can use you own BMP. =20 Dimensions plays a major role in printing the Image. In my code the = dimensions are (10,5) which means the image takes 10 as width and 5 as = column from the print coordinates (1,1) Hope this will solve your problem. If you still get the same problem = please send your code. Pramod Parepalli Intelligroup Asia Pvt Limited Hyderabad India ---------- From: FONG_FAI[SMTP:FONG_FAI@SMC.EDU] Sent: Friday, April 23, 1999 4:16 AM To: Multiple recipients of list SQR-USERS Subject: Printing image I'm having problem printing an image. I keep getting just an empty box=20 with no image. 1. Do you have to get the dimension of the image correctly to show? or Does SQR scale it according to image-size (39,7)? 2. Also it is really confusing as to what that numbers should be. I=20 looked at an SQR example that supplied by Scribe. where an 747x292 pixels bmp file (7.78"x3.4") converts to=20 image-size=3D(39,7). I ran this sample sqr (on the 3.0 CD), I still get an empty box while = all the graphic boxes on the same page came out. I made sure the path is correct. -Fai Fong Santa Monica College ------ =_NextPart_000_01BE8D6D.3E6DFDA0 Content-Type: application/octet-stream; name="balaji.sqr" Content-Transfer-Encoding: base64 I2luY2x1ZGUgJ3NldGVudi5zcWMnIA0KDQpiZWdpbi1yZXBvcnQNCmRvIGluaXQtcmVwb3J0DQpl bmQtcmVwb3J0ICANCg0KYmVnaW4tc2V0dXANCmRlY2xhcmUtaW1hZ2UgYmFsYWppIA0KdHlwZQk9 IEJNUC1maWxlDQpzb3VyY2UJPSAnYzpcV2luZG93c1xiYWxhamkxLmJtcCcNCmltYWdlLXNpemUg PSAoMTAsNSkNCmVuZC1kZWNsYXJlDQplbmQtc2V0dXANCg0KYmVnaW4tcHJvY2VkdXJlIGluaXQt cmVwb3J0DQpwcmludC1pbWFnZSBiYWxhamkgKDEsMSkNCmVuZC1wcm9jZWR1cmUgaW5pdC1yZXBv cnQNCg== ------ =_NextPart_000_01BE8D6D.3E6DFDA0 Content-Type: application/octet-stream; name="Balaji1.bmp" Content-Transfer-Encoding: base64 Qk2OjwAAAAAAADYEAAAoAAAAxAAAALYAAAABAAgAAAAAAFiLAADODgAA2A4AAAAAAAAAAAAAAAAA AAAIAAAAEAAAAAAIAAAICAAICAgAABAIAAgQCAAAGAgAAAgQAAgIEAAAEBAACBAQAAAYEAAIGBAA ACEQAAghEAAAEBgACBAYAAAYGAAIGBgAACEYAAghGAAAKRgACCkYAAAQIQAAGCEACBghAAAhIQAI ISEAACkhAAgpIQAAGCkACBgxAAAhKQAAITEACCEpAAghMQAAKSkAACkxAAApOQAIKSkACCkxAAgp OQAAMSkAADExAAAxOQAAMUIACDEhAAg5IQAIMSkAADkpAAg5KQAIMTEAADkxAAg5MQAAQjEACEIx AAgxOQAAOTkAADlCAAg5OQAAQj0AAENIABANCAAQGBQAECEYABAYIQAQISEAECkhABAhKQAQKSkA EDEpABApMQAQMTEAEDkxABBCMQAQMTkAEDk5AAhCOQAQQjkACEo5ABBKOQAIKUIACDFCABAxQgAI OUIAEDlCAAhCQgAQQkIACEpCABBKQgAIMUoACDlKAAhCSgAISkoAGBgIABgcEAAYIRgAGCYjABgx MQAYOTEAGDE5ABg5OQAYQjkAGDlCABhCQgAYSkIAEFJCABA5SgAQQkoAEEpKACEcFAAhIRgAISEh ACEuKwAhQkIAGDlKABhCSgAYSkoAKSUYACwsJAAmRDEAI0dKADMxKQAzPTkAOUhBAFBLRQAKQ1QA BVJPABtEUgAcRlYAEFRMAAxaUgAbVEoAG1RSABBKWgAIUloADVdaAApSZAAcTloAGFpaABZSZAAQ WmsAGFpjAA5kXQANZWgAGGNjACNcWAAjXWMAGFprACJiZgAYY2sAEGhwABhecwAiZG4AFHNrABhr cwAlb2sAIWtzABRteAAYc3sAGGuEABBzhAAjaHgAIX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fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx 8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx 8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx 8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx 8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx ------ =_NextPart_000_01BE8D6D.3E6DFDA0-- From owner-sqr-users@list.iex.net Fri Apr 23 06:36:07 1999 Date: Fri, 23 Apr 1999 07:21:37 -0400 From: Sam Spritzer Subject: Re: Date Comparison Problem Have you tried using IF instead of WHILE? I have had similar problems with WHILE...it just kind of runs amok even with a BREAK statement. Hope this helps and thanks for the insight in the email generator, Sam <<< Richard Mitchell 4/22 1:15p >>> SQR4 NT ORACLE 8 READ THE MANUAL = YES (can't wait for the new book due out) Desire: Calculate a 'next due' and compare it to the last possible date. Stop when the new date is greater than the last date. Problem: The compare is never NextDate > Last Possible date The dates printed go way beyond the EndDate Specified. The code stops using the generic counter I installed. The "dates" printed show dates that "look" correct, but the while is never satisfied. My code is not good as this is a first attempt at array processing and date processing to this extent. Any help regards getting the While to terminate would be appreciated. TIA, Rick DECLARE-VARIABLE DATE $200-NextDue DATE $200-LastNextdue DATE $Date1 ! Temporary date holders DATE $Date2 DATE $Date3 DATE $Date4 DATE $Date5 DATE $Date6 END-DECLARE ... Begin-Procedure 200-DetermineNumberOfEntriesInTable !Save the next due, Frequency Get $JPJPDURATION $PMFREQUENCY $PMNEXTDATE $PMMONTH From PMScheduleArray(#_ArraySubscript) JPJPDURATION PMFREQUENCY PMNEXTDATE PMMONTH Let #EvJPDuration = to_number($JPJPDURATION) Let $MonthNumber = $PMMonth Let #MonthNumber = to_Number($MonthNumber) Let #MonthNumber = #MonthNumber 1 Let $Date1 = $PMNEXTDATE Let $200-NextDue = $PMNEXTDATE Let $200-LastNextDue = dateadd($Date1, 'day' , 364) Let #200-Frequency = to_Number($PMFREQUENCY) print $200-NextDue ( 1,1) print #200-Frequency ( 1,1) print $200-LastNextdue ( 1,1) While ($200-NextDue <= $200-LastNextdue) or (#_LockUp < 365) Let #_lockUp = #_LockUp 1 ! Add hours to Array(NextDue) Do 300-EvaluateMonth (#_ArraySubscript,#MonthNumber,#EvJPDuration) ! Add Frequency to the date giving NextDate Let $date1 = dateadd($200-NextDue, 'day' , #200-Frequency) Let $200-NextDue = $date1 ! Diagnostic prints for debugging only Print $200-NextDue ( 1,1) Print '<=========' () Print #200-Frequency (, 1) Print '<=========' () Print #MonthNumber (, 1) Print '<=========' () Print #EvJPDuration (, 1) Print '<=========' () ! Get the new Month from NextDue incase work is due in a new month Let #MonthNumber = to_Number(edit($200-NextDue,'MM')) End-While End-Procedure From owner-sqr-users@list.iex.net Fri Apr 23 06:37:57 1999 Date: Fri, 23 Apr 1999 07:26:14 -0400 From: Art DiRamio Subject: Re: E-mail generator We use the translate command to rip out characters we don't want. It works like this: Let $T_col7_15 = edit(SUBSTR(translate($IRS_MAIN-ServiceBureauTIN,' -_,.\/()',''),1,9),'099999999') Let $T_col344_358 = translate($IRS_MAIN-bankphoneandext,' -_,.\/()extnEXTN','') The basic translate is Translate(Field,'stuff to change','what to change stuff to') As you can see from the examples, the command is pretty flexible, and allows us to keep up with "creative customer input" ! ! ! More details in the SQR Language Reference ver 4, pg 177. Hope this helps! - - Art -----Original Message----- From: Sam Spritzer [mailto:SSpritzer@GW.CTG.COM] Sent: Thursday, April 22, 1999 4:55 PM To: Multiple recipients of list SQR-USERS Subject: E-mail generator I m in the process of creating an e-mail generator which will take an employee's name and create the user part of an e-mail address. The requirement is to take the first letter of the first name and marry it to the last name. For example, Bill Clinton would be bclinton. Straight names are easy...its the non-letter characters I am having trouble with such as O'Gore,Al / de Agnew, Spiro / Rodham-Clinton,Hillary. Does anyone have a "stripper/scrubber" code that they would be willing to share? Thanks in advance, Sam From owner-sqr-users@list.iex.net Fri Apr 23 10:02:22 1999 Date: Fri, 23 Apr 1999 07:33:00 -0400 From: Richard Mitchell Subject: Re[2]: Date Comparison Problem --UNS_gsauns2_3103937610 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Thanks for the reply. I did try an IF, with the same result. If I could look at the internal format, I would bet that the compares are something like 01-feb-1998 vs. 01-feb-1998 12:23:34 and the compare is rendered 'unpredictable'. Next thought is to just count the days because numerics from dates appear to work OK for me. #MaxDaysInReport=365 then decrement with an if until #DaysTilNextEvent > #MaxDaysInReport. ______________________________ Reply Separator _________________________________ Subject: Re: Date Comparison Problem Author: "sam spritzer" at internet Date: 4/23/1999 7:21 AM Have you tried using IF instead of WHILE? I have had similar problems with WHIL E...it just kind of runs amok even with a BREAK statement. Hope this helps and thanks for the insight in the email generator, Sam <<< Richard Mitchell 4/22 1:15p >>> SQR4 NT ORACLE 8 READ THE MANUAL = YES (can't wait for the new book due out) Desire: Calculate a 'next due' and compare it to the last possible date. Stop when the new date is greater than the last date. Problem: The compare is never NextDate > Last Possible date The dates printed go way beyond the EndDate Specified. The code stops using the generic counter I installed. The "dates" printed show dates that "look" correct, but the while is never satisfied. My code is not good as this is a first attempt at array processing and date processing to this extent. Any help regards getting the While to terminate would be appreciated. TIA, Rick DECLARE-VARIABLE DATE $200-NextDue DATE $200-LastNextdue DATE $Date1 ! Temporary date holders DATE $Date2 DATE $Date3 DATE $Date4 DATE $Date5 DATE $Date6 END-DECLARE ... Begin-Procedure 200-DetermineNumberOfEntriesInTable !Save the next due, Frequency Get $JPJPDURATION $PMFREQUENCY $PMNEXTDATE $PMMONTH From PMScheduleArray(#_ArraySubscript) JPJPDURATION PMFREQUENCY PMNEXTDATE PMMONTH Let #EvJPDuration = to_number($JPJPDURATION) Let $MonthNumber = $PMMonth Let #MonthNumber = to_Number($MonthNumber) Let #MonthNumber = #MonthNumber 1 Let $Date1 = $PMNEXTDATE Let $200-NextDue = $PMNEXTDATE Let $200-LastNextDue = dateadd($Date1, 'day' , 364) Let #200-Frequency = to_Number($PMFREQUENCY) print $200-NextDue ( 1,1) print #200-Frequency ( 1,1) print $200-LastNextdue ( 1,1) While ($200-NextDue <= $200-LastNextdue) or (#_LockUp < 365) Let #_lockUp = #_LockUp 1 ! Add hours to Array(NextDue) Do 300-EvaluateMonth (#_ArraySubscript,#MonthNumber,#EvJPDuration) ! Add Frequency to the date giving NextDate Let $date1 = dateadd($200-NextDue, 'day' , #200-Frequency) Let $200-NextDue = $date1 ! Diagnostic prints for debugging only Print $200-NextDue ( 1,1) Print '<=========' () Print #200-Frequency (, 1) Print '<=========' () Print #MonthNumber (, 1) Print '<=========' () Print #EvJPDuration (, 1) Print '<=========' () ! Get the new Month from NextDue incase work is due in a new month Let #MonthNumber = to_Number(edit($200-NextDue,'MM')) End-While End-Procedure --UNS_gsauns2_3103937610-- From owner-sqr-users@list.iex.net Fri Apr 23 07:51:50 1999 Date: Fri, 23 Apr 1999 05:38:17 PDT From: Ugandhar Mukkamala Subject: Re: AEtna US Healthcare Interface with Psoft 7.5 PeopleSoft doesn't deliver SQR interface specific to Aetna HealthCare. We do have an interface with Aetna. It may not work for you, Because of different Plan Mappings and I think the layout is specific to the client for Aetna. The Critical part of the interface will be checking the previous record if there is a change in coverage, you can do it with TEMP TABLE or with an ARRAY. Note: The health benefits Panel for PeopleSoft acts different it deletes part of the information for the record if it is termination of coverage. Hope it helps. Ugandhar Mukkamala. (718)403-6985 >From: "Walcker, Paul" >Reply-To: SQR-USERS@list.iex.net >To: Multiple recipients of list SQR-USERS >Subject: Re: AEtna US Healthcare Interface with Psoft 7.5 >Date: Tue, 13 Apr 1999 13:06:01 -0700 > >I suspect that we are talking about their EDI format? Let me know if this >is true and we can talk off-line. > >Paul > >> -----Original Message----- >> From: Talley, Steve [SMTP:TalleyS@HSN.NET] >> Sent: Tuesday, April 13, 1999 12:39 PM >> To: Multiple recipients of list SQR-USERS >> Subject: AEtna US Healthcare Interface with Psoft 7.5 >> >> Hello SQR gurus - >> >> Forgive me for asking if you are not a PeopleSoft user, but I am in search >> of an SQR interface to Aetna HealthCare under PeopleSoft version 7.5. If >> you have this code and would like to share it with me, I would greatly >> appreciate it. I hope I can return the favor someday. Thanks in advance. >> >> >> Steve Talley >> <<...>> HRMS Technical Lead >> Talleys@hsn.net >> 727.572.8585 x7589 > _______________________________________________________________ Get Free Email and Do More On The Web. Visit http://www.msn.com From owner-sqr-users@list.iex.net Fri Apr 23 10:18:34 1999 Date: Fri, 23 Apr 1999 09:58:09 -0400 From: "Fay, Brannon" Subject: Re: Printing image When I had this problem, I looked at where the image was relative to the path in the SQR. There was no path mentioned, so the image had to be in the same directory as the .sqt ^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^* Brannon J. Fay Junior Software Engineer PaeTec Communications, Inc. (716)340-2629 (877)472-3832 ^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^* There are exceptions to every rule And I am one of them -----Original Message----- From: FONG_FAI [mailto:FONG_FAI@SMC.EDU] Sent: Thursday, April 22, 1999 6:43 PM To: Multiple recipients of list SQR-USERS Subject: Printing image I'm having problem printing an image. I keep getting just an empty box with no image. 1. Do you have to get the dimension of the image correctly to show? or Does SQR scale it according to image-size (39,7)? 2. Also it is really confusing as to what that numbers should be. I looked at an SQR example that supplied by Scribe. where an 747x292 pixels bmp file (7.78"x3.4") converts to image-size=(39,7). I ran this sample sqr (on the 3.0 CD), I still get an empty box while all the graphic boxes on the same page came out. I made sure the path is correct. -Fai Fong Santa Monica College From owner-sqr-users@list.iex.net Fri Apr 23 13:54:14 1999 Date: Fri, 23 Apr 1999 11:08:00 -0400 From: Richard Mitchell Subject: Date Comparison Problem - Resolved --UNS_gsauns2_3103940169 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Thanks to all who answered. I re-coded the section to use dateadd only 1 time and converted all other references to 'days' to integer. After that a simple subtraction worked well with the compare. I wonder if concurrent processing got me again? It seems that date problems I previously encountered were related to sqr moving ahead while the select was still calling to the database to do date calculations. So many questions, ... --UNS_gsauns2_3103940169-- From owner-sqr-users@list.iex.net Fri Apr 23 11:08:48 1999 Date: Fri, 23 Apr 1999 11:39:20 -0400 From: Wendell Kirby Subject: Re: HTML outputs to directory Thanks for your reply. I was wondering if you could give me some more information. Specifically, will SQR server format data bound for a printer into a HTML file automatically or do I have to create some type of HTML template with SQR. thanks to everyone for any advise you can share. Richard Meijn 04/20/99 03:01 PM Please respond to SQR-USERS@list.iex.net To: Multiple recipients of list SQR-USERS cc: (bcc: Wendell Kirby/Beechwood Data Systems) Subject: Re: HTML outputs to directory Yes this is possible and very simple. By using the -F flag you could control your output name and the path where you want to put the output. Wendell Kirby wrote: > Hi > > I have a set of report that I print every month, example, reports 1,2,3, and 4. > I want, not only, to print these unique reports but also a corresponding set of > html file and I want to put them in a directory for later distribution.? I want > the end result to be like the following. > > I print the reports labels by a unique account number ex 1, 2, 3, 4. and have a > corresponding HTML files named 1.html, 2.html, 3.html and 4.html put into a > directory of my choice for later distribution. > > Can anyone give me some guidance > > thanks in advance for all your help.. -- ? Kind Regards, Richard Meijn, e-mail : Consultant Quant Systems Europe bv.? ( http://www.quantsystems.nl ) Zuiderkade 7 1948 NG Beverwijk???????? Tel : +31 (0)251 268268 Fax : +31 (0)251 268269 ? From owner-sqr-users@list.iex.net Fri Apr 23 11:08:12 1999 Date: Fri, 23 Apr 1999 11:53:08 -0400 From: "Salem, Mark" Subject: Re: Printing image You can hardcode the path directly into your code, except the path from a parameter or place .bmp in the same directory as indicated in the "SQRDIR = " in the SQR.ini file. ********************* Mark W. Salem ~ the Maxim Group c/o Management Science Associates *412.362.8929 x1805 * 412.363.1083 * msalem@msa.com ********************* > -----Original Message----- > From: Fay, Brannon [SMTP:brannon.fay@PAETEC.COM] > Sent: Friday, April 23, 1999 9:58 AM > To: Multiple recipients of list SQR-USERS > Subject: Re: Printing image > > When I had this problem, I looked at where the image was relative to the > path in the SQR. There was no path mentioned, so the image had to be in > the > same directory as the .sqt > > ^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^* > > Brannon J. Fay > Junior Software Engineer > PaeTec Communications, Inc. > (716)340-2629 > (877)472-3832 > > ^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^* > > There are exceptions to every rule > And I am one of them > > > -----Original Message----- > From: FONG_FAI [mailto:FONG_FAI@SMC.EDU] > Sent: Thursday, April 22, 1999 6:43 PM > To: Multiple recipients of list SQR-USERS > Subject: Printing image > > > I'm having problem printing an image. I keep getting just an empty box > with > no image. > > 1. Do you have to get the dimension of the image correctly to show? or > Does SQR scale it according to image-size (39,7)? > > 2. Also it is really confusing as to what that numbers should be. I > looked > at an SQR example that supplied by Scribe. > where an 747x292 pixels bmp file (7.78"x3.4") converts to > image-size=(39,7). > > I ran this sample sqr (on the 3.0 CD), I still get an empty box while all > the graphic boxes on the same page came out. I made sure the path is > correct. > > > -Fai Fong > Santa Monica College From owner-sqr-users@list.iex.net Fri Apr 23 11:20:40 1999 Date: Fri, 23 Apr 1999 10:05:59 -0600 From: Steven Calvert Subject: Re: E-mail generator --------------793B5E7957E8FB2A223F8167 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I wrote an email id generator a while ago using a stored Oracle PL/SQL database procedure and do not specifically handle quotes, commas, spaces, etc. People can and do put the strangest characters in name fields, especially when you consider typos. So I just strip out ALL invalid characters using a loop and substring / replace functions.The following PL/SQL code leaves only lowercase letters, digits, periods, and underscores in the "name" field: i := 1; while i <= length (name) loop ichr := substr (name, i, 1); if (ichr between 'a' and 'z') or (ichr between '0' and '9') or (ichr = '.') or (ichr = '_') then i := i + 1; else name := replace (name, ichr); end if; end loop; It should be fairly easy to translate into SQR code using a while loop and substr / translate functions. I am including the full PL/SQL procedure since you may want to include other things in your E-mail generator like * a maximum email username length, * a routine to create a unique email username (appends digits to the username until the username is not found in the database), * a default value if the input username is null, * a routine to remove "extra" periods, ... Note that the following code gets somewhat complicated with the "seq" and "change_num" fields. It does work, but really is only included to provide some ideas. Please contact me privately if you would like more info: procedure p_unique_name ( name in out varchar2, seq in number, last_name in varchar2, first_name in varchar2 ) is max_len number; id_found varchar2(1); zero_one_found varchar2(1); try_number varchar2(5); i number; j number; ichr varchar2(1); begin max_len := 21; /* Windows 95 only handles 21 character usernames */ /* default username to firstname.lastname */ if name is null then name := lower (nvl (replace (first_name, '.'), 'null') || '.' || nvl (replace (last_name, '.'), 'null')); else name := lower (name); end if; /* allow only valid username characters */ i := 1; while i <= length (name) loop ichr := substr (name, i, 1); if (ichr between 'a' and 'z') or (ichr between '0' and '9') or (ichr = '.') or (ichr = '_') then i := i + 1; else name := replace (name, ichr); end if; end loop; /* strip double periods out of the user name */ i := 1; j := 0; while i <= length (name) loop ichr := substr (name, i, 1); if (ichr = '.') then if (j > 0) then name := substr (name, 1, j-1) || substr (name, j+1); i := i - 1; end if; j := i; end if; i := i + 1; end loop; /* make sure name does not begin or end with a period */ if substr (name, 1, 1) = '.' then name := 'null' || name; end if; if substr (name, length (name), 1) = '.' then name := name || 'null'; end if; id_found := 'Y'; try_number := null; while id_found = 'Y' loop id_found := 'N'; select max ('Y') into id_found from saturn.spyuser where spyuser_name = substr (name, 1, max_len - nvl(length(try_number),0)) || try_number and spyuser_change_num in (0, -1) and spyuser_seq <> seq; if id_found = 'Y' then zero_one_found := 'Y'; while zero_one_found = 'Y' loop try_number := to_char (nvl (to_number (try_number), 1) + 1); if instr (try_number, '0') = 0 and instr (try_number, '1') = 0 then zero_one_found := 'N'; end if; end loop; end if; end loop; name := substr (name, 1, max_len - nvl(length(try_number),0)) || try_number; end p_unique_name; -----Original Message----- > From: Sam Spritzer [mailto:SSpritzer@GW.CTG.COM] > Sent: Thursday, April 22, 1999 3:55 PM > To: Multiple recipients of list SQR-USERS > Subject: E-mail generator > > I m in the process of creating an e-mail generator which will take an > employee's name and create the user part of an e-mail address. The > requirement is to take the first letter of the first name and marry it to > the last name. For example, Bill Clinton would be bclinton. > Straight names are easy...its the non-letter characters I am having trouble > with such as O'Gore,Al / de Agnew, Spiro / Rodham-Clinton,Hillary. > Does anyone have a "stripper/scrubber" code that they would be willing to > share? > Thanks in advance, > Sam -- Steven Calvert calvert@uleth.ca University of Lethbridge (403)329-2071 --------------793B5E7957E8FB2A223F8167 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I wrote an email id generator a while ago using a stored Oracle PL/SQL database procedure and do not specifically handle quotes, commas, spaces, etc. People can and do put the strangest characters in name fields, especially when you consider typos. So I just strip out ALL invalid characters using a loop and substring / replace functions.The following PL/SQL code leaves only lowercase letters, digits, periods, and underscores in the "name" field:

  i := 1;
  while i <= length (name) loop
    ichr := substr (name, i, 1);
    if (ichr between 'a' and 'z') or
       (ichr between '0' and '9') or
       (ichr = '.') or (ichr = '_') then
      i := i + 1;
    else
      name := replace (name, ichr);
    end if;
  end loop;

It should be fairly easy to translate into SQR code using a while loop and substr / translate functions.

I am including the full PL/SQL procedure since you may want to include other things in your E-mail generator like

  • a maximum email username length,
  • a routine to create a unique email username (appends digits to the username until the username is not found in the database),
  • a default value if the input username is null,
  • a routine to remove "extra" periods, ...
Note that the following code gets somewhat complicated with the "seq" and "change_num" fields. It does work, but really is only included to provide some ideas. Please contact me privately if you would like more info:

  procedure p_unique_name (
    name                in out  varchar2,
    seq                 in      number,
    last_name           in      varchar2,
    first_name          in      varchar2
  ) is
  max_len number;
  id_found varchar2(1);
  zero_one_found varchar2(1);
  try_number varchar2(5);
  i number;
  j number;
  ichr varchar2(1);
  begin
  max_len := 21; /* Windows 95 only handles 21 character usernames */
  /* default username to firstname.lastname */
  if name is null then
    name := lower (nvl (replace (first_name, '.'), 'null') ||
            '.' || nvl (replace (last_name, '.'), 'null'));
  else
    name := lower (name);
  end if;
  /* allow only valid username characters */
  i := 1;
  while i <= length (name) loop
    ichr := substr (name, i, 1);
    if (ichr between 'a' and 'z') or
       (ichr between '0' and '9') or
       (ichr = '.') or (ichr = '_') then
      i := i + 1;
    else
      name := replace (name, ichr);
    end if;
  end loop;
  /* strip double periods out of the user name */
  i := 1;
  j := 0;
  while i <= length (name) loop
    ichr := substr (name, i, 1);
    if (ichr = '.') then
      if (j > 0) then
        name := substr (name, 1, j-1) || substr (name, j+1);
        i := i - 1;
      end if;
      j := i;
    end if;
    i := i + 1;
  end loop;
  /* make sure name does not begin or end with a period */
  if substr (name, 1, 1) = '.' then
    name := 'null' || name;
  end if;
  if substr (name, length (name), 1) = '.' then
    name := name || 'null';
  end if;
  id_found := 'Y';
  try_number := null;
  while id_found = 'Y' loop
    id_found := 'N';
    select max ('Y')
      into id_found
      from saturn.spyuser
     where spyuser_name =
           substr (name, 1, max_len - nvl(length(try_number),0)) || try_number
       and spyuser_change_num in (0, -1)
       and spyuser_seq <> seq;
    if id_found = 'Y' then
      zero_one_found := 'Y';
      while zero_one_found = 'Y' loop
        try_number := to_char (nvl (to_number (try_number), 1) + 1);
        if instr (try_number, '0') = 0 and instr (try_number, '1') = 0 then
          zero_one_found := 'N';
        end if;
      end loop;
    end if;
  end loop;
  name := substr (name, 1, max_len - nvl(length(try_number),0)) || try_number;
  end p_unique_name;

-----Original Message-----

From: Sam Spritzer [mailto:SSpritzer@GW.CTG.COM]
Sent: Thursday, April 22, 1999 3:55 PM
To: Multiple recipients of list SQR-USERS
Subject: E-mail generator

I m in the process of creating an e-mail generator which will take an
employee's name and create the user part of an e-mail address.  The
requirement is to take the first letter of the first name and marry it to
the last name.  For example, Bill Clinton would be bclinton.
Straight names are easy...its the non-letter characters I am having trouble
with such as O'Gore,Al / de Agnew, Spiro / Rodham-Clinton,Hillary.
Does anyone have a "stripper/scrubber" code that they would be willing to
share?
Thanks in advance,
Sam

--
Steven Calvert
calvert@uleth.ca
University of Lethbridge
(403)329-2071
  --------------793B5E7957E8FB2A223F8167-- From owner-sqr-users@list.iex.net Fri Apr 23 13:03:04 1999 Date: Fri, 23 Apr 1999 13:45:42 -0400 From: "Fay, Brannon" Subject: Obtaining XX from -PRINTER:XX Oracle 7.3.4 SQR 4.3.2.2 Is it possible to obtain the current printer type being used??? We are naming our reports from a parameter in an input file, but right now the extension is hardcoded '.ps'. I now need to output in postscript, pdf and html, depending on the command line given via -PRINTER:XX, thus would like to be able to obtain what XX is and apply the appropriate extension for the report. My current solution is to add -F to the command line where will be .ps, .pdf, .html respectively and I can set: let $rpt = $ || $sqr-report since $sqr-report will have the value of -F, but this seems a little redundant. Any ideas??? THANX, Brannon Fay From owner-sqr-users@list.iex.net Fri Apr 23 15:30:17 1999 Date: Fri, 23 Apr 1999 22:07:28 +0100 From: Franck Masson Subject: Re: Obtaining XX from -PRINTER:XX hi, when you run sqr it first generate an spf file and then convert the spf in html, pdf,postcript .... so when your program is running it does not know the printer. this are 2 solutions Solution 1 ---------- if you are running on unix ( on nt it will work but the syntax is different) printer=pdf export printer sqr test.sqr -printer:$printer in test.sqr let $printer = getenv('printer') .......... Solution 2 ---------- printer=pdf sqr test.sqr -F$printer -printer:$printer in test.sqr let $rpt = $ || '.' || $sqr-report Fay, Brannon wrote: > > Oracle 7.3.4 > SQR 4.3.2.2 > > Is it possible to obtain the current printer type being used??? We are > naming our reports from a parameter in an input file, but right now the > extension is hardcoded '.ps'. I now need to output in postscript, pdf and > html, depending on the command line given via -PRINTER:XX, thus would like > to be able to obtain what XX is and apply the appropriate extension for the > report. My current solution is to add -F to the command line where > will be .ps, .pdf, .html respectively and I can set: > > let $rpt = $ || $sqr-report > > since $sqr-report will have the value of -F, but this seems a little > redundant. > > Any ideas??? > > THANX, > Brannon Fay From owner-sqr-users@list.iex.net Fri Apr 23 17:06:31 1999 Date: Fri, 23 Apr 1999 14:21:10 -0700 From: Ben Le Subject: Re: E-mail generator Sam, Try this: 1. Drive from table: ----------------- begin-report do main end-report begin-procedure main begin-select lower(substr(spriden_first_name,1,1)) &first lower(spriden_last_name) &last let $last = translate(&last,' -''''','') ! Remove ',-,space. let $email = substr(&first||$last,1,8) ! Limit only 8 chars. print $email (+1,1) from spriden where spriden_change_ind is null and (spriden_last_name like '%''%' or spriden_last_name like '%-%' or spriden_last_name like '% %') and SPRIDEN_ENTITY_IND = 'P' end-select end-procedure main Drive from flat file with ',' delimiter: ---------------------------------------- begin-report do main end-report begin-procedure main input $data_file 'Enter data file with full path' let $data_file = '/home/iss/ble/ben.data' OPEN $data_file AS 1 FOR-READING record=150:vary status=#filestat if #filestat !=0 ! file does not exists stop quiet end-if while 1 READ 1 into $line:5000 if #end-file break end-if UNSTRING $line BY ',' into $last1 $first1 do print end-while end-procedure main begin-procedure print let $last2 = translate($last1,' -''''','') ! Remove ',-,space. let $first2= substr($first1,1,1) lowercase $last2 lowercase $first2 let $email = substr($first2||$last2,1,8) ! Limit only 8 chars. print $email (+1,1) end-procedure print I hope this help! >>>> -----Original Message----- From: Sam Spritzer [<mailto:SSpritzer@GW.CTG.COM] Sent: Thursday, April 22, 1999 3:55 PM To: Multiple recipients of list SQR-USERS Subject: E-mail generator I m in the process of creating an e-mail generator which will take an employee's name and create the user part of an e-mail address. The requirement is to take the first letter of the first name and marry it to the last name. For example, Bill Clinton would be bclinton. Straight names are easy...its the non-letter characters I am having trouble with such as O'Gore,Al / de Agnew, Spiro / Rodham-Clinton,Hillary. Does anyone have a "stripper/scrubber" code that they would be willing to share? Thanks in advance, Sam Benjamin Le System Development, ITS Portland Community College PO Box 19000 Portland, OR. 97280-0990 U.S.A. Phone: (503)-977-4970 Fax:(503)-977-4987 E-mail: Mailto:ble@pcc.edu PCC Web: http://www.pcc.edu From owner-sqr-users@list.iex.net Fri Apr 23 15:58:54 1999 Date: Fri, 23 Apr 1999 22:37:38 +0100 From: Franck Masson Subject: Re: #include files in SQR (Unix) one posible solution for your migration modify your sqr program #include 'rp_header.sh' #include 'rp_footer.sh' then in your shell that run sqr sqr -i$OMS_SQR program.sqr this is the documentation of the -i flag Specifies the list of directories that SQR will search when processing the #INCLUDE directive if the include file does not exist in the current directory and no specified path was specified for the file. The directory names must be separated by either commas (,) or semicolons (;). Always append the directory character to the end of each directory name. See the -F flag for a list of directory characters by operating system. For example, under UNIX: -Ic:\sqr\inc,d:\sqr\incl if you do not want to type the line create a sqr.sh file in /usr/bin #!/bin/sh $SQRDIR/sqr -i$OMS_SQR $* franck Marlon Corrales wrote: > > Hello Everyone! > > Background: > Conversion from SQR 3.0 in VAX/VMS to SQR 4.3 Unix/Solaris. > > Problem: > In our VAX/VMS SQR programs, we have #include directives which look > like this > > #include 'oms_sqr:rp_header.sh' > #include 'oms_sqr:rp_footer.sh' > .... > .... > > When we compile the program, it knows how to translate > the environment logical oms_sqr to the correct subdirectory. > > In the converted program, we changed the above to: > > #include '$OMS_SQR/rp_header.sh' > #include '$OMS_SQR/rp_footer.sh' > .... > .... > > When we tried to compile the program, we got the error: > > (SQR 4713) Cannot open the #INCLUDE file: '$OMS_SQR/rp_fatal.sh' > (2): No such file or directory > > We have defined the environment variable OMS_SQR (exported it also). > The test in Unix (we're using ksh) gives the following: > > $ echo $OMS_SQR > /users/sqr/appl > $ > > It seems that compiling does not translate the $OMS_SQR to the > proper subdirectory. > > Any suggestions on how to go about the problem above? > > Thnx. From owner-sqr-users@list.iex.net Fri Apr 23 17:22:30 1999 Date: Fri, 23 Apr 1999 15:08:07 PDT From: Kumaramurthy Sivaramakrishnan Subject: SQR V2.5 running on SunOS and Solaris SQR Ver 2.5 on SunOS 4.1.4 and Solaris(SunOS 5.5.1) Sybase 4.9.2.3 need a quick confirmation from this knowledgable user list: i hv an SQR script which runs fine on a SunOS 4.1.4 box. when i run the same script on a Solaris box i get the following error message: SQR: Structured Query Report Writer V2.5 Copyright (C) Sybase, Inc., 1986, 1993. All Rights Reserved. Sybase DBOPEN error in cursor 0: (20055) Unknown network type found in interface file. (SQR 1803) CONNECT failed. Perhaps username/password incorrect. Now i need a confirmation from the group that though the SQR executable is compatible and runs on the Solaris box, it does not understand the $SYBASE/interface file formats on the Solaris box. Even on the Solaris box, when i point the SYBASE variable to a directory containing interfaces file in the SunOS format, the SQR script executes fine. kind respond ASAP Murthy SK _______________________________________________________________ Get Free Email and Do More On The Web. Visit http://www.msn.com From owner-sqr-users@list.iex.net Fri Apr 23 18:10:50 1999 Date: Sat, 24 Apr 1999 00:48:27 +0100 From: Franck Masson Subject: Re: SQR V2.5 running on SunOS and Solaris i confirme you that the sqr product (executable) is not compatible between sunos 4.1.4 and solaris 2.5. Connect to www.sqribe.com or send a mail to sales@sqribe.com to be contacted to find a solution. Franck, Kumaramurthy Sivaramakrishnan wrote: > > SQR Ver 2.5 > on SunOS 4.1.4 and Solaris(SunOS 5.5.1) > Sybase 4.9.2.3 > > need a quick confirmation from this knowledgable user list: > > i hv an SQR script which runs fine on a SunOS 4.1.4 box. > > when i run the same script on a Solaris box i get > the following error message: > SQR: Structured Query Report Writer V2.5 > Copyright (C) Sybase, Inc., 1986, 1993. All Rights Reserved. > > Sybase DBOPEN error in cursor 0: > (20055) Unknown network type found in interface file. > (SQR 1803) CONNECT failed. Perhaps username/password incorrect. > > Now i need a confirmation from the group that though > the SQR executable is compatible and runs on the Solaris box, > it does not understand the $SYBASE/interface file formats > on the Solaris box. > > Even on the Solaris box, when i point the SYBASE variable to > a directory containing interfaces file in the SunOS format, > the SQR script executes fine. > > kind respond ASAP > > Murthy SK > > _______________________________________________________________ > Get Free Email and Do More On The Web. Visit http://www.msn.com From owner-sqr-users@list.iex.net Fri Apr 23 21:18:35 1999 Date: Fri, 23 Apr 1999 21:01:06 -0500 From: Ray Ontko Subject: Re: Obtaining XX from -PRINTER:XX Brannon, Here's a hack that may help you solve your problem. I'm using an older version of SQR here, but this should work on most versions. The basic idea is to use PRINT-DIRECT PRINTER= to write a unique string to a temporary print file, for each of the printer types you're trying to detect. You then close that file and read it to see which PRINT-DIRECT string got printed. This should work with HTML, but I'm not sure if it will work with PDF. Ray Here's the code I tried: ! ! demonstrates a hack which allows you to figure out what ! XX is in -PRINTER:XX ! #define TEMP_FILE 1 #define TEMP_FILE_MAX 1000 begin-program do main end-program begin-procedure main do get_print_file_type( $print_file_type ) let $output_file_name = 'my_report' || $print_file_type new-report $output_file_name print 'Howdy' (1,1) end-procedure begin-procedure get_print_file_type( :$print_file_type ) move $_sqr-report to $temp_file print-direct printer=ps '+++ ps +++' print-direct printer=hp '+++ hp +++' print-direct printer=lp '+++ lp +++' new-report 'dummy' open $temp_file as {TEMP_FILE} for-reading record={TEMP_FILE_MAX}:vary status=#status if #status show 'error: unable to open "' $temp_file '" for input' move 1 to #return-status stop quiet end-if move '' to $print_file_type move 1 to #looping while #looping read {TEMP_FILE} into $line:{TEMP_FILE_MAX} if #end-file break end-if evaluate $line when = '+++ ps +++' move '.ps' to $print_file_type move 0 to #looping break when = '+++ hp +++' move '.pcl' to $print_file_type move 0 to #looping break when = '+++ lp +++' move '.lis' to $print_file_type move 0 to #looping break end-evaluate end-while close {TEMP_FILE} end-procedure ! get_print_file_type > Oracle 7.3.4 > SQR 4.3.2.2 > > Is it possible to obtain the current printer type being used??? We are > naming our reports from a parameter in an input file, but right now the > extension is hardcoded '.ps'. I now need to output in postscript, pdf and > html, depending on the command line given via -PRINTER:XX, thus would like > to be able to obtain what XX is and apply the appropriate extension for the > report. My current solution is to add -F to the command line where > will be .ps, .pdf, .html respectively and I can set: > > let $rpt = $ || $sqr-report > > since $sqr-report will have the value of -F, but this seems a little > redundant. > > Any ideas??? > > THANX, > Brannon Fay > ---------------------------------------------------------------------- Ray Ontko | Ray Ontko & Co | "RO&C: data movers and shakers." rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/ From owner-sqr-users@list.iex.net Fri Apr 23 21:26:36 1999 Date: Fri, 23 Apr 1999 21:13:36 -0500 From: Ray Ontko Subject: Re: SQR report printing Ryszard, If you want to run a print a report with a graphic from unix, you need to run the report with -printer:hp AND you need to use an image of type HPGL instead of BMP. I'm not sure about the "box" problem. Have you tried doing something similar with GRAPHIC BOX? Ray > My questions refer to the following codes: > 1) > print-image (1,66) > type=bmp-file > source='smartpay.bmp' > image-size=(35,2) > > 2) > alter-printer pitch = 7.5 point-size = 14 > print #t_amount_due (9,40,21) box edit 999,999,999.99 > alter-printer pitch = 15 point-size = 8.5 > > > SQR is running on SUN boxes under UNIX platform. > The report I create looks fine when I try to display or print from within > SQR Viewer (Windows platform). > If I try to print from UNIX then the bitmap becomes a shadow area and the > box is shrinking. > FYI: I use HP5 or HP6 laser printers. > > Any solutions ? > ---------------------------------------------------------------------- Ray Ontko | Ray Ontko & Co | "RO&C: data movers and shakers." rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/ From owner-sqr-users@list.iex.net Mon Apr 26 07:27:52 1999 Date: Mon, 26 Apr 1999 08:17:20 -0400 From: Stuart Kohler Subject: Visual SQRibe list? I've looked around a bit, but have been unable to find a list dedicated to Visual SQRibe (specific) questions. Does anyone know if there is such a list? Thanks, Stuart Kohler ********************************************************** Stuart Kohler, Programmer/Analyst Computer Services Department, Juckett Hall Norwich University Northfield, VT 05663 Voice: (802) 485-2383; FAX: (802) 485-2291 Email: stuartk@norwich.edu [Please note "k" in username!] ********************************************************** From owner-sqr-users@list.iex.net Mon Apr 26 08:49:22 1999 Date: Mon, 26 Apr 1999 08:30:45 -0500 From: Ray Ontko Subject: Re: Visual SQRibe list? Stuart, Feel free to use this list. Ray > I've looked around a bit, but have been unable to find a list dedicated > to Visual SQRibe (specific) questions. Does anyone know if there is such > a list? > > Thanks, > Stuart Kohler > > ********************************************************** > Stuart Kohler, Programmer/Analyst > Computer Services Department, Juckett Hall > Norwich University > Northfield, VT 05663 > Voice: (802) 485-2383; FAX: (802) 485-2291 > Email: stuartk@norwich.edu [Please note "k" in username!] > ********************************************************** > ---------------------------------------------------------------------- Ray Ontko | Ray Ontko & Co | "RO&C: data movers and shakers." rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/ From owner-sqr-users@list.iex.net Mon Apr 26 09:27:47 1999 Date: Mon, 26 Apr 1999 09:07:26 -0500 From: Dan Kells at HQ Subject: How do you pass the current user's web loginid to an SQR program in REPORTMART This is a question on ReportMart. I am really new at this. Is there a way to get the logon id of what the user just entered to get into the reportmart web site and pass that into my sqr program? I don't want to have to make the user enter their name and password as parameters for each report they run. SQR/4.3.2.1/PC/WINDOWS NT 4.0/Sybase CT-LIB 10.0.4/Sep 21 1998 From owner-sqr-users@list.iex.net Mon Apr 26 09:55:41 1999 Date: Mon, 26 Apr 1999 08:27:07 -0600 From: Juan Alvarado Subject: Re: How do you pass the current user's web loginid to an SQR prog ram in REPORTMART Dan: in Reportmart exists a variable called $FIXED_USERNAME. when you vew the propeties of the report in the parameters (INPUT OR ASK) you put in the field of the username on the default propeties the variable $FIXED_USERNAME. This capture the currently logon ID of the session that try to run the report. Also when you put this variable the reportmart dont prompt for the field that use it. This is document in the Release notes of the report mart. By the way i use the Reportmart version 1.5.2. I think Sqribe introduce this feature from 1.5.1. I hope this help you -----Original Message----- From: Dan Kells at HQ [mailto:DKells@ITTESI.COM] Sent: Monday, April 26, 1999 8:07 AM To: Multiple recipients of list SQR-USERS Subject: How do you pass the current user's web loginid to an SQR program in REPORTMART This is a question on ReportMart. I am really new at this. Is there a way to get the logon id of what the user just entered to get into the reportmart web site and pass that into my sqr program? I don't want to have to make the user enter their name and password as parameters for each report they run. SQR/4.3.2.1/PC/WINDOWS NT 4.0/Sybase CT-LIB 10.0.4/Sep 21 1998 From owner-sqr-users@list.iex.net Mon Apr 26 09:59:01 1999 Date: Mon, 26 Apr 1999 10:41:11 -0400 From: Sam Spritzer Subject: Re: E-mail generator To all of those who responded...thanks a bunch. I have gotten many different responses which I think, collectively, will make a terrific addition to the library. As soon as I finish, I'll upload it to the library. Again, thanks! Sam From owner-sqr-users@list.iex.net Mon Apr 26 11:01:22 1999 Date: Mon, 26 Apr 1999 08:24:07 PDT From: ravi kumar Subject: Query Hi All I need SQR.ini file for version 2.5 . Please if any boday have this just paste here. Nad i have one more problem as I am working on a migration project to 2.5 to 4.0 and I need to know where to set the data format for the SQR. I heard that there is SQ..DB..Data..format variable to set to 4 digit YYYYormat . Please reply ASAP. Thanks Ravi _______________________________________________________________ Get Free Email and Do More On The Web. Visit http://www.msn.com From owner-sqr-users@list.iex.net Mon Apr 26 11:43:00 1999 Date: Mon, 26 Apr 1999 10:54:00 -0500 From: JOSEPH C SHORT Subject: Running SQRs stand-alone with PeopleSoft Single-User rel.7.5 I recently installed PS Single-User rel.7.5 and am having problems executing SQRs stand-alone. I receive a message " Cannot logon the database." The database does not load when executing SQRW and if I load the database using SQLTalk, I receive the same message as above. >From what I have found on Customer Connection, there is an additional parameter which is required in Configuartion Manager / Process Scheduler / SQR Flags, but PeopleSoft support could not provide me with any meaningful assistance. From owner-sqr-users@list.iex.net Mon Apr 26 11:33:57 1999 Date: Mon, 26 Apr 1999 09:18:19 PDT From: ravi kumar Hi All I need SQR.ini file for version 2.5 . Please if any boday have this just paste here. Nad i have one more problem as I am working on a migration project to 2.5 to 4.0 and I need to know where to set the data format for the SQR. I heard that there is SQ..DB..Data..format variable to set to 4 digit YYYYormat . Please reply ASAP. Thanks Ravi _______________________________________________________________ Get Free Email and Do More On The Web. Visit http://www.msn.com From owner-sqr-users@list.iex.net Mon Apr 26 13:53:20 1999 Date: Mon, 26 Apr 1999 11:05:15 -0700 From: Sivaram Gowkanapalli Subject: Re: Query have u tried to check for the variable in PSSQR.ini? siva --- ravi kumar wrote: > Hi All > > I need SQR.ini file for version 2.5 . Please if any > boday have this > just paste here. > Nad i have one more problem as I am working on a > migration project to > 2.5 to 4.0 and I need to know where to set the data > format for the > SQR. I heard that there is SQ..DB..Data..format > variable to set to 4 > digit YYYYormat . > > > Please reply ASAP. > > Thanks > Ravi > > _______________________________________________________________ > Get Free Email and Do More On The Web. Visit > http://www.msn.com > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From owner-sqr-users@list.iex.net Mon Apr 26 15:03:46 1999 Date: Mon, 26 Apr 1999 16:24:21 -0300 From: Juan Jose Breuer Subject: Re: Running SQRs stand-alone with PeopleSoft Single-User rel.7.5 Did you tried to get the execution parameters from the Process Monitor? View de details of a SQR process that run succesfull and use the copy to clipboard of the second panel. That could help. Also, you are running the SQR that comes with the single user? ----- Original Message ----- From: JOSEPH C SHORT To: Multiple recipients of list SQR-USERS Sent: Monday, April 26, 1999 12:54 PM Subject: Running SQRs stand-alone with PeopleSoft Single-User rel.7.5 > I recently installed PS Single-User rel.7.5 and am having problems executing > SQRs stand-alone. I receive a message > > " Cannot logon the database." > > The database does not load when executing SQRW and if I load the database using > SQLTalk, I receive the same message as above. > > >From what I have found on Customer Connection, there is an additional parameter > which is required in Configuartion Manager / Process Scheduler / SQR Flags, > but PeopleSoft support could not provide me with any meaningful assistance. > From owner-sqr-users@list.iex.net Mon Apr 26 15:13:32 1999 Date: Mon, 26 Apr 1999 15:37:55 -0400 From: Wilkinson Janice Subject: Ben Admin on Rel 7 I would be interested in contacting anyone running Benefits Administration on Rel. 7 who has been through an 'open enrollment'. We're beginning to prepare for ours later this year and would like to discuss. Thank-you, Janice Wilkinson Genesis HealthCare System From owner-sqr-users@list.iex.net Mon Apr 26 15:12:26 1999 Date: Mon, 26 Apr 1999 15:42:19 -0400 From: Wilkinson Janice Subject: Sorry...Ben Admin on Rel 7 Sorry to all subscribers...I sent to the wrong group. Janice Wilkinson From owner-sqr-users@list.iex.net Mon Apr 26 15:24:30 1999 Date: Mon, 26 Apr 1999 15:05:29 -0500 From: "Doris K. Brinson" Subject: Ben Admin on Rel 7 -Reply I work for a company that uses HRizon version 7.01c and just went live on its Benefits Administration module. If you have any questions, I'd be glad to try and help. Doris Brinson Community Hospital Indianapolis >>> Wilkinson Janice 04/26/99 02:37pm >>> I would be interested in contacting anyone running Benefits Administration on Rel. 7 who has been through an 'open enrollment'. We're beginning to prepare for ours later this year and would like to discuss. Thank-you, Janice Wilkinson Genesis HealthCare System From owner-sqr-users@list.iex.net Mon Apr 26 16:26:01 1999 Date: Mon, 26 Apr 1999 16:02:48 -0500 From: "Korbel, Gordon E." Subject: Lineprinter -- lines per page Hi all, I am printing on a dot-matrix printer (don't ask why) -- and I need to set my printer to about 51 lines per inch. But it seems I am unable to do that -- I think I need to override it in the printer-init string, but I am unable to figure out exactly what needs to be changed. And because of difficult logistics (the printer is 30 miles away) I am unable to go through quick iterative testing cycles. So any guidance would be appreciated! Right now I have begin-setup ... printer-init <39>E<39>(0N<39>&l1O<39>&l8D<39>&l5E<39>&l66F<39>(s16.66H<39>&k2G ! | | | | | | | | ! | | | | | | | --> CR ! | | | | | | --> Line Prntr font ! | | | | | --> 66 text lines ! | | | | --> top margin = 5 lines ! | | | --> 8 lines per inch ! | | --> Landscape mode ! | --> ISO 8859-1 symbol set ! --> Reset... end-setup Any wisdom? The printer is an Epson. Thanks! SQR 3.0.18.xxx -Gordon From owner-sqr-users@list.iex.net Mon Apr 26 19:37:34 1999 Date: Tue, 27 Apr 1999 08:23:56 +0800 From: "Ivory, Wayne" Subject: Re: Lineprinter -- lines per page Gordon, 51 lines per inch? I think I'll take your meaning from the Subject, ie lines per page. I have a shell script here that I setup for a different system that prints our purchase orders that are 51 lines per page. It initialises with "C3" ("3" is the 51st ascii character). Hope this helps. Wayne Ivory Information Services Westralian Sands Limited -----Original Message----- From: Korbel, Gordon E. [mailto:SQR-USERS@list.iex.net] Sent: Tuesday, 27 April 1999 5:02 To: SQR-USERS@list.iex.net; GEKORBEL@NORSTAN.COM Subject: Lineprinter -- lines per page Hi all, I am printing on a dot-matrix printer (don't ask why) -- and I need to set my printer to about 51 lines per inch. But it seems I am unable to do that -- I think I need to override it in the printer-init string, but I am unable to figure out exactly what needs to be changed. And because of difficult logistics (the printer is 30 miles away) I am unable to go through quick iterative testing cycles. So any guidance would be appreciated! Right now I have begin-setup .. printer-init <39>E<39>(0N<39>&l1O<39>&l8D<39>&l5E<39>&l66F<39>(s16.66H<39>&k2G ! | | | | | | | | ! | | | | | | | --> CR ! | | | | | | --> Line Prntr font ! | | | | | --> 66 text lines ! | | | | --> top margin = 5 lines ! | | | --> 8 lines per inch ! | | --> Landscape mode ! | --> ISO 8859-1 symbol set ! --> Reset... end-setup Any wisdom? The printer is an Epson. Thanks! SQR 3.0.18.xxx -Gordon From owner-sqr-users@list.iex.net Mon Apr 26 20:27:11 1999 Date: Tue, 27 Apr 1999 09:10:58 +0800 From: "Ivory, Wayne" Subject: Re: Lineprinter -- lines per page Addendum: That printer-init string you've got currently looks like a laser-printer sequence to me, which if so would not make your lineprinter very happy! I'd suggest ditching all that and just go with the sequence I sent you (don't forget to get someone to turn the printer off and on before you try it). Wayne Ivory Information Services Westralian Sands Limited -----Original Message----- From: Ivory, Wayne [mailto:SQR-USERS@list.iex.net] Sent: Tuesday, 27 April 1999 8:23 To: SQR-USERS@list.iex.net; wivory@wsl.com.au Subject: Re: Lineprinter -- lines per page Gordon, 51 lines per inch? I think I'll take your meaning from the Subject, ie lines per page. I have a shell script here that I setup for a different system that prints our purchase orders that are 51 lines per page. It initialises with "C3" ("3" is the 51st ascii character). Hope this helps. Wayne Ivory Information Services Westralian Sands Limited -----Original Message----- From: Korbel, Gordon E. [mailto:SQR-USERS@list.iex.net] Sent: Tuesday, 27 April 1999 5:02 To: SQR-USERS@list.iex.net; GEKORBEL@NORSTAN.COM Subject: Lineprinter -- lines per page Hi all, I am printing on a dot-matrix printer (don't ask why) -- and I need to set my printer to about 51 lines per inch. But it seems I am unable to do that -- I think I need to override it in the printer-init string, but I am unable to figure out exactly what needs to be changed. And because of difficult logistics (the printer is 30 miles away) I am unable to go through quick iterative testing cycles. So any guidance would be appreciated! Right now I have begin-setup . printer-init <39>E<39>(0N<39>&l1O<39>&l8D<39>&l5E<39>&l66F<39>(s16.66H<39>&k2G ! | | | | | | | | ! | | | | | | | --> CR ! | | | | | | --> Line Prntr font ! | | | | | --> 66 text lines ! | | | | --> top margin = 5 lines ! | | | --> 8 lines per inch ! | | --> Landscape mode ! | --> ISO 8859-1 symbol set ! --> Reset... end-setup Any wisdom? The printer is an Epson. Thanks! SQR 3.0.18.xxx -Gordon From owner-sqr-users@list.iex.net Mon Apr 26 20:43:30 1999 Date: Tue, 27 Apr 1999 13:31:14 +1200 From: Ryszard Jedrychowski Subject: Re: SQR report printing Ray, Thank you for responding to my problem. I tried to do what you had suggested but without a success. I used the following types as mentioned below but still I couldn't get a correct printout. I try to print an image for the first time so maybe there is a special undocumented way to do it. Using -PRINTER:HP did not worked either. print-image (1,116) ! type=bmp-file ! source='smartpay.bmp' type=eps-file source='smartpay.eps' ! type=gif-file ! source='smartpay.gif' ! type=jpeg-file ! source='smartpay.jpg' ! type=hpgl-file ! source='smartpay.plt' image-size=(35,2) Once again thank you very much for responding. Ryszard rayo@ONTKO.COM on 24/04/99 03:13:36 PM Please respond to SQR-USERS@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Ryszard Jedrychowski/Cardlink/NZ) Subject: Re: SQR report printing Ryszard, If you want to run a print a report with a graphic from unix, you need to run the report with -printer:hp AND you need to use an image of type HPGL instead of BMP. I'm not sure about the "box" problem. Have you tried doing something similar with GRAPHIC BOX? Ray > My questions refer to the following codes: > 1) > print-image (1,66) > type=bmp-file > source='smartpay.bmp' > image-size=(35,2) > > 2) > alter-printer pitch = 7.5 point-size = 14 > print #t_amount_due (9,40,21) box edit 999,999,999.99 > alter-printer pitch = 15 point-size = 8.5 > > > SQR is running on SUN boxes under UNIX platform. > The report I create looks fine when I try to display or print from within > SQR Viewer (Windows platform). > If I try to print from UNIX then the bitmap becomes a shadow area and the > box is shrinking. > FYI: I use HP5 or HP6 laser printers. > > Any solutions ? > ---------------------------------------------------------------------- Ray Ontko | Ray Ontko & Co | "RO&C: data movers and shakers." rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/ From owner-sqr-users@list.iex.net Tue Apr 27 03:13:39 1999 Date: Tue, 27 Apr 1999 09:56:33 +0100 From: Franck Masson Subject: Re: SQR report printing hi, i suppose you are running on an UNIX box. Print logo to pcl printer is not easy. You have two solution : 1) using HPGL logo file 2) or convert your logo in a PCL macro that you load before you print and then in your SQR program call the PCL macro. It seems you have an HPGL logo format, 1) check your printer documentation to see if your printer support hpgl 2) check your hpgl code to see if there is no missing command Franck, Ryszard Jedrychowski wrote: > > Ray, > > Thank you for responding to my problem. I tried to do what you had > suggested but without a success. I used the following types as mentioned > below but still I couldn't get a correct printout. I try to print an image > for the first time so maybe there is a special undocumented way to do it. > Using -PRINTER:HP did not worked either. > > print-image (1,116) > ! type=bmp-file > ! source='smartpay.bmp' > type=eps-file > source='smartpay.eps' > ! type=gif-file > ! source='smartpay.gif' > ! type=jpeg-file > ! source='smartpay.jpg' > ! type=hpgl-file > ! source='smartpay.plt' > image-size=(35,2) > > Once again thank you very much for responding. > > Ryszard > > rayo@ONTKO.COM on 24/04/99 03:13:36 PM > > Please respond to SQR-USERS@list.iex.net > > To: SQR-USERS@list.iex.net > cc: (bcc: Ryszard Jedrychowski/Cardlink/NZ) > Subject: Re: SQR report printing > > Ryszard, > > If you want to run a print a report with a graphic from unix, > you need to run the report with -printer:hp AND you need to > use an image of type HPGL instead of BMP. > > I'm not sure about the "box" problem. Have you tried doing > something similar with GRAPHIC BOX? > > Ray > > > My questions refer to the following codes: > > 1) > > print-image (1,66) > > type=bmp-file > > source='smartpay.bmp' > > image-size=(35,2) > > > > 2) > > alter-printer pitch = 7.5 point-size = 14 > > print #t_amount_due (9,40,21) box edit > 999,999,999.99 > > alter-printer pitch = 15 point-size = 8.5 > > > > > > SQR is running on SUN boxes under UNIX platform. > > The report I create looks fine when I try to display or print from within > > SQR Viewer (Windows platform). > > If I try to print from UNIX then the bitmap becomes a shadow area and the > > box is shrinking. > > FYI: I use HP5 or HP6 laser printers. > > > > Any solutions ? > > > > ---------------------------------------------------------------------- > Ray Ontko | Ray Ontko & Co | "RO&C: data movers and shakers." > rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/ From owner-sqr-users@list.iex.net Tue Apr 27 07:50:39 1999 Date: Tue, 27 Apr 1999 08:42:10 -0400 From: Stuart Kohler Subject: Pointing Visual SQRibe to the right SQR engine I've installed Visual SQRibe v4.3, but nowhere in the installation was there a prompt as to which SQR engine I intended to use. In fact, I couldn't use VS at all until I also installed the Personal SQR v.4.3.2.1, but I really want to use the SQR engine running on our Unix server (as I believe the sales rep said was indeed possible). There are no obvious registry keys for setting the SQR engine, so I must be missing something obvious... All suggestions are appreciated. Thanks, Stuart Kohler ********************************************************** Stuart Kohler, Programmer/Analyst Computer Services Department, Juckett Hall Norwich University Northfield, VT 05663 Voice: (802) 485-2383; FAX: (802) 485-2291 Email: stuartk@norwich.edu [Please note "k" in username!] ********************************************************** From owner-sqr-users@list.iex.net Tue Apr 27 09:25:46 1999 Date: Tue, 27 Apr 1999 09:07:07 -0500 From: "Hallmark, Robert J" Subject: Execute SQR from Bat-File We are running Maximo 3.02 and SQR 3.0 on Oracle 7.3.2 When trying to execute an SQR report from a BAT-File I get the error message "SQL error on line 73", however I can run this same job in Report Mate and it works fine. I have 60 reports which automatically generate through BAT-Files on N/T Scheduler and this is the only one I am having trouble with. I have tried everything I can think of, including deleting the BAT-File and re-creating it. Has any one out there run into this kind of problem, or have any ideas what the solution might be. Below is the procedure which the error message is pointing to. Line 73 is the "End-Select". Thanks Bob Begin-Procedure Main Begin-Select Alter-Printer Font=5 Point-Size=9 WONUM &wonum (10,1,8) LEADCRAFT (10,49,3) WOEQ12 (10,81,5) MAXIMO.WORKORDER.EQNUM (10,117,8) MAXIMO.WORKORDER.DESCRIPTION (10,173,55) MAXIMO.WORKORDER.JPNUM (10,501,25) To_Char(LASTCOMPDATE,'MM/DD/YY') &LASTCOMPDATE (10,613) To_Char(TARGCOMPDATE,'MM/DD/YY') &TARGCOMPDATE (10,675) to_char (sysdate-13, 'MM/DD/YY') &sysdate2 maximo.workorder.crewid Next-Listing SkipLines=1 Need=11 >From MAXIMO.EQUIPMENT, MAXIMO.PM, MAXIMO.WORKORDER Where MAXIMO.PM.PMNUM = MAXIMO.WORKORDER.PMNUM AND MAXIMO.EQUIPMENT.EQNUM = MAXIMO.WORKORDER.EQNUM AND MAXIMO.EQUIPMENT.EQNUM = MAXIMO.EQUIPMENT.EQNUM AND (EQ19 IN ('B','M') AND EQ24 IN ('MASE', 'GFE', 'MASE RECALL', 'GFE RECALL') AND TARGCOMPDATE Subject: Re: Pointing Visual SQRibe to the right SQR engine Stuart, In the File menu, when nothing is open in VS, there is a 'Remote Login'. Look that up in help (I just confirmed it is in there). Also, as the help states, if you have the VS User's Guide v4, look at Appendix A. If you don't have the book, let me know, but that should tell you exactly what you need. Brannon ^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^* Brannon J. Fay Junior Software Engineer PaeTec Communications, Inc. (716)340-2629 (877)472-3832 ^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^* There are exceptions to every rule And I am one of them -----Original Message----- From: Stuart Kohler [mailto:stuartk@NORWICH.EDU] Sent: Tuesday, April 27, 1999 8:42 AM To: Multiple recipients of list SQR-USERS Subject: Pointing Visual SQRibe to the right SQR engine I've installed Visual SQRibe v4.3, but nowhere in the installation was there a prompt as to which SQR engine I intended to use. In fact, I couldn't use VS at all until I also installed the Personal SQR v.4.3.2.1, but I really want to use the SQR engine running on our Unix server (as I believe the sales rep said was indeed possible). There are no obvious registry keys for setting the SQR engine, so I must be missing something obvious... All suggestions are appreciated. Thanks, Stuart Kohler ********************************************************** Stuart Kohler, Programmer/Analyst Computer Services Department, Juckett Hall Norwich University Northfield, VT 05663 Voice: (802) 485-2383; FAX: (802) 485-2291 Email: stuartk@norwich.edu [Please note "k" in username!] ********************************************************** From owner-sqr-users@list.iex.net Tue Apr 27 09:59:01 1999 Date: Tue, 27 Apr 1999 10:31:44 -0400 From: "McCoy, Ken D (INPO)" Subject: Re: Execute SQR from Bat-File Dont you want order by MAXIMO.EQUIPMENT.EQNUM ? > -----Original Message----- > From: Hallmark, Robert J [SMTP:robert.j.hallmark@LMCO.COM] > Sent: Tuesday, April 27, 1999 10:07 AM > To: Multiple recipients of list SQR-USERS > Subject: Execute SQR from Bat-File > > We are running Maximo 3.02 and SQR 3.0 on Oracle 7.3.2 > > When trying to execute an SQR report from a BAT-File I get the error > message > "SQL error on line 73", however I can run this same job in Report Mate and > it works fine. I have 60 reports which automatically generate through > BAT-Files on N/T Scheduler and this is the only one I am having trouble > with. I have tried everything I can think of, including deleting the > BAT-File and re-creating it. Has any one out there run into this kind of > problem, or have any ideas what the solution might be. Below is the > procedure which the error message is pointing to. Line 73 is the > "End-Select". > > > Thanks > > Bob > > > > Begin-Procedure Main > Begin-Select > Alter-Printer Font=5 Point-Size=9 > WONUM &wonum (10,1,8) > LEADCRAFT (10,49,3) > WOEQ12 (10,81,5) > MAXIMO.WORKORDER.EQNUM (10,117,8) > MAXIMO.WORKORDER.DESCRIPTION (10,173,55) > MAXIMO.WORKORDER.JPNUM (10,501,25) > To_Char(LASTCOMPDATE,'MM/DD/YY') &LASTCOMPDATE (10,613) > To_Char(TARGCOMPDATE,'MM/DD/YY') &TARGCOMPDATE (10,675) > to_char (sysdate-13, 'MM/DD/YY') &sysdate2 > maximo.workorder.crewid > Next-Listing SkipLines=1 Need=11 > From MAXIMO.EQUIPMENT, MAXIMO.PM, > MAXIMO.WORKORDER > Where MAXIMO.PM.PMNUM = MAXIMO.WORKORDER.PMNUM > AND MAXIMO.EQUIPMENT.EQNUM = MAXIMO.WORKORDER.EQNUM > AND MAXIMO.EQUIPMENT.EQNUM = MAXIMO.EQUIPMENT.EQNUM > AND (EQ19 IN ('B','M') > AND EQ24 IN ('MASE', 'GFE', 'MASE RECALL', 'GFE RECALL') > AND TARGCOMPDATE AND WORKORDER.WORKTYPE = 'PM' > AND NOT WORKORDER.STATUS IN ('COMP', 'CLOSE', 'CAN') > AND not maximo.workorder.crewid = '0ZZ') > order by eqnum > End-Select > End-Procedure From owner-sqr-users@list.iex.net Tue Apr 27 14:36:55 1999 Date: Tue, 27 Apr 1999 21:16:45 +0200 From: Richard Meijn Subject: Re: HTML outputs to directory No SQR is does not bound the output to a spacific printer. Default the output is writen to a ".spf' file. In this file all the nessecary code is insite to convert the report to a specific output printer. (Laserprinter, Postscript printer, ascii, and HTML). If you are only interested in the HTML file you are able to put the argument -printer:ht on the command line. Now the HTML file is created. This is also possible insite the report by using the create-report or create-printer command. With these commands it is possible to write a report whit is only able to create reports with HTML code insite. Including a HTML template is possible by embeding this  in the source code. Or you are also able to use SQr version 4.3 I hope this gives you the right answers.   Wendell Kirby wrote: > Thanks for your reply. I was wondering if you could give me some more > information. Specifically, will SQR server format data bound for a printer into > a HTML file automatically or do I have to create some type of HTML template with > SQR. > > thanks to everyone for any advise you can share. > > Richard Meijn > 04/20/99 03:01 PM > > Please respond to SQR-USERS@list.iex.net > > To:   Multiple recipients of list SQR-USERS > cc:    (bcc: Wendell Kirby/Beechwood Data Systems) > Subject:  Re: HTML outputs to directory > > Yes this is possible and very simple. > > By using the -F flag you could control your output name and the > path where you want to put the output. > > Wendell Kirby wrote: > > > Hi > > > > I have a set of report that I print every month, example, reports 1,2,3, and > 4. > > I want, not only, to print these unique reports but also a corresponding set > of > > html file and I want to put them in a directory for later distribution.? I > want > > the end result to be like the following. > > > > I print the reports labels by a unique account number ex 1, 2, 3, 4. and have > a > > corresponding HTML files named 1.html, 2.html, 3.html and 4.html put into a > > directory of my choice for later distribution. > > > > Can anyone give me some guidance > > > > thanks in advance for all your help.. > > -- > ? > > Kind Regards, > > Richard Meijn, e-mail : > Consultant > Quant Systems Europe bv.? ( http://www.quantsystems.nl ) > Zuiderkade 7 > 1948 NG Beverwijk???????? Tel : +31 (0)251 268268 Fax : +31 (0)251 268269 > ? --   Kind Regards, Richard Meijn, e-mail : Consultant Quant Systems Europe bv.  ( http://www.quantsystems.nl ) Zuiderkade 7 1948 NG Beverwijk         Tel : +31 (0)251 268268 Fax : +31 (0)251 268269   From owner-sqr-users@list.iex.net Tue Apr 27 18:31:19 1999 Date: Tue, 27 Apr 1999 19:04:24 -0400 From: Paul Haninger Subject: Re: SQR report printing Just a thought and probably a very dumb question but have you tried changing the path you specify for the image file? Maybe your problem is because the system can't find the image your trying to print in the path source='filename'. That was one of the problems I had when I first tried to print an image from an sqr. - Paul ----- Original Message ----- From: Ryszard Jedrychowski To: Multiple recipients of list SQR-USERS Sent: Monday, April 26, 1999 9:31 PM Subject: Re: SQR report printing > Ray, > > Thank you for responding to my problem. I tried to do what you had > suggested but without a success. I used the following types as mentioned > below but still I couldn't get a correct printout. I try to print an image > for the first time so maybe there is a special undocumented way to do it. > Using -PRINTER:HP did not worked either. > > print-image (1,116) > ! type=bmp-file > ! source='smartpay.bmp' > type=eps-file > source='smartpay.eps' > ! type=gif-file > ! source='smartpay.gif' > ! type=jpeg-file > ! source='smartpay.jpg' > ! type=hpgl-file > ! source='smartpay.plt' > image-size=(35,2) > > Once again thank you very much for responding. > > Ryszard > > > > > > rayo@ONTKO.COM on 24/04/99 03:13:36 PM > > Please respond to SQR-USERS@list.iex.net > > To: SQR-USERS@list.iex.net > cc: (bcc: Ryszard Jedrychowski/Cardlink/NZ) > Subject: Re: SQR report printing > > > > > Ryszard, > > If you want to run a print a report with a graphic from unix, > you need to run the report with -printer:hp AND you need to > use an image of type HPGL instead of BMP. > > I'm not sure about the "box" problem. Have you tried doing > something similar with GRAPHIC BOX? > > Ray > > > My questions refer to the following codes: > > 1) > > print-image (1,66) > > type=bmp-file > > source='smartpay.bmp' > > image-size=(35,2) > > > > 2) > > alter-printer pitch = 7.5 point-size = 14 > > print #t_amount_due (9,40,21) box edit > 999,999,999.99 > > alter-printer pitch = 15 point-size = 8.5 > > > > > > SQR is running on SUN boxes under UNIX platform. > > The report I create looks fine when I try to display or print from within > > SQR Viewer (Windows platform). > > If I try to print from UNIX then the bitmap becomes a shadow area and the > > box is shrinking. > > FYI: I use HP5 or HP6 laser printers. > > > > Any solutions ? > > > > ---------------------------------------------------------------------- > Ray Ontko | Ray Ontko & Co | "RO&C: data movers and shakers." > rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/ From owner-sqr-users@list.iex.net Tue Apr 27 19:05:24 1999 Date: Wed, 28 Apr 1999 11:44:02 +1200 From: Ryszard Jedrychowski Subject: Re: SQR report printing I keep my image files both in local and SQR directories. By the way, if I use bmp file then I can display *.spf file and print it on HP printer but only if I use SQR Viewer. I cannot see an image (only shadow box) while displaying *.lis file using SwiftView. Ryszard phaninge@COLUMBUS.RR.COM on 28/04/99 12:04:24 PM Please respond to SQR-USERS@list.iex.net To: SQR-USERS@list.iex.net cc: (bcc: Ryszard Jedrychowski/Cardlink/NZ) Subject: Re: SQR report printing Just a thought and probably a very dumb question but have you tried changing the path you specify for the image file? Maybe your problem is because the system can't find the image your trying to print in the path source='filename'. That was one of the problems I had when I first tried to print an image from an sqr. - Paul ----- Original Message ----- From: Ryszard Jedrychowski To: Multiple recipients of list SQR-USERS Sent: Monday, April 26, 1999 9:31 PM Subject: Re: SQR report printing > Ray, > > Thank you for responding to my problem. I tried to do what you had > suggested but without a success. I used the following types as mentioned > below but still I couldn't get a correct printout. I try to print an image > for the first time so maybe there is a special undocumented way to do it. > Using -PRINTER:HP did not worked either. > > print-image (1,116) > ! type=bmp-file > ! source='smartpay.bmp' > type=eps-file > source='smartpay.eps' > ! type=gif-file > ! source='smartpay.gif' > ! type=jpeg-file > ! source='smartpay.jpg' > ! type=hpgl-file > ! source='smartpay.plt' > image-size=(35,2) > > Once again thank you very much for responding. > > Ryszard > > > > > > rayo@ONTKO.COM on 24/04/99 03:13:36 PM > > Please respond to SQR-USERS@list.iex.net > > To: SQR-USERS@list.iex.net > cc: (bcc: Ryszard Jedrychowski/Cardlink/NZ) > Subject: Re: SQR report printing > > > > > Ryszard, > > If you want to run a print a report with a graphic from unix, > you need to run the report with -printer:hp AND you need to > use an image of type HPGL instead of BMP. > > I'm not sure about the "box" problem. Have you tried doing > something similar with GRAPHIC BOX? > > Ray > > > My questions refer to the following codes: > > 1) > > print-image (1,66) > > type=bmp-file > > source='smartpay.bmp' > > image-size=(35,2) > > > > 2) > > alter-printer pitch = 7.5 point-size = 14 > > print #t_amount_due (9,40,21) box edit > 999,999,999.99 > > alter-printer pitch = 15 point-size = 8.5 > > > > > > SQR is running on SUN boxes under UNIX platform. > > The report I create looks fine when I try to display or print from within > > SQR Viewer (Windows platform). > > If I try to print from UNIX then the bitmap becomes a shadow area and the > > box is shrinking. > > FYI: I use HP5 or HP6 laser printers. > > > > Any solutions ? > > > > ---------------------------------------------------------------------- > Ray Ontko | Ray Ontko & Co | "RO&C: data movers and shakers." > rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/ From owner-sqr-users@list.iex.net Tue Apr 27 20:21:07 1999 Date: Wed, 28 Apr 1999 09:10:29 +0800 From: "Ivory, Wayne" Subject: Re: Execute SQR from Bat-File Bob, I wonder if your default date format is somehow different between the batch environment and the Report Mate environment. This sort of thing has caught me a couple of times. Also is SYSDATE valid in both environments? Does to_char care if there is a space before the opening bracket? Failing these I'd start stripping out conditionals a line at a time until it runs. Wayne Ivory Information Services Westralian Sands Limited -----Original Message----- From: Hallmark, Robert J [mailto:SQR-USERS@list.iex.net] Sent: Tuesday, 27 April 1999 22:07 To: SQR-USERS@list.iex.net; robert.j.hallmark@LMCO.COM Subject: Execute SQR from Bat-File We are running Maximo 3.02 and SQR 3.0 on Oracle 7.3.2 When trying to execute an SQR report from a BAT-File I get the error message "SQL error on line 73", however I can run this same job in Report Mate and it works fine. I have 60 reports which automatically generate through BAT-Files on N/T Scheduler and this is the only one I am having trouble with. I have tried everything I can think of, including deleting the BAT-File and re-creating it. Has any one out there run into this kind of problem, or have any ideas what the solution might be. Below is the procedure which the error message is pointing to. Line 73 is the "End-Select". Thanks Bob Begin-Procedure Main Begin-Select Alter-Printer Font=5 Point-Size=9 WONUM &wonum (10,1,8) LEADCRAFT (10,49,3) WOEQ12 (10,81,5) MAXIMO.WORKORDER.EQNUM (10,117,8) MAXIMO.WORKORDER.DESCRIPTION (10,173,55) MAXIMO.WORKORDER.JPNUM (10,501,25) To_Char(LASTCOMPDATE,'MM/DD/YY') &LASTCOMPDATE (10,613) To_Char(TARGCOMPDATE,'MM/DD/YY') &TARGCOMPDATE (10,675) to_char (sysdate-13, 'MM/DD/YY') &sysdate2 maximo.workorder.crewid Next-Listing SkipLines=1 Need=11 >From MAXIMO.EQUIPMENT, MAXIMO.PM, MAXIMO.WORKORDER Where MAXIMO.PM.PMNUM = MAXIMO.WORKORDER.PMNUM AND MAXIMO.EQUIPMENT.EQNUM = MAXIMO.WORKORDER.EQNUM AND MAXIMO.EQUIPMENT.EQNUM = MAXIMO.EQUIPMENT.EQNUM AND (EQ19 IN ('B','M') AND EQ24 IN ('MASE', 'GFE', 'MASE RECALL', 'GFE RECALL') AND TARGCOMPDATE Subject: Re: Workbench Hi, contact the SQRIBE Office to have a proposal for VisualSQRIBE 4.3 or 4.4 this product do exactly what you want and more. www.sqribe.com Franck, stephen thomas wrote: > > Hello all, > > I am an experienced programmer but very new to SQR. > > I am looking for some workbench kind of software > to perform my general development tasks like editing > the source file, launching SQR to run my sqr program, > looking log/output files etc. > > I have downloaded SqrPlus workbench from web site > www.sritech.com.au. Is there any similar/better software > around? > > If it is a freeware, that will be realy good. > > Thanks in advance, > > Steve > Get Your Private, Free Email at http://www.hotmail.com From owner-sqr-users@list.iex.net Tue Apr 27 22:00:55 1999 Date: Tue, 27 Apr 1999 22:43:46 -0400 From: "David A. Beck" Subject: ODBC Foxpro and Updatable Query Hi All! I'm having difficulties with an ODBC connection to foxpro. I can select data, but I can't seem to update. I'm thinking that the *.DBF files are all set as read-only but I can't figure out how to correct that. I've talked with the developers of the foxpro database and they swear up and down that the files are not read-only. I'm stuck! Please look at the below code and tell me what I might be doing wrong? Has anybody ever written an updatable query? --This update procedure begin-SQL -DBDSN=CCTRIP Update BILL_TO A set A.NAME = 'Dave' where A.PS_CUST_ID = $lthg_ps_cust_id and A.PS_SETID = $lthg_ps_setid and A.PS_ADDRSEQ = #lthg_ps_addrseq end-sql --sends this to the cursor (the question marks appear in all my cursors) Cursor #17: SQL = Update BILL_TO A set A.NAME = 'Dave' where A.PS_CUST_ID = ? and A.PS_SETID = ? and A.PS_ADDRSEQ = ? Compiles = 1 Executes = 0 Rows = 0 --and returns this error statement (SQR 5528) ODBC SQL dbexec: SQLExecute error -3035 in cursor 17: [Microsoft][ODBC FoxPro Driver] Operation must use an updatable query. Error on line 708: (SQR 3735) Could not execute SQL. SQR: Program Aborting. From owner-sqr-users@list.iex.net Tue Apr 27 22:33:50 1999 Date: Wed, 28 Apr 1999 11:23:40 +0800 From: "Ivory, Wayne" Subject: New version of SQR Tree utility available Version 2.0.0 of my Windows utility "SQR Tree" is now available from the Library section of the SQR Users Group web site http://www.sqrug.com . SQR Tree allows you to browse the procedure-call structure of an SQR program, showing corresponding program listing references as you click on each procedure. Since I made version 1.1.0 available in July last year I've had numerous requests for enhancements, and I've slowly been incorporating them into the utility. By far the most requested item was the ability to drill down on #include files, and this is now available along with a stack of other new & improved features. You can read about them by clicking on the "Revision History" link. If you've previously downloaded an older version of SQR Tree you only need to download the small upgrade zip file, otherwise you can download the full package. I welcome any feedback, but please post to me privately so we don't flood the list. Of course if you want to post a message to the list saying how wonderful SQR Tree is, feel free! ;-) Wayne Ivory Information Services Westralian Sands Limited From owner-sqr-users@list.iex.net Wed Apr 28 02:33:02 1999 Date: Wed, 28 Apr 1999 15:19:18 +0800 From: Wayne Perry Subject: Multiple reports printing to a printer Hi All, I would like to know how to get multiple reports 'declared' within my Sqr to print successfully on the printer. I have declared a layout and a printer and two reports using the same layout and printer. When printing to files it is ok, but I want to print directly to a network printer instead. I am initially testing by running on the client and get the message (SQR 6002) Can't open the printer file: printername.spf (13): Permission denied Is there some way around this problem ? I have been told by a colleague that this also does not work when running on the server (Unix). Any thoughts would be appreciated. Wayne Perry From owner-sqr-users@list.iex.net Wed Apr 28 06:12:28 1999 Date: Wed, 28 Apr 1999 07:04:44 -0400 From: Robert Buford Subject: Re: Workbench Dear Stephen, A very nice editor, and freeware at that, is Programmer's File Editor, by Alan Phillips. It has done very nicely in handling SQR program files and output (even as much as 80 MB .lis files) It gives you the ability to launch batch files or even open the DOS prompt, context help (using help files that you identify to it) and a lot more. You can navigate over to the author's website (http://www.lancs.ac.uk/people/cpaap/pfe) or I'd be happy to send the zip file directly (only 562 kb). Bob -----Original Message----- From: stephen thomas [SMTP:stephenthomm@HOTMAIL.COM] Sent: Wednesday, April 28, 1999 10:57 AM To: Multiple recipients of list SQR-USERS Subject: Workbench Hello all, I am an experienced programmer but very new to SQR. I am looking for some workbench kind of software to perform my general development tasks like editing the source file, launching SQR to run my sqr program, looking log/output files etc. I have downloaded SqrPlus workbench from web site www.sritech.com.au. Is there any similar/better software around? If it is a freeware, that will be realy good. Thanks in advance, Steve Get Your Private, Free Email at http://www.hotmail.com From owner-sqr-users@list.iex.net Wed Apr 28 06:23:16 1999 Date: Wed, 28 Apr 1999 07:13:03 -0400 From: Robert Buford Subject: Re: Multiple reports printing to a printer Hi Wayne, Often, I've received that message when the file just didn't exist. When you use any declared report other than the first one, remember that the default output name will be _01.LIS (for SQR4 or Subject: Re: Workbench I use UltraEdit which you can find at www.ultraedit.com. It does a wonderful job handling SQR and the nice part is being able to execute the file from within. And, it gives you the ability to beautify the coding. Sam <<< stephen thomas 4/28 10:56a >>> Hello all, I am an experienced programmer but very new to SQR. I am looking for some workbench kind of software to perform my general development tasks like editing the source file, launching SQR to run my sqr program, looking log/output files etc. I have downloaded SqrPlus workbench from web site www.sritech.com.au. Is there any similar/better software around? If it is a freeware, that will be realy good. Thanks in advance, Steve Get Your Private, Free Email at http://www.hotmail.com From owner-sqr-users@list.iex.net Wed Apr 28 07:02:04 1999 Date: Wed, 28 Apr 1999 07:41:01 -0400 From: John Walker Subject: Re: ODBC Foxpro and Updatable Query I don't know if this will help or not. I can't directly answer your question but maybe the following info will give you a direction to try. I have received the same error when trying to update an Oracle database through ODBC from an MS Access database. The key here seems to be update, I never had any problems doing an insert. In Access the solution was to write the whole query in code, and not use the QBE screen, and then call the Execute method. The Access code I used is below. I think what this does is pass the query over to the database engine to process and then tells the database to go do it. This does mean the SQL statement has to be syntactically correct for the database. The problem is I don't know how you can apply this to SQR. Sorry. wspPrimary.BeginTrans Set qryTmp = dbCurrent.QueryDefs("qupte") qryTmp.Connect = "ODBC;DSN=dev;DBQ=dev;UID=John;PWD=XXXX" qryTmp.ReturnsRecords = False strSQL = "UPDATE all_sched_work_daily SET work_rest_1='" & rest1 & "', work_rest_2='" & rest2 & "', work_rest_3='" & rest3 & "', work_rest_4='" & rest4 & "'" strSQL = strSQL & " WHERE capturedate='" & read_CAPTUREDATE & "' and work_order_no='" & read_WORK_ORDER_NO & "'" qryTmp.SQL = strSQL qryTmp.Execute wspPrimary.CommitTrans qryTmp.Close "David A. Beck" on 04/27/99 10:43:46 PM Please respond to SQR-USERS@list.iex.net To: Multiple recipients of list SQR-USERS cc: (bcc: John A. Walker/CEI/FirstEnergy) Subject: ODBC Foxpro and Updatable Query Hi All! I'm having difficulties with an ODBC connection to foxpro. I can select data, but I can't seem to update. I'm thinking that the *.DBF files are all set as read-only but I can't figure out how to correct that. I've talked with the developers of the foxpro database and they swear up and down that the files are not read-only. I'm stuck! Please look at the below code and tell me what I might be doing wrong? Has anybody ever written an updatable query? --This update procedure begin-SQL -DBDSN=CCTRIP Update BILL_TO A set A.NAME = 'Dave' where A.PS_CUST_ID = $lthg_ps_cust_id and A.PS_SETID = $lthg_ps_setid and A.PS_ADDRSEQ = #lthg_ps_addrseq end-sql --sends this to the cursor (the question marks appear in all my cursors) Cursor #17: SQL = Update BILL_TO A set A.NAME = 'Dave' where A.PS_CUST_ID = ? and A.PS_SETID = ? and A.PS_ADDRSEQ = ? Compiles = 1 Executes = 0 Rows = 0 --and returns this error statement (SQR 5528) ODBC SQL dbexec: SQLExecute error -3035 in cursor 17: [Microsoft][ODBC FoxPro Driver] Operation must use an updatable query. Error on line 708: (SQR 3735) Could not execute SQL. SQR: Program Aborting. From owner-sqr-users@list.iex.net Wed Apr 28 09:53:43 1999 Date: Wed, 28 Apr 1999 09:32:25 -0500 From: Shankar Veerashetty Subject: Can we create dir from SQR programs?? Hello everyone, I am spitting out some reports in a directory and I was wondering if I could create the directory programmatically at run time, as the directory does not exist and so I have to physically go and create the folder. Thanks for your reply in advance. Thanks, Shankar Veerashetty Senior Consultant Software Associates Inc. (734)678-6696 From owner-sqr-users@list.iex.net Tue Apr 27 19:09:16 1999 Date: Wed, 28 Apr 1999 09:56:52 EST From: stephen thomas Subject: Workbench Hello all, I am an experienced programmer but very new to SQR. I am looking for some workbench kind of software to perform my general development tasks like editing the source file, launching SQR to run my sqr program, looking log/output files etc. I have downloaded SqrPlus workbench from web site www.sritech.com.au. Is there any similar/better software around? If it is a freeware, that will be realy good. Thanks in advance, Steve Get Your Private, Free Email at http://www.hotmail.com From owner-sqr-users@list.iex.net Wed Apr 28 10:26:30 1999 Date: Wed, 28 Apr 1999 11:10:15 -0400 From: Sam Spritzer Subject: Re: Can we create dir from SQR programs?? Why would you want to create a directory? <<< Shankar Veerashetty 4/28 10:32a >>> Hello everyone, I am spitting out some reports in a directory and I was wondering if I could create the directory programmatically at run time, as the directory does not exist and so I have to physically go and create the folder. Thanks for your reply in advance. Thanks, Shankar Veerashetty Senior Consultant Software Associates Inc. (734)678-6696 From owner-sqr-users@list.iex.net Wed Apr 28 14:04:43 1999 Date: Wed, 28 Apr 1999 08:58:30 -0700 From: Reinier de Ruiter Subject: passing date-variable as a parameter to procedure Hi, Is there anybody who has successfully passed a date-variable as a parameter to a procedure ? I am using sqr 4.3.2 I have a variable defined as a date in de declare-variable block. When I try to pass it to a procedure it appears to be changed into a string with only the date in it, and not the time. Right now I work around it by converting to a string before passing to the procedure. Is this a bug ? thanks, Reinier de Ruiter Programmer/Analyst Apollo Group, University of Phoenix Phoenix, Arizona tel:602-557-1158 email work: reinier.deruiter@apollogrp.edu email home: rruiter@yahoo.com -----Original Message----- From: Sam Spritzer [mailto:SSpritzer@GW.CTG.COM] Sent: Wednesday, April 28, 1999 8:10 AM To: Multiple recipients of list SQR-USERS Subject: Re: Can we create dir from SQR programs?? Why would you want to create a directory? <<< Shankar Veerashetty 4/28 10:32a >>> Hello everyone, I am spitting out some reports in a directory and I was wondering if I could create the directory programmatically at run time, as the directory does not exist and so I have to physically go and create the folder. Thanks for your reply in advance. Thanks, Shankar Veerashetty Senior Consultant Software Associates Inc. (734)678-6696 From owner-sqr-users@list.iex.net Wed Apr 28 14:03:06 1999 Date: Wed, 28 Apr 1999 11:59:21 -0400 From: Stuart Kohler Subject: Re: Pointing Visual SQRibe to the right SQR engine Brannon, Thanks for your message. I have no problem 'finding' the ORACLE database in either case - my problem is pointing Visual SQRibe to the SQR engine on the server (V3.0.18.1), and not the locally installed Personal SQR (V4.3.2.1). Visual SQRibe is not handling basic elements (such as dynamic queries) and one suggestion is that Personal SQR (V4.3.2.1) is only compatible with Oracle 8.x - and we're running Oracle 7.3.3.4.0 on the server. Thanks, Stuart > Date: Tue, 27 Apr 1999 10:17:07 -0400 > From: "Fay, Brannon" > Subject: Re: Pointing Visual SQRibe to the right SQR engine > > Stuart, > > In the File menu, when nothing is open in VS, there is a 'Remote Login'. > Look that up in help (I just confirmed it is in there). > > Also, as the help states, if you have the VS User's Guide v4, look at > Appendix A. If you don't have the book, let me know, but that should tell > you exactly what you need. > > Brannon > ^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^* > > Brannon J. Fay > Junior Software Engineer > PaeTec Communications, Inc. > (716)340-2629 > (877)472-3832 > > ^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^* > > There are exceptions to every rule > And I am one of them From owner-sqr-users@list.iex.net Wed Apr 28 12:21:08 1999 Date: Wed, 28 Apr 1999 09:28:26 -0700 From: John Sayre Subject: Re: Can we create dir from SQR programs?? From: John Sayre@GAPINC on 04/28/99 09:28 AM You can.... I had to test for the existance of a dir, and if it did not exist, create it, then open a file in the new dir like this; ! test for directory LET #IS_H_FOCAL=EXISTS('H:\FOCAL') SHOW ' IS DIR ' #IS_H_FOCAL !IF #IS_H_FOCAL <> 0 THEN THE DIRECTORY DOES NOT EXIST, SO DO !IF STATEMENT TO CREATE IT IF #IS_H_FOCAL<>0 Let $Cmd = 'cmd.exe /c md h:\focal' call system using $Cmd #status show 'status = ' #status LET #IS_H_FOCALX=EXISTS('H:\FOCAL') ! SEE IF DIRECTORY EXISTS NOW. MOST LIKELY, IT DOESN'T YET ! SO PROCESS LOOP BELOW UNTIL IT DOES SHOW ' IS DIR ' #IS_H_FOCALX while (#IS_H_FOCALX <> 0 AND #LOOPSTOPPER < 100000) LET #IS_H_FOCALX=EXISTS('H:\FOCAL') !JUST IN CASE THE NETWORK IS REALLY SCREWED, PUT A COUNTER IN TO !GET OUT OF THE LOOP ADD 1 TO #LOOPSTOPPER end-while SHOW ' IS DIR after while loop ' #IS_H_FOCALX ' LOOP STOOPER ' #LOOPSTOPPER END-IF END-PROCEDURE Please respond to SQR-USERS@list.iex.net To: Multiple recipients of list SQR-USERS cc: (bcc: John Sayre/SB/GAPINC) Subject: Can we create dir from SQR programs?? Hello everyone, I am spitting out some reports in a directory and I was wondering if I could create the directory programmatically at run time, as the directory does not exist and so I have to physically go and create the folder. Thanks for your reply in advance. Thanks, Shankar Veerashetty Senior Consultant Software Associates Inc. (734)678-6696 From owner-sqr-users@list.iex.net Wed Apr 28 13:02:11 1999 Date: Wed, 28 Apr 1999 10:19:28 -0700 From: "Walcker, Paul" Subject: Re: Workbench We are on PeopleSoft version 7 and VisualScribe caused us some grief. I don't think it is support by PS until version 7.5. If you have Visual Basic 5, I have some code you can borrow (i.e. wrote my own). It was great VB experience and as I need new features, I just throw them in. If you are not limited by PS versions, then I would probably put my money on the Visual Scribe. > -----Original Message----- > From: stephen thomas [SMTP:stephenthomm@HOTMAIL.COM] > Sent: Wednesday, April 28, 1999 7:57 AM > To: Multiple recipients of list SQR-USERS > Subject: Workbench > > Hello all, > > I am an experienced programmer but very new to SQR. > > I am looking for some workbench kind of software > to perform my general development tasks like editing > the source file, launching SQR to run my sqr program, > looking log/output files etc. > > I have downloaded SqrPlus workbench from web site > www.sritech.com.au. Is there any similar/better software > around? > > If it is a freeware, that will be realy good. > > Thanks in advance, > > Steve > Get Your Private, Free Email at http://www.hotmail.com From owner-sqr-users@list.iex.net Wed Apr 28 13:46:11 1999 Date: Wed, 28 Apr 1999 12:14:17 -0600 From: Juan Alvarado Subject: Re: Workbench I think the better choice is Visual Sqribe. this have interesting features like : Empowered Report, Report Surfing, And others thing very helpful. Also have interfaces with other products of Sqribe, like ReportMart, PowerSqribe and Sqr Server. I hope this help you -----Original Message----- From: Walcker, Paul [mailto:pwalcker@ISD.CO.SAN-BERNARDINO.CA.US] Sent: Wednesday, April 28, 1999 11:19 AM To: Multiple recipients of list SQR-USERS Subject: Re: Workbench We are on PeopleSoft version 7 and VisualScribe caused us some grief. I don't think it is support by PS until version 7.5. If you have Visual Basic 5, I have some code you can borrow (i.e. wrote my own). It was great VB experience and as I need new features, I just throw them in. If you are not limited by PS versions, then I would probably put my money on the Visual Scribe. > -----Original Message----- > From: stephen thomas [SMTP:stephenthomm@HOTMAIL.COM] > Sent: Wednesday, April 28, 1999 7:57 AM > To: Multiple recipients of list SQR-USERS > Subject: Workbench > > Hello all, > > I am an experienced programmer but very new to SQR. > > I am looking for some workbench kind of software > to perform my general development tasks like editing > the source file, launching SQR to run my sqr program, > looking log/output files etc. > > I have downloaded SqrPlus workbench from web site > www.sritech.com.au. Is there any similar/better software > around? > > If it is a freeware, that will be realy good. > > Thanks in advance, > > Steve > Get Your Private, Free Email at http://www.hotmail.com From owner-sqr-users@list.iex.net Wed Apr 28 13:38:41 1999 Date: Wed, 28 Apr 1999 14:23:54 -0400 From: Doug Cummings Subject: Re[2]: Workbench Another possibility is RWIZ from NUVOSOFT (http://www.nuvosoft.com). The tool is solid for developing the basic SQR. They are upgrading it all the time. I believe you can get a full demo good for 30 or so logins. ____________________Reply Separator____________________ Subject: Re: Workbench Author: "Walcker; Paul" Date: 4/28/99 10:19 AM We are on PeopleSoft version 7 and VisualScribe caused us some grief. I don't think it is support by PS until version 7.5. If you have Visual Basic 5, I have some code you can borrow (i.e. wrote my own). It was great VB experience and as I need new features, I just throw them in. If you are not limited by PS versions, then I would probably put my money on the Visual Scribe. > -----Original Message----- > From: stephen thomas [SMTP:stephenthomm@HOTMAIL.COM] > Sent: Wednesday, April 28, 1999 7:57 AM > To: Multiple recipients of list SQR-USERS > Subject: Workbench > > Hello all, > > I am an experienced programmer but very new to SQR. > > I am looking for some workbench kind of software > to perform my general development tasks like editing > the source file, launching SQR to run my sqr program, > looking log/output files etc. > > I have downloaded SqrPlus workbench from web site > www.sritech.com.au. Is there any similar/better software > around? > > If it is a freeware, that will be realy good. > > Thanks in advance, > > Steve > Get Your Private, Free Email at http://www.hotmail.com From owner-sqr-users@list.iex.net Wed Apr 28 15:55:41 1999 Date: Wed, 28 Apr 1999 15:57:26 -0400 From: "Brunelle, Cindy - AD/Corporate" Subject: SQRServer We have the SQR version 4.3.2 that came with PeopleTools 7.01. We have ordered PS 7.5, and were informed that we will be receiving SQRServer as well. Can someone explain what the differences are? Cindy Brunelle > -----Original Message----- > From: Walcker, Paul [SMTP:pwalcker@ISD.CO.SAN-BERNARDINO.CA.US] > Sent: Wednesday, April 28, 1999 1:19 PM > To: Multiple recipients of list SQR-USERS > Subject: Re: Workbench > > We are on PeopleSoft version 7 and VisualScribe caused us some grief. I > don't think it is support by PS until version 7.5. > > If you have Visual Basic 5, I have some code you can borrow (i.e. wrote my > own). It was great VB experience and as I need new features, I just throw > them in. If you are not limited by PS versions, then I would probably put > my money on the Visual Scribe. > > > -----Original Message----- > > From: stephen thomas [SMTP:stephenthomm@HOTMAIL.COM] > > Sent: Wednesday, April 28, 1999 7:57 AM > > To: Multiple recipients of list SQR-USERS > > Subject: Workbench > > > > Hello all, > > > > I am an experienced programmer but very new to SQR. > > > > I am looking for some workbench kind of software > > to perform my general development tasks like editing > > the source file, launching SQR to run my sqr program, > > looking log/output files etc. > > > > I have downloaded SqrPlus workbench from web site > > www.sritech.com.au. Is there any similar/better software > > around? > > > > If it is a freeware, that will be realy good. > > > > Thanks in advance, > > > > Steve > > Get Your Private, Free Email at http://www.hotmail.com From owner-sqr-users@list.iex.net Wed Apr 28 15:24:17 1999 Date: Wed, 28 Apr 1999 16:05:10 -0400 From: Shawn Robinson Subject: SQRW shortcut Properties Wondering if someone could help me out. I would like to trigger an SQR from a Desktop Shortcut using SQRW, but include the REPORT NAME, USER NAME, PASSWORD, and DATABASE all in the shortcut switches. Can it be done, and if so, what are the switches?? Thanks Shawn R From owner-sqr-users@list.iex.net Wed Apr 28 14:33:04 1999 Date: Wed, 28 Apr 1999 21:13:16 +0100 From: Franck Masson Subject: Re: Multiple reports printing to a printer I suppose you are running on windows. sqrw xxxx.sqr -printer:wp if i am correct check in your windows account that the default windows printer is the printer you want to adress. Franck, Robert Buford wrote: > > Hi Wayne, > > Often, I've received that message when the file just didn't exist. When > you use any declared report other than the first one, remember that the > default output name will be _01.LIS (for SQR4 or SQR3), for the 2nd declared report, _02.LIS or .L02 for the 3rd report, > etc. > > You can get around this, if you only have one output file at a time, by > first calling USE-REPORT reportname, then calling NEW-REPORT filename.lis > to set the output file name. I believe that you need to name your file > with the .LIS extension even though you ultimately want the .SPF file; SQR > handles the SPF creation automatically. > > Also make sure your path is properly set for the file to be where it is > expected, e.g. the default directory. > > HTH > Bob > > -----Original Message----- > From: Wayne Perry [SMTP:Wayne.PERRY@EDDEPT.WA.EDU.AU] > Sent: Wednesday, April 28, 1999 3:19 AM > To: Multiple recipients of list SQR-USERS > Subject: Multiple reports printing to a printer > > Hi All, > > I would like to know how to get multiple reports 'declared' within my Sqr > to > print successfully on the printer. I have declared a layout and a printer > and two reports using the same layout and printer. When printing to files > it is ok, but I want to print directly to a network printer instead. I am > initially testing by running on the client and get the message > > (SQR 6002) Can't open the printer file: printername.spf > (13): Permission denied > > Is there some way around this problem ? > > I have been told by a colleague that this also does not work when running > on > the server (Unix). > > Any thoughts would be appreciated. > > Wayne Perry From owner-sqr-users@list.iex.net Wed Apr 28 15:48:39 1999 Date: Wed, 28 Apr 1999 13:32:14 -0700 From: Jeromy McMahon Subject: Re: SQRW shortcut Properties Create a shortcut on the desktop, right click on the icon go down to properties tab to shortcut Find the Taget edit box and put something like this in it G:\APPS\WINAPPS\SA701\sqrbinw\sqrw.exe C:\work_area\fafsa_isir\newjm.sqr sysadm/sysadm@sdev -Oc:\temp\sqr.log -fc:\temp\ -IG:\APPS\WINAPPS\SA701\SQR\ -MG:\APPS\WINAPPS\SA701\SQR\allmaxes.max -cb -debug -ziv Later Jeromy D.C McMahon Software Engineer - SQR Programmer/Developer Apollo Group - Information System (480) 557-1415 X1415 jdmcmaho@apollogrp.edu > -----Original Message----- > From: Shawn Robinson [SMTP:Shawn.Robinson@NOTES.OSIPC.CAN.EDS.COM] > Sent: Wednesday, April 28, 1999 1:05 PM > To: Multiple recipients of list SQR-USERS > Subject: SQRW shortcut Properties > > Wondering if someone could help me out. > > I would like to trigger an SQR from a Desktop Shortcut using SQRW, but > include the REPORT NAME, USER NAME, PASSWORD, and DATABASE all in the > shortcut switches. > > Can it be done, and if so, what are the switches?? > > Thanks > Shawn R From owner-sqr-users@list.iex.net Wed Apr 28 17:22:01 1999 Date: Wed, 28 Apr 1999 16:32:22 -0400 From: *MURTHY KUNDUR Subject: Re: SQRW shortcut Properties This might help you P:\fs601\sqrbinw\sqrw.exe M:\kundur\SQR\testosufromthru.sqr sysadm/q807nil@fs6con -iM:\KUNDUR\SQC\ -oM:\kundur\temp\test.log -debug -mp:\fs601\sqr\allmaxes.max all in the shortcut target box in the sqr shortcut properties window >---------- >From: Shawn Robinson[SMTP:Shawn.Robinson@NOTES.OSIPC.CAN.EDS.COM] >Reply To: SQR-USERS@list.iex.net >Sent: Wednesday, April 28, 1999 4:05 PM >To: