From sqr-users-bounces@sqrug.org Mon Jan 01 00:02:21 2007 Date: Mon, 1 Jan 2007 00:00:03 -0500 From: Nathan Stratton Treadway Subject: [sqr-users] Monthly sqr-users Hints Posting sqr-users Mailing List Hints and Guidelines Nathan Stratton Treadway, Ray Ontko & Co. (nathanst@ontko.com) $Revision: 1.22 $ $Date: 2005/08/19 05:12:40 $ This document gathers in one location information about the sqr-users mail list. It includes instructions for changing your subscription settings (including unsubscribing), as well are guidelines for using the list. ______________________________________________________________________ Table of Contents 1. Changes Since Previous Version 2. Introduction 2.1 sqr-users Mailing List 2.2 sqr-users Hints and Guidelines Document 2.3 Related Mailing Lists 3. Interacting with the list server 3.1 Subscribing to the list 3.2 Unsubscribing from the list 3.3 When your email address changes 3.4 Digests 3.5 Obtaining your password 3.6 Problems 4. Posting to the sqr-users List 4.1 General Guidelines 4.2 Posting a Message 4.3 Replying to a Message 5. Job Announcements ______________________________________________________________________ 1. Changes Since Previous Version Changes since the version dated 2005/08/19: o Added note about spam filtering and sender verification systems blocking subscription confirmation messages. 2. Introduction 2.1. sqr-users Mailing List The sqr-users mailing list was created to enable discussion related to the SQR database language from Hyperion (and to other products in the SQR product suite). Note: SQR used to be published by SQRIBE Technologies, which was merged into Brio Technology on August 3, 1999. Brio Technology changed its name to Brio Software in October 2001. On October 16, 2003, Hyperion acquired Brio Software. SQR and related applications have also been called "Brio.Report" and "Brio Reports". The mailing list is provided as a service of Ray Ontko & Co. A searchable archive of past postings to the mailing list is available from the SQR Users Group web site . 2.2. sqr-users Hints and Guidelines Document This document gives various hints and guidelines about the sqr-users mailing list. It will be posted approximately monthly to the mailing list so that new users can see it (and existing users can find it easily). An HTML version of the document is always available at http://www.sqrug.org/sqr-users/sqr-users-hints.html. If you have comments or suggestions about this document, please contact me directly at the address listed in the title section. This document is Copyright (C) 1999-2004 by Ray Ontko & Co. It may be freely copied and distributed provided it is not modified in any way and it retains the original copyright notice. 2.3. Related Mailing Lists Here are some mailing lists that cover topics relating to SQR in some way. sqr-jobs : SQR Jobs This list may be used for posting SQR-related resumes, recruitments, job announcements, project announcments, help- wanted, work-wanted ads, etc. To join, follow the link above, or send any message to "sqr-jobs-subscribe@yahoogroups.com". peoplesoft-fans : PeopleSoft Fans Moderated list covering technical and functional aspects of PeopleSoft. To join, follow the link above, or send any message to "peoplesoft-fans-subscribe@yahoogroups.com". psusers : PeopleSoft Users For questions related to any aspect of PeopleSoft (including PeopleSoft-specific SQR issues). This list has merged with the Peoplesoft Fans mailing list and is no longer active, but the message achive can still be found at the link above. HyperionSQR : Hyperion- SQR List for discussion of SQR, SQR Developer (formerly called Brio.Report and Report Builder), and SQR iServer. To join, follow the link above, or send any message to "HyperionSQR- subscribe@yahoogroups.com". rm-users : Report- Mart Users List for discussion of Brio Portal (previously called ReportMart). To join, follow the link above, or send a message containing the word "subscribe" in the body to "rm-users- request@sqrug.org". brioportalusersgroup : Brio Portal Users Group list List for discussion of Brio Portal. To join, follow the link above, or send any message to "brioportalusersgroup- subscribe@yahoogroups.com". brio-l : OpenITx Brio List List for technical and functional discussion of all Brio products (but most messages are currently about Brio Intelligence). To join, follow the link above. briousers : Brio.Enter- prise Users List for discussion of the Brio.Enterprise (now called Intelligence) product. To join, follow the link above, or send any message to "briousers-subscribe@yahoogroups.com". briolist : Brio List List for discussion of Brio Intelligence. To join, follow the link above, or send any message to "briolist- subscribe@yahoogroups.com". 3. Interacting with the list server The sqr-users mailing list is hosted using the Mailman list server package. All of the Mailman functions described below are accessed from the sqr-users List Info page, "http://www.sqrug.org/mailman/listinfo/sqr-users". 3.1. Subscribing to the list To subscribe to the mailing list, enter your e-mail address in the box at the top of the "Subscribing to sqr-users" section on the sqr-users List Info page, then choose a password to assign to your subscription and enter it in both "Password" boxes. This password is used to allow you to securely make changes to your subscription over the web. This password will be e-mailed back to you at varous times, so you should not use the same password as you are using elsewhere. Once you have filled in the password, click the "Subscribe" button. You should soon receive an e-mail message from the list server requesting confirmation of your subscription request. Once you have replied to this message and your subscription has been processed, you will receive a "welcome" message giving you more information on the list server, and as well as a reminder of the subscription password you chose. Many sites are now implementing spam filtering and/or sender verification systems, which can prevent your confirmation message from getting delivered to you. You may need check for a message from "sqr- users-request[-AT-]sqrug.org" caught in the filter, or add that address to your list of authorized senders, in order to complete the confirmation process. 3.2. Unsubscribing from the list To unsubscribe from the list, go to the sqr-users List Info page, enter your e-mail address in the "sqr-users Subscribers" section near the bottom of the page, and click the "Unsubscribe or edit options" button. You will then see the "member options" page; fill in your password at the top of the page and click "Log in". (If you have forgotton your password, see the ``Obtaining your Password'' section, below). This will take you to the "membership configuration" page. In the middle of that page, there will be an "Unsubscribing from sqr- users" section; simply turn on the "Yes, I really want to unsubscribe" checkbox and click the "Unsubscribe" button. You should get a page back saying that the removal was successful (as well as a confirmation email message). The removal will take effect immediately; there is no need to send in a confirmation e-mail message. If you don't know your password, you can choose to unsubscribe using e-mail confirmation. Instead of entering the password on the "member options" page, just click the "Unsubscribe" button found just below the "Log In" button. You will then see a page noting that a confirmation e-mail has been sent; once you follow the confirmation instructions in that e-mail your removal will be complete. 3.3. When your email address changes If your e-mail address changes -- for example, if your company changes names, or if your mail administrator changes the way your name is spelled out or abbreviated -- you will need to update your subscription to match your new address before you can post to the list (see the ``Posting'' section, below). To do this, simply log in to your "membership configuration" page (see the directions for logging in to this page in the ``Unsubscribing'' section, above). At the top of that page you'll see a "Changing your membership information" section. Fill out the text boxes and click the "Change My Address and Name" button. You will be sent a confirmation e-mail, and once you have responded to that e-mail your subscription will be updated and you can begin posting from your new address. 3.4. Digests You can request to get your messages in digest form (one large message containing all of the posts made each day). To do this, log in to your "membership configuration" page (see the directions on doing this in the ``Unsubscribing'' section, above). At the bottom of the page, you will see a section titled "Your sqr-users Subscription Options". Change the "Set Digest Mode" option (the second option in the list) to "On" and click the "Submit My Changes" button at the bottom of the page. You actually have a choice of two different digest formats, "MIME" or "Plain Text". The MIME format sends each individual list message as a separate MIME attachment to the digest; the plain text format consists of one large text message, with all of the individual messages run together. Which format you will want to use depends on your mail- reading software (and personal preference). If you are not sure which format will work best, you can just leave the default setting of "MIME" and see if the next morning's digest is easy to read in your mail reader -- you can change to the other format at any time using that same web page. If you use digests, you should not just "reply" to the digest mailing. Instead, be sure your message's subject header matches the subject in the original posting to which you are replying, and that you don't include a quoted copy of the entire digest in your post. To restore normal distribution, simply follow the above instructions choosing the "Off" setting for the Digest option. 3.5. Obtaining your password You will not be able to change your subscription options without your password. If you have forgotten your password, simply click the "Email My Password to Me" button on the "member options" page and your password will be emailed to you. You will also be e-mailed a copy of your password at the beginning of each month, as part of a "mailing list memberships reminder" message from the Mailman software. 3.6. Problems If the above instructions do not work, please contact the list manager at "sqr-users-manager@sqrug.org". (Do not send a message to the list itself -- no one there can help you with your problem!) Please include a description of what you were trying to do and what exactly happened when you made the attempt. 4. Posting to the sqr-users List In order to post to the mailing list, you must be subscribed to it (see directions above). More specifically, in order for Mailman to recognize that this message was sent by a subscriber, the return address on your message much exactly match the addresss you used to subscribe -- if you have more than one address you will need to be sure that you are sending from the correct one. (See the ``When you email address changes'' section, above, if your e-mail address has changed since you subscribed.) 4.1. General Guidelines For any message you send to the list, please: o make sure your mail software is not requesting a "Return Receipt". (If a "Return Receipt Requested" message is sent to the list, several dozen receipt messages will be sent out to the mailing list as other subscribers' mail systems repond....) o do not send messages in HTML or other special formats. (These are not usable by many subscribers, especially those who receive their messages in digest format.) The list server will delete these special attachments from your message and send you a warning notice. Also, if you are trying to send (for example) SQR source code files, make sure your mail-reader software is assigning proper MIME types to your attachments or they may not be distributed. o keep in mind that over 500 people will receive your message, and that it will appear in the list archives. Try to keep your messages on-topic and relatively short. Consider sending your message directly to particular people if it won't interest many of the list's subscribers. o ignore abusive and inappropriate messages that get sent to the list, rather than getting drawn into a debate. The very nature of these messages will cause most subscribers to automatically discredit them -- no "response" is necessary. To the contrary, any response will only "add fuel to the fire," prolonging the controversy and further interupting the normal conversation on the list. 4.2. Posting a Message Once you are subscribed, you can post to the list by sending a message to "sqr-users@sqrug.org". Be sure your subject heading describes your specific problem or question (i.e. don't just use "SQR Question"). In the body of your message, please include the following information: o SQR product name and version number (see notes below) o Operating system name and version number o Database name and version number o Application name (i.e. PeopleSoft) and a version number, if any Also, include a short code sample whenever possible. It's much easier for other people to understand what you are trying to do when they can see the actual code. (At the same time, be careful not to post confidential or proprietary code, since the posting will be placed in a public web archive.) Note that your question should relate to SQR or other Brio Report product in some way. Don't ask questions about PeopleSoft, for example, unless you are having SQR-related issues. (For PeopleSoft- specific questions, see other lists mentioned in the ``Related Mailing Lists'' section.) In 2001, PeopleSoft purchased from Brio the rights to the source code for SQR and began releasing its own line of SQR. PeopleSoft's SQR version numbering is different from Brio/Hyperion's, so it's very important to mention whether you are using Hyperion's "SQR" or "SQR for PeopleSoft". (This info is included automatically if you include the full SQR version-id string as described below.) To get the version-id string for your copy of SQR, you can run the following program: begin-program show $sqr-ver end-program This will produce a line that looks something like this: SQR/3.0.15/Intel/SCO Unix R3.2 V5.0/Oracle 7.2.2.3/Sep 25 1996 Include the full line of output in your message. Note that the oper- ating system and database version numbers listed here are the ones under which this copy of SQR was compiled, so you'll still need to include this information for your own environment. In a command-line environment (Unix, etc.), you can also get this version-id string by saying sqr -id 4.3. Replying to a Message Messages sent out on the list have a Reply-To header pointing to the list. This means that you should be able to simply use your mail reader's "reply" function to send a reply to the list. Generally, all answers to questions sent out on the list should be public replies, so that other subscribers can benefit. In those cases where a private reply is appropriate, be sure to over-ride the default Reply-To address. If your message is not actually a reply to the earlier message, please do not use the "reply" function. Instead, address a new e-mail message to the list as described in the previous section. (This is because the list archives will incorrectly show the new message in the original thread if you use "reply".) You should quote enough lines from the original message that later readers can understand your answer even if they missed the original question. At the same time, you should remove any unnecessary lines from the quote in order to make your message shorter and easier to understand. (Remember that some people read the mailing list in digest form, and the digests become much larger if unnecessary lines are quoted.) 5. Job Announcements Please do not post job announcements on the sqr-users list, but use the sqr-jobs list instead. (See ``Related Mailing Lists'' for more information on this list.) A large number of sqr-users subscribers do not want to receive job announcements (for various reasons) and such posts tend to cause a lot of disruption of the discussion on the list. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 02 00:31:10 2007 Date: Tue, 2 Jan 2007 10:54:42 +0530 From: Sanjay Sambhe Subject: [sqr-users] SQR problem Hi all, while debugging, I have came accross one statement in SQR i.e [PS_CS_EMPL_EVT_T01 X : $e.cs_event_view_name]. Here both are the record names. $e.cs_event_view_name is view in PS which is dynamically selected in another procedure. Can anybody please explain what is the logic behind this? BEGIN-SELECT X.EMPLID &x.emplid X.CS_EVENT_TYPE &x.cs_event_type TO_CHAR(trunc(X.CS_EVENT_ENTRY_DT),'YYYY-MM-DD') &x.cs_event_entry_dt TO_CHAR(trunc(X.CS_EVENT_EFFDT),'YYYY-MM-DD') &x.cs_event_effdt X.CS_PRIORITY_FLAG &x.cs_priority_flag X.CS_EVENT_PARAM &x.cs_event_param show 'Processing Employee: ' &x.emplid ', Event: ' &x.cs_event_type ', Effdt: ' &x.cs_event_effdt show '&x.cs_priority_flag ' &x.cs_priority_flag ',&x.cs_event_param ' &x.cs_event_param do Insert-Employee-Event FROM [PS_CS_EMPL_EVT_T01 X : $e.cs_event_view_name] WHERE not exists (select * from ps_cs_wr_tbl where emplid = x.emplid) and ( !** entire line for Transition project ** (X.CS_EVENT_EFFDT between trunc(SYSDATE)-{RECENCY_DAYS} and trunc(SYSDATE)+#future_days) OR (X.CS_EVENT_ENTRY_DT >= trunc(SYSDATE)-{RECENCY_DAYS} AND X.CS_EVENT_EFFDT <= trunc(SYSDATE)+#future_days)) !** ) For Transition project ** END-SELECT Thanks and Regards, ss _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 02 04:53:23 2007 Subject: RE: [sqr-users] SQR problem Date: Tue, 2 Jan 2007 03:49:40 -0600 From: "Jim Womeldorf" This is a new one to me.=20=20 I have not found any documentation about this but running the following program snippet sheds some light on the subject: Begin-Program show 'Here I am' let $substitute =3D 'xlattable' !Example 1 !let $substitute =3D 'psrecfield' !Example 2 do demo show 'done' End-Program begin-procedure demo begin-select count(fieldname) &c show 'count ' &c from [xlattable : $substitute] end-select end-procedure demo ----------------- If the program is run as shown then the count is 10965 which is indeed the count of our records in xlattable. If the program is run as with the 'Example 2' line active then the count is 198812 which is correct for psrecfield. Apparently the $ value after the colon is substituted for the table name shown, which, by the way, must be a valid table name. ----------------- The code with the colon in it is, interestingly enough, compiled at compile-time using the table name to the left of the colon and then is compiled again at run-time using the value of $substitute. The only purpose of the compile-time compile that comes to mind is that it might provide an 'early warning' if there is something fundamentally wrong with the statement. Otherwise it is necessary to wait until run-time to find that out.=20=20 Jim -----Original Message----- From: sqr-users-bounces+jwomeldo=3Dfastenal.com@sqrug.org [mailto:sqr-users-bounces+jwomeldo=3Dfastenal.com@sqrug.org] On Behalf Of Sanjay Sambhe Sent: Monday, January 01, 2007 11:25 PM To: 'This list is for discussion about the SQR database reporting language from Hyperion Solutions.' Subject: [sqr-users] SQR problem Hi all, =20 while debugging, I have came accross one statement in SQR i.e [PS_CS_EMPL_EVT_T01 X : $e.cs_event_view_name]. Here both are the record names. $e.cs_event_view_name is view in PS which is dynamically selected in another procedure. Can anybody please explain what is the logic behind this? =20 BEGIN-SELECT X.EMPLID &x.emplid X.CS_EVENT_TYPE &x.cs_event_type TO_CHAR(trunc(X.CS_EVENT_ENTRY_DT),'YYYY-MM-DD') &x.cs_event_entry_dt=20 TO_CHAR(trunc(X.CS_EVENT_EFFDT),'YYYY-MM-DD') &x.cs_event_effdt X.CS_PRIORITY_FLAG &x.cs_priority_flag X.CS_EVENT_PARAM &x.cs_event_param show 'Processing Employee: ' &x.emplid ', Event: ' &x.cs_event_type ', Effdt: ' &x.cs_event_effdt show '&x.cs_priority_flag ' &x.cs_priority_flag ',&x.cs_event_param ' &x.cs_event_param do Insert-Employee-Event FROM [PS_CS_EMPL_EVT_T01 X : $e.cs_event_view_name] WHERE not exists (select * from ps_cs_wr_tbl where emplid =3D x.emplid) and ( !** entire line for Transition project ** (X.CS_EVENT_EFFDT between trunc(SYSDATE)-{RECENCY_DAYS} and trunc(SYSDATE)+#future_days) OR (X.CS_EVENT_ENTRY_DT >=3D trunc(SYSDATE)-{RECENCY_DAYS} AND=20 X.CS_EVENT_EFFDT <=3D trunc(SYSDATE)+#future_days)) !** ) For Transition project ** END-SELECT =20 =20 =20 Thanks and Regards, ss =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 02 09:30:05 2007 Date: Tue, 2 Jan 2007 09:27:52 -0500 From: "White . Denise" Subject: [sqr-users] RE: SQR problem I believe that this is necessary because the program would not compile with a variable table name in the BEGIN-SELECT (the variable value is not set until after the program has begun execution). Therefore, it is necessary to 'trick' the compiler by providing a valid table name to be used at compile time. Once the variable value has been set, the new table name will be in effect. Denise M. White EBS Programmer/Analyst III Dynamics Research Corporation ------------------------------ Message: 2 Date: Tue, 2 Jan 2007 03:49:40 -0600 From: "Jim Womeldorf" Subject: RE: [sqr-users] SQR problem To: "This list is for discussion about the SQR database reporting language from Hyperion Solutions." Message-ID: <42E50BB7EAB3764E8654A54710243EC0071F72AB@excmb01.backup> Content-Type: text/plain; charset=3D"US-ASCII" This is a new one to me.=20=20 I have not found any documentation about this but running the following program snippet sheds some light on the subject: Begin-Program show 'Here I am' let $substitute =3D 'xlattable' !Example 1 !let $substitute =3D 'psrecfield' !Example 2 do demo show 'done' End-Program begin-procedure demo begin-select count(fieldname) &c show 'count ' &c from [xlattable : $substitute] end-select end-procedure demo ----------------- If the program is run as shown then the count is 10965 which is indeed the count of our records in xlattable. If the program is run as with the 'Example 2' line active then the count is 198812 which is correct for psrecfield. Apparently the $ value after the colon is substituted for the table name shown, which, by the way, must be a valid table name. ----------------- The code with the colon in it is, interestingly enough, compiled at compile-time using the table name to the left of the colon and then is compiled again at run-time using the value of $substitute. The only purpose of the compile-time compile that comes to mind is that it might provide an 'early warning' if there is something fundamentally wrong with the statement. Otherwise it is necessary to wait until run-time to find that out.=20=20 Jim -----Original Message----- From: sqr-users-bounces+jwomeldo=3Dfastenal.com@sqrug.org [mailto:sqr-users-bounces+jwomeldo=3Dfastenal.com@sqrug.org] On Behalf Of Sanjay Sambhe Sent: Monday, January 01, 2007 11:25 PM To: 'This list is for discussion about the SQR database reporting language from Hyperion Solutions.' Subject: [sqr-users] SQR problem Hi all, =20 while debugging, I have came accross one statement in SQR i.e [PS_CS_EMPL_EVT_T01 X : $e.cs_event_view_name]. Here both are the record names. $e.cs_event_view_name is view in PS which is dynamically selected in another procedure. Can anybody please explain what is the logic behind this? =20 BEGIN-SELECT X.EMPLID &x.emplid X.CS_EVENT_TYPE &x.cs_event_type TO_CHAR(trunc(X.CS_EVENT_ENTRY_DT),'YYYY-MM-DD') &x.cs_event_entry_dt TO_CHAR(trunc(X.CS_EVENT_EFFDT),'YYYY-MM-DD') &x.cs_event_effdt X.CS_PRIORITY_FLAG &x.cs_priority_flag X.CS_EVENT_PARAM &x.cs_event_param show 'Processing Employee: ' &x.emplid ', Event: ' &x.cs_event_type ', Effdt: ' &x.cs_event_effdt show '&x.cs_priority_flag ' &x.cs_priority_flag ',&x.cs_event_param ' &x.cs_event_param do Insert-Employee-Event FROM [PS_CS_EMPL_EVT_T01 X : $e.cs_event_view_name] WHERE not exists (select * from ps_cs_wr_tbl where emplid =3D x.emplid) and ( !** entire line for Transition project ** (X.CS_EVENT_EFFDT between trunc(SYSDATE)-{RECENCY_DAYS} and trunc(SYSDATE)+#future_days) OR (X.CS_EVENT_ENTRY_DT >=3D trunc(SYSDATE)-{RECENCY_DAYS} AND=20 X.CS_EVENT_EFFDT <=3D trunc(SYSDATE)+#future_days)) !** ) For Transition project ** END-SELECT =20 =20 =20 Thanks and Regards, ss _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 04 13:09:06 2007 Date: Thu, 4 Jan 2007 18:06:04 +0000 (GMT) From: john.tucker@oracle.com Subject: [sqr-users] Thinking about trying something - looking for ideas I have a rather different question today. I am thinking about writing an SQR that would look for orphan data anywhere in a PeopleSoft database, using PeopleTools tables to figure out what to look at rather than using a static list of tables. I have an idea or two about how to go about this... but I wondered if anyone out here had already written something similar and/or had some suggestions for things to do/avoid. For example, there will be a lot of dynamic SQL getting processed in this SQR. Does that usually stop indexes from being used? If so, is there any way I can force indexes to be used? Also, would it be better to say "select [whatever] from [child] where not exists ([whatever] in [parent])" or would it be better to write two select statements, pulling all rows from the child table and trying to match them with rows in the parent table in a separate select statement? Either way, I already know this thing is going to take forever to run. I don't want you fine folks to do my work for me, but I was pretty sure someone out there would have suggestions on how I can make this a better, faster tool than the way I would have written it without asking. -John T. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 04 13:18:46 2007 Subject: RE: [sqr-users] Thinking about trying something - looking for ideas Date: Thu, 4 Jan 2007 13:15:33 -0500 From: "Overcashier, Patricia" John, This sounds like it would be a very useful sqr. Could you please pass on any suggestions you may get. I'm interested in looking for orphans too and agree that it is easy to imagine and put together an sqr to do that, using dynamic sqls selecting from the tools tables, but also agree that it would take forever to run.=20=20 Thanks, Patti -----Original Message----- From: sqr-users-bounces+patricia.overcashier=3Daam.com@sqrug.org [mailto:sqr-users-bounces+patricia.overcashier=3Daam.com@sqrug.org] On Behalf Of john.tucker@oracle.com Sent: Thursday, January 04, 2007 1:06 PM To: sqr-users@sqrug.org Subject: [sqr-users] Thinking about trying something - looking for ideas I have a rather different question today. I am thinking about writing an SQR that would look for orphan data anywhere in a PeopleSoft database, using PeopleTools tables to figure out what to look at rather than using a static list of tables. I have an idea or two about how to go about this... but I wondered if anyone out here had already written something similar and/or had some suggestions for things to do/avoid. For example, there will be a lot of dynamic SQL getting processed in this SQR. Does that usually stop indexes from being used? If so, is there any way I can force indexes to be used? Also, would it be better to say "select [whatever] from [child] where not exists ([whatever] in [parent])" or would it be better to write two select statements, pulling all rows from the child table and trying to match them with rows in the parent table in a separate select statement? Either way, I already know this thing is going to take forever to run. I don't want you fine folks to do my work for me, but I was pretty sure someone out there would have suggestions on how I can make this a better, faster tool than the way I would have written it without asking. -John T. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 04 13:21:58 2007 Date: Thu, 04 Jan 2007 13:17:08 -0500 From: Ray Ontko Subject: Re: [sqr-users] Thinking about trying something - looking for ideas John, Here's another approach that you might consider: Read the Peoplesoft tables and generate SQR programs that contain static queries (instead of dynamic ones). I'm not sure, BTW, that the performance would be worse with dynamic queries. It may depend on which database you're using. Ray john.tucker@oracle.com wrote: > I have a rather different question today. I am thinking about writing an SQR that would look for orphan data anywhere in a PeopleSoft database, using PeopleTools tables to figure out what to look at rather than using a static list of tables. I have an idea or two about how to go about this... but I wondered if anyone out here had already written something similar and/or had some suggestions for things to do/avoid. > > For example, there will be a lot of dynamic SQL getting processed in this SQR. Does that usually stop indexes from being used? If so, is there any way I can force indexes to be used? > > Also, would it be better to say "select [whatever] from [child] where not exists ([whatever] in [parent])" or would it be better to write two select statements, pulling all rows from the child table and trying to match them with rows in the parent table in a separate select statement? Either way, I already know this thing is going to take forever to run. > > I don't want you fine folks to do my work for me, but I was pretty sure someone out there would have suggestions on how I can make this a better, faster tool than the way I would have written it without asking. > > -John T. > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 04 13:27:46 2007 Date: Thu, 4 Jan 2007 10:25:12 -0800 (PST) From: Arun Kumar Subject: [sqr-users] creating HTML reports I did search the group page for answers. But didnt suceed. I want HTML ouput. Trying for the first time. The sqr is running on windows= machine. its windows2003 server. added the following entry in sqr.ini=20 [Environment:DDO] SQR_DDO_JRE_CLASS=3D\..\..\server.jar;\..\..\mail.jar;\..\..\jcert.jar;\..\= ..\jnet.jar;\..\..\jsse.jar;\..\..\activation.jar;\..\..\autolink.jar;\..\.= .\classes12.zip;\..\..\una2000.jar But I am still getting the follwoing error message. (SQR 7715) Failed to start the Java Virtual Machine (JVM). Possible causes are: missing or invalid jre files, incorrect CLASSPATH, or insufficient resources. I dont have any knowledge on the initial installation. Any help would be appreciated... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 04 13:36:50 2007 Date: Thu, 04 Jan 2007 13:33:52 -0500 From: "George Jansen" Subject: Re: [sqr-users] Thinking about trying something - looking for ideas Dynamic SQL will not per se prevent the use of indexes. If you were to be performing essentially the same query hundreds or thousands of times, you'd want to avoid dynamic SQL. In this case, you'll be running one query per table, won't you? So the additional overhead in the parsing is likely to be vanishingly small compared to the other and unavoidable costs of the query. Do make sure that your schema is reasonably well analyzed, though. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 04 13:40:22 2007 Date: Thu, 4 Jan 2007 10:35:43 -0800 (PST) From: Arun Kumar Subject: Re: [sqr-users] Thinking about trying something - looking for ideas I am not sure about this. If all the data comes in to the PS database thru its front end then orphan = rows are impossible to create in first place. Orphans row exists because of data imported thru back doors and most of the= time during the initial conversion. Once you fixed those process you will never have orphans, right? Just my 2 cents. ----- Original Message ---- From: "Overcashier, Patricia" To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Sent: Thursday, January 4, 2007 1:15:33 PM Subject: RE: [sqr-users] Thinking about trying something - looking for ideas John, This sounds like it would be a very useful sqr. Could you please pass on any suggestions you may get. I'm interested in looking for orphans too and agree that it is easy to imagine and put together an sqr to do that, using dynamic sqls selecting from the tools tables, but also agree that it would take forever to run.=20=20 Thanks, Patti -----Original Message----- From: sqr-users-bounces+patricia.overcashier=3Daam.com@sqrug.org [mailto:sqr-users-bounces+patricia.overcashier=3Daam.com@sqrug.org] On Behalf Of john.tucker@oracle.com Sent: Thursday, January 04, 2007 1:06 PM To: sqr-users@sqrug.org Subject: [sqr-users] Thinking about trying something - looking for ideas I have a rather different question today. I am thinking about writing an SQR that would look for orphan data anywhere in a PeopleSoft database, using PeopleTools tables to figure out what to look at rather than using a static list of tables. I have an idea or two about how to go about this... but I wondered if anyone out here had already written something similar and/or had some suggestions for things to do/avoid. For example, there will be a lot of dynamic SQL getting processed in this SQR. Does that usually stop indexes from being used? If so, is there any way I can force indexes to be used? Also, would it be better to say "select [whatever] from [child] where not exists ([whatever] in [parent])" or would it be better to write two select statements, pulling all rows from the child table and trying to match them with rows in the parent table in a separate select statement? Either way, I already know this thing is going to take forever to run. I don't want you fine folks to do my work for me, but I was pretty sure someone out there would have suggestions on how I can make this a better, faster tool than the way I would have written it without asking. -John T. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 04 13:46:03 2007 Subject: RE: [sqr-users] Thinking about trying something - looking for ideas Date: Thu, 4 Jan 2007 13:42:58 -0500 From: "Overcashier, Patricia" Only in the perfect world :) In my world we are always running batch processes underneath to add, update, and delete rows in cases where our users do not want to do mass data entry for hundreds or thousands of rows. -----Original Message----- From: sqr-users-bounces+patricia.overcashier=3Daam.com@sqrug.org [mailto:sqr-users-bounces+patricia.overcashier=3Daam.com@sqrug.org] On Behalf Of Arun Kumar Sent: Thursday, January 04, 2007 1:36 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] Thinking about trying something - looking for ideas I am not sure about this. If all the data comes in to the PS database thru its front end then orphan rows are impossible to create in first place. Orphans row exists because of data imported thru back doors and most of the time during the initial conversion. Once you fixed those process you will never have orphans, right? Just my 2 cents. ----- Original Message ---- From: "Overcashier, Patricia" To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Sent: Thursday, January 4, 2007 1:15:33 PM Subject: RE: [sqr-users] Thinking about trying something - looking for ideas John, This sounds like it would be a very useful sqr. Could you please pass on any suggestions you may get. I'm interested in looking for orphans too and agree that it is easy to imagine and put together an sqr to do that, using dynamic sqls selecting from the tools tables, but also agree that it would take forever to run.=20=20 Thanks, Patti -----Original Message----- From: sqr-users-bounces+patricia.overcashier=3Daam.com@sqrug.org [mailto:sqr-users-bounces+patricia.overcashier=3Daam.com@sqrug.org] On Behalf Of john.tucker@oracle.com Sent: Thursday, January 04, 2007 1:06 PM To: sqr-users@sqrug.org Subject: [sqr-users] Thinking about trying something - looking for ideas I have a rather different question today. I am thinking about writing an SQR that would look for orphan data anywhere in a PeopleSoft database, using PeopleTools tables to figure out what to look at rather than using a static list of tables. I have an idea or two about how to go about this... but I wondered if anyone out here had already written something similar and/or had some suggestions for things to do/avoid. For example, there will be a lot of dynamic SQL getting processed in this SQR. Does that usually stop indexes from being used? If so, is there any way I can force indexes to be used? Also, would it be better to say "select [whatever] from [child] where not exists ([whatever] in [parent])" or would it be better to write two select statements, pulling all rows from the child table and trying to match them with rows in the parent table in a separate select statement? Either way, I already know this thing is going to take forever to run. I don't want you fine folks to do my work for me, but I was pretty sure someone out there would have suggestions on how I can make this a better, faster tool than the way I would have written it without asking. -John T. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 04 13:55:41 2007 Date: Thu, 04 Jan 2007 11:53:06 -0700 From: jwillson@dssltd.com Subject: Re: [sqr-users] Thinking about trying something - looking for ideas Hi John. here is a collection of possibilties: 1) In doing a report suite I benchmarked a single dynamic SQL retrieval versus numerous individual retrievals and the individual ones were both faster and easier to debug. However, the elegance of the dynamic SQL made for a very short SQR. 2) In doing PS table retrievals I use dynamic SQL to load the most recent version of a possibly underlying changing table so that I don't need to know what it is until run time of the SQR with the dynamic SQL. Works well in large development projects where multiple people have control of individual tables as opposed to 1 person having control of tables. 3) SQR that writes SQR's based upon that dynamic SQL is possible as stated in 2). Others have one that parses SQL Plus and builds an SQR. Both still require tweaking (Decode instruction, etc) 4) Tree walking software for PS is tricky (as you have to do the matching you are suggesting of parent child keys) and I have only gone down 7 levels in a Department Security tree. You may be able to find someone who has generalized this. Again, it might be better to tree represent say in a load array then to do selects down through all the paths to the leaves and work off the load array. 5) Index tuning on the keys will help. Just some possibilities. John Willson http://www.dssltd.com Quoting john.tucker@oracle.com: > I have a rather different question today. I am thinking about > writing an SQR that would look for orphan data anywhere in a > PeopleSoft database, using PeopleTools tables to figure out what to > look at rather than using a static list of tables. I have an idea or > two about how to go about this... but I wondered if anyone out here > had already written something similar and/or had some suggestions for > things to do/avoid. > > For example, there will be a lot of dynamic SQL getting processed in > this SQR. Does that usually stop indexes from being used? If so, is > there any way I can force indexes to be used? > > Also, would it be better to say "select [whatever] from [child] where > not exists ([whatever] in [parent])" or would it be better to write > two select statements, pulling all rows from the child table and > trying to match them with rows in the parent table in a separate > select statement? Either way, I already know this thing is going to > take forever to run. > > I don't want you fine folks to do my work for me, but I was pretty > sure someone out there would have suggestions on how I can make this > a better, faster tool than the way I would have written it without > asking. > > -John T. > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 04 13:59:47 2007 Date: Thu, 04 Jan 2007 13:57:08 -0500 From: Donald Mellen Subject: Re: [sqr-users] creating HTML reports Well, I'm assuming you're using DDO, otherwise that statement won't be looked at anyway. You might try putting it in the [Environment:Common] section. If you don't need the JVM embeded directly into the sqr, you could also add SQR_USEJVM = False in the same section. HTH, Don Arun Kumar wrote: > I did search the group page for answers. But didnt suceed. > > I want HTML ouput. Trying for the first time. The sqr is running on windows machine. its windows2003 server. > > added the following entry in sqr.ini > > [Environment:DDO] > SQR_DDO_JRE_CLASS=\..\..\server.jar;\..\..\mail.jar;\..\..\jcert.jar;\..\..\jnet.jar;\..\..\jsse.jar;\..\..\activation.jar;\..\..\autolink.jar;\..\..\classes12.zip;\..\..\una2000.jar > > > But I am still getting the follwoing error message. > > (SQR 7715) Failed to start the Java Virtual Machine (JVM). > Possible causes are: missing or invalid jre files, > incorrect CLASSPATH, or insufficient resources. > > I dont have any knowledge on the initial installation. > > Any help would be appreciated... > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > -- ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ donm@ontko.com | "In the beginning, there was nothing, which exploded" _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 04 14:21:50 2007 From: "Franck Masson" Subject: RE: [sqr-users] creating HTML reports Date: Thu, 4 Jan 2007 20:21:47 +0100 Arun check in your sqr.ini these entries [Environment:Common] SQRDIR=D:\BPS8\SQR8\SQR\ODB\BINW BRIO_HOME=D:\BPS8\SQR8 and verify that you have a JRE folder under the BRIO_HOME folder Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org]On Behalf Of Arun Kumar Sent: jeudi 4 janvier 2007 19:25 To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: [sqr-users] creating HTML reports I did search the group page for answers. But didnt suceed. I want HTML ouput. Trying for the first time. The sqr is running on windows machine. its windows2003 server. added the following entry in sqr.ini [Environment:DDO] SQR_DDO_JRE_CLASS=\..\..\server.jar;\..\..\mail.jar;\..\..\jcert.jar;\..\..\ jnet.jar;\..\..\jsse.jar;\..\..\activation.jar;\..\..\autolink.jar;\..\..\cl asses12.zip;\..\..\una2000.jar But I am still getting the follwoing error message. (SQR 7715) Failed to start the Java Virtual Machine (JVM). Possible causes are: missing or invalid jre files, incorrect CLASSPATH, or insufficient resources. I dont have any knowledge on the initial installation. Any help would be appreciated... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 04 15:12:38 2007 Date: Thu, 4 Jan 2007 12:09:57 -0800 (PST) From: Arun Kumar Subject: Re: [sqr-users] creating HTML reports Thanks to franck and Don, I tried both suggestions and its still giving me the same error. I did add = all the entries to my common section. My ini file looks like this now=20 [Environment:Common] SQRDIR=3Dc:\sqrbin\windows BRIO_HOME=3Dc:\sqrbin\ SQR_USEJVM =3D TRUE SQR_DDO_JRE_PATH=3Dc:\sqrbin\jre SQR_DDO_JRE_CLASS=3Dc:\jar\server.jar;c:\jar\mail.jar;c:\jar\jcert.jar;c:\j= ar\jnet.jar;c:\jar\jsse.jar;c:\jar\activation.jar;c:\jar\autolink.jar;c:\ja= r\classes12.zip;c:\jar\una2000.jar I did create a new folder (jre) under brio_home. Strangely when I turn sqr_usejvm to false. SQR runs without error but does= nt produce the output file either. What am I missing?=20 Thanks again. arun ----- Original Message ---- From: Franck Masson To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Sent: Thursday, January 4, 2007 2:21:47 PM Subject: RE: [sqr-users] creating HTML reports Arun check in your sqr.ini these entries [Environment:Common] SQRDIR=3DD:\BPS8\SQR8\SQR\ODB\BINW BRIO_HOME=3DD:\BPS8\SQR8 and verify that you have a JRE folder under the BRIO_HOME folder Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org]On Behalf Of Arun Kumar Sent: jeudi 4 janvier 2007 19:25 To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: [sqr-users] creating HTML reports I did search the group page for answers. But didnt suceed. I want HTML ouput. Trying for the first time. The sqr is running on windows machine. its windows2003 server. added the following entry in sqr.ini [Environment:DDO] SQR_DDO_JRE_CLASS=3D\..\..\server.jar;\..\..\mail.jar;\..\..\jcert.jar;\..\= ..\ jnet.jar;\..\..\jsse.jar;\..\..\activation.jar;\..\..\autolink.jar;\..\..\cl asses12.zip;\..\..\una2000.jar But I am still getting the follwoing error message. (SQR 7715) Failed to start the Java Virtual Machine (JVM). Possible causes are: missing or invalid jre files, incorrect CLASSPATH, or insufficient resources. I dont have any knowledge on the initial installation. Any help would be appreciated... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 04 15:36:27 2007 From: "the dragon" Subject: Re: [sqr-users] Thinking about trying something - looking for ideas Date: Thu, 04 Jan 2007 14:33:41 -0600 Good points - I agree. Unfortunately, like where I work, the idiots have a serious fetish for putting crap in through very poorly designed and almost untested interfaces, and then we waste too much time cleaning up the mess. Evidently, they (idiot users and even more clueless management) feel it's a better use of time, resources and money having developers determine the problem and then having PS admins and DBAs fix the errors in the database through sql scripts rather than taking the time to fix the feeds. /shakes head peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca ----Original Message Follows---- I am not sure about this. If all the data comes in to the PS database thru its front end then orphan rows are impossible to create in first place. Orphans row exists because of data imported thru back doors and most of the time during the initial conversion. Once you fixed those process you will never have orphans, right? Just my 2 cents. ----- Original Message ---- John, This sounds like it would be a very useful sqr. Could you please pass on any suggestions you may get. I'm interested in looking for orphans too and agree that it is easy to imagine and put together an sqr to do that, using dynamic sqls selecting from the tools tables, but also agree that it would take forever to run. Thanks, Patti -----Original Message----- I have a rather different question today. I am thinking about writing an SQR that would look for orphan data anywhere in a PeopleSoft database, using PeopleTools tables to figure out what to look at rather than using a static list of tables. I have an idea or two about how to go about this... but I wondered if anyone out here had already written something similar and/or had some suggestions for things to do/avoid. For example, there will be a lot of dynamic SQL getting processed in this SQR. Does that usually stop indexes from being used? If so, is there any way I can force indexes to be used? Also, would it be better to say "select [whatever] from [child] where not exists ([whatever] in [parent])" or would it be better to write two select statements, pulling all rows from the child table and trying to match them with rows in the parent table in a separate select statement? Either way, I already know this thing is going to take forever to run. I don't want you fine folks to do my work for me, but I was pretty sure someone out there would have suggestions on how I can make this a better, faster tool than the way I would have written it without asking. -John T. _________________________________________________________________ Find sales, coupons, and free shipping, all in one place!  MSN Shopping Sales & Deals http://shopping.msn.com/content/shp/?ctid=198,ptnrid=176,ptnrdata=200639 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 04 15:40:06 2007 From: "the dragon" Subject: RE: [sqr-users] Thinking about trying something - looking for ideas Date: Thu, 04 Jan 2007 14:36:13 -0600 Not just a perfect world, but in a rational, logical, intelligent world. Of course, that would exclude the in-duh-viduals we work for... peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca ----Original Message Follows---- Only in the perfect world :) In my world we are always running batch processes underneath to add, update, and delete rows in cases where our users do not want to do mass data entry for hundreds or thousands of rows. -----Original Message----- I am not sure about this. If all the data comes in to the PS database thru its front end then orphan rows are impossible to create in first place. Orphans row exists because of data imported thru back doors and most of the time during the initial conversion. Once you fixed those process you will never have orphans, right? Just my 2 cents. ----- Original Message ---- John, This sounds like it would be a very useful sqr. Could you please pass on any suggestions you may get. I'm interested in looking for orphans too and agree that it is easy to imagine and put together an sqr to do that, using dynamic sqls selecting from the tools tables, but also agree that it would take forever to run. Thanks, Patti -----Original Message----- I have a rather different question today. I am thinking about writing an SQR that would look for orphan data anywhere in a PeopleSoft database, using PeopleTools tables to figure out what to look at rather than using a static list of tables. I have an idea or two about how to go about this... but I wondered if anyone out here had already written something similar and/or had some suggestions for things to do/avoid. For example, there will be a lot of dynamic SQL getting processed in this SQR. Does that usually stop indexes from being used? If so, is there any way I can force indexes to be used? Also, would it be better to say "select [whatever] from [child] where not exists ([whatever] in [parent])" or would it be better to write two select statements, pulling all rows from the child table and trying to match them with rows in the parent table in a separate select statement? Either way, I already know this thing is going to take forever to run. I don't want you fine folks to do my work for me, but I was pretty sure someone out there would have suggestions on how I can make this a better, faster tool than the way I would have written it without asking. -John T. _________________________________________________________________ Dave vs. Carl: The Insignificant Championship Series.  Who will win? http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://davevscarl.spaces.live.com/?icid=T001MSN38C07001 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 04 15:49:21 2007 From: "Franck Masson" Subject: RE: [sqr-users] creating HTML reports Date: Thu, 4 Jan 2007 21:49:07 +0100 What is your SQR version ? you should not have to create the jre folder, itshould be created during the installation. it seem that you are missing all the JVM installation which should be jre1.1.7 or 1.18 or 1.2 depending your SQR version Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org]On Behalf Of Arun Kumar Sent: jeudi 4 janvier 2007 21:10 To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] creating HTML reports Thanks to franck and Don, I tried both suggestions and its still giving me the same error. I did add all the entries to my common section. My ini file looks like this now [Environment:Common] SQRDIR=c:\sqrbin\windows BRIO_HOME=c:\sqrbin\ SQR_USEJVM = TRUE SQR_DDO_JRE_PATH=c:\sqrbin\jre SQR_DDO_JRE_CLASS=c:\jar\server.jar;c:\jar\mail.jar;c:\jar\jcert.jar;c:\jar\ jnet.jar;c:\jar\jsse.jar;c:\jar\activation.jar;c:\jar\autolink.jar;c:\jar\cl asses12.zip;c:\jar\una2000.jar I did create a new folder (jre) under brio_home. Strangely when I turn sqr_usejvm to false. SQR runs without error but doesnt produce the output file either. What am I missing? Thanks again. arun ----- Original Message ---- From: Franck Masson To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Sent: Thursday, January 4, 2007 2:21:47 PM Subject: RE: [sqr-users] creating HTML reports Arun check in your sqr.ini these entries [Environment:Common] SQRDIR=D:\BPS8\SQR8\SQR\ODB\BINW BRIO_HOME=D:\BPS8\SQR8 and verify that you have a JRE folder under the BRIO_HOME folder Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org]On Behalf Of Arun Kumar Sent: jeudi 4 janvier 2007 19:25 To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: [sqr-users] creating HTML reports I did search the group page for answers. But didnt suceed. I want HTML ouput. Trying for the first time. The sqr is running on windows machine. its windows2003 server. added the following entry in sqr.ini [Environment:DDO] SQR_DDO_JRE_CLASS=\..\..\server.jar;\..\..\mail.jar;\..\..\jcert.jar;\..\..\ jnet.jar;\..\..\jsse.jar;\..\..\activation.jar;\..\..\autolink.jar;\..\..\cl asses12.zip;\..\..\una2000.jar But I am still getting the follwoing error message. (SQR 7715) Failed to start the Java Virtual Machine (JVM). Possible causes are: missing or invalid jre files, incorrect CLASSPATH, or insufficient resources. I dont have any knowledge on the initial installation. Any help would be appreciated... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 04 15:57:00 2007 Date: Thu, 4 Jan 2007 12:54:11 -0800 (PST) From: Arun Kumar Subject: Re: [sqr-users] Thinking about trying something - looking for ideas Again, The emphasis should be to fix the process rather than looking for or= phans.. If you use people soft delivered tools like component interface then you wo= n't have orphans. My response is strickly for Peoplesoft archietecture where there is no fore= ign keys enabled in the back. In a way almost all the tables are candidates to be messed up. so if you looking for orphans in everytable in every possible way is more c= umbersome as you are chasing your tail than looking at the processes and fi= xing them. I am not being arguementative just playing devils advacate. ----- Original Message ---- From: "Overcashier, Patricia" To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Sent: Thursday, January 4, 2007 1:42:58 PM Subject: RE: [sqr-users] Thinking about trying something - looking for ideas Only in the perfect world :) In my world we are always running batch processes underneath to add, update, and delete rows in cases where our users do not want to do mass data entry for hundreds or thousands of rows. -----Original Message----- From: sqr-users-bounces+patricia.overcashier=3Daam.com@sqrug.org [mailto:sqr-users-bounces+patricia.overcashier=3Daam.com@sqrug.org] On Behalf Of Arun Kumar Sent: Thursday, January 04, 2007 1:36 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] Thinking about trying something - looking for ideas I am not sure about this. If all the data comes in to the PS database thru its front end then orphan rows are impossible to create in first place. Orphans row exists because of data imported thru back doors and most of the time during the initial conversion. Once you fixed those process you will never have orphans, right? Just my 2 cents. ----- Original Message ---- From: "Overcashier, Patricia" To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Sent: Thursday, January 4, 2007 1:15:33 PM Subject: RE: [sqr-users] Thinking about trying something - looking for ideas John, This sounds like it would be a very useful sqr. Could you please pass on any suggestions you may get. I'm interested in looking for orphans too and agree that it is easy to imagine and put together an sqr to do that, using dynamic sqls selecting from the tools tables, but also agree that it would take forever to run.=20=20 Thanks, Patti -----Original Message----- From: sqr-users-bounces+patricia.overcashier=3Daam.com@sqrug.org [mailto:sqr-users-bounces+patricia.overcashier=3Daam.com@sqrug.org] On Behalf Of john.tucker@oracle.com Sent: Thursday, January 04, 2007 1:06 PM To: sqr-users@sqrug.org Subject: [sqr-users] Thinking about trying something - looking for ideas I have a rather different question today. I am thinking about writing an SQR that would look for orphan data anywhere in a PeopleSoft database, using PeopleTools tables to figure out what to look at rather than using a static list of tables. I have an idea or two about how to go about this... but I wondered if anyone out here had already written something similar and/or had some suggestions for things to do/avoid. For example, there will be a lot of dynamic SQL getting processed in this SQR. Does that usually stop indexes from being used? If so, is there any way I can force indexes to be used? Also, would it be better to say "select [whatever] from [child] where not exists ([whatever] in [parent])" or would it be better to write two select statements, pulling all rows from the child table and trying to match them with rows in the parent table in a separate select statement? Either way, I already know this thing is going to take forever to run. I don't want you fine folks to do my work for me, but I was pretty sure someone out there would have suggestions on how I can make this a better, faster tool than the way I would have written it without asking. -John T. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 04 17:00:56 2007 Date: Thu, 4 Jan 2007 13:58:12 -0800 (PST) From: Arun Kumar Subject: Re: [sqr-users] creating HTML reports Our version is 8.1 We have jre 1.4.2 installed on the server but the location is different. ..= \jvm\windows\1.4.2 Well. Can it work with 1.4.2 version? ----- Original Message ---- From: Franck Masson To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Sent: Thursday, January 4, 2007 3:49:07 PM Subject: RE: [sqr-users] creating HTML reports What is your SQR version ? you should not have to create the jre folder, itshould be created during the installation. it seem that you are missing all the JVM installation which should be jre1.1.7 or 1.18 or 1.2 depending your SQR version Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org]On Behalf Of Arun Kumar Sent: jeudi 4 janvier 2007 21:10 To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] creating HTML reports Thanks to franck and Don, I tried both suggestions and its still giving me the same error. I did add all the entries to my common section. My ini file looks like this now [Environment:Common] SQRDIR=3Dc:\sqrbin\windows BRIO_HOME=3Dc:\sqrbin\ SQR_USEJVM =3D TRUE SQR_DDO_JRE_PATH=3Dc:\sqrbin\jre SQR_DDO_JRE_CLASS=3Dc:\jar\server.jar;c:\jar\mail.jar;c:\jar\jcert.jar;c:\j= ar\ jnet.jar;c:\jar\jsse.jar;c:\jar\activation.jar;c:\jar\autolink.jar;c:\jar\cl asses12.zip;c:\jar\una2000.jar I did create a new folder (jre) under brio_home. Strangely when I turn sqr_usejvm to false. SQR runs without error but doesnt produce the output file either. What am I missing? Thanks again. arun ----- Original Message ---- From: Franck Masson To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Sent: Thursday, January 4, 2007 2:21:47 PM Subject: RE: [sqr-users] creating HTML reports Arun check in your sqr.ini these entries [Environment:Common] SQRDIR=3DD:\BPS8\SQR8\SQR\ODB\BINW BRIO_HOME=3DD:\BPS8\SQR8 and verify that you have a JRE folder under the BRIO_HOME folder Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org]On Behalf Of Arun Kumar Sent: jeudi 4 janvier 2007 19:25 To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: [sqr-users] creating HTML reports I did search the group page for answers. But didnt suceed. I want HTML ouput. Trying for the first time. The sqr is running on windows machine. its windows2003 server. added the following entry in sqr.ini [Environment:DDO] SQR_DDO_JRE_CLASS=3D\..\..\server.jar;\..\..\mail.jar;\..\..\jcert.jar;\..\= ..\ jnet.jar;\..\..\jsse.jar;\..\..\activation.jar;\..\..\autolink.jar;\..\..\cl asses12.zip;\..\..\una2000.jar But I am still getting the follwoing error message. (SQR 7715) Failed to start the Java Virtual Machine (JVM). Possible causes are: missing or invalid jre files, incorrect CLASSPATH, or insufficient resources. I dont have any knowledge on the initial installation. Any help would be appreciated... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jan 05 04:34:59 2007 From: "Franck Masson" Subject: RE: [sqr-users] creating HTML reports Date: Fri, 5 Jan 2007 10:32:30 +0100 Is it SQR from Hyperion ? if yes unisntall and install again the SQR server. You should have a JRE folder with all the subfolders and files necessary . Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org]On Behalf Of Arun Kumar Sent: jeudi 4 janvier 2007 22:58 To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] creating HTML reports Our version is 8.1 We have jre 1.4.2 installed on the server but the location is different. ..\jvm\windows\1.4.2 Well. Can it work with 1.4.2 version? ----- Original Message ---- From: Franck Masson To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Sent: Thursday, January 4, 2007 3:49:07 PM Subject: RE: [sqr-users] creating HTML reports What is your SQR version ? you should not have to create the jre folder, itshould be created during the installation. it seem that you are missing all the JVM installation which should be jre1.1.7 or 1.18 or 1.2 depending your SQR version Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org]On Behalf Of Arun Kumar Sent: jeudi 4 janvier 2007 21:10 To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] creating HTML reports Thanks to franck and Don, I tried both suggestions and its still giving me the same error. I did add all the entries to my common section. My ini file looks like this now [Environment:Common] SQRDIR=c:\sqrbin\windows BRIO_HOME=c:\sqrbin\ SQR_USEJVM = TRUE SQR_DDO_JRE_PATH=c:\sqrbin\jre SQR_DDO_JRE_CLASS=c:\jar\server.jar;c:\jar\mail.jar;c:\jar\jcert.jar;c:\jar\ jnet.jar;c:\jar\jsse.jar;c:\jar\activation.jar;c:\jar\autolink.jar;c:\jar\cl asses12.zip;c:\jar\una2000.jar I did create a new folder (jre) under brio_home. Strangely when I turn sqr_usejvm to false. SQR runs without error but doesnt produce the output file either. What am I missing? Thanks again. arun ----- Original Message ---- From: Franck Masson To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Sent: Thursday, January 4, 2007 2:21:47 PM Subject: RE: [sqr-users] creating HTML reports Arun check in your sqr.ini these entries [Environment:Common] SQRDIR=D:\BPS8\SQR8\SQR\ODB\BINW BRIO_HOME=D:\BPS8\SQR8 and verify that you have a JRE folder under the BRIO_HOME folder Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org]On Behalf Of Arun Kumar Sent: jeudi 4 janvier 2007 19:25 To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: [sqr-users] creating HTML reports I did search the group page for answers. But didnt suceed. I want HTML ouput. Trying for the first time. The sqr is running on windows machine. its windows2003 server. added the following entry in sqr.ini [Environment:DDO] SQR_DDO_JRE_CLASS=\..\..\server.jar;\..\..\mail.jar;\..\..\jcert.jar;\..\..\ jnet.jar;\..\..\jsse.jar;\..\..\activation.jar;\..\..\autolink.jar;\..\..\cl asses12.zip;\..\..\una2000.jar But I am still getting the follwoing error message. (SQR 7715) Failed to start the Java Virtual Machine (JVM). Possible causes are: missing or invalid jre files, incorrect CLASSPATH, or insufficient resources. I dont have any knowledge on the initial installation. Any help would be appreciated... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jan 05 09:32:58 2007 Date: Fri, 05 Jan 2007 09:29:30 -0500 From: "Jamie Harris" Subject: Re: [sqr-users] Thinking about trying something - looking for ideas Arun, That's not entirely true. If Peoplesoft does everything correctly, then yes there should never be new orphans. But Peoplesoft is a very big, complex system, and even the best testing on their end doesn't mean there aren't bugs. There are situations where orphans do happen. For example, if you term-activate a student and their academic standing gets calculated (which happens immediately if you have that setup), then you delete the term-activation row (using the Peoplesoft page, not SQL) their academic standing row for that same term is left in place. This causes the "no matching buffer found for level" error when you pull up the Term History page for that student. That's because a row exists in PS_ACAD_STDNG but not in the parent PS_STDNT_CAR_TERM. This is Peoplesoft-delivered functionality here, not some back-door data import. This kind of bug is hard to catch in testing because it's so rare that anyone deletes a row in that table that people don't always think to test what happens when you do. Note: this may be fixed by now, I haven't checked in a while and like I said, it's rare that people delete rows from that table. Bugs like that do happen, and you want to know when a new one has sprung up before it's a lot of rows to deal with. You never know what's going to break in that latest patch bundle and users don't always take the time to test as thoroughly as they should before such patches are moved into production. As for an orphan-finding program I've found such a thing much easier in Perl using the DBI modules. Perl is great with the dynamic SQL kinds of things (like select * from table, etc.) - my Perl is about 100 lines of actual code not counting the lines that handle the user input and/or reading from command line parameters (I don't run it inside of Peoplesoft). But in SQR it's certainly do-able - especially using the technique others have mentioned where one SQR writes code into an .SQC that a second SQR runs (so you avoid all the dynamic SQL). You can queue those together into a Peoplesoft job and won't need Perl at all. The hard part about the Peoplesoft database (at least from what I've seen - on SQL server) is that it doesn't set up any foreign key constraints in the tables, it lets the user interface take care of all that based on the pages. So the only way to really know what table is a child of what other table is to select from PSRECDEFN and use the parent table listed there. Then you can ask the database server what the keys are in the two tables, figure out which keys they have in common, etc. Sometimes the parent table listed in PSRECDEFN is wrong, however, so an orphan finder done this way will return some false positives. But you know it's a false positive when it tells you that EVERY row in that table is an orphan. The peoplesoft pages are what really control the relationships, if table A is scroll level 1 and table B is scroll level 2 that's what makes it treat table A as table B's parent, so the "parent record" field in PSRECDEFN is meant as merely a convenience for developers as far as I can tell (which is why sometimes it's wrong and they haven't fixed it). I'm not bashing Peoplesoft here, I'm just saying that in a system with over 16,000 tables it's hard to keep out the bugs sometimes, and that includes creation of orphans. It's nice to have a program that says you have no orphans, and then the next week it tells you that you still have none. That's much better than having a line down the hallway and have students who you can't help because somewhere in their data is an orphan and the cashier (who doesn't know what "no matching buffer found for level" even means yet) has to tell them to come back later. ----------------------------------------------------- James Harris Enterprise Application Analyst/Programmer Information Technology Division Frederick Community College ----------------------------------------------------- >>> Arun Kumar 1/4/2007 1:35 PM >>> I am not sure about this. If all the data comes in to the PS database thru its front end then orphan rows are impossible to create in first place. Orphans row exists because of data imported thru back doors and most of the time during the initial conversion. Once you fixed those process you will never have orphans, right? Just my 2 cents. ----- Original Message ---- From: "Overcashier, Patricia" To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Sent: Thursday, January 4, 2007 1:15:33 PM Subject: RE: [sqr-users] Thinking about trying something - looking for ideas John, This sounds like it would be a very useful sqr. Could you please pass on any suggestions you may get. I'm interested in looking for orphans too and agree that it is easy to imagine and put together an sqr to do that, using dynamic sqls selecting from the tools tables, but also agree that it would take forever to run. Thanks, Patti -----Original Message----- From: sqr-users-bounces+patricia.overcashier=aam.com@sqrug.org [mailto:sqr-users-bounces+patricia.overcashier=aam.com@sqrug.org] On Behalf Of john.tucker@oracle.com Sent: Thursday, January 04, 2007 1:06 PM To: sqr-users@sqrug.org Subject: [sqr-users] Thinking about trying something - looking for ideas I have a rather different question today. I am thinking about writing an SQR that would look for orphan data anywhere in a PeopleSoft database, using PeopleTools tables to figure out what to look at rather than using a static list of tables. I have an idea or two about how to go about this... but I wondered if anyone out here had already written something similar and/or had some suggestions for things to do/avoid. For example, there will be a lot of dynamic SQL getting processed in this SQR. Does that usually stop indexes from being used? If so, is there any way I can force indexes to be used? Also, would it be better to say "select [whatever] from [child] where not exists ([whatever] in [parent])" or would it be better to write two select statements, pulling all rows from the child table and trying to match them with rows in the parent table in a separate select statement? Either way, I already know this thing is going to take forever to run. I don't want you fine folks to do my work for me, but I was pretty sure someone out there would have suggestions on how I can make this a better, faster tool than the way I would have written it without asking. -John T. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jan 05 11:05:29 2007 From: "Elvis Pressly" Subject: RE: [sqr-users] Thinking about trying something - looking for ideas Date: Fri, 05 Jan 2007 16:02:52 +0000 John, I have done this with one of my client long time ago (I think it was in version 7.5). I'm telling you it can be very ugly to find orphan records. The way I did it is first consider which fields are the driving mechanism to establish what you will consider orphan record. You have to understand that different application has different mechanism. For HR and related application you will use EMPLID and PS_JOB, for AP, AR, INVENTORY or Financial it's different. For HR you create a temporay table that contains unique EMPLID from PS_JOB. This table should only have one field or column (EMPLID). It's up to you what type of employee to be inserted into the temp table. Use PSRECFLDFN table (select only tables that has field EMPLID) as your reference. depending on which platform, use that table name or schema name from the PSRECFLDFN. In SQR you can then use the table name as a dynamic table name. The rest is just comparing EMPLID vs the temp table. Hope this help. _________________________________________________________________ >From photos to predictions, The MSN Entertainment Guide to Golden Globes has it all. http://tv.msn.com/tv/globes2007/?icid=nctagline1 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jan 05 13:16:52 2007 Date: Fri, 5 Jan 2007 18:14:09 +0000 (GMT) From: john.tucker@oracle.com Subject: [sqr-users] RE: Thinking about trying something - looking for ideas Thanks for the suggestions, everyone. I am working with data from a rather large (in number of tables) initial conversion, trying to make sure no one forgot a table, but I definitely agree with what everyone said about the perfect world. It would be great, but it ain't gonna happen. One of the suggestions mentioned building an array to go down the children - I actually have an SQR already that takes an input of a tablename and then tells you the parents all the way up the line and all of the children all the way down the line. I thought about going with an array for that one, but ended up just writing several copies of the same select statement, going down to the next each time a child is found. I believe that the deepest I was able to find was around 13 levels, so that's how many copies I included. There are probably more elegant solutions, programming-wise, but it works well, so I haven't messed with it. -John T. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jan 05 14:56:43 2007 Date: Fri, 5 Jan 2007 19:53:51 +0000 (GMT) From: ashwin reddy Subject: [sqr-users] problem connecting to different database we are runnin an sqr and it has to access data from two different oracle databases from within the sqr. The default database is HRINT here is a snippet of the code i am using Begin-select a.emplid ..... from IT_PAY_LIST@prod a end-select if i run the select statement from oracle it connects to the prod database without any problem... do i need to initialize somethin at the begining of the sqr before using the database link i created in oracle Send instant messages to your online friends http://uk.messenger.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jan 05 15:00:19 2007 Date: Fri, 05 Jan 2007 14:57:17 -0500 From: "Larry Roux" Subject: Re: [sqr-users] problem connecting to different database We are able to use DB links from SQR with no problem. Are you sure the ID you are using in SQL is the same you are using from SQR? What error are you seeing? Larry Roux Information Systems Syracuse University lroux@syr.edu >>> ashwin443@yahoo.co.uk 1/5/2007 2:53:51 PM >>> we are runnin an sqr and it has to access data from two different oracle databases from within the sqr. The default database is HRINT here is a snippet of the code i am using Begin-select a.emplid ..... from IT_PAY_LIST@prod a end-select if i run the select statement from oracle it connects to the prod database without any problem... do i need to initialize somethin at the begining of the sqr before using the database link i created in oracle Send instant messages to your online friends http://uk.messenger.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jan 05 18:17:33 2007 Date: Fri, 05 Jan 2007 15:14:21 -0800 From: "Howard Thompson" Subject: [sqr-users] PL-SQL Oracle character variable assignment problem I have and SQR program that executes some Oracle PL-SQL that assigns values= to SQR variables. The numeric variables work fine; the string variables do= n't seem to "bind". =20 Here is a distilled version that shows the error: BEGIN-PROGRAM BEGIN-SQL BEGIN $SqrStr :=3D 'Hello, world';; #SqrNum :=3D 100;; END;; END-SQL DISPLAY '$SqrStr: ' NOLINE DISPLAY $SqrStr=20 DISPLAY '#SqrNum: ' NOLINE DISPLAY #SqrNum=20 END-PROGRAM When run, I get this: Hyperion SQR Server - 8.5.0.0.0.566 Copyright (c) 1994-2006 Hyperion Solutions Corporation. All Rights Reserve= d. $SqrStr:=20=20 #SqrNum: 100.000000 Version info SQR: Hyperion SQR Server - 8.5.0.0.0.566 SQL*Plus SQL*Plus: Release 9.2.0.7.0 - Production on Fri Jan 5 15:13:18 2007 Oracle: Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.7.0 - Production =20 Thanks in advance! -- Howard Thompson Senior IS Project Lead Oregon Health & Science University thompsoh@ohsu.edu 503-494-5936 "A thing of beauty is a joy forever" -- John Keats _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Jan 08 04:44:52 2007 Date: Mon, 8 Jan 2007 15:07:08 +0530 From: Sanjay Sambhe Subject: RE: [sqr-users] RE: SQR problem thanks all, for your valuable information -----Original Message----- From: sqr-users-bounces+ssambhe=cisco.com@sqrug.org [mailto:sqr-users-bounces+ssambhe=cisco.com@sqrug.org] On Behalf Of White . Denise Sent: Tuesday, January 02, 2007 7:58 PM To: sqr-users@sqrug.org Subject: [sqr-users] RE: SQR problem I believe that this is necessary because the program would not compile with a variable table name in the BEGIN-SELECT (the variable value is not set until after the program has begun execution). Therefore, it is necessary to 'trick' the compiler by providing a valid table name to be used at compile time. Once the variable value has been set, the new table name will be in effect. Denise M. White EBS Programmer/Analyst III Dynamics Research Corporation ------------------------------ Message: 2 Date: Tue, 2 Jan 2007 03:49:40 -0600 From: "Jim Womeldorf" Subject: RE: [sqr-users] SQR problem To: "This list is for discussion about the SQR database reporting language from Hyperion Solutions." Message-ID: <42E50BB7EAB3764E8654A54710243EC0071F72AB@excmb01.backup> Content-Type: text/plain; charset="US-ASCII" This is a new one to me. I have not found any documentation about this but running the following program snippet sheds some light on the subject: Begin-Program show 'Here I am' let $substitute = 'xlattable' !Example 1 !let $substitute = 'psrecfield' !Example 2 do demo show 'done' End-Program begin-procedure demo begin-select count(fieldname) &c show 'count ' &c from [xlattable : $substitute] end-select end-procedure demo ----------------- If the program is run as shown then the count is 10965 which is indeed the count of our records in xlattable. If the program is run as with the 'Example 2' line active then the count is 198812 which is correct for psrecfield. Apparently the $ value after the colon is substituted for the table name shown, which, by the way, must be a valid table name. ----------------- The code with the colon in it is, interestingly enough, compiled at compile-time using the table name to the left of the colon and then is compiled again at run-time using the value of $substitute. The only purpose of the compile-time compile that comes to mind is that it might provide an 'early warning' if there is something fundamentally wrong with the statement. Otherwise it is necessary to wait until run-time to find that out. Jim -----Original Message----- From: sqr-users-bounces+jwomeldo=fastenal.com@sqrug.org [mailto:sqr-users-bounces+jwomeldo=fastenal.com@sqrug.org] On Behalf Of Sanjay Sambhe Sent: Monday, January 01, 2007 11:25 PM To: 'This list is for discussion about the SQR database reporting language from Hyperion Solutions.' Subject: [sqr-users] SQR problem Hi all, while debugging, I have came accross one statement in SQR i.e [PS_CS_EMPL_EVT_T01 X : $e.cs_event_view_name]. Here both are the record names. $e.cs_event_view_name is view in PS which is dynamically selected in another procedure. Can anybody please explain what is the logic behind this? BEGIN-SELECT X.EMPLID &x.emplid X.CS_EVENT_TYPE &x.cs_event_type TO_CHAR(trunc(X.CS_EVENT_ENTRY_DT),'YYYY-MM-DD') &x.cs_event_entry_dt TO_CHAR(trunc(X.CS_EVENT_EFFDT),'YYYY-MM-DD') &x.cs_event_effdt X.CS_PRIORITY_FLAG &x.cs_priority_flag X.CS_EVENT_PARAM &x.cs_event_param show 'Processing Employee: ' &x.emplid ', Event: ' &x.cs_event_type ', Effdt: ' &x.cs_event_effdt show '&x.cs_priority_flag ' &x.cs_priority_flag ',&x.cs_event_param ' &x.cs_event_param do Insert-Employee-Event FROM [PS_CS_EMPL_EVT_T01 X : $e.cs_event_view_name] WHERE not exists (select * from ps_cs_wr_tbl where emplid = x.emplid) and ( !** entire line for Transition project ** (X.CS_EVENT_EFFDT between trunc(SYSDATE)-{RECENCY_DAYS} and trunc(SYSDATE)+#future_days) OR (X.CS_EVENT_ENTRY_DT >= trunc(SYSDATE)-{RECENCY_DAYS} AND X.CS_EVENT_EFFDT <= trunc(SYSDATE)+#future_days)) !** ) For Transition project ** END-SELECT Thanks and Regards, ss _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Jan 08 13:51:21 2007 Date: Mon, 8 Jan 2007 10:45:55 -0800 (PST) From: Arun Kumar Subject: Re: [sqr-users] creating HTML reports I am coming to conclusion that Our SQR is either stripped down version or d= oesnt have all the options installed. Either way I dont have any control over it. My report is very simple HTML pages so creating HTML pages using write comm= and instead. ( Like creating excel spread sheet using SYLK format.) Thanks for all your help. ----- Original Message ---- From: Franck Masson To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Sent: Friday, January 5, 2007 4:32:30 AM Subject: RE: [sqr-users] creating HTML reports Is it SQR from Hyperion ? if yes unisntall and install again the SQR server. You should have a JRE folder with all the subfolders and files necessary . Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org]On Behalf Of Arun Kumar Sent: jeudi 4 janvier 2007 22:58 To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] creating HTML reports Our version is 8.1 We have jre 1.4.2 installed on the server but the location is different. ..\jvm\windows\1.4.2 Well. Can it work with 1.4.2 version? ----- Original Message ---- From: Franck Masson To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Sent: Thursday, January 4, 2007 3:49:07 PM Subject: RE: [sqr-users] creating HTML reports What is your SQR version ? you should not have to create the jre folder, itshould be created during the installation. it seem that you are missing all the JVM installation which should be jre1.1.7 or 1.18 or 1.2 depending your SQR version Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org]On Behalf Of Arun Kumar Sent: jeudi 4 janvier 2007 21:10 To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] creating HTML reports Thanks to franck and Don, I tried both suggestions and its still giving me the same error. I did add all the entries to my common section. My ini file looks like this now [Environment:Common] SQRDIR=3Dc:\sqrbin\windows BRIO_HOME=3Dc:\sqrbin\ SQR_USEJVM =3D TRUE SQR_DDO_JRE_PATH=3Dc:\sqrbin\jre SQR_DDO_JRE_CLASS=3Dc:\jar\server.jar;c:\jar\mail.jar;c:\jar\jcert.jar;c:\j= ar\ jnet.jar;c:\jar\jsse.jar;c:\jar\activation.jar;c:\jar\autolink.jar;c:\jar\cl asses12.zip;c:\jar\una2000.jar I did create a new folder (jre) under brio_home. Strangely when I turn sqr_usejvm to false. SQR runs without error but doesnt produce the output file either. What am I missing? Thanks again. arun ----- Original Message ---- From: Franck Masson To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Sent: Thursday, January 4, 2007 2:21:47 PM Subject: RE: [sqr-users] creating HTML reports Arun check in your sqr.ini these entries [Environment:Common] SQRDIR=3DD:\BPS8\SQR8\SQR\ODB\BINW BRIO_HOME=3DD:\BPS8\SQR8 and verify that you have a JRE folder under the BRIO_HOME folder Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org]On Behalf Of Arun Kumar Sent: jeudi 4 janvier 2007 19:25 To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: [sqr-users] creating HTML reports I did search the group page for answers. But didnt suceed. I want HTML ouput. Trying for the first time. The sqr is running on windows machine. its windows2003 server. added the following entry in sqr.ini [Environment:DDO] SQR_DDO_JRE_CLASS=3D\..\..\server.jar;\..\..\mail.jar;\..\..\jcert.jar;\..\= ..\ jnet.jar;\..\..\jsse.jar;\..\..\activation.jar;\..\..\autolink.jar;\..\..\cl asses12.zip;\..\..\una2000.jar But I am still getting the follwoing error message. (SQR 7715) Failed to start the Java Virtual Machine (JVM). Possible causes are: missing or invalid jre files, incorrect CLASSPATH, or insufficient resources. I dont have any knowledge on the initial installation. Any help would be appreciated... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Jan 08 17:23:26 2007 From: tam kag Date: Mon, 8 Jan 2007 22:20:44 +0000 Subject: [sqr-users] RANK function Hello, I'm in the process of writing a top 10 report. I want to take advantage of = the DB2 function RANK Here is the relevant code in the begin-select block: begin-select...store.company_number &company_numbersku8.sku_6_digit &sku6_d= igit (,10)sum(fst.current_send_store_qty) &transfered_qty (,20)sum(fst.send= _sku_retail_price_amt_lcy * fst.current_send_store_qty) &transfered_price r= ank() over (partition by store.company_number,sku8.sku_6_digit order by &tr= ansfered_price) &temp (,40)...end-select I know that putting a SQR column variable is not correct but I want to rank= by that metric. Also, just to test the rank function I have replaced the c= olumn variable with fst.send_sku_retail_price_amt_lcy but that did not work= either. Does any one know how to use the RANK function in SQR? please let me know w= hat I'm doing wrong here. =20 Thank you _________________________________________________________________ Fixing up the home? Live Search can help. http://imagine-windowslive.com/search/kits/default.aspx?kit=3Dimprove&local= e=3Den-US&source=3Dwlmemailtaglinenov06 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Jan 08 17:54:09 2007 From: tam kag Subject: RE: [sqr-users] RANK function Date: Mon, 8 Jan 2007 22:51:34 +0000 for some reason the line feed and carriage return was removed from the code= , I will try again =20 begin-select -- -- -- store.company_number &company_numbersku8 numbersku8.sku_6_digit &sku6_digit (,10) sum(fst.current_send_store_qty) &transfered_qty (,20) sum(fst.send_sku_retail_price_amt_lcy * fst.current_send_store_qty) &transf= ered_price=20 rank() over (partition by store.company_number,sku8.sku_6_digit order by &t= ransfered_price) &temp (,40) -- -- -- end-select > From: kaghdot@hotmail.com> To: sqr-users@sqrug.org> Date: Mon, 8 Jan 2007= 22:20:44 +0000> Subject: [sqr-users] RANK function> > Hello,> I'm in the p= rocess of writing a top 10 report. I want to take advantage of the DB2 func= tion RANK> Here is the relevant code in the begin-select block:> begin-sele= ct...store.company_number &company_numbersku8.sku_6_digit &sku6_digit (,10)= sum(fst.current_send_store_qty) &transfered_qty (,20)sum(fst.send_sku_retai= l_price_amt_lcy * fst.current_send_store_qty) &transfered_price rank() over= (partition by store.company_number,sku8.sku_6_digit order by &transfered_p= rice) &temp (,40)...end-select> I know that putting a SQR column variable i= s not correct but I want to rank by that metric. Also, just to test the ran= k function I have replaced the column variable with fst.send_sku_retail_pri= ce_amt_lcy but that did not work either.> Does any one know how to use the = RANK function in SQR? please let me know what I'm doing wrong here.> > Than= k you> _________________________________________________________________> F= ixing up the home? Live Search can help.> http://imagine-windowslive.com/se= arch/kits/default.aspx?kit=3Dimprove&locale=3Den-US&source=3Dwlmemailtaglin= enov06> > _______________________________________________> sqr-users mailin= g list> sqr-users@sqrug.org> http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Fixing up the home? Live Search can help. http://imagine-windowslive.com/search/kits/default.aspx?kit=3Dimprove&local= e=3Den-US&source=3Dwlmemailtaglinenov06 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Jan 08 20:29:21 2007 From: "Paul Hoyte" Subject: RE: [sqr-users] RANK function Date: Mon, 8 Jan 2007 20:27:03 -0500 Tam: select empnum &empnum Dept &dept Salary &salary rank() over (partition by dept order by salary desc nulls last) as rank &rank1 dense_rank() over (partition by dept order by salary desc nulls last) as denserank &rank2 row_number() over (partition by dept order by salary desc nulls last)as rownumber &rank3 from emptab Don't forget to use the "as fieldname" then the SQR &column_name Paul Hoyte (248) 752-6970 pa_hoyte@si-proservices.com -----Original Message----- From: sqr-users-bounces+pi_hoyte=si-proservices.com@sqrug.org [mailto:sqr-users-bounces+pi_hoyte=si-proservices.com@sqrug.org] On Behalf Of tam kag Sent: Monday, January 08, 2007 5:52 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] RANK function for some reason the line feed and carriage return was removed from the code, I will try again begin-select -- -- -- store.company_number &company_numbersku8 numbersku8.sku_6_digit &sku6_digit (,10) sum(fst.current_send_store_qty) &transfered_qty (,20) sum(fst.send_sku_retail_price_amt_lcy * fst.current_send_store_qty) &transfered_price rank() over (partition by store.company_number,sku8.sku_6_digit order by &transfered_price) &temp (,40) -- -- -- end-select > From: kaghdot@hotmail.com> To: sqr-users@sqrug.org> Date: Mon, 8 Jan 2007 22:20:44 +0000> Subject: [sqr-users] RANK function> > Hello,> I'm in the process of writing a top 10 report. I want to take advantage of the DB2 function RANK> Here is the relevant code in the begin-select block:> begin-select...store.company_number &company_numbersku8.sku_6_digit &sku6_digit (,10)sum(fst.current_send_store_qty) &transfered_qty (,20)sum(fst.send_sku_retail_price_amt_lcy * fst.current_send_store_qty) &transfered_price rank() over (partition by store.company_number,sku8.sku_6_digit order by &transfered_price) &temp (,40)...end-select> I know that putting a SQR column variable is not correct but I want to rank by that metric. Also, just to test the rank function I have replaced the column variable with fst.send_sku_retail_price_amt_lcy but that did not work either.> Does any one know how to use the RANK function in SQR? please let me know what I'm doing wrong here.> > Thank you> _________________________________________________________________> Fixing up the home? Live Search can help.> http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=e n-US&source=wlmemailtaglinenov06> > _______________________________________________> sqr-users mailing list> sqr-users@sqrug.org> http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Fixing up the home? Live Search can help. http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=e n-US&source=wlmemailtaglinenov06 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 09 12:21:29 2007 From: tam kag Subject: RE: [sqr-users] RANK function Date: Tue, 9 Jan 2007 17:18:35 +0000 Thanks Paul, =20 unfortunately that didn't work; I'm getting the following error: (SQR 1305) CMPSQL: Unknown data type in database: 492. =20 The program runs without issues when I comment the line with the rank funct= ion, to make sure its not the rest of my program causing the error. =20 =20 > From: pi_hoyte@si-proservices.com> To: sqr-users@sqrug.org> Subject: RE: = [sqr-users] RANK function> Date: Mon, 8 Jan 2007 20:27:03 -0500> > Tam:> > = select empnum &empnum> Dept &dept> Salary &salary> rank() over (partition b= y dept order by salary desc nulls last) as rank> &rank1> dense_rank() over = (partition by dept order by salary desc nulls last) as> denserank &rank2> r= ow_number() over (partition by dept order by salary desc nulls last)as> row= number &rank3> from emptab> > Don't forget to use the "as fieldname" then t= he SQR &column_name> > Paul Hoyte> (248) 752-6970> pa_hoyte@si-proservices.= com> > -----Original Message-----> From: sqr-users-bounces+pi_hoyte=3Dsi-pr= oservices.com@sqrug.org> [mailto:sqr-users-bounces+pi_hoyte=3Dsi-proservice= s.com@sqrug.org] On Behalf> Of tam kag> Sent: Monday, January 08, 2007 5:52= PM> To: sqr-users@sqrug.org> Subject: RE: [sqr-users] RANK function> > for= some reason the line feed and carriage return was removed from the code,> = I will try again> > begin-select> --> --> --> store.company_number &company= _numbersku8 numbersku8.sku_6_digit &sku6_digit> (,10)> sum(fst.current_send= _store_qty) &transfered_qty (,20)> sum(fst.send_sku_retail_price_amt_lcy * = fst.current_send_store_qty)> &transfered_price> rank() over (partition by s= tore.company_number,sku8.sku_6_digit order by> &transfered_price) &temp (,4= 0)> --> --> --> end-select> > > > > From: kaghdot@hotmail.com> To: sqr-user= s@sqrug.org> Date: Mon, 8 Jan 2007> 22:20:44 +0000> Subject: [sqr-users] RA= NK function> > Hello,> I'm in the> process of writing a top 10 report. I wa= nt to take advantage of the DB2> function RANK> Here is the relevant code i= n the begin-select block:>> begin-select...store.company_number &company_nu= mbersku8.sku_6_digit> &sku6_digit (,10)sum(fst.current_send_store_qty) &tra= nsfered_qty> (,20)sum(fst.send_sku_retail_price_amt_lcy * fst.current_send_= store_qty)> &transfered_price rank() over (partition by> store.company_numb= er,sku8.sku_6_digit order by &transfered_price) &temp> (,40)...end-select> = I know that putting a SQR column variable is not correct> but I want to ran= k by that metric. Also, just to test the rank function I> have replaced the= column variable with fst.send_sku_retail_price_amt_lcy but> that did not w= ork either.> Does any one know how to use the RANK function in> SQR? please= let me know what I'm doing wrong here.> > Thank you>> ____________________= _____________________________________________> Fixing up> the home? Live Se= arch can help.>> http://imagine-windowslive.com/search/kits/default.aspx?ki= t=3Dimprove&locale=3De> n-US&source=3Dwlmemailtaglinenov06> >> ____________= ___________________________________> sqr-users mailing list>> sqr-users@sqr= ug.org> http://www.sqrug.org/mailman/listinfo/sqr-users> __________________= _______________________________________________> Fixing up the home? Live S= earch can help.> http://imagine-windowslive.com/search/kits/default.aspx?ki= t=3Dimprove&locale=3De> n-US&source=3Dwlmemailtaglinenov06> > _____________= __________________________________> sqr-users mailing list> sqr-users@sqrug= .org> http://www.sqrug.org/mailman/listinfo/sqr-users> > > ________________= _______________________________> sqr-users mailing list> sqr-users@sqrug.or= g> http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Type your favorite song.=A0 Get a customized station.=A0 Try MSN Radio powe= red by Pandora. http://radio.msn.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 10 01:34:12 2007 Date: Tue, 9 Jan 2007 22:31:22 -0800 (PST) From: mimi bekele Subject: [sqr-users] (no subject) Does anyone know if reading RTF file allowed in SQR V. 6.0? =20 ___________________________________________________________________________= _________ Have a burning question?=20=20 Go to www.Answers.yahoo.com and get answers from real people who know. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 10 07:01:26 2007 From: "the dragon" Subject: RE: [sqr-users] (no subject) Date: Wed, 10 Jan 2007 05:57:57 -0600 You can read any type of file, I believe, but whether the data will be in a type of input to be usable, that's the real question. Or more bluntly, you can, but you don't want to. this is what the inside of an rtf file looks like in a text editor... {\rtf1\ansi\ansicpg1252\uc1 \deff0\deflang1033\deflangfe1033{\fonttbl{\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f6\fmodern\fcharset0\fprq1{\*\panose 00000000000000000000}Courier;} {\f45\fswiss\fcharset0\fprq2{\*\panose 020b0a04020102020204}Arial Black;}{\f69\froman\fcharset238\fprq2 Times New Roman CE;}{\f70\froman\fcharset204\fprq2 Times New Roman Cyr;}{\f72\froman\fcharset161\fprq2 Times New Roman Greek;} {\f73\froman\fcharset162\fprq2 Times New Roman Tur;}{\f74\froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f75\froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f76\froman\fcharset186\fprq2 Times New Roman Baltic;} {\f429\fswiss\fcharset238\fprq2 Arial Black CE;}{\f430\fswiss\fcharset204\fprq2 Arial Black Cyr;}{\f432\fswiss\fcharset161\fprq2 Arial Black Greek;}{\f433\fswiss\fcharset162\fprq2 Arial Black Tur;}{\f436\fswiss\fcharset186\fprq2 Arial Black Baltic;}} {\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0; \red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}{\stylesheet{\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs20\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \snext0 Normal;}{\*\cs10 \additive Default Paragraph Font;}}{\info{\title test}{\author Clark 'the dragon' Willis}{\operator Clark 'the dragon' Willis}{\creatim\yr2007\mo1\dy10\hr5\min49} {\revtim\yr2007\mo1\dy10\hr5\min50}{\version1}{\edmins1}{\nofpages1}{\nofwords0}{\nofchars0}{\*\company Dragon Enterprises}{\nofcharsws0}{\vern8269}} \widowctrl\ftnbj\aenddoc\noxlattoyen\expshrtn\noultrlspc\dntblnsbdb\nospaceforul\formshade\horzdoc\dghspace180\dgvspace180\dghorigin1701\dgvorigin1984\dghshow0\dgvshow0\jexpand\viewkind1\viewscale100\pgbrdrhead\pgbrdrfoot\nolnhtadjtbl \fet0\sectd \linex0\endnhere\sectdefaultcl {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang{\pntxta .}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang{\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang{\pntxta .}}{\*\pnseclvl4 \pnlcltr\pnstart1\pnindent720\pnhang{\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang{\pntxtb (} {\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}\pard\plain \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs20\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {test\tab test \par }{\f6 test \par \par }{\f45 test \par \par }{\f45\fs36 test \par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 {\f45\fs36 \par }} As you vcan see, there is a lot of formatting crap, because rtf stands for rich text format. I believe it was designed to allow word documents to be imported and exported between word editors before companies started providing APIs. (http://en.wikipedia.org/wiki/Rtf) (http://en.wikipedia.org/wiki/API) The words you're looking for are "test". If you want to put in coding to wade through all the extraneous stuff, have fun, but it seems like a waste of time to me - have the file created as .txt, or .csv or something that would be considered a "flat" file. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca ----Original Message Follows---- Does anyone know if reading RTF file allowed in SQR V. 6.0? _________________________________________________________________ Get FREE Web site and company branded e-mail from Microsoft Office Live http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 10 13:18:43 2007 From: "Melissa Teator" Date: Wed, 10 Jan 2007 13:15:41 -0500 Subject: [sqr-users] SQR Help I am new to SQR and am trying to write a program that looks at tables=20 on 2 different schemas. Then using a column name determines if any=20 rows are duplicates. If it is a duplicate then deletes the row in one=20 of the schemas. Any idea on the best way to approach this? I will be=20 reading in table names and column names from a file. Any help is=20 appreciated! Thanks! -M=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 10 13:48:44 2007 From: "the dragon" Subject: RE: [sqr-users] SQR Help Date: Wed, 10 Jan 2007 12:46:06 -0600 do a search on the archives at sqrug.com. Other than that, have your DBA create a database link between the databases and reference it in the code. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca ----Original Message Follows---- I am new to SQR and am trying to write a program that looks at tables on 2 different schemas. Then using a column name determines if any rows are duplicates. If it is a duplicate then deletes the row in one of the schemas. Any idea on the best way to approach this? I will be reading in table names and column names from a file. Any help is appreciated! Thanks! -M _________________________________________________________________ Your Hotmail address already works to sign into Windows Live Messenger! Get it now http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 10 15:03:15 2007 From: tam kag Subject: RE: [sqr-users] RANK function Date: Wed, 10 Jan 2007 20:00:35 +0000 Well.... I figured it out =20 all it needs is to wrap the RANK function with INTEGER or CHAR function. =20 =20 From: kaghdot@hotmail.comTo: sqr-users@sqrug.orgSubject: RE: [sqr-users] RA= NK functionDate: Tue, 9 Jan 2007 17:18:35 +0000 Thanks Paul, unfortunately that didn't work; I'm getting the following erro= r:(SQR 1305) CMPSQL: Unknown data type in database: 492. The program runs w= ithout issues when I comment the line with the rank function, to make sure = its not the rest of my program causing the error.=20=20 > From: pi_hoyte@si-proservices.com> To: sqr-users@sqrug.org> Subject: RE: = [sqr-users] RANK function> Date: Mon, 8 Jan 2007 20:27:03 -0500> > Tam:> > = select empnum &empnum> Dept &dept> Salary &salary> rank() over (partition b= y dept order by salary desc nulls last) as rank> &rank1> dense_rank() over = (partition by dept order by salary desc nulls last) as> denserank &rank2> r= ow_number() over (partition by dept order by salary desc nulls last)as> row= number &rank3> from emptab> > Don't forget to use the "as fieldname" then t= he SQR &column_name> > Paul Hoyte> (248) 752-6970> pa_hoyte@si-proservices.= com> > -----Original Message-----> From: sqr-users-bounces+pi_hoyte=3Dsi-pr= oservices.com@sqrug.org> [mailto:sqr-users-bounces+pi_hoyte=3Dsi-proservice= s.com@sqrug.org] On Behalf> Of tam kag> Sent: Monday, January 08, 2007 5:52= PM> To: sqr-users@sqrug.org> Subject: RE: [sqr-users] RANK function> > for= some reason the line feed and carriage return was removed from the code,> = I will try again> > begin-select> --> --> --> store.company_number &company= _numbersku8 numbersku8.sku_6_digit &sku6_digit> (,10)> sum(fst.current_send= _store_qty) &transfered_qty (,20)> sum(fst.send_sku_retail_price_amt_lcy * = fst.current_send_store_qty)> &transfered_price> rank() over (partition by s= tore.company_number,sku8.sku_6_digit order by> &transfered_price) &temp (,4= 0)> --> --> --> end-select> > > > > From: kaghdot@hotmail.com> To: sqr-user= s@sqrug.org> Date: Mon, 8 Jan 2007> 22:20:44 +0000> Subject: [sqr-users] RA= NK function> > Hello,> I'm in the> process of writing a top 10 report. I wa= nt to take advantage of the DB2> function RANK> Here is the relevant code i= n the begin-select block:>> begin-select...store.company_number &company_nu= mbersku8.sku_6_digit> &sku6_digit (,10)sum(fst.current_send_store_qty) &tra= nsfered_qty> (,20)sum(fst.send_sku_retail_price_amt_lcy * fst.current_send_= store_qty)> &transfered_price rank() over (partition by> store.company_numb= er,sku8.sku_6_digit order by &transfered_price) &temp> (,40)...end-select> = I know that putting a SQR column variable is not correct> but I want to ran= k by that metric. Also, just to test the rank function I> have replaced the= column variable with fst.send_sku_retail_price_amt_lcy but> that did not w= ork either.> Does any one know how to use the RANK function in> SQR? please= let me know what I'm doing wrong here.> > Thank you>> ____________________= _____________________________________________> Fixing up> the home? Live Se= arch can help.>> http://imagine-windowslive.com/search/kits/default.aspx?ki= t=3Dimprove&locale=3De> n-US&source=3Dwlmemailtaglinenov06> >> ____________= ___________________________________> sqr-users mailing list>> sqr-users@sqr= ug.org> http://www.sqrug.org/mailman/listinfo/sqr-users> __________________= _______________________________________________> Fixing up the home? Live S= earch can help.> http://imagine-windowslive.com/search/kits/default.aspx?ki= t=3Dimprove&locale=3De> n-US&source=3Dwlmemailtaglinenov06> > _____________= __________________________________> sqr-users mailing list> sqr-users@sqrug= .org> http://www.sqrug.org/mailman/listinfo/sqr-users> > > ________________= _______________________________> sqr-users mailing list> sqr-users@sqrug.or= g> http://www.sqrug.org/mailman/listinfo/sqr-users Get free, personalized online radio with MSN Radio powered by Pandora. Try = it!=20 _________________________________________________________________ Type your favorite song.=A0 Get a customized station.=A0 Try MSN Radio powe= red by Pandora. http://radio.msn.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 10 15:16:02 2007 From: "Franck Masson" Subject: RE: [sqr-users] (no subject) Date: Wed, 10 Jan 2007 21:16:34 +0100 RTF file is ascii file, so you can read these file in SQR . Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org]On Behalf Of mimi bekele Sent: mercredi 10 janvier 2007 07:31 To: sqr-users@sqrug.org Subject: [sqr-users] (no subject) Does anyone know if reading RTF file allowed in SQR V. 6.0? ____________________________________________________________________________ ________ Have a burning question? Go to www.Answers.yahoo.com and get answers from real people who know. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 10 16:21:37 2007 Subject: RE: [sqr-users] SQR Help Date: Wed, 10 Jan 2007 15:19:23 -0600 From: "Knapp, Richard" Hi Melissa, For this kind of application (volume repetitive comparisons) I like to use arrays. To do this in your case I would load the values of the column you want to compare and the key column(s) (from the smaller table if there is a significant difference in size) into an array. Then get a column value from the other table and rip through the array looking for a match. If you find one before you get to the end, do the delete. If not, go to the next record's value. Richard Knapp AITS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu =20 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Melissa Teator Sent: Wednesday, January 10, 2007 12:16 PM To: sqr-users@sqrug.org Subject: [sqr-users] SQR Help I am new to SQR and am trying to write a program that looks at tables=20 on 2 different schemas. Then using a column name determines if any=20 rows are duplicates. If it is a duplicate then deletes the row in one=20 of the schemas. Any idea on the best way to approach this? I will be=20 reading in table names and column names from a file. Any help is=20 appreciated! Thanks! -M=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 11 00:02:13 2007 Date: Wed, 10 Jan 2007 20:59:23 -0800 (PST) From: Noah Panayotis Subject: [sqr-users] reading a word doc Hi, I was wondering if anyone knows how to create letters dynamically using a source file as an input in SQR. The source file usually will contain graphics and the actual letter. The sqr program is supposed to read this source file and generate a postscript letter by adding mailing address on the header. Any comment , suggestion is welcome Thanks --------------------------------- Have a burning question? Go to Yahoo! Answers and get answers from real people who know. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 11 01:04:38 2007 From: "R Gumbo" Subject: RE: [sqr-users] SQR Help Date: Thu, 11 Jan 2007 08:05:24 +0200 I suggest you have aa number of procedures to handle this Procedure one select column value from schema number one procedure two select column value from second schema where the column value is equal to the one found by procedure one procedure number three deletes rows found in procdure two and is called from procedure number two Then do the same now driving from schema number two -----Original Message----- From: sqr-users-bounces+rgumbo=cottco.co.zw@sqrug.org [mailto:sqr-users-bounces+rgumbo=cottco.co.zw@sqrug.org]On Behalf Of Melissa Teator Sent: Wednesday, January 10, 2007 8:16 PM To: sqr-users@sqrug.org Subject: [sqr-users] SQR Help I am new to SQR and am trying to write a program that looks at tables on 2 different schemas. Then using a column name determines if any rows are duplicates. If it is a duplicate then deletes the row in one of the schemas. Any idea on the best way to approach this? I will be reading in table names and column names from a file. Any help is appreciated! Thanks! -M _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 11 08:32:39 2007 Date: Thu, 11 Jan 2007 08:29:31 -0500 From: "George Jansen" Subject: Re: [sqr-users] reading a word doc Do you have a compelling reason not to use the built-in mail merge feature = of Word? It certainly strikes me as the easiest answer. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 11 08:56:04 2007 Date: Thu, 11 Jan 2007 08:52:20 -0500 From: "Overcashier, Patricia" Subject: [sqr-users] Mexican Training Reports delivered in PeopleSoft I am having troubles with the Mexican training report that is delivered in PeopleSoft. It is the DC-4 report (mxstp007) The one that is delivered does not contain any of the optional data that is requested by the Mexican government. I have searched the PeopleSoft database, created a new PeopleSoft case, and inquired in the PeopleSoft discussion group with no success. So, I figured I would turn to the sqr users group to see if any of you have encountered any issues with the DC-4 report not containing any of the optional data. Any help is appreciated! Thanks! Patti Overcashier Information Technology - PeopleSoft American Axle & Manufacturing, Inc. Detroit Gear Plant 3 1840 Holbrook Detroit, MI 48212 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 11 09:01:41 2007 Subject: RE: [sqr-users] reading a word doc Date: Thu, 11 Jan 2007 08:53:32 -0500 From: "Beller, Jay" -----Original Message----- From: sqr-users-bounces+jbeller=3Dlbisoftware.com@sqrug.org [mailto:sqr-users-bounces+jbeller=3Dlbisoftware.com@sqrug.org]On Behalf Of Noah Panayotis Sent: Wednesday, January 10, 2007 11:59 PM To: sqr-users@sqrug.org Subject: [sqr-users] reading a word doc Hi, I was wondering if anyone knows how to create letters dynamically using= a source file as an input in SQR. The source file usually will contain gra= phics and the actual letter. The sqr program is supposed to read this sourc= e file and generate a postscript letter by adding mailing address on the he= ader. =20=20=20 Any comment , suggestion is welcome =20=20=20 Thanks =20 --------------------------------- Have a burning question? Go to Yahoo! Answers and get answers from real peo= ple who know. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 11 09:12:19 2007 Subject: RE: [sqr-users] reading a word doc Date: Thu, 11 Jan 2007 09:05:20 -0500 From: "Beller, Jay" Here's a suggestion if this is only one style of letter with multiple outpu= t using SQR-retrieved mailing address (i.e., mail merge). Use an existing output file of the letter as a template (print-to-file from= windows). You'll need at least a two page letter. Examine the postscript f= ile in a text editor. Place the pre-address portion of the first letter int= o one file and the post-address portion, including page-break commands, int= o another file. Also, look at any postscript formatting that may be embedde= d within the address lines. In your SQR program, read the pre-address file into one array and the post-= address file into a second array. For every address that your SQR program = retrieves: dump the pre-address array; write the address (with any embedded= postscript noted previously); dump the post-address array. Not as simple as George's suggestion to use WORD's mail merge (i.e., let yo= ur SQR program generate the addresses that are then used by WORD in a mail = merge), but it should work. Jay -----Original Message----- From: sqr-users-bounces+jbeller=3Dlbisoftware.com@sqrug.org [mailto:sqr-users-bounces+jbeller=3Dlbisoftware.com@sqrug.org]On Behalf Of Noah Panayotis Sent: Wednesday, January 10, 2007 11:59 PM To: sqr-users@sqrug.org Subject: [sqr-users] reading a word doc Hi, I was wondering if anyone knows how to create letters dynamically using= a source file as an input in SQR. The source file usually will contain gra= phics and the actual letter. The sqr program is supposed to read this sourc= e file and generate a postscript letter by adding mailing address on the he= ader. =20=20=20 Any comment , suggestion is welcome =20=20=20 Thanks =20 --------------------------------- Have a burning question? Go to Yahoo! Answers and get answers from real peo= ple who know. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 11 09:26:01 2007 Date: Thu, 11 Jan 2007 06:23:19 -0800 (PST) From: Arun Kumar Subject: Re: [sqr-users] reading a word doc Noah, Mail merge is probably is the easiest. The word documents are in Proprietary format any way. It will be jibberish = if you try to open them SQR. Remember you could add the graphics,contents in sqr and get closer to a wor= d document too. ----- Original Message ---- From: George Jansen To: sqr-users@sqrug.org Sent: Thursday, January 11, 2007 8:29:31 AM Subject: Re: [sqr-users] reading a word doc Do you have a compelling reason not to use the built-in mail merge feature = of Word? It certainly strikes me as the easiest answer. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20 ___________________________________________________________________________= _________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 11 10:06:43 2007 Date: Thu, 11 Jan 2007 10:03:57 -0500 From: "George Jansen" Subject: RE: [sqr-users] reading a word doc Just a minor point: within Word you can pull your merge data directly from = the database using Microsoft Query. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jan 12 02:42:16 2007 From: Rahul_Kumar@adp.com Date: Fri, 12 Jan 2007 02:39:42 -0500 Subject: [sqr-users] searching for a string in pdf file Hi, I am trying to search for a particular string in a pdf file using my sqr. Can someone help me out ? Rahul Kumar ----------------------------------------- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, notify the sender immediately by return email and delete the message and any attachments from your system. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jan 12 02:48:28 2007 Date: Fri, 12 Jan 2007 13:16:21 +0530 From: "nag raj" Subject: Re: [sqr-users] searching for a string in pdf file r u ruuning ur progrrame from peoplesoft PIA ? Regards, Raju. On 1/12/07, Rahul_Kumar@adp.com wrote: > > Hi, > > I am trying to search for a particular string in a pdf file using my sqr. > Can someone help me out ? > > > > Rahul Kumar > > > > > > ----------------------------------------- > This message and any attachments are intended only for the use of > the addressee and may contain information that is privileged and > confidential. If the reader of the message is not the intended > recipient or an authorized representative of the intended > recipient, you are hereby notified that any dissemination of this > communication is strictly prohibited. If you have received this > communication in error, notify the sender immediately by return > email and delete the message and any attachments from your system. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jan 12 06:50:51 2007 From: "the dragon" Subject: Re: [sqr-users] searching for a string in pdf file Date: Fri, 12 Jan 2007 05:47:30 -0600 Please do not take this as a personal attack, but please, if you're going to use this group, have the courtesy and professionalism to spell out your words rather than using IM shorthand. It does not take that muck more time or effort to spell out the words completely, and you don't end up looking like an idiot who can't spell.... are you ruuning your progrrame from peoplesoft PIA looks so much more intelligent than r u ruuning ur progrrame from peoplesoft PIA peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca ----Original Message Follows---- r u ruuning ur progrrame from peoplesoft PIA ? Regards, Raju. On 1/12/07, Rahul_Kumar@adp.com wrote: > >Hi, > >I am trying to search for a particular string in a pdf file using my sqr. >Can someone help me out ? > > > >Rahul Kumar > > _________________________________________________________________ Find sales, coupons, and free shipping, all in one place!  MSN Shopping Sales & Deals http://shopping.msn.com/content/shp/?ctid=198,ptnrid=176,ptnrdata=200639 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jan 12 06:57:58 2007 From: Rahul_Kumar@adp.com Subject: RE: [sqr-users] searching for a string in pdf file Date: Fri, 12 Jan 2007 06:54:46 -0500 No ...i am running the program from sqrw...and actually I am not really=0D working on peoplesoft but we use sqr for generating our reports. So it woul= d=0D be nice if someone can help.=0D =0D Rahul Kumar=0D =0D =0D -- No trees were killed in the sending of this message. However a large=0D number of electrons were terribly inconvenienced.=0D =0D =0D -----Original Message-----=0D From: the dragon [mailto:ceprn@hotmail.com] =0D Sent: Friday, January 12, 2007 5:18 PM=0D To: sqr-users@sqrug.org=0D Subject: Re: [sqr-users] searching for a string in pdf file=0D =0D Please do not take this as a personal attack, but please, if you're going t= o=0D =0D use this group, have the courtesy and professionalism to spell out your =0D words rather than using IM shorthand.=0D =0D It does not take that muck more time or effort to spell out the words =0D completely, and you don't end up looking like an idiot who can't spell....= =0D =0D are you ruuning your progrrame from peoplesoft PIA=0D =0D looks so much more intelligent than=0D =0D r u ruuning ur progrrame from peoplesoft PIA=0D =0D peace,=0D clark 'the dragon' willis=0D =0D =0D =0D PSA: Salary <> Slavery. If you earn a salary, your employer is renting your= =0D services for 40 hours a week, not purchasing your soul. Your time is the = =0D only real finite asset that you have, and once used it can never be =0D recovered, so don't waste it by giving it away.=0D =0D I work to live; I don't live to work.=0D =0D "Time is the coin of your life. It is the only coin you have, and only you = =0D can determine how it will be spent. Be careful lest you let other people = =0D spend it for you." -- Carl Sandburg (1878 - 1967)=0D =0D It is impossible to defeat an ignorant man in argument. -- William G. McAdo= o=0D =0D Religion is regarded by the common people as true, by the wise as false, an= d=0D =0D by the rulers as useful. -- Seneca=0D =0D =0D =0D =0D ----Original Message Follows----=0D =0D r u ruuning ur progrrame from peoplesoft PIA ?=0D =0D Regards,=0D Raju.=0D =0D On 1/12/07, Rahul_Kumar@adp.com wrote:=0D >=0D >Hi,=0D >=0D >I am trying to search for a particular string in a pdf file using my sqr.= =0D >Can someone help me out ?=0D >=0D >=0D >=0D >Rahul Kumar=0D >=0D >=0D =0D _________________________________________________________________=0D Find sales, coupons, and free shipping, all in one place! =A0MSN Shopping = =0D Sales & Deals =0D http://shopping.msn.com/content/shp/?ctid=3D198,ptnrid=3D176,ptnrdata=3D200= 639=0D =0D =0D _______________________________________________=0D sqr-users mailing list=0D sqr-users@sqrug.org=0D http://www.sqrug.org/mailman/listinfo/sqr-users=0D -----------------------------------------=0D This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, notify the sender immediately by return email and delete the message and any attachments from your system. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jan 12 07:04:25 2007 Date: Fri, 12 Jan 2007 17:26:58 +0530 From: Sanjay Sambhe Subject: RE: [sqr-users] searching for a string in pdf file No ..clark...Its a ittalian language vich I have used ... Thnku & reagrdes -----Original Message----- From: sqr-users-bounces+ssambhe=3Dcisco.com@sqrug.org [mailto:sqr-users-bounces+ssambhe=3Dcisco.com@sqrug.org] On Behalf Of the dragon Sent: Friday, January 12, 2007 5:18 PM To: sqr-users@sqrug.org Subject: Re: [sqr-users] searching for a string in pdf file Please do not take this as a personal attack, but please, if you're going to use this group, have the courtesy and professionalism to spell out your words rather than using IM shorthand. It does not take that muck more time or effort to spell out the words completely, and you don't end up looking like an idiot who can't spell.... are you ruuning your progrrame from peoplesoft PIA looks so much more intelligent than r u ruuning ur progrrame from peoplesoft PIA peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca ----Original Message Follows---- r u ruuning ur progrrame from peoplesoft PIA ? Regards, Raju. On 1/12/07, Rahul_Kumar@adp.com wrote: > >Hi, > >I am trying to search for a particular string in a pdf file using my sqr. >Can someone help me out ? > > > >Rahul Kumar > > _________________________________________________________________ Find sales, coupons, and free shipping, all in one place! =A0MSN Shopping= =20 Sales & Deals=20 http://shopping.msn.com/content/shp/?ctid=3D198,ptnrid=3D176,ptnrdata=3D200= 639 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jan 12 07:11:01 2007 From: "the dragon" Subject: RE: [sqr-users] searching for a string in pdf file Date: Fri, 12 Jan 2007 06:07:25 -0600 To answer your question... I think you'd have to open it like any other text file - and if you ope a pdf file with a text editor, it looks like below - so I do not think you can search a pdf using sqr, unless you can find an API into adobe acrobat reader and use a system call... è´~â×ct– nàŒL||5õ€†YÁms`njøçSÓ]kNW LžêDÿxÞñýh{;³%ü˜´„¨Šz÷ÛUÐG²-½ AÝX´PYÒU2¤þû"2ÔùEYûnÄÖ¡AF¶Ôn-V,ãrF°9›Ûª)i©ŠÖÜN ÃeP‰p¨Î×éWl Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca ----Original Message Follows---- No ...i am running the program from sqrw...and actually I am not really working on peoplesoft but we use sqr for generating our reports. So it would be nice if someone can help. Rahul Kumar -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -----Original Message----- Please do not take this as a personal attack, but please, if you're going to use this group, have the courtesy and professionalism to spell out your words rather than using IM shorthand. It does not take that muck more time or effort to spell out the words completely, and you don't end up looking like an idiot who can't spell.... are you ruuning your progrrame from peoplesoft PIA looks so much more intelligent than r u ruuning ur progrrame from peoplesoft PIA peace, clark 'the dragon' willis ----Original Message Follows---- r u ruuning ur progrrame from peoplesoft PIA ? Regards, Raju. On 1/12/07, Rahul_Kumar@adp.com wrote: > >Hi, > >I am trying to search for a particular string in a pdf file using my sqr. >Can someone help me out ? > > > >Rahul Kumar > > _________________________________________________________________ _________________________________________________________________ Communicate instantly! Use your Hotmail address to sign into Windows Live Messenger now. http://get.live.com/messenger/overview _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jan 12 09:25:26 2007 Date: Fri, 12 Jan 2007 06:22:46 -0800 (PST) From: Arun Kumar Subject: Re: [sqr-users] searching for a string in pdf file First option: I have used similar technique to convert excel spread to ascii file then lo= ad them into tables. Using ADOBE writer you can export the .pdf into many different file format. you can export the pdf to a ascii file. If adobe doesnt suppport command line option then you can try many software= s that can convert PDF to txt files via command line. Second option: I dont think its possible and I havent done this myself. Just thinking aloud.=20 -PRINTER:PD - This command line flag can be used to produce PDF complaint o= utput file. This indicates that SQR does know about the Adobe's internal format, unless= adobe uses a universal format similar to SYLK. I am not sure whether this = can be tried. ----- Original Message ---- From: the dragon To: sqr-users@sqrug.org Cc: Rahul_Kumar@adp.com Sent: Friday, January 12, 2007 7:07:25 AM Subject: RE: [sqr-users] searching for a string in pdf file To answer your question... I think you'd have to open it like any other=20 text file - and if you ope a pdf file with a text editor, it looks like=20 below - so I do not think you can search a pdf using sqr, unless you can=20 find an API into adobe acrobat reader and use a system call... =E8=B4~=E2=D7ct=96n=E0=8CL||5=F5=80=86Y=C1ms`nj=F8=E7S=D3]kNW=20 L=9E=EAD=FFx=DE=F1=FDh{; =B3%=FC=98=B4=84=A8=8Az=F7=DBU=D0G=B2-=BD A=DDX=B4PY=D2U2=A4=FE=FB"2=D4=F9EY=FB n=C4=D6=A1AF=B6=D4n-V,=E3rF=B09=9B=DB= =AA)i=A9=8A=D6=DCN =C3eP=89p=A8=CE=D7=E9Wl Slavery. If you earn a salary, your employer is renting your= =20 services for 40 hours a week, not purchasing your soul. Your time is the=20 only real finite asset that you have, and once used it can never be=20 recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you= =20 can determine how it will be spent. Be careful lest you let other people=20 spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, an= d=20 by the rulers as useful. -- Seneca ----Original Message Follows---- No ...i am running the program from sqrw...and actually I am not really working on peoplesoft but we use sqr for generating our reports. So it would be nice if someone can help. Rahul Kumar -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -----Original Message----- Please do not take this as a personal attack, but please, if you're going to use this group, have the courtesy and professionalism to spell out your words rather than using IM shorthand. It does not take that muck more time or effort to spell out the words completely, and you don't end up looking like an idiot who can't spell.... are you ruuning your progrrame from peoplesoft PIA looks so much more intelligent than r u ruuning ur progrrame from peoplesoft PIA peace, clark 'the dragon' willis ----Original Message Follows---- r u ruuning ur progrrame from peoplesoft PIA ? Regards, Raju. On 1/12/07, Rahul_Kumar@adp.com wrote: > >Hi, > >I am trying to search for a particular string in a pdf file using my sqr. >Can someone help me out ? > > > >Rahul Kumar > > _________________________________________________________________ _________________________________________________________________ Communicate instantly! Use your Hotmail address to sign into Windows Live= =20 Messenger now. http://get.live.com/messenger/overview _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20 ___________________________________________________________________________= _________ Need a quick answer? Get one in minutes from people who know. Ask your question on www.Answers.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jan 12 09:31:58 2007 Date: Fri, 12 Jan 2007 09:29:59 -0500 From: "White . Denise" Subject: [sqr-users] RE: SQR Help Hi Melissa, As you already can see, there are a number of ways to do what you want. Here is another: As someone mentioned, have your DBA create a database link between the two databases so that you can reference both in the same SQR. Then just do a join between the two tables on the column you are looking for duplicates in, selecting the keys of the table you want to delete from. Any rows returned are a match, and therefore a duplicate, so you can use the returned key values to do the delete. Denise M. White EBS Programmer/Analyst III Dynamics Research Corporation ------------------------------ Message: 2 Date: Wed, 10 Jan 2007 13:15:41 -0500 From: "Melissa Teator" Subject: [sqr-users] SQR Help To: Message-ID: <005b01c734e3$56c3c6c0$6401a8c0@TAGCT.local> Content-Type: text/plain; charset=3D"iso-8859-1" I am new to SQR and am trying to write a program that looks at tables=20 on 2 different schemas. Then using a column name determines if any=20 rows are duplicates. If it is a duplicate then deletes the row in one=20 of the schemas. Any idea on the best way to approach this? I will be=20 reading in table names and column names from a file. Any help is=20 appreciated! Thanks! -M=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jan 12 17:20:59 2007 From: "Franck Masson" Subject: RE: [sqr-users] searching for a string in pdf file Date: Fri, 12 Jan 2007 23:21:07 +0100 if you PDF file have been generated with the Ascii ouput option then you can read the PDF, it is like a postcript file %PDF-1.2 %=E2=E3=CF=D3 12 0 obj << /Length 13 0 R >> stream 0 0 0 rg 57.36 408 723.96 12.48 re f BT 59.16 411 TD 1 1 1 rg /F0 9.96 Tf 0.0459 Tc 0 Tw (NOM) Tj 140.4 0 TD 0.023 Tc (PRENOM) Tj 73.32 0 TD -0.0311 Tc (TITRE) Tj 194.76 0 TD -0.018 Tc 0.048 Tw (N\260 EXTERNE) Tj 71.76 0 TD -0.013 Tc 0.043 Tw ( POSTE INTERNE) ............. Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org]On Behalf Of Arun Kumar Sent: vendredi 12 janvier 2007 15:23 To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Cc: Rahul_Kumar@adp.com Subject: Re: [sqr-users] searching for a string in pdf file First option: I have used similar technique to convert excel spread to ascii file then load them into tables. Using ADOBE writer you can export the .pdf into many different file format. you can export the pdf to a ascii file. If adobe doesnt suppport command line option then you can try many softwares that can convert PDF to txt files via command line. Second option: I dont think its possible and I havent done this myself. Just thinking aloud. -PRINTER:PD - This command line flag can be used to produce PDF complaint output file. This indicates that SQR does know about the Adobe's internal format, unless adobe uses a universal format similar to SYLK. I am not sure whether this can be tried. ----- Original Message ---- From: the dragon To: sqr-users@sqrug.org Cc: Rahul_Kumar@adp.com Sent: Friday, January 12, 2007 7:07:25 AM Subject: RE: [sqr-users] searching for a string in pdf file To answer your question... I think you'd have to open it like any other text file - and if you ope a pdf file with a text editor, it looks like below - so I do not think you can search a pdf using sqr, unless you can find an API into adobe acrobat reader and use a system call... =E8=B4~=E2=D7ct=96n=E0=8CL||5=F5=80=86Y=C1ms`nj=F8=E7S=D3]kNW L=9E=EAD=FFx=DE=F1=FDh{; =B3%=FC=98=B4=84=A8=8Az=F7=DBU=D0G=B2-=BD A=DDX=B4PY=D2U2=A4=FE=FB"2=D4=F9EY=FB n=C4=D6=A1AF=B6=D4n-V,=E3rF=B09=9B=DB= =AA)i=A9=8A=D6=DCN =C3eP=89p=A8=CE=D7=E9Wl Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca ----Original Message Follows---- No ...i am running the program from sqrw...and actually I am not really working on peoplesoft but we use sqr for generating our reports. So it would be nice if someone can help. Rahul Kumar -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -----Original Message----- Please do not take this as a personal attack, but please, if you're going to use this group, have the courtesy and professionalism to spell out your words rather than using IM shorthand. It does not take that muck more time or effort to spell out the words completely, and you don't end up looking like an idiot who can't spell.... are you ruuning your progrrame from peoplesoft PIA looks so much more intelligent than r u ruuning ur progrrame from peoplesoft PIA peace, clark 'the dragon' willis ----Original Message Follows---- r u ruuning ur progrrame from peoplesoft PIA ? Regards, Raju. On 1/12/07, Rahul_Kumar@adp.com wrote: > >Hi, > >I am trying to search for a particular string in a pdf file using my sqr. >Can someone help me out ? > > > >Rahul Kumar > > _________________________________________________________________ _________________________________________________________________ Communicate instantly! Use your Hotmail address to sign into Windows Live Messenger now. http://get.live.com/messenger/overview _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ____________________________________________________________________________ ________ Need a quick answer? Get one in minutes from people who know. Ask your question on www.Answers.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sun Jan 14 23:18:52 2007 Date: Sun, 14 Jan 2007 20:16:17 -0800 (PST) From: Noah Panayotis Subject: Re: [sqr-users] reading a word doc My compelling reason for not using Word is because we are trying to create a production program that would generate the letters at run time. This is not a one time deal. Based on the users selection criteria, I'll need to select the specific letter template to generate the letter add the mailing address info as well as generate a report to be sent along with the letter. I will need to do all this in one program using sqr. So you see I really could not use WORD to do what I need to be done. Thanks, N.P George Jansen wrote: Do you have a compelling reason not to use the built-in mail merge feature of Word? It certainly strikes me as the easiest answer. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Jan 15 07:04:13 2007 From: "the dragon" Subject: Re: [sqr-users] reading a word doc Date: Mon, 15 Jan 2007 05:55:36 -0600 Well, good luck with that, because I don't think what you're trying to do is possible. Please let us know if you figure out a way to make it happen. PeopleSoft uses the mail merge function for that process, and I would imagine that if some other way were possible they your have discovered it. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca ----Original Message Follows---- X-OriginalArrivalTime: 15 Jan 2007 04:19:49.0887 (UTC) FILETIME=[65C478F0:01C7385C] My compelling reason for not using Word is because we are trying to create a production program that would generate the letters at run time. This is not a one time deal. Based on the users selection criteria, I'll need to select the specific letter template to generate the letter add the mailing address info as well as generate a report to be sent along with the letter. I will need to do all this in one program using sqr. So you see I really could not use WORD to do what I need to be done. Thanks, N.P George Jansen wrote: Do you have a compelling reason not to use the built-in mail merge feature of Word? It certainly strikes me as the easiest answer. _________________________________________________________________ Type your favorite song.  Get a customized station.  Try MSN Radio powered by Pandora. http://radio.msn.com/?icid=T002MSN03A07001 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 16 09:32:26 2007 Date: Tue, 16 Jan 2007 09:26:54 -0500 From: "Jamie Harris" Subject: Re: [sqr-users] reading a word doc Noah, I tend to agree with the others here - this is extraordinarily difficult to do all in one program. Here's what I'd do if I absolutely had to do it without requiring any user interaction: 1. Make a word macro in my template documents that does the mail merge function (from a specific text file that your SQR creates) automatically upon startup. 2. In your SQR, create the file you need to print your letter from and as the last step use 'call system using' to issue a "start" command (if your app. server is a Windows environment) to cause Word to open your document and perform the mail-merge. "Start" treats it's parameter as if you double-clicked it, so you'd say 'start c:\templates\letters.doc' for example and that document would open. The downside there is that you'll need to install Microsoft Word on your app. server for this to work. Also if two people are running the same letter at once, they'll conflict with each other - no easy way around that unless you can pass command-line parameters into a Word macro somehow. You can ease that a little by making the file name different for each letter template used (make the text file name the same as the letter template or something). If you have Peoplesoft 8.9 you can also set the process up so that only one person can run it at once - a second person has to wait until the first is done. That would help with your concurrency issue too. If you don't have Peoplesoft or your app. server runs on some other OS than Windows this idea won't work at all. It may not work even if you do have those environments. Seriously, though, it's a lot easier to make a word macro and give it to the users, they can right-click the file, save it somewhere specific, run the macro on it, etc. It's not that much farther away from them choosing which letter they want and running the SQR. ----------------------------------------------------- James Harris Enterprise Application Analyst/Programmer Information Technology Division Frederick Community College ----------------------------------------------------- >>> Noah Panayotis 1/14/2007 11:16 PM >>> My compelling reason for not using Word is because we are trying to create a production program that would generate the letters at run time. This is not a one time deal. Based on the users selection criteria, I'll need to select the specific letter template to generate the letter add the mailing address info as well as generate a report to be sent along with the letter. I will need to do all this in one program using sqr. So you see I really could not use WORD to do what I need to be done. Thanks, N.P George Jansen wrote: Do you have a compelling reason not to use the built-in mail merge feature of Word? It certainly strikes me as the easiest answer. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 16 10:16:46 2007 Date: Tue, 16 Jan 2007 10:14:44 -0500 From: Ray Ontko Subject: Re: [sqr-users] reading a word doc Noah, If I understand correctly, you want: 1) to be able to create templates using MS Word possibly containing graphics and save them to a file that can be read by SQR, 2) have your application allow the user to select a template and a data set, 3) have SQR apply each row of a data set to the template file and produce Postscript output to send to a printer. It would be helpful to know: 1) whether you're running SQR on a Windows server, Unix server (Solaris, AIX, HP-UX, etc.), or something else. 2) what version of SQR you're running 3) what format the graphics are that you want to include (.eps, .gif, .jpg, or what). Ray Jamie Harris wrote: > Noah, > > I tend to agree with the others here - this is extraordinarily > difficult to do all in one program. > > Here's what I'd do if I absolutely had to do it without requiring any > user interaction: > > 1. Make a word macro in my template documents that does the mail merge > function (from a specific text file that your SQR creates) automatically > upon startup. > 2. In your SQR, create the file you need to print your letter from and > as the last step use 'call system using' to issue a "start" command (if > your app. server is a Windows environment) to cause Word to open your > document and perform the mail-merge. "Start" treats it's parameter as > if you double-clicked it, so you'd say 'start c:\templates\letters.doc' > for example and that document would open. > > The downside there is that you'll need to install Microsoft Word on > your app. server for this to work. Also if two people are running the > same letter at once, they'll conflict with each other - no easy way > around that unless you can pass command-line parameters into a Word > macro somehow. You can ease that a little by making the file name > different for each letter template used (make the text file name the > same as the letter template or something). If you have Peoplesoft 8.9 > you can also set the process up so that only one person can run it at > once - a second person has to wait until the first is done. That would > help with your concurrency issue too. > > If you don't have Peoplesoft or your app. server runs on some other OS > than Windows this idea won't work at all. It may not work even if you > do have those environments. > > > > Seriously, though, it's a lot easier to make a word macro and give it > to the users, they can right-click the file, save it somewhere specific, > run the macro on it, etc. It's not that much farther away from them > choosing which letter they want and running the SQR. > > > > ----------------------------------------------------- > James Harris > Enterprise Application Analyst/Programmer > Information Technology Division > Frederick Community College > > ----------------------------------------------------- > > >>>> Noah Panayotis 1/14/2007 11:16 PM >>> >>>> > My compelling reason for not using Word is because we are trying to > create a production program that would generate the letters at run time. > This is not a one time deal. Based on the users selection criteria, > I'll need to select the specific letter template to generate the letter > add the mailing address info as well as generate a report to be sent > along with the letter. I will need to do all this in one program using > sqr. So you see I really could not use WORD to do what I need to be > done. > > Thanks, > N.P > > George Jansen wrote: > Do you have a compelling reason not to use the built-in mail merge > feature of Word? It certainly strikes me as the easiest answer. > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > --------------------------------- > We won't tell. Get more on shows you hate to love > (and love to hate): Yahoo! TV's Guilty Pleasures list. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 16 10:23:49 2007 Subject: RE: [sqr-users] reading a word doc Date: Tue, 16 Jan 2007 10:19:31 -0500 From: "Beller, Jay" Ray, Another question would be what version of Office. I read that Office 2007 = supports an XML version of documents (.docx rather than .doc) which would m= ake generating the letters a lot easier since XML is text-editable. Jay -----Original Message----- From: sqr-users-bounces+jbeller=3Dlbisoftware.com@sqrug.org [mailto:sqr-users-bounces+jbeller=3Dlbisoftware.com@sqrug.org]On Behalf Of Ray Ontko Sent: Tuesday, January 16, 2007 10:15 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] reading a word doc Noah, If I understand correctly, you want: 1) to be able to create templates using MS Word possibly containing=20 graphics and save them to a file that can be read by SQR, 2) have your application allow the user to select a template and a data set, 3) have SQR apply each row of a data set to the template file and=20 produce Postscript output to send to a printer. It would be helpful to know: 1) whether you're running SQR on a Windows server, Unix server (Solaris,=20 AIX, HP-UX, etc.), or something else. 2) what version of SQR you're running 3) what format the graphics are that you want to include (.eps, .gif,=20 .jpg, or what). Ray Jamie Harris wrote: > Noah,=20 > > I tend to agree with the others here - this is extraordinarily > difficult to do all in one program.=20=20 > > Here's what I'd do if I absolutely had to do it without requiring any > user interaction: > > 1. Make a word macro in my template documents that does the mail merge > function (from a specific text file that your SQR creates) automatically > upon startup. > 2. In your SQR, create the file you need to print your letter from and > as the last step use 'call system using' to issue a "start" command (if > your app. server is a Windows environment) to cause Word to open your > document and perform the mail-merge. "Start" treats it's parameter as > if you double-clicked it, so you'd say 'start c:\templates\letters.doc' > for example and that document would open. > > The downside there is that you'll need to install Microsoft Word on > your app. server for this to work. Also if two people are running the > same letter at once, they'll conflict with each other - no easy way > around that unless you can pass command-line parameters into a Word > macro somehow. You can ease that a little by making the file name > different for each letter template used (make the text file name the > same as the letter template or something). If you have Peoplesoft 8.9 > you can also set the process up so that only one person can run it at > once - a second person has to wait until the first is done. That would > help with your concurrency issue too.=20=20 > > If you don't have Peoplesoft or your app. server runs on some other OS > than Windows this idea won't work at all. It may not work even if you > do have those environments.=20=20 > > > > Seriously, though, it's a lot easier to make a word macro and give it > to the users, they can right-click the file, save it somewhere specific, > run the macro on it, etc. It's not that much farther away from them > choosing which letter they want and running the SQR.=20=20 > > > > ----------------------------------------------------- > James Harris > Enterprise Application Analyst/Programmer > Information Technology Division > Frederick Community College=20 > > ----------------------------------------------------- > >=20=20=20 >>>> Noah Panayotis 1/14/2007 11:16 PM >>> >>>>=20=20=20=20=20=20=20=20=20 > My compelling reason for not using Word is because we are trying to > create a production program that would generate the letters at run time. > This is not a one time deal. Based on the users selection criteria, > I'll need to select the specific letter template to generate the letter > add the mailing address info as well as generate a report to be sent > along with the letter. I will need to do all this in one program using > sqr. So you see I really could not use WORD to do what I need to be > done.=20 >=20=20=20=20 > Thanks, > N.P > > George Jansen wrote: > Do you have a compelling reason not to use the built-in mail merge > feature of Word? It certainly strikes me as the easiest answer. > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org=20 > http://www.sqrug.org/mailman/listinfo/sqr-users=20 > > >=20=20 > --------------------------------- > We won't tell. Get more on shows you hate to love > (and love to hate): Yahoo! TV's Guilty Pleasures list. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org=20 > http://www.sqrug.org/mailman/listinfo/sqr-users=20 > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > >=20=20=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 16 12:26:33 2007 Date: Tue, 16 Jan 2007 12:23:55 -0500 From: Ray Ontko Subject: Re: [sqr-users] reading a word doc Good point. Another question is whether Open Office documents might be an acceptable substitute for the same reason. Ray Beller, Jay wrote: > Ray, > > Another question would be what version of Office. I read that Office 2007 supports an XML version of documents (.docx rather than .doc) which would make generating the letters a lot easier since XML is text-editable. > > Jay > > -----Original Message----- > From: sqr-users-bounces+jbeller=lbisoftware.com@sqrug.org > [mailto:sqr-users-bounces+jbeller=lbisoftware.com@sqrug.org]On Behalf Of > Ray Ontko > Sent: Tuesday, January 16, 2007 10:15 AM > To: This list is for discussion about the SQR database reporting > languagefrom Hyperion Solutions. > Subject: Re: [sqr-users] reading a word doc > > > Noah, > > If I understand correctly, you want: > > 1) to be able to create templates using MS Word possibly containing > graphics and save them to a file that can be read by SQR, > 2) have your application allow the user to select a template and a data set, > 3) have SQR apply each row of a data set to the template file and > produce Postscript output to send to a printer. > > It would be helpful to know: > > 1) whether you're running SQR on a Windows server, Unix server (Solaris, > AIX, HP-UX, etc.), or something else. > 2) what version of SQR you're running > 3) what format the graphics are that you want to include (.eps, .gif, > .jpg, or what). > > Ray > > Jamie Harris wrote: > >> Noah, >> >> I tend to agree with the others here - this is extraordinarily >> difficult to do all in one program. >> >> Here's what I'd do if I absolutely had to do it without requiring any >> user interaction: >> >> 1. Make a word macro in my template documents that does the mail merge >> function (from a specific text file that your SQR creates) automatically >> upon startup. >> 2. In your SQR, create the file you need to print your letter from and >> as the last step use 'call system using' to issue a "start" command (if >> your app. server is a Windows environment) to cause Word to open your >> document and perform the mail-merge. "Start" treats it's parameter as >> if you double-clicked it, so you'd say 'start c:\templates\letters.doc' >> for example and that document would open. >> >> The downside there is that you'll need to install Microsoft Word on >> your app. server for this to work. Also if two people are running the >> same letter at once, they'll conflict with each other - no easy way >> around that unless you can pass command-line parameters into a Word >> macro somehow. You can ease that a little by making the file name >> different for each letter template used (make the text file name the >> same as the letter template or something). If you have Peoplesoft 8.9 >> you can also set the process up so that only one person can run it at >> once - a second person has to wait until the first is done. That would >> help with your concurrency issue too. >> >> If you don't have Peoplesoft or your app. server runs on some other OS >> than Windows this idea won't work at all. It may not work even if you >> do have those environments. >> >> >> >> Seriously, though, it's a lot easier to make a word macro and give it >> to the users, they can right-click the file, save it somewhere specific, >> run the macro on it, etc. It's not that much farther away from them >> choosing which letter they want and running the SQR. >> >> >> >> ----------------------------------------------------- >> James Harris >> Enterprise Application Analyst/Programmer >> Information Technology Division >> Frederick Community College >> >> ----------------------------------------------------- >> >> >> >>>>> Noah Panayotis 1/14/2007 11:16 PM >>> >>>>> >>>>> >> My compelling reason for not using Word is because we are trying to >> create a production program that would generate the letters at run time. >> This is not a one time deal. Based on the users selection criteria, >> I'll need to select the specific letter template to generate the letter >> add the mailing address info as well as generate a report to be sent >> along with the letter. I will need to do all this in one program using >> sqr. So you see I really could not use WORD to do what I need to be >> done. >> >> Thanks, >> N.P >> >> George Jansen wrote: >> Do you have a compelling reason not to use the built-in mail merge >> feature of Word? It certainly strikes me as the easiest answer. >> >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users >> >> >> >> --------------------------------- >> We won't tell. Get more on shows you hate to love >> (and love to hate): Yahoo! TV's Guilty Pleasures list. >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users >> >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users >> >> >> > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 16 16:33:36 2007 From: JOHN_HARRIS@qvc.com Date: Tue, 16 Jan 2007 16:30:50 -0500 Subject: [sqr-users] SQL Server issue I have the following SQL that runs fine against a SQLServer database: SELECT Z.PersonName, Z.CATEGORY, COUNT(ID), SUM(Z.HOURS_WORKED) FROM (SELECT A.PersonName PersonName ,A.CATEGORY CATEGORY ,1 TOTAL_CLOSED ,SUM(A.HOURS_WORKED) HOURS_WORKED ,A.ID ID FROM ( ( SELECT dbo.GET_SHOWNAME(PRO_HISTORYLINES.REG_CREATED_BY_OID) PersonName , SUM(PRO_HISTORYLINES.HPR_SPENTTIME) SPENTTIME , (PRO_HISTORYLINES.HPR_SPENTTIME)*24 HOURS_WORKED , PROBLEMS.PRO_ID ID , MAX(ITSM_workgroups.WOG_NAME) GROUP_NAME , 'PR' CATEGORY FROM ITSM_HISTORYLINES_PROBLEM PRO_HISTORYLINES WITH (NOLOCK) INNER JOIN ITSM_PROBLEMS PROBLEMS WITH (NOLOCK) ON (PRO_HISTORYLINES.HPR_PRO_OID=PROBLEMS.PRO_OID) INNER JOIN ITSM_persons WITH (NOLOCK) ON PRO_HISTORYLINES.REG_CREATED_BY_OID = ITSM_persons.per_acc_oid INNER JOIN ITSM_MEMBERS WITH (NOLOCK) ON ITSM_MEMBERS.MEM_PER_OID=ITSM_PERSONS.PER_OID INNER JOIN ITSM_workgroups WITH (NOLOCK) ON ITSM_MEMBERS.mem_wog_oid=ITSM_WORKGROUPS.wog_oid WHERE ITSM_workgroups.wog_notselectable=0 AND PRO_HISTORYLINES.HPR_SPENTTIME>0 AND PRO_HISTORYLINES.HPR_SPENTTIME IS NOT NULL AND dbo.TIMEZONE_ADJ(PRO_HISTORYLINES.HPR_CREATED,'UTC') BETWEEN '01/06/2007' AND '01/12/2007' GROUP BY dbo.GET_SHOWNAME(PRO_HISTORYLINES.REG_CREATED_BY_OID), PROBLEMS.PRO_ID, PRO_HISTORYLINES.HPR_SPENTTIME)*24 ) ) A GROUP BY A.PersonName, A.CATEGORY, A.ID ) Z GROUP BY Z.PersonName ,Z.CATEGORY ORDER BY Z.PersonName This SQR code aborts: BEGIN-SELECT ON-ERROR=RECORD_SQL_ERROR ($SQL-ERROR, 'MAJOR', '', 'GET_THE_DATA_01') Z.PersonName &S_PERSON_NAME LET $PERSON_NAME = &S_PERSON_NAME PRINT $PERSON_NAME (+1,20,0) ON-BREAK PRINT=CHANGE BEFORE=SPAWN_NEW_REPORT AFTER=PERSON_NAME_BREAK SAVE=$SAVE_PERSON_NAME LEVEL=2 SET=1 Z.CATEGORY &S_CATEGORY (+1,30,0) LET $CATEGORY = &S_CATEGORY COUNT(ID) &S_TOTAL_CLOSED (0,40,0) EDIT 999,999 LET $TOTAL_CLOSED = &S_TOTAL_CLOSED SUM(Z.HOURS_WORKED) &S_HOURS_WORKED LET $HOURS_WORKED = &S_HOURS_WORKED FROM (SELECT A.PersonName PersonName ,A.CATEGORY CATEGORY ,1 TOTAL_CLOSED ,SUM(A.HOURS_WORKED) HOURS_WORKED ,A.ID ID FROM ( ( SELECT dbo.GET_SHOWNAME(PRO_HISTORYLINES.REG_CREATED_BY_OID) PersonName, SUM(PRO_HISTORYLINES.HPR_SPENTTIME) SPENTTIME, (PRO_HISTORYLINES.HPR_SPENTTIME)*24 HOURS_WORKED, PROBLEMS.PRO_ID ID, MAX(ITSM_workgroups.WOG_NAME) GROUP_NAME, 'PR' CATEGORY FROM ITSM_HISTORYLINES_PROBLEM PRO_HISTORYLINES WITH (NOLOCK) INNER JOIN ITSM_PROBLEMS PROBLEMS WITH (NOLOCK) ON (PRO_HISTORYLINES.HPR_PRO_OID=PROBLEMS.PRO_OID) INNER JOIN ITSM_persons WITH (NOLOCK) ON PRO_HISTORYLINES.REG_CREATED_BY_OID = ITSM_persons.per_acc_oid INNER JOIN ITSM_MEMBERS WITH (NOLOCK) ON ITSM_MEMBERS.MEM_PER_OID=ITSM_PERSONS.PER_OID INNER JOIN ITSM_workgroups WITH (NOLOCK) ON ITSM_MEMBERS.mem_wog_oid=ITSM_WORKGROUPS.wog_oid WHERE ITSM_workgroups.wog_notselectable=0 AND PRO_HISTORYLINES.HPR_SPENTTIME>0 AND PRO_HISTORYLINES.HPR_SPENTTIME IS NOT NULL AND dbo.TIMEZONE_ADJ(PRO_HISTORYLINES.HPR_CREATED,'UTC') BETWEEN $DATE_START1 AND $DATE_TO1 GROUP BY dbo.GET_SHOWNAME(PRO_HISTORYLINES.REG_CREATED_BY_OID), PROBLEMS.PRO_ID, (PRO_HISTORYLINES.HPR_SPENTTIME)*24 ) ) A GROUP BY A.PersonName, A.CATEGORY, A.ID ) Z GROUP BY Z.PersonName ,Z.CATEGORY ORDER BY Z.PersonName END-SELECT with the following error: (SQR 1303) Error in SQL (perhaps missing &name after expression): SELECT Z.PersonName, Z.CATEGORY, COUNT(ID), SUM(Z.HOURS_WORKED) FROM ( SELECT A.PersonName PersonName ,A.CATEGORY CATEGORY ,1 TOTAL_CLOSED ,SUM(A.HOURS_WORKED) HOURS_WORKED ,A.ID ID FROM ( ( SELECT dbo.GET_SHOWNAME(PRO_HISTORYLINES.REG_CREATED_BY_OID) PersonName, SUM(PRO_HISTORYLINES.HPR_SPENTTIME) SPENTTIME, (PRO_HISTORYLINES.HPR_SPENTTIME)*24 HOURS_WORKED, PROBLEMS.PRO_ID ID, MAX(ITSM_workgroups.WOG_NAME) GROUP_NAME, 'PR' CATEGORY FROM ITSM_HISTORYLINES_PROBLEM PRO_HISTORYLINES WITH (NOLOCK) INNER JOIN ITSM_PROBLEMS PROBLEMS WITH (NOLOCK) ON (PRO_HISTORYLINES.HPR_PRO_OID=PROBLEMS.PRO_OID) INNER JOIN ITSM_persons WITH (NOLOCK) ON PRO_HISTORYLINES.REG_CREATED_BY_OID = ITSM_persons.per_acc_oid INNER JOIN ITSM_MEMBERS WITH (NOLOCK) ON ITSM_MEMBERS.MEM_PER_OID=ITSM_PERSONS.PER_OID INNER JOIN ITSM_workgroups WITH (NOLOCK) ON ITSM_MEMBERS.mem_wog_oid=ITSM_WORKGROUPS.wog_oid WHERE ITSM_workgroups.wog_notselectable=0 AND PRO_HISTORYLINES.HPR_SPENTTIME>0 AND PRO_HISTORYLINES.HPR_SPENTTIME IS NOT NULL AND dbo.TIMEZONE_ADJ(PRO_HISTORYLINES.HPR_CREATED,'UTC') BETWEEN ? AND ? GROUP BY dbo.GET_SHOWNAME(PRO_HISTORYLINES.REG_CREATED_BY_OID), PROBLEMS.PRO_ID, (PRO_HISTORYLINES.HPR_SPENTTIME)*24 ) ) A GROUP BY A.PersonName, A.CATEGORY, A.ID ) Z GROUP BY Z.PersonName ,Z.CATEGORY ORDER BY Z.PersonName (SQR 1304) Check SELECT columns, expressions and 'where' clause for syntax. SQR: Program Aborting. Any help would be appreciated. Thank You, John Harris QVC Inc., 1200 Wilson Drive, MC 220, West Chester, PA 19380-4262 Telephone 484-701-3303 Fax 484-701-8437 e-mail jharris@qvc.com Than _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 17 00:31:21 2007 Date: Tue, 16 Jan 2007 21:28:26 -0800 (PST) From: Noah Panayotis Subject: Re: [sqr-users] reading a word doc Thank you all for your input. Ray, you've defined what I need to do correctly. To answer to your questions, the sqr is running in Unix server ( both Solaris and IBM AIX) environment and we are currently using SQR V6.0 but we're in the processes of upgrading to SQR V9.2. My templates will be created using word and a couple of them will have graphics (.eps) Thanks, Noah Ray Ontko wrote: Noah, If I understand correctly, you want: 1) to be able to create templates using MS Word possibly containing graphics and save them to a file that can be read by SQR, 2) have your application allow the user to select a template and a data set, 3) have SQR apply each row of a data set to the template file and produce Postscript output to send to a printer. It would be helpful to know: 1) whether you're running SQR on a Windows server, Unix server (Solaris, AIX, HP-UX, etc.), or something else. 2) what version of SQR you're running 3) what format the graphics are that you want to include (.eps, .gif, .jpg, or what). Ray Jamie Harris wrote: > Noah, > > I tend to agree with the others here - this is extraordinarily > difficult to do all in one program. > > Here's what I'd do if I absolutely had to do it without requiring any > user interaction: > > 1. Make a word macro in my template documents that does the mail merge > function (from a specific text file that your SQR creates) automatically > upon startup. > 2. In your SQR, create the file you need to print your letter from and > as the last step use 'call system using' to issue a "start" command (if > your app. server is a Windows environment) to cause Word to open your > document and perform the mail-merge. "Start" treats it's parameter as > if you double-clicked it, so you'd say 'start c:\templates\letters.doc' > for example and that document would open. > > The downside there is that you'll need to install Microsoft Word on > your app. server for this to work. Also if two people are running the > same letter at once, they'll conflict with each other - no easy way > around that unless you can pass command-line parameters into a Word > macro somehow. You can ease that a little by making the file name > different for each letter template used (make the text file name the > same as the letter template or something). If you have Peoplesoft 8.9 > you can also set the process up so that only one person can run it at > once - a second person has to wait until the first is done. That would > help with your concurrency issue too. > > If you don't have Peoplesoft or your app. server runs on some other OS > than Windows this idea won't work at all. It may not work even if you > do have those environments. > > > > Seriously, though, it's a lot easier to make a word macro and give it > to the users, they can right-click the file, save it somewhere specific, > run the macro on it, etc. It's not that much farther away from them > choosing which letter they want and running the SQR. > > > > ----------------------------------------------------- > James Harris > Enterprise Application Analyst/Programmer > Information Technology Division > Frederick Community College > > ----------------------------------------------------- > > >>>> Noah Panayotis 1/14/2007 11:16 PM >>> >>>> > My compelling reason for not using Word is because we are trying to > create a production program that would generate the letters at run time. > This is not a one time deal. Based on the users selection criteria, > I'll need to select the specific letter template to generate the letter > add the mailing address info as well as generate a report to be sent > along with the letter. I will need to do all this in one program using > sqr. So you see I really could not use WORD to do what I need to be > done. > > Thanks, > N.P > > George Jansen wrote: > Do you have a compelling reason not to use the built-in mail merge > feature of Word? It certainly strikes me as the easiest answer. > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > --------------------------------- > We won't tell. Get more on shows you hate to love > (and love to hate): Yahoo! TV's Guilty Pleasures list. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 17 07:59:47 2007 Date: Wed, 17 Jan 2007 04:56:18 -0800 (PST) From: Muthu kumaresan Subject: [sqr-users] need to display .bmp file as logo using SQR Hi, I am writing a SQR programme to display .bmp file as logo. Output format of= SQR is PDF. Running the SQR in unix server. Please help me out in achivi= ng the same. Regards, Muthukumaresan =20 ___________________________________________________________________________= _________ Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it n= ow. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 17 08:13:40 2007 From: "the dragon" Subject: RE: [sqr-users] need to display .bmp file as logo using SQR Date: Wed, 17 Jan 2007 07:10:07 -0600 please to search the sqr archives at sqrug.com for possible solutions to image problems. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca ----Original Message Follows---- Hi, I am writing a SQR programme to display .bmp file as logo. Output format of SQR is PDF. Running the SQR in unix server. Please help me out in achiving the same. Regards, Muthukumaresan _________________________________________________________________ Your Hotmail address already works to sign into Windows Live Messenger! Get it now http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 17 10:36:29 2007 Date: Wed, 17 Jan 2007 10:34:06 -0500 From: Ray Ontko Subject: Re: [sqr-users] reading a word doc Noah, This is a bit of a long shot with lots of moving parts, but it might work: 1) Use MS Word to create your templates. Use special syntax within the document for substitution variables (e.g., "<>"). Save the templates as RTF files. 2) Use SQR to read the rtf file, look for the special substitution variables and replace them with values from the database, and produce a new RTF file. 3) Use rtf2latex2e (http://sourceforge.net/projects/rtf2latex2e/) or rtf2troff (http://www.snake.net/software/RTF/) or some other suitable tool to convert from RTF into latex/troff and then use latex/troff to produce PostScript, which then can be sent to the printer. This should work, but depends heavily on whether the rtf translation tool (e.g. rtf2latex2e) supports all the features (including images) that you want in your output documents. Note that this approach avoids the issues related to whether SQR supports the image formats involved, but does depend on whether the rtf2xxx tool supports the image formats. Hope this helps. Ray Noah Panayotis wrote: > Thank you all for your input. > > Ray, you've defined what I need to do correctly. To answer to your questions, the sqr is running in Unix server ( both Solaris and IBM AIX) environment and we are currently using SQR V6.0 but we're in the processes of upgrading to SQR V9.2. > My templates will be created using word and a couple of them will have graphics (.eps) > > Thanks, > Noah > > Ray Ontko wrote: > Noah, > > If I understand correctly, you want: > > 1) to be able to create templates using MS Word possibly containing > graphics and save them to a file that can be read by SQR, > 2) have your application allow the user to select a template and a data set, > 3) have SQR apply each row of a data set to the template file and > produce Postscript output to send to a printer. > > It would be helpful to know: > > 1) whether you're running SQR on a Windows server, Unix server (Solaris, > AIX, HP-UX, etc.), or something else. > 2) what version of SQR you're running > 3) what format the graphics are that you want to include (.eps, .gif, > .jpg, or what). > > Ray > > Jamie Harris wrote: > >> Noah, >> >> I tend to agree with the others here - this is extraordinarily >> difficult to do all in one program. >> >> Here's what I'd do if I absolutely had to do it without requiring any >> user interaction: >> >> 1. Make a word macro in my template documents that does the mail merge >> function (from a specific text file that your SQR creates) automatically >> upon startup. >> 2. In your SQR, create the file you need to print your letter from and >> as the last step use 'call system using' to issue a "start" command (if >> your app. server is a Windows environment) to cause Word to open your >> document and perform the mail-merge. "Start" treats it's parameter as >> if you double-clicked it, so you'd say 'start c:\templates\letters.doc' >> for example and that document would open. >> >> The downside there is that you'll need to install Microsoft Word on >> your app. server for this to work. Also if two people are running the >> same letter at once, they'll conflict with each other - no easy way >> around that unless you can pass command-line parameters into a Word >> macro somehow. You can ease that a little by making the file name >> different for each letter template used (make the text file name the >> same as the letter template or something). If you have Peoplesoft 8.9 >> you can also set the process up so that only one person can run it at >> once - a second person has to wait until the first is done. That would >> help with your concurrency issue too. >> >> If you don't have Peoplesoft or your app. server runs on some other OS >> than Windows this idea won't work at all. It may not work even if you >> do have those environments. >> >> >> >> Seriously, though, it's a lot easier to make a word macro and give it >> to the users, they can right-click the file, save it somewhere specific, >> run the macro on it, etc. It's not that much farther away from them >> choosing which letter they want and running the SQR. >> >> >> >> ----------------------------------------------------- >> James Harris >> Enterprise Application Analyst/Programmer >> Information Technology Division >> Frederick Community College >> >> ----------------------------------------------------- >> >> >> >>>>> Noah Panayotis 1/14/2007 11:16 PM >>> >>>>> >>>>> >> My compelling reason for not using Word is because we are trying to >> create a production program that would generate the letters at run time. >> This is not a one time deal. Based on the users selection criteria, >> I'll need to select the specific letter template to generate the letter >> add the mailing address info as well as generate a report to be sent >> along with the letter. I will need to do all this in one program using >> sqr. So you see I really could not use WORD to do what I need to be >> done. >> >> Thanks, >> N.P >> >> George Jansen wrote: >> Do you have a compelling reason not to use the built-in mail merge >> feature of Word? It certainly strikes me as the easiest answer. >> >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users >> >> >> >> --------------------------------- >> We won't tell. Get more on shows you hate to love >> (and love to hate): Yahoo! TV's Guilty Pleasures list. >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users >> >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users >> >> >> > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > --------------------------------- > Never miss an email again! > Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 17 20:49:40 2007 Date: Thu, 18 Jan 2007 07:12:32 +0530 From: Sanjay Sambhe Subject: RE: [sqr-users] need to display .bmp file as logo using SQR Use display-image command.. -----Original Message----- From: sqr-users-bounces+ssambhe=cisco.com@sqrug.org [mailto:sqr-users-bounces+ssambhe=cisco.com@sqrug.org] On Behalf Of Muthu kumaresan Sent: Wednesday, January 17, 2007 6:26 PM To: sqr-users@sqrug.org Subject: [sqr-users] need to display .bmp file as logo using SQR Hi, I am writing a SQR programme to display .bmp file as logo. Output format of SQR is PDF. Running the SQR in unix server. Please help me out in achiving the same. Regards, Muthukumaresan ____________________________________________________________________________ ________ Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 17 23:46:51 2007 Date: Wed, 17 Jan 2007 20:43:37 -0800 (PST) From: Noah Panayotis Subject: Re: [sqr-users] reading a word doc Thanks, i will try it and will let you know if it worked. Ray Ontko wrote: Noah, This is a bit of a long shot with lots of moving parts, but it might work: 1) Use MS Word to create your templates. Use special syntax within the document for substitution variables (e.g., "<>"). Save the templates as RTF files. 2) Use SQR to read the rtf file, look for the special substitution variables and replace them with values from the database, and produce a new RTF file. 3) Use rtf2latex2e (http://sourceforge.net/projects/rtf2latex2e/) or rtf2troff (http://www.snake.net/software/RTF/) or some other suitable tool to convert from RTF into latex/troff and then use latex/troff to produce PostScript, which then can be sent to the printer. This should work, but depends heavily on whether the rtf translation tool (e.g. rtf2latex2e) supports all the features (including images) that you want in your output documents. Note that this approach avoids the issues related to whether SQR supports the image formats involved, but does depend on whether the rtf2xxx tool supports the image formats. Hope this helps. Ray Noah Panayotis wrote: > Thank you all for your input. > > Ray, you've defined what I need to do correctly. To answer to your questions, the sqr is running in Unix server ( both Solaris and IBM AIX) environment and we are currently using SQR V6.0 but we're in the processes of upgrading to SQR V9.2. > My templates will be created using word and a couple of them will have graphics (.eps) > > Thanks, > Noah > > Ray Ontko wrote: > Noah, > > If I understand correctly, you want: > > 1) to be able to create templates using MS Word possibly containing > graphics and save them to a file that can be read by SQR, > 2) have your application allow the user to select a template and a data set, > 3) have SQR apply each row of a data set to the template file and > produce Postscript output to send to a printer. > > It would be helpful to know: > > 1) whether you're running SQR on a Windows server, Unix server (Solaris, > AIX, HP-UX, etc.), or something else. > 2) what version of SQR you're running > 3) what format the graphics are that you want to include (.eps, .gif, > .jpg, or what). > > Ray > > Jamie Harris wrote: > >> Noah, >> >> I tend to agree with the others here - this is extraordinarily >> difficult to do all in one program. >> >> Here's what I'd do if I absolutely had to do it without requiring any >> user interaction: >> >> 1. Make a word macro in my template documents that does the mail merge >> function (from a specific text file that your SQR creates) automatically >> upon startup. >> 2. In your SQR, create the file you need to print your letter from and >> as the last step use 'call system using' to issue a "start" command (if >> your app. server is a Windows environment) to cause Word to open your >> document and perform the mail-merge. "Start" treats it's parameter as >> if you double-clicked it, so you'd say 'start c:\templates\letters.doc' >> for example and that document would open. >> >> The downside there is that you'll need to install Microsoft Word on >> your app. server for this to work. Also if two people are running the >> same letter at once, they'll conflict with each other - no easy way >> around that unless you can pass command-line parameters into a Word >> macro somehow. You can ease that a little by making the file name >> different for each letter template used (make the text file name the >> same as the letter template or something). If you have Peoplesoft 8.9 >> you can also set the process up so that only one person can run it at >> once - a second person has to wait until the first is done. That would >> help with your concurrency issue too. >> >> If you don't have Peoplesoft or your app. server runs on some other OS >> than Windows this idea won't work at all. It may not work even if you >> do have those environments. >> >> >> >> Seriously, though, it's a lot easier to make a word macro and give it >> to the users, they can right-click the file, save it somewhere specific, >> run the macro on it, etc. It's not that much farther away from them >> choosing which letter they want and running the SQR. >> >> >> >> ----------------------------------------------------- >> James Harris >> Enterprise Application Analyst/Programmer >> Information Technology Division >> Frederick Community College >> >> ----------------------------------------------------- >> >> >> >>>>> Noah Panayotis 1/14/2007 11:16 PM >>> >>>>> >>>>> >> My compelling reason for not using Word is because we are trying to >> create a production program that would generate the letters at run time. >> This is not a one time deal. Based on the users selection criteria, >> I'll need to select the specific letter template to generate the letter >> add the mailing address info as well as generate a report to be sent >> along with the letter. I will need to do all this in one program using >> sqr. So you see I really could not use WORD to do what I need to be >> done. >> >> Thanks, >> N.P >> >> George Jansen wrote: >> Do you have a compelling reason not to use the built-in mail merge >> feature of Word? It certainly strikes me as the easiest answer. >> >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users >> >> >> >> --------------------------------- >> We won't tell. Get more on shows you hate to love >> (and love to hate): Yahoo! TV's Guilty Pleasures list. >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users >> >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users >> >> >> > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > --------------------------------- > Never miss an email again! > Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- Need a quick answer? Get one in minutes from people who know. Ask your question on Yahoo! Answers. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 18 16:17:29 2007 From: "Joe" Date: Thu, 18 Jan 2007 14:14:27 -0700 Subject: [sqr-users] Select statement returns far fewer rows than delete statement using the same criteria I have an SQL question, but this group has proven to be such a goldmine of = help for SQR, I wanted to post this here as well as in a SQL Server group. I have a select statement that returns 36 rows. I changed it to a delete s= tatement by simply replacing 'Select * from' with 'Delete from.' The delet= e statement deletes 191 rows. I would think that, regardless of whether or not the criteria is correct, b= oth the 'select' and the 'delete' would hit the same number of rows. Here is my select: SELECT *=20 FROM PS_COST C WHERE C.ASSET_ID =3D '000000000315'=20 AND C.BUSINESS_UNIT =3D '00010' AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT=20 WHERE OT.CALC_DEPR_STATUS =3D 'P'=20 AND OT.DTTM_STAMP =3D C.DTTM_STAMP AND OT.TRANS_TYPE =3D C.TRANS_TYPE AND OT.ASSET_ID =3D C.ASSET_ID AND OT.BUSINESS_UNIT =3D C.BUSINESS_UNIT AND OT.BOOK =3D C.BOOK)=20=20 And here is my delete: DELETE FROM PS_COST WHERE ASSET_ID =3D '000000000315'=20 AND BUSINESS_UNIT =3D '00010' AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT=20 WHERE OT.CALC_DEPR_STATUS =3D 'P'=20 AND OT.DTTM_STAMP =3D DTTM_STAMP AND OT.TRANS_TYPE =3D TRANS_TYPE AND OT.ASSET_ID =3D ASSET_ID AND OT.BUSINESS_UNIT =3D BUSINESS_UNIT AND OT.BOOK =3D BOOK)=20=20 Any help would be appreciated. - Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 18 16:22:25 2007 Date: Thu, 18 Jan 2007 16:19:55 -0500 From: "Larry Roux" Subject: Re: [sqr-users] Select statement returns far fewer rows than delete statement using the same criteria Try fully qualifying the exists statement? ie : DELETE FROM PS_COST WHERE PS_COST.ASSET_ID = '000000000315' AND PS_COST.BUSINESS_UNIT = '00010' AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT WHERE OT.CALC_DEPR_STATUS = 'P' AND OT.DTTM_STAMP = PS_COST.DTTM_STAMP AND OT.TRANS_TYPE = PS_COST.TRANS_TYPE AND OT.ASSET_ID = PS_COST.ASSET_ID AND OT.BUSINESS_UNIT = PS_COST.BUSINESS_UNIT AND OT.BOOK = PS_COST.BOOK) also, PS_OPEN_TRANS wouldn't happen to be a view, would it? I was thinking if it was the data beneath it could be changing as you do the deletes. Larry Roux Information Systems Syracuse University lroux@syr.edu >>> jej1216@hotmail.com 1/18/2007 4:14 PM >>> I have an SQL question, but this group has proven to be such a goldmine of help for SQR, I wanted to post this here as well as in a SQL Server group. I have a select statement that returns 36 rows. I changed it to a delete statement by simply replacing 'Select * from' with 'Delete from.' The delete statement deletes 191 rows. I would think that, regardless of whether or not the criteria is correct, both the 'select' and the 'delete' would hit the same number of rows. Here is my select: SELECT * FROM PS_COST C WHERE C.ASSET_ID = '000000000315' AND C.BUSINESS_UNIT = '00010' AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT WHERE OT.CALC_DEPR_STATUS = 'P' AND OT.DTTM_STAMP = C.DTTM_STAMP AND OT.TRANS_TYPE = C.TRANS_TYPE AND OT.ASSET_ID = C.ASSET_ID AND OT.BUSINESS_UNIT = C.BUSINESS_UNIT AND OT.BOOK = C.BOOK) And here is my delete: DELETE FROM PS_COST WHERE ASSET_ID = '000000000315' AND BUSINESS_UNIT = '00010' AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT WHERE OT.CALC_DEPR_STATUS = 'P' AND OT.DTTM_STAMP = DTTM_STAMP AND OT.TRANS_TYPE = TRANS_TYPE AND OT.ASSET_ID = ASSET_ID AND OT.BUSINESS_UNIT = BUSINESS_UNIT AND OT.BOOK = BOOK) Any help would be appreciated. - Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 18 16:36:09 2007 Subject: RE: [sqr-users] Select statement returns far fewer rows thandelete statement using the same criteria Date: Thu, 18 Jan 2007 15:33:13 -0600 From: "Bob Stone" I concur. You dropped off the 'C' synonym when you turned it into a delete, which DOES change the statement (or at least could change it). The line AND OT.ASSET_ID =3D C.ASSET_ID is explicit about which columns it should compare: ASSET_ID on PS_OPEN_TRANS to ASSET_ID on PS_COST. The line AND OT.ASSET_ID =3D ASSET_ID hopes that the implicit table definition will correctly assign it. But since ASSET_ID is on both PS_OPEN_TRANS and PS_COST, it defaults to first table in the join (which in this exists would be PS_OPEN_TRANS) - so it thinks you mean AND OT.ASSET_ID =3D OT.ASSET_ID (which is a pretty silly statement to have in a join). You can have a synonym in the delete statement, same as the select *.=20=20 SELECT *=20 FROM PS_COST C WHERE C.ASSET_ID =3D '000000000315'=20 AND C.BUSINESS_UNIT =3D '00010' AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT=20 WHERE OT.CALC_DEPR_STATUS =3D 'P'=20 AND OT.DTTM_STAMP =3D C.DTTM_STAMP AND OT.TRANS_TYPE =3D C.TRANS_TYPE AND OT.ASSET_ID =3D C.ASSET_ID AND OT.BUSINESS_UNIT =3D C.BUSINESS_UNIT AND OT.BOOK =3D C.BOOK)=20=20 turns into DELETE FROM PS_COST C WHERE C.ASSET_ID =3D '000000000315'=20 AND C.BUSINESS_UNIT =3D '00010' AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT=20 WHERE OT.CALC_DEPR_STATUS =3D 'P'=20 AND OT.DTTM_STAMP =3D C.DTTM_STAMP AND OT.TRANS_TYPE =3D C.TRANS_TYPE AND OT.ASSET_ID =3D C.ASSET_ID AND OT.BUSINESS_UNIT =3D C.BUSINESS_UNIT AND OT.BOOK =3D C.BOOK)=20=20 -----Original Message----- From: sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org [mailto:sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org] On Behalf Of Larry Roux Sent: Thursday, January 18, 2007 3:20 PM To: sqr-users@sqrug.org Subject: Re: [sqr-users] Select statement returns far fewer rows thandelete statement using the same criteria Try fully qualifying the exists statement? ie : DELETE FROM PS_COST WHERE PS_COST.ASSET_ID =3D '000000000315'=20 AND PS_COST.BUSINESS_UNIT =3D '00010' AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT=20 WHERE OT.CALC_DEPR_STATUS =3D 'P'=20 AND OT.DTTM_STAMP =3D PS_COST.DTTM_STAMP AND OT.TRANS_TYPE =3D PS_COST.TRANS_TYPE AND OT.ASSET_ID =3D PS_COST.ASSET_ID AND OT.BUSINESS_UNIT =3D PS_COST.BUSINESS_UNIT AND OT.BOOK =3D PS_COST.BOOK)=20=20 also, PS_OPEN_TRANS wouldn't happen to be a view, would it? I was thinking if it was the data beneath it could be changing as you do the deletes.=20=20 Larry Roux Information Systems Syracuse University lroux@syr.edu >>> jej1216@hotmail.com 1/18/2007 4:14 PM >>> I have an SQL question, but this group has proven to be such a goldmine of help for SQR, I wanted to post this here as well as in a SQL Server group. I have a select statement that returns 36 rows. I changed it to a delete statement by simply replacing 'Select * from' with 'Delete from.' The delete statement deletes 191 rows. I would think that, regardless of whether or not the criteria is correct, both the 'select' and the 'delete' would hit the same number of rows. Here is my select: SELECT *=20 FROM PS_COST C WHERE C.ASSET_ID =3D '000000000315'=20 AND C.BUSINESS_UNIT =3D '00010' AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT=20 WHERE OT.CALC_DEPR_STATUS =3D 'P'=20 AND OT.DTTM_STAMP =3D C.DTTM_STAMP AND OT.TRANS_TYPE =3D C.TRANS_TYPE AND OT.ASSET_ID =3D C.ASSET_ID AND OT.BUSINESS_UNIT =3D C.BUSINESS_UNIT AND OT.BOOK =3D C.BOOK)=20=20 And here is my delete: DELETE FROM PS_COST WHERE ASSET_ID =3D '000000000315'=20 AND BUSINESS_UNIT =3D '00010' AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT=20 WHERE OT.CALC_DEPR_STATUS =3D 'P'=20 AND OT.DTTM_STAMP =3D DTTM_STAMP AND OT.TRANS_TYPE =3D TRANS_TYPE AND OT.ASSET_ID =3D ASSET_ID AND OT.BUSINESS_UNIT =3D BUSINESS_UNIT AND OT.BOOK =3D BOOK)=20=20 Any help would be appreciated. - Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 18 16:43:52 2007 From: "Joe" Subject: Re: [sqr-users] Select statement returns far fewer rows thandeletestatement using the same criteria Date: Thu, 18 Jan 2007 14:40:14 -0700 Thanks - I'll try fully qualifying it. I had dropped the 'C' synonym because it error-ed out with it there. - Joe ----- Original Message ----- From: "Bob Stone" To: "This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions." Sent: Thursday, January 18, 2007 2:33 PM Subject: RE: [sqr-users] Select statement returns far fewer rows thandeletestatement using the same criteria I concur. You dropped off the 'C' synonym when you turned it into a delete, which DOES change the statement (or at least could change it). The line AND OT.ASSET_ID = C.ASSET_ID is explicit about which columns it should compare: ASSET_ID on PS_OPEN_TRANS to ASSET_ID on PS_COST. The line AND OT.ASSET_ID = ASSET_ID hopes that the implicit table definition will correctly assign it. But since ASSET_ID is on both PS_OPEN_TRANS and PS_COST, it defaults to first table in the join (which in this exists would be PS_OPEN_TRANS) - so it thinks you mean AND OT.ASSET_ID = OT.ASSET_ID (which is a pretty silly statement to have in a join). You can have a synonym in the delete statement, same as the select *. SELECT * FROM PS_COST C WHERE C.ASSET_ID = '000000000315' AND C.BUSINESS_UNIT = '00010' AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT WHERE OT.CALC_DEPR_STATUS = 'P' AND OT.DTTM_STAMP = C.DTTM_STAMP AND OT.TRANS_TYPE = C.TRANS_TYPE AND OT.ASSET_ID = C.ASSET_ID AND OT.BUSINESS_UNIT = C.BUSINESS_UNIT AND OT.BOOK = C.BOOK) turns into DELETE FROM PS_COST C WHERE C.ASSET_ID = '000000000315' AND C.BUSINESS_UNIT = '00010' AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT WHERE OT.CALC_DEPR_STATUS = 'P' AND OT.DTTM_STAMP = C.DTTM_STAMP AND OT.TRANS_TYPE = C.TRANS_TYPE AND OT.ASSET_ID = C.ASSET_ID AND OT.BUSINESS_UNIT = C.BUSINESS_UNIT AND OT.BOOK = C.BOOK) -----Original Message----- From: sqr-users-bounces+bstone=fastenal.com@sqrug.org [mailto:sqr-users-bounces+bstone=fastenal.com@sqrug.org] On Behalf Of Larry Roux Sent: Thursday, January 18, 2007 3:20 PM To: sqr-users@sqrug.org Subject: Re: [sqr-users] Select statement returns far fewer rows thandelete statement using the same criteria Try fully qualifying the exists statement? ie : DELETE FROM PS_COST WHERE PS_COST.ASSET_ID = '000000000315' AND PS_COST.BUSINESS_UNIT = '00010' AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT WHERE OT.CALC_DEPR_STATUS = 'P' AND OT.DTTM_STAMP = PS_COST.DTTM_STAMP AND OT.TRANS_TYPE = PS_COST.TRANS_TYPE AND OT.ASSET_ID = PS_COST.ASSET_ID AND OT.BUSINESS_UNIT = PS_COST.BUSINESS_UNIT AND OT.BOOK = PS_COST.BOOK) also, PS_OPEN_TRANS wouldn't happen to be a view, would it? I was thinking if it was the data beneath it could be changing as you do the deletes. Larry Roux Information Systems Syracuse University lroux@syr.edu >>> jej1216@hotmail.com 1/18/2007 4:14 PM >>> I have an SQL question, but this group has proven to be such a goldmine of help for SQR, I wanted to post this here as well as in a SQL Server group. I have a select statement that returns 36 rows. I changed it to a delete statement by simply replacing 'Select * from' with 'Delete from.' The delete statement deletes 191 rows. I would think that, regardless of whether or not the criteria is correct, both the 'select' and the 'delete' would hit the same number of rows. Here is my select: SELECT * FROM PS_COST C WHERE C.ASSET_ID = '000000000315' AND C.BUSINESS_UNIT = '00010' AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT WHERE OT.CALC_DEPR_STATUS = 'P' AND OT.DTTM_STAMP = C.DTTM_STAMP AND OT.TRANS_TYPE = C.TRANS_TYPE AND OT.ASSET_ID = C.ASSET_ID AND OT.BUSINESS_UNIT = C.BUSINESS_UNIT AND OT.BOOK = C.BOOK) And here is my delete: DELETE FROM PS_COST WHERE ASSET_ID = '000000000315' AND BUSINESS_UNIT = '00010' AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT WHERE OT.CALC_DEPR_STATUS = 'P' AND OT.DTTM_STAMP = DTTM_STAMP AND OT.TRANS_TYPE = TRANS_TYPE AND OT.ASSET_ID = ASSET_ID AND OT.BUSINESS_UNIT = BUSINESS_UNIT AND OT.BOOK = BOOK) Any help would be appreciated. - Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 18 16:48:01 2007 From: "Ed Kelly" Date: Thu, 18 Jan 2007 21:45:16 +0000 Subject: [sqr-users] need to display .bmp file as logo using SQR IIRC, SQR PDF output only supports JPG and GIF file formats. Convert your BMP File to one of these formats and you should be fine. >Hi, > >I am writing a SQR programme to display .bmp file as logo. Output format of >SQR is PDF. Running >the SQR in unix server. Please help me out in >achiving the same. > >Regards, >Muthukumaresan _________________________________________________________________ The MSN Entertainment Guide to Golden Globes is here. Get all the scoop. http://tv.msn.com/tv/globes2007/?icid=nctagline2 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 18 16:52:12 2007 Date: Thu, 18 Jan 2007 16:49:41 -0500 From: "Larry Roux" Subject: Re: [sqr-users] Select statement returns far fewer rows thandeletestatement using the same criteria Yeah, you can't qualify fields and tables with aliases on deletes. However you can fully qualify them with the TABLE.FIELD notation. Larry Roux Information Systems Syracuse University lroux@syr.edu >>> jej1216@hotmail.com 1/18/2007 4:40 PM >>> Thanks - I'll try fully qualifying it. I had dropped the 'C' synonym because it error-ed out with it there. - Joe ----- Original Message ----- From: "Bob Stone" To: "This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions." Sent: Thursday, January 18, 2007 2:33 PM Subject: RE: [sqr-users] Select statement returns far fewer rows thandeletestatement using the same criteria I concur. You dropped off the 'C' synonym when you turned it into a delete, which DOES change the statement (or at least could change it). The line AND OT.ASSET_ID = C.ASSET_ID is explicit about which columns it should compare: ASSET_ID on PS_OPEN_TRANS to ASSET_ID on PS_COST. The line AND OT.ASSET_ID = ASSET_ID hopes that the implicit table definition will correctly assign it. But since ASSET_ID is on both PS_OPEN_TRANS and PS_COST, it defaults to first table in the join (which in this exists would be PS_OPEN_TRANS) - so it thinks you mean AND OT.ASSET_ID = OT.ASSET_ID (which is a pretty silly statement to have in a join). You can have a synonym in the delete statement, same as the select *. SELECT * FROM PS_COST C WHERE C.ASSET_ID = '000000000315' AND C.BUSINESS_UNIT = '00010' AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT WHERE OT.CALC_DEPR_STATUS = 'P' AND OT.DTTM_STAMP = C.DTTM_STAMP AND OT.TRANS_TYPE = C.TRANS_TYPE AND OT.ASSET_ID = C.ASSET_ID AND OT.BUSINESS_UNIT = C.BUSINESS_UNIT AND OT.BOOK = C.BOOK) turns into DELETE FROM PS_COST C WHERE C.ASSET_ID = '000000000315' AND C.BUSINESS_UNIT = '00010' AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT WHERE OT.CALC_DEPR_STATUS = 'P' AND OT.DTTM_STAMP = C.DTTM_STAMP AND OT.TRANS_TYPE = C.TRANS_TYPE AND OT.ASSET_ID = C.ASSET_ID AND OT.BUSINESS_UNIT = C.BUSINESS_UNIT AND OT.BOOK = C.BOOK) -----Original Message----- From: sqr-users-bounces+bstone=fastenal.com@sqrug.org [mailto:sqr-users-bounces+bstone=fastenal.com@sqrug.org] On Behalf Of Larry Roux Sent: Thursday, January 18, 2007 3:20 PM To: sqr-users@sqrug.org Subject: Re: [sqr-users] Select statement returns far fewer rows thandelete statement using the same criteria Try fully qualifying the exists statement? ie : DELETE FROM PS_COST WHERE PS_COST.ASSET_ID = '000000000315' AND PS_COST.BUSINESS_UNIT = '00010' AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT WHERE OT.CALC_DEPR_STATUS = 'P' AND OT.DTTM_STAMP = PS_COST.DTTM_STAMP AND OT.TRANS_TYPE = PS_COST.TRANS_TYPE AND OT.ASSET_ID = PS_COST.ASSET_ID AND OT.BUSINESS_UNIT = PS_COST.BUSINESS_UNIT AND OT.BOOK = PS_COST.BOOK) also, PS_OPEN_TRANS wouldn't happen to be a view, would it? I was thinking if it was the data beneath it could be changing as you do the deletes. Larry Roux Information Systems Syracuse University lroux@syr.edu >>> jej1216@hotmail.com 1/18/2007 4:14 PM >>> I have an SQL question, but this group has proven to be such a goldmine of help for SQR, I wanted to post this here as well as in a SQL Server group. I have a select statement that returns 36 rows. I changed it to a delete statement by simply replacing 'Select * from' with 'Delete from.' The delete statement deletes 191 rows. I would think that, regardless of whether or not the criteria is correct, both the 'select' and the 'delete' would hit the same number of rows. Here is my select: SELECT * FROM PS_COST C WHERE C.ASSET_ID = '000000000315' AND C.BUSINESS_UNIT = '00010' AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT WHERE OT.CALC_DEPR_STATUS = 'P' AND OT.DTTM_STAMP = C.DTTM_STAMP AND OT.TRANS_TYPE = C.TRANS_TYPE AND OT.ASSET_ID = C.ASSET_ID AND OT.BUSINESS_UNIT = C.BUSINESS_UNIT AND OT.BOOK = C.BOOK) And here is my delete: DELETE FROM PS_COST WHERE ASSET_ID = '000000000315' AND BUSINESS_UNIT = '00010' AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT WHERE OT.CALC_DEPR_STATUS = 'P' AND OT.DTTM_STAMP = DTTM_STAMP AND OT.TRANS_TYPE = TRANS_TYPE AND OT.ASSET_ID = ASSET_ID AND OT.BUSINESS_UNIT = BUSINESS_UNIT AND OT.BOOK = BOOK) Any help would be appreciated. - Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 18 16:56:19 2007 Subject: RE: [sqr-users] need to display .bmp file as logo using SQR Date: Thu, 18 Jan 2007 16:50:43 -0500 From: "Peter Burton" The current version of Hyperion SQR supports GIF, JPEG, BMP, PNG, and TIFF images files when producing PDF output. Peter -----Original Message----- From: sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org [mailto:sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org] On Behalf Of Ed Kelly Sent: Thursday, January 18, 2007 4:45 PM To: sqr-users@sqrug.org Subject: [sqr-users] need to display .bmp file as logo using SQR IIRC, SQR PDF output only supports JPG and GIF file formats. Convert your=20 BMP File to one of these formats and you should be fine. >Hi, > >I am writing a SQR programme to display .bmp file as logo. Output format of=20 >SQR is PDF. Running >the SQR in unix server. Please help me out in=20 >achiving the same. > >Regards, >Muthukumaresan _________________________________________________________________ The MSN Entertainment Guide to Golden Globes is here. Get all the scoop.=20 http://tv.msn.com/tv/globes2007/?icid=3Dnctagline2 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users If you have received this e-mail in error, please delete it and notify the = sender as soon as possible. The contents of this e-mail may be confidential= and the unauthorized use, copying, or dissemination of it and any attachme= nts to it, is prohibited. Internet communications are not secure and Hyperi= on does not, therefore, accept legal responsibility for the contents of thi= s message nor for any damage caused by viruses. The views expressed here do= not necessarily represent those of Hyperion. For more information about Hy= perion, please visit our Web site at: www.hyperion.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 18 17:00:10 2007 From: "the dragon" Subject: RE: [sqr-users] Select statement returns far fewer rows than deletestatement using the same criteria Date: Thu, 18 Jan 2007 15:54:29 -0600 Don't know if this is the issue, because what you're describing should be impossible, but change the * in your subselect to a 1. AND EXISTS (SELECT 1 FROM PS_OPEN_TRANS OT Oh, wait, I have it............ Your code is *NOT* the same. You are not using the outside alias in your subselect. You *MUST* reference outside variables in a subselect with an alias, or it assumes you're talking about the variables inside the subselect. this is wrong: DELETE FROM PS_COST WHERE ASSET_ID = '000000000315' AND BUSINESS_UNIT = '00010' AND EXISTS (SELECT 1 FROM PS_OPEN_TRANS OT WHERE OT.CALC_DEPR_STATUS = 'P' AND OT.DTTM_STAMP = DTTM_STAMP AND OT.TRANS_TYPE = TRANS_TYPE AND OT.ASSET_ID = ASSET_ID AND OT.BUSINESS_UNIT = BUSINESS_UNIT AND OT.BOOK = BOOK) But this would be OK DELETE FROM PS_COST A WHERE A.ASSET_ID = '000000000315' AND A.BUSINESS_UNIT = '00010' AND EXISTS (SELECT 1 FROM PS_OPEN_TRANS WHERE CALC_DEPR_STATUS = 'P' AND DTTM_STAMP = A.DTTM_STAMP AND TRANS_TYPE = A.TRANS_TYPE AND ASSET_ID = A.ASSET_ID AND BUSINESS_UNIT = A.BUSINESS_UNIT AND BOOK = A.BOOK) peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca ----Original Message Follows---- I have an SQL question, but this group has proven to be such a goldmine of help for SQR, I wanted to post this here as well as in a SQL Server group. I have a select statement that returns 36 rows. I changed it to a delete statement by simply replacing 'Select * from' with 'Delete from.' The delete statement deletes 191 rows. I would think that, regardless of whether or not the criteria is correct, both the 'select' and the 'delete' would hit the same number of rows. Here is my select: SELECT * FROM PS_COST C WHERE C.ASSET_ID = '000000000315' AND C.BUSINESS_UNIT = '00010' AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT WHERE OT.CALC_DEPR_STATUS = 'P' AND OT.DTTM_STAMP = C.DTTM_STAMP AND OT.TRANS_TYPE = C.TRANS_TYPE AND OT.ASSET_ID = C.ASSET_ID AND OT.BUSINESS_UNIT = C.BUSINESS_UNIT AND OT.BOOK = C.BOOK) And here is my delete: DELETE FROM PS_COST WHERE ASSET_ID = '000000000315' AND BUSINESS_UNIT = '00010' AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT WHERE OT.CALC_DEPR_STATUS = 'P' AND OT.DTTM_STAMP = DTTM_STAMP AND OT.TRANS_TYPE = TRANS_TYPE AND OT.ASSET_ID = ASSET_ID AND OT.BUSINESS_UNIT = BUSINESS_UNIT AND OT.BOOK = BOOK) Any help would be appreciated. - Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Laugh, share and connect with Windows Live Messenger http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=hmtagline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jan 18 17:03:49 2007 From: "Joe" Subject: Re: [sqr-users] Select statement returns far fewer rowsthandeletestatement using the same criteria Date: Thu, 18 Jan 2007 14:56:52 -0700 That was exactly the problem. Thanks, folks - as usual, this group comes through! Joe ----- Original Message ----- From: "Larry Roux" To: Sent: Thursday, January 18, 2007 2:49 PM Subject: Re: [sqr-users] Select statement returns far fewer rowsthandeletestatement using the same criteria > Yeah, you can't qualify fields and tables with aliases on deletes. > However you can fully qualify them with the TABLE.FIELD notation. > > > > Larry Roux > Information Systems > Syracuse University > lroux@syr.edu > > >>>> jej1216@hotmail.com 1/18/2007 4:40 PM >>> > Thanks - I'll try fully qualifying it. I had dropped the 'C' synonym > because it error-ed out with it there. > - Joe > > ----- Original Message ----- > From: "Bob Stone" > To: "This list is for discussion about the SQR database reporting > languagefrom Hyperion Solutions." > Sent: Thursday, January 18, 2007 2:33 PM > Subject: RE: [sqr-users] Select statement returns far fewer rows > thandeletestatement using the same criteria > > I concur. You dropped off the 'C' synonym when you turned it into a > delete, which DOES change the statement (or at least could change it). > > The line AND OT.ASSET_ID = C.ASSET_ID is explicit about which columns > it > should compare: ASSET_ID on PS_OPEN_TRANS to ASSET_ID on PS_COST. The > line AND OT.ASSET_ID = ASSET_ID hopes that the implicit table > definition > will correctly assign it. But since ASSET_ID is on both PS_OPEN_TRANS > and PS_COST, it defaults to first table in the join (which in this > exists would be PS_OPEN_TRANS) - so it thinks you mean AND OT.ASSET_ID > = > OT.ASSET_ID (which is a pretty silly statement to have in a join). > > You can have a synonym in the delete statement, same as the select *. > > SELECT * > FROM PS_COST C > WHERE C.ASSET_ID = '000000000315' > AND C.BUSINESS_UNIT = '00010' > AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT > WHERE OT.CALC_DEPR_STATUS = 'P' > AND OT.DTTM_STAMP = C.DTTM_STAMP > AND OT.TRANS_TYPE = C.TRANS_TYPE > AND OT.ASSET_ID = C.ASSET_ID > AND OT.BUSINESS_UNIT = C.BUSINESS_UNIT > AND OT.BOOK = C.BOOK) > > turns into > > DELETE > FROM PS_COST C > WHERE C.ASSET_ID = '000000000315' > AND C.BUSINESS_UNIT = '00010' > AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT > WHERE OT.CALC_DEPR_STATUS = 'P' > AND OT.DTTM_STAMP = C.DTTM_STAMP > AND OT.TRANS_TYPE = C.TRANS_TYPE > AND OT.ASSET_ID = C.ASSET_ID > AND OT.BUSINESS_UNIT = C.BUSINESS_UNIT > AND OT.BOOK = C.BOOK) > > -----Original Message----- > From: sqr-users-bounces+bstone=fastenal.com@sqrug.org > [mailto:sqr-users-bounces+bstone=fastenal.com@sqrug.org] On Behalf Of > Larry Roux > Sent: Thursday, January 18, 2007 3:20 PM > To: sqr-users@sqrug.org > Subject: Re: [sqr-users] Select statement returns far fewer rows > thandelete statement using the same criteria > > Try fully qualifying the exists statement? ie : > > > DELETE FROM PS_COST > WHERE PS_COST.ASSET_ID = '000000000315' > AND PS_COST.BUSINESS_UNIT = '00010' > AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT > WHERE OT.CALC_DEPR_STATUS = 'P' > AND OT.DTTM_STAMP = PS_COST.DTTM_STAMP > AND OT.TRANS_TYPE = PS_COST.TRANS_TYPE > AND OT.ASSET_ID = PS_COST.ASSET_ID > AND OT.BUSINESS_UNIT = PS_COST.BUSINESS_UNIT > AND OT.BOOK = PS_COST.BOOK) > > also, PS_OPEN_TRANS wouldn't happen to be a view, would it? I was > thinking if it was the data beneath it could be changing as you do the > deletes. > > > > > > Larry Roux > Information Systems > Syracuse University > lroux@syr.edu > > >>>> jej1216@hotmail.com 1/18/2007 4:14 PM >>> > I have an SQL question, but this group has proven to be such a > goldmine > of help for SQR, I wanted to post this here as well as in a SQL Server > group. > > I have a select statement that returns 36 rows. I changed it to a > delete statement by simply replacing 'Select * from' with 'Delete > from.' > The delete statement deletes 191 rows. > > I would think that, regardless of whether or not the criteria is > correct, both the 'select' and the 'delete' would hit the same number > of > rows. > > Here is my select: > > SELECT * > FROM PS_COST C > WHERE C.ASSET_ID = '000000000315' > AND C.BUSINESS_UNIT = '00010' > AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT > WHERE OT.CALC_DEPR_STATUS = 'P' > AND OT.DTTM_STAMP = C.DTTM_STAMP > AND OT.TRANS_TYPE = C.TRANS_TYPE > AND OT.ASSET_ID = C.ASSET_ID > AND OT.BUSINESS_UNIT = C.BUSINESS_UNIT > AND OT.BOOK = C.BOOK) > > And here is my delete: > > DELETE FROM PS_COST > WHERE ASSET_ID = '000000000315' > AND BUSINESS_UNIT = '00010' > AND EXISTS (SELECT * FROM PS_OPEN_TRANS OT > WHERE OT.CALC_DEPR_STATUS = 'P' > AND OT.DTTM_STAMP = DTTM_STAMP > AND OT.TRANS_TYPE = TRANS_TYPE > AND OT.ASSET_ID = ASSET_ID > AND OT.BUSINESS_UNIT = BUSINESS_UNIT > AND OT.BOOK = BOOK) > > Any help would be appreciated. > > - Joe > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Jan 22 10:55:06 2007 Date: Mon, 22 Jan 2007 16:54:09 +0100 From: Marius Giepz Subject: [sqr-users] SQR exit values? Hi there! Is there any documentation about what the different exit values of sqr.exe mean? I am starting it as an external thread from a java-application and i am getting exit value 14 under certain circumstances. I cant find explanations about these errors anywhere. regards, Marius _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Jan 22 11:01:24 2007 Subject: RE: [sqr-users] SQR exit values? Date: Mon, 22 Jan 2007 09:59:18 -0600 From: "Knapp, Richard" Depends on your OS. Generally not useful in the details but only that the operation worked or failed. Richard Knapp Some say the world will end in fire, AITS - Data Warehouse Group Some say in ice. University of Missouri From what I've tasted of desire 615 Locust Street #200 I hold with those who favor fire. Columbia, MO 65201 But if it had to perish twice, 573-882-8856 I think I know enough of hate knappr@umsystem.edu To say that for destruction ice =20 Is also great =20 And would suffice. - R. Frost =20 =20 =20 =20 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Marius Giepz Sent: Monday, January 22, 2007 9:54 AM To: sqr-users@sqrug.org Subject: [sqr-users] SQR exit values? Hi there! Is there any documentation about what the different exit values of=20 sqr.exe mean? I am starting it as an external thread from a java-application and i am=20 getting exit value 14 under certain circumstances. I cant find explanations=20 about these errors anywhere. regards, Marius _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Jan 22 11:04:53 2007 From: "B Jyotsna" Date: Mon, 22 Jan 2007 11:01:17 -0500 Subject: [sqr-users] Direct Client - Hyperion/SQR - Jersey City Hi, Please let me know your interest, If interested please send me your resume and rates =20=20=20=20=20=20=20=20=20 Position Sr. Programmer/Analyst=20=20 Approximate Term 3 months=20=20 Date Needed ASAP=20=20 Daily Hours 8=20=20 Work Location New Jersey=20=20 =20=20=20=20=20=20 =20=20=20=20=20=20 Skills/Duties Hy[perion/Brio SQR Developer, UNIX=20 a.. Developing Reports using Hyperion SQR in a UNIX /Solaris enviro= nment for a Data Warehouse. Some Database skills required. Knowledge of f= inancial industry (fund accounting, custody) a big plus. Fluent in Hyperion SQR=20 a.. Candidate must have at least 3 years writing SQR Procedures.=20 b.. Experience with creation of SQC's.=20 c.. Heavy Report formatting experience with SQR.=20 d.. Must be able to design reports efficiently for performance. Database=20 a.. Rudimentary knowledge of Oracle Stored Procedures, PL/SQL.=20 b.. Understanding and interpreting of database views. Must be abl= e to work with SQL developer to build views to report requirements. =20=20=20=20=20 Thank you, Jyotsna Gurunath Confidentiality Notice: The material in this e-mail is intended only for th= e use of the individual to whom it is addressed and may contain information= that is confidential, privileged, and exempt from disclosure under applica= ble law. If you are not the intended recipient, be advised that the unautho= rized use, disclosure, copying, distribution, or the taking of any action i= n reliance on this information is strictly prohibited. If you have received= this e-mail in error, please immediately notify us for the return of this = material . _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Jan 22 11:38:14 2007 Subject: RE: [sqr-users] SQR exit values? Date: Mon, 22 Jan 2007 11:22:48 -0500 From: "Peter Burton" Marius, For Hyperion SQR ... # Notes: 0 =3D Normal # 1 =3D Error occurred while program is running # 2 =3D Problem processing the message file (sqrerr.dat) or specified # via the -ZMF command line option. # 3 =3D Problem processing the command line # 4 =3D Could not create the .SQT file # 5 =3D Could not compile the program # 6 =3D Problem processing the source file (.sqr/.sqt) # 7 =3D Problem with the listing file (.lis or -f{file}) # 8 =3D Problem with the error file (.err or -e{file}) # 9 =3D Problem with the log file (sqr.log, .log, -o{file}) # 10 =3D Problem with the 'postscri.str' file # (SQRDIR/postscri.str or Startup-File=3D) # 11 =3D Cannot call SQR recursively # 12 =3D Problem with Windows interface # 13 =3D An internal error occurred # 14 =3D Problem with license # 15 =3D Problem with -ZCF flag =20 Peter -----Original Message----- From: sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org [mailto:sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org] On Behalf Of Marius Giepz Sent: Monday, January 22, 2007 10:54 AM To: sqr-users@sqrug.org Subject: [sqr-users] SQR exit values? Hi there! Is there any documentation about what the different exit values of=20 sqr.exe mean? I am starting it as an external thread from a java-application and i am=20 getting exit value 14 under certain circumstances. I cant find explanations about these errors anywhere. regards, Marius _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users If you have received this e-mail in error, please delete it and notify the = sender as soon as possible. The contents of this e-mail may be confidential= and the unauthorized use, copying, or dissemination of it and any attachme= nts to it, is prohibited. Internet communications are not secure and Hyperi= on does not, therefore, accept legal responsibility for the contents of thi= s message nor for any damage caused by viruses. The views expressed here do= not necessarily represent those of Hyperion. For more information about Hy= perion, please visit our Web site at: www.hyperion.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 23 01:46:04 2007 Date: Tue, 23 Jan 2007 06:43:35 +0000 (GMT) From: senthilkumar periyasami Subject: [sqr-users] SQR ISSUE.. The file has only 16596 rows but it updated 17360 rows in database. Could you please analyze and find the reason why more rows are updated by EOD . --------------------------------- Here’s a new way to find what you're looking for - Yahoo! Answers _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 23 02:28:45 2007 From: "sri kanth" Subject: RE: [sqr-users] SQR Runner -kernel32.dll Date: Tue, 23 Jan 2007 12:54:23 +0530 This is a multi-part message in MIME format... ------=_NextPart_000_69be_1c64_61d9 Content-Type: text/plain; format=flowed Dear All, We are currently using SQR Runner to execute SQR programs. We have configured the SQR Runner according to the local file directory structure, but when we try to execute the SQRs we are getting an error related to the kernel32.dll file. Please provide solution for the same." Attached documents contain the snapshot of the errors. Just to give you brief about the problem. 1) The problem occurs at runtime 2) Error is reproducible as every time we run this the error occurs. 3) Version and other details are available in the attached documents. 4) Operating system being used is Windows NT 5) You will have to increase the view percentage to clearly read the screen dump attached as imag in the document. Looking for a quick response from your side. Thanks in advance. Regards, Srikanth _________________________________________________________________ Spice up your IM conversations. New, colorful and animated emoticons. Get chatting! http://server1.msn.co.in/SP05/emoticons/ ------=_NextPart_000_69be_1c64_61d9 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: AUTOMATIC WARNING Here was a non admissible message part of 'application/msword' MIME type. It has been automatically discarded before sending the message to the list. ------=_NextPart_000_69be_1c64_61d9 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: AUTOMATIC WARNING Here was a non admissible message part of 'application/msword' MIME type. It has been automatically discarded before sending the message to the list. ------=_NextPart_000_69be_1c64_61d9 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ------=_NextPart_000_69be_1c64_61d9-- From sqr-users-bounces@sqrug.org Tue Jan 23 08:27:44 2007 Date: Tue, 23 Jan 2007 08:25:27 -0500 From: Ray Ontko Subject: Re: [sqr-users] Direct Client - Hyperion/SQR - Jersey City Please do not use SQR-USERS for soliciting employment or employees. There is a separate list that may be used for this purpose. Visit: http://tech.groups.yahoo.com/group/sqr-jobs/ Ray B Jyotsna wrote: > Hi, > > Please let me know your interest, > If interested please send me your resume and rates > > > > > > Position Sr. Programmer/Analyst > Approximate Term 3 months > Date Needed ASAP > Daily Hours 8 > Work Location New Jersey > > > Skills/Duties Hy[perion/Brio SQR Developer, UNIX > a.. Developing Reports using Hyperion SQR in a UNIX /Solaris environment for a Data Warehouse. Some Database skills required. Knowledge of financial industry (fund accounting, custody) a big plus. > > Fluent in Hyperion SQR > a.. Candidate must have at least 3 years writing SQR Procedures. > b.. Experience with creation of SQC's. > c.. Heavy Report formatting experience with SQR. > d.. Must be able to design reports efficiently for performance. > > Database > a.. Rudimentary knowledge of Oracle Stored Procedures, PL/SQL. > b.. Understanding and interpreting of database views. Must be able to work with SQL developer to build views to report requirements. > > > > > > Thank you, > Jyotsna Gurunath > > > > Confidentiality Notice: The material in this e-mail is intended only for the use of the individual to whom it is addressed and may contain information that is confidential, privileged, and exempt from disclosure under applicable law. If you are not the intended recipient, be advised that the unauthorized use, disclosure, copying, distribution, or the taking of any action in reliance on this information is strictly prohibited. If you have received this e-mail in error, please immediately notify us for the return of this material . > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 23 09:22:30 2007 Date: Tue, 23 Jan 2007 06:19:56 -0800 (PST) From: Muthu kumaresan Subject: Re: [sqr-users] need to display .bmp file as logo using SQR Hi, Thank you for your clue. I am success in displaying image in PDF. ----- Original Message ---- From: Peter Burton To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Sent: Friday, January 19, 2007 3:20:43 AM Subject: RE: [sqr-users] need to display .bmp file as logo using SQR The current version of Hyperion SQR supports GIF, JPEG, BMP, PNG, and TIFF images files when producing PDF output. Peter -----Original Message----- From: sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org [mailto:sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org] On Behalf Of Ed Kelly Sent: Thursday, January 18, 2007 4:45 PM To: sqr-users@sqrug.org Subject: [sqr-users] need to display .bmp file as logo using SQR IIRC, SQR PDF output only supports JPG and GIF file formats. Convert your=20 BMP File to one of these formats and you should be fine. >Hi, > >I am writing a SQR programme to display .bmp file as logo. Output format of=20 >SQR is PDF. Running >the SQR in unix server. Please help me out in=20 >achiving the same. > >Regards, >Muthukumaresan _________________________________________________________________ The MSN Entertainment Guide to Golden Globes is here. Get all the scoop.=20 http://tv.msn.com/tv/globes2007/?icid=3Dnctagline2 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users If you have received this e-mail in error, please delete it and notify the = sender as soon as possible. The contents of this e-mail may be confidential= and the unauthorized use, copying, or dissemination of it and any attachme= nts to it, is prohibited. Internet communications are not secure and Hyperi= on does not, therefore, accept legal responsibility for the contents of thi= s message nor for any damage caused by viruses. The views expressed here do= not necessarily represent those of Hyperion. For more information about Hy= perion, please visit our Web site at: www.hyperion.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20 ___________________________________________________________________________= _________ TV dinner still cooling?=20 Check out "Tonight's Picks" on Yahoo! TV. http://tv.yahoo.com/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 23 09:33:37 2007 Date: Tue, 23 Jan 2007 06:30:30 -0800 (PST) From: Arun Kumar Subject: Re: [sqr-users] SQR ISSUE.. Could you please ask the question after providing details? We cannot read your mind. What file ? Are you updating the database for each row? Can you provide the sql? And what is EOD? ----- Original Message ---- From: senthilkumar periyasami To: sqr-users@sqrug.org Sent: Tuesday, January 23, 2007 1:43:35 AM Subject: [sqr-users] SQR ISSUE.. The file has only 16596 rows but it updated 17360 rows in database. Could = you please analyze and find the reason why more rows are updated by EOD . =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 --------------------------------- Here=92s a new way to find what you're looking for - Yahoo! Answers=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20 ___________________________________________________________________________= _________ Looking for earth-friendly autos?=20 Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 23 10:00:02 2007 From: "the dragon" Subject: Re: [sqr-users] SQR ISSUE.. Date: Tue, 23 Jan 2007 08:56:57 -0600 EoD is end of day. My question is, why is this person asking us to do his job for him? Maybe he should learn how to debug a program - maybe by using the -S flag, or embedding debug statements. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca ----Original Message Follows---- Could you please ask the question after providing details? We cannot read your mind. What file ? Are you updating the database for each row? Can you provide the sql? And what is EOD? ----- Original Message ---- The file has only 16596 rows but it updated 17360 rows in database. Could you please analyze and find the reason why more rows are updated by EOD . _________________________________________________________________ The MSN Entertainment Guide to Golden Globes is here. Get all the scoop. http://tv.msn.com/tv/globes2007/?icid=nctagline2 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 23 11:30:09 2007 Date: Tue, 23 Jan 2007 16:27:24 +0000 (GMT) From: john.tucker@oracle.com Subject: RE: [sqr-users] SQR exit values? Peter - thanks! I know I didn't ask the question, but I'm definitely saving that list. -John Tucker _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 23 11:49:51 2007 From: "the dragon" Subject: RE: [sqr-users] SQR exit values? Date: Tue, 23 Jan 2007 10:47:10 -0600 And it's always in the searchable archives at www.sqrug.com - your one place shopping center and primary information source for all things SQR related. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca ----Original Message Follows---- Peter - thanks! I know I didn't ask the question, but I'm definitely saving that list. -John Tucker _________________________________________________________________ Get Hilary Duff’s homepage with her photos, music, and more. http://celebrities.live.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 23 13:45:33 2007 From: "Kim Meyrowitz" Date: Tue, 23 Jan 2007 13:42:54 -0500 Subject: [sqr-users] Call System & using existing DB connection I currently have 1 sqt that calls another sqt using the Call System command. Problem is I need to pass the username,password and database info (using Oracle). I can get the username from the $username variable & the database by querying to see which db I am currently attached to, but how do I get the password? I can not hardcode this info because we run this file on different instances so everything does not stay the same. Thanks in advance! _________________________________________________________________ Turn searches into helpful donations. Make your search count. http://click4thecause.live.com/search/charity/default.aspx?source=hmemtagline_donation&FORM=WLMTAG _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 23 15:51:04 2007 Date: Tue, 23 Jan 2007 12:48:23 -0800 (PST) From: Arun Kumar Subject: Re: [sqr-users] Call System & using existing DB connection Hi, There must be compelling reasons why sqr doesnt make password available wit= hin the program. They do hae many reserved variable like $username,$sqr-platform,$sqr-connec= ted-db but not the password. Anyway,=20 If you are running in Peoplesoft environment you might be able to pass the = password (%ACCESSPSWD%) as one of the command line parameters and use it t= o call the SQT. If you do figure out please share it... HTH... ----- Original Message ---- From: Kim Meyrowitz To: sqr-users@sqrug.org Sent: Tuesday, January 23, 2007 1:42:54 PM Subject: [sqr-users] Call System & using existing DB connection I currently have 1 sqt that calls another sqt using the Call System command. Problem is I need to pass the username,password and database info (using=20 Oracle). I can get the username from the $username variable & the database= =20 by querying to see which db I am currently attached to, but how do I get th= e=20 password? I can not hardcode this info because we run this file on different instance= s=20 so everything does not stay the same. Thanks in advance! _________________________________________________________________ Turn searches into helpful donations. Make your search count.=20 http://click4thecause.live.com/search/charity/default.aspx?source=3Dhmemtag= line_donation&FORM=3DWLMTAG _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20 ___________________________________________________________________________= _________ Sucker-punch spam with award-winning protection.=20 Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 23 15:58:34 2007 Subject: RE: [sqr-users] Call System & using existing DB connection Date: Tue, 23 Jan 2007 15:55:52 -0500 From: "Peter Burton" The only reason why the password is not made available inside of the program is because of SECURITY concerns. Peter -----Original Message----- From: sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org [mailto:sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org] On Behalf Of Arun Kumar Sent: Tuesday, January 23, 2007 3:48 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] Call System & using existing DB connection Hi, There must be compelling reasons why sqr doesnt make password available within the program. They do hae many reserved variable like $username,$sqr-platform,$sqr-connected-db but not the password. Anyway,=20 If you are running in Peoplesoft environment you might be able to pass the password (%ACCESSPSWD%) as one of the command line parameters and use it to call the SQT. If you do figure out please share it... HTH... ----- Original Message ---- From: Kim Meyrowitz To: sqr-users@sqrug.org Sent: Tuesday, January 23, 2007 1:42:54 PM Subject: [sqr-users] Call System & using existing DB connection I currently have 1 sqt that calls another sqt using the Call System command. Problem is I need to pass the username,password and database info (using Oracle). I can get the username from the $username variable & the database=20 by querying to see which db I am currently attached to, but how do I get the=20 password? I can not hardcode this info because we run this file on different instances=20 so everything does not stay the same. Thanks in advance! _________________________________________________________________ Turn searches into helpful donations. Make your search count.=20 http://click4thecause.live.com/search/charity/default.aspx?source=3Dhmemta gline_donation&FORM=3DWLMTAG _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20 ________________________________________________________________________ ____________ Sucker-punch spam with award-winning protection.=20 Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users If you have received this e-mail in error, please delete it and notify the = sender as soon as possible. The contents of this e-mail may be confidential= and the unauthorized use, copying, or dissemination of it and any attachme= nts to it, is prohibited. Internet communications are not secure and Hyperi= on does not, therefore, accept legal responsibility for the contents of thi= s message nor for any damage caused by viruses. The views expressed here do= not necessarily represent those of Hyperion. For more information about Hy= perion, please visit our Web site at: www.hyperion.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 23 16:09:18 2007 From: "Kim Meyrowitz" Subject: RE: [sqr-users] Call System & using existing DB connection Date: Tue, 23 Jan 2007 16:06:35 -0500 Understand that, but since I am already connected in my calling sqt ...anyway to pass that same connection info on to the sqt I need to call via the call system command? >From: "Peter Burton" >Reply-To: "This list is for discussion about the SQR database >reportinglanguage from Hyperion Solutions." >To: "This list is for discussion about the SQR database reportinglanguage >fromHyperion Solutions." >Subject: RE: [sqr-users] Call System & using existing DB connection >Date: Tue, 23 Jan 2007 15:55:52 -0500 > > >The only reason why the password is not made available inside of the >program is because of SECURITY concerns. > >Peter > >-----Original Message----- >From: sqr-users-bounces+peter_burton=hyperion.com@sqrug.org >[mailto:sqr-users-bounces+peter_burton=hyperion.com@sqrug.org] On Behalf >Of Arun Kumar >Sent: Tuesday, January 23, 2007 3:48 PM >To: This list is for discussion about the SQR database reporting >languagefrom Hyperion Solutions. >Subject: Re: [sqr-users] Call System & using existing DB connection > >Hi, >There must be compelling reasons why sqr doesnt make password available >within the program. >They do hae many reserved variable like >$username,$sqr-platform,$sqr-connected-db but not the password. > >Anyway, > >If you are running in Peoplesoft environment you might be able to pass >the password (%ACCESSPSWD%) as one of the command line parameters and >use it to call the SQT. > >If you do figure out please share it... > > >HTH... > > >----- Original Message ---- >From: Kim Meyrowitz >To: sqr-users@sqrug.org >Sent: Tuesday, January 23, 2007 1:42:54 PM >Subject: [sqr-users] Call System & using existing DB connection > >I currently have 1 sqt that calls another sqt using the Call System >command. > >Problem is I need to pass the username,password and database info (using > >Oracle). I can get the username from the $username variable & the >database >by querying to see which db I am currently attached to, but how do I get >the >password? > >I can not hardcode this info because we run this file on different >instances >so everything does not stay the same. > >Thanks in advance! > >_________________________________________________________________ >Turn searches into helpful donations. Make your search count. >http://click4thecause.live.com/search/charity/default.aspx?source=hmemta >gline_donation&FORM=WLMTAG > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > >________________________________________________________________________ >____________ >Sucker-punch spam with award-winning protection. >Try the free Yahoo! Mail Beta. >http://advision.webevents.yahoo.com/mailbeta/features_spam.html > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > > >If you have received this e-mail in error, please delete it and notify the >sender as soon as possible. The contents of this e-mail may be confidential >and the unauthorized use, copying, or dissemination of it and any >attachments to it, is prohibited. Internet communications are not secure >and Hyperion does not, therefore, accept legal responsibility for the >contents of this message nor for any damage caused by viruses. The views >expressed here do not necessarily represent those of Hyperion. For more >information about Hyperion, please visit our Web site at: www.hyperion.com > > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Get Hilary Duff’s homepage with her photos, music, and more. http://celebrities.live.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 23 16:37:40 2007 Subject: RE: [sqr-users] Call System & using existing DB connection Date: Tue, 23 Jan 2007 16:34:47 -0500 From: "Peter Burton" Kim, Nope ... At least not from Hyperion SQR.=20 Peter -----Original Message----- From: sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org [mailto:sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org] On Behalf Of Kim Meyrowitz Sent: Tuesday, January 23, 2007 4:07 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Call System & using existing DB connection Understand that, but since I am already connected in my calling sqt=20 ...anyway to pass that same connection info on to the sqt I need to call via=20 the call system command? >From: "Peter Burton" >Reply-To: "This list is for discussion about the SQR database=20 >reportinglanguage from Hyperion Solutions." >To: "This list is for discussion about the SQR database reportinglanguage=20 >fromHyperion Solutions." >Subject: RE: [sqr-users] Call System & using existing DB connection >Date: Tue, 23 Jan 2007 15:55:52 -0500 > > >The only reason why the password is not made available inside of the >program is because of SECURITY concerns. > >Peter > >-----Original Message----- >From: sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org >[mailto:sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org] On Behalf >Of Arun Kumar >Sent: Tuesday, January 23, 2007 3:48 PM >To: This list is for discussion about the SQR database reporting >languagefrom Hyperion Solutions. >Subject: Re: [sqr-users] Call System & using existing DB connection > >Hi, >There must be compelling reasons why sqr doesnt make password available >within the program. >They do hae many reserved variable like >$username,$sqr-platform,$sqr-connected-db but not the password. > >Anyway, > >If you are running in Peoplesoft environment you might be able to pass >the password (%ACCESSPSWD%) as one of the command line parameters and >use it to call the SQT. > >If you do figure out please share it... > > >HTH... > > >----- Original Message ---- >From: Kim Meyrowitz >To: sqr-users@sqrug.org >Sent: Tuesday, January 23, 2007 1:42:54 PM >Subject: [sqr-users] Call System & using existing DB connection > >I currently have 1 sqt that calls another sqt using the Call System >command. > >Problem is I need to pass the username,password and database info (using > >Oracle). I can get the username from the $username variable & the >database >by querying to see which db I am currently attached to, but how do I get >the >password? > >I can not hardcode this info because we run this file on different >instances >so everything does not stay the same. > >Thanks in advance! > >_________________________________________________________________ >Turn searches into helpful donations. Make your search count. >http://click4thecause.live.com/search/charity/default.aspx?source=3Dhmemt a >gline_donation&FORM=3DWLMTAG > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > >_______________________________________________________________________ _ >____________ >Sucker-punch spam with award-winning protection. >Try the free Yahoo! Mail Beta. >http://advision.webevents.yahoo.com/mailbeta/features_spam.html > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > > >If you have received this e-mail in error, please delete it and notify the=20 >sender as soon as possible. The contents of this e-mail may be confidential=20 >and the unauthorized use, copying, or dissemination of it and any=20 >attachments to it, is prohibited. Internet communications are not secure=20 >and Hyperion does not, therefore, accept legal responsibility for the=20 >contents of this message nor for any damage caused by viruses. The views=20 >expressed here do not necessarily represent those of Hyperion. For more >information about Hyperion, please visit our Web site at: www.hyperion.com > > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Get Hilary Duff's homepage with her photos, music, and more.=20 http://celebrities.live.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users If you have received this e-mail in error, please delete it and notify the = sender as soon as possible. The contents of this e-mail may be confidential= and the unauthorized use, copying, or dissemination of it and any attachme= nts to it, is prohibited. Internet communications are not secure and Hyperi= on does not, therefore, accept legal responsibility for the contents of thi= s message nor for any damage caused by viruses. The views expressed here do= not necessarily represent those of Hyperion. For more information about Hy= perion, please visit our Web site at: www.hyperion.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 23 16:43:12 2007 From: "Dwight Schrute" Subject: RE: [sqr-users] Call System & using existing DB connection Date: Tue, 23 Jan 2007 15:40:15 -0600 Suggestion: Create a input variable called $password and populate it when you call your first report. Then use that in the creation of the connection string for the second report. >From: "Peter Burton" >Reply-To: "This list is for discussion about the SQR database >reportinglanguage from Hyperion Solutions." >To: "This list is for discussion about the SQR database reportinglanguage >fromHyperion Solutions." >Subject: RE: [sqr-users] Call System & using existing DB connection >Date: Tue, 23 Jan 2007 16:34:47 -0500 > >Kim, > >Nope ... At least not from Hyperion SQR. > >Peter > >-----Original Message----- >From: sqr-users-bounces+peter_burton=hyperion.com@sqrug.org >[mailto:sqr-users-bounces+peter_burton=hyperion.com@sqrug.org] On Behalf >Of Kim Meyrowitz >Sent: Tuesday, January 23, 2007 4:07 PM >To: sqr-users@sqrug.org >Subject: RE: [sqr-users] Call System & using existing DB connection > >Understand that, but since I am already connected in my calling sqt >...anyway to pass that same connection info on to the sqt I need to call >via >the call system command? > > > >From: "Peter Burton" > >Reply-To: "This list is for discussion about the SQR database > >reportinglanguage from Hyperion Solutions." > >To: "This list is for discussion about the SQR database >reportinglanguage > >fromHyperion Solutions." > >Subject: RE: [sqr-users] Call System & using existing DB connection > >Date: Tue, 23 Jan 2007 15:55:52 -0500 > > > > > >The only reason why the password is not made available inside of the > >program is because of SECURITY concerns. > > > >Peter > > > >-----Original Message----- > >From: sqr-users-bounces+peter_burton=hyperion.com@sqrug.org > >[mailto:sqr-users-bounces+peter_burton=hyperion.com@sqrug.org] On >Behalf > >Of Arun Kumar > >Sent: Tuesday, January 23, 2007 3:48 PM > >To: This list is for discussion about the SQR database reporting > >languagefrom Hyperion Solutions. > >Subject: Re: [sqr-users] Call System & using existing DB connection > > > >Hi, > >There must be compelling reasons why sqr doesnt make password available > >within the program. > >They do hae many reserved variable like > >$username,$sqr-platform,$sqr-connected-db but not the password. > > > >Anyway, > > > >If you are running in Peoplesoft environment you might be able to pass > >the password (%ACCESSPSWD%) as one of the command line parameters and > >use it to call the SQT. > > > >If you do figure out please share it... > > > > > >HTH... > > > > > >----- Original Message ---- > >From: Kim Meyrowitz > >To: sqr-users@sqrug.org > >Sent: Tuesday, January 23, 2007 1:42:54 PM > >Subject: [sqr-users] Call System & using existing DB connection > > > >I currently have 1 sqt that calls another sqt using the Call System > >command. > > > >Problem is I need to pass the username,password and database info >(using > > > >Oracle). I can get the username from the $username variable & the > >database > >by querying to see which db I am currently attached to, but how do I >get > >the > >password? > > > >I can not hardcode this info because we run this file on different > >instances > >so everything does not stay the same. > > > >Thanks in advance! > > > >_________________________________________________________________ > >Turn searches into helpful donations. Make your search count. > >http://click4thecause.live.com/search/charity/default.aspx?source=hmemt >a > >gline_donation&FORM=WLMTAG > > > > > >_______________________________________________ > >sqr-users mailing list > >sqr-users@sqrug.org > >http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > > > > > > > > > >_______________________________________________________________________ >_ > >____________ > >Sucker-punch spam with award-winning protection. > >Try the free Yahoo! Mail Beta. > >http://advision.webevents.yahoo.com/mailbeta/features_spam.html > > > >_______________________________________________ > >sqr-users mailing list > >sqr-users@sqrug.org > >http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > >If you have received this e-mail in error, please delete it and notify >the > >sender as soon as possible. The contents of this e-mail may be >confidential > >and the unauthorized use, copying, or dissemination of it and any > >attachments to it, is prohibited. Internet communications are not >secure > >and Hyperion does not, therefore, accept legal responsibility for the > >contents of this message nor for any damage caused by viruses. The >views > >expressed here do not necessarily represent those of Hyperion. For more > > >information about Hyperion, please visit our Web site at: >www.hyperion.com > > > > > > > >_______________________________________________ > >sqr-users mailing list > >sqr-users@sqrug.org > >http://www.sqrug.org/mailman/listinfo/sqr-users > >_________________________________________________________________ >Get Hilary Duff's homepage with her photos, music, and more. >http://celebrities.live.com > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > > >If you have received this e-mail in error, please delete it and notify the >sender as soon as possible. The contents of this e-mail may be confidential >and the unauthorized use, copying, or dissemination of it and any >attachments to it, is prohibited. Internet communications are not secure >and Hyperion does not, therefore, accept legal responsibility for the >contents of this message nor for any damage caused by viruses. The views >expressed here do not necessarily represent those of Hyperion. For more >information about Hyperion, please visit our Web site at: www.hyperion.com > > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Search for grocery stores. Find gratitude. Turn a simple search into something more. http://click4thecause.live.com/search/charity/default.aspx?source=hmemtagline_gratitude&FORM=WLMTAG _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 23 17:02:56 2007 Date: Tue, 23 Jan 2007 14:00:07 -0800 (PST) From: Arun Kumar Subject: Re: [sqr-users] Call System & using existing DB connection Again security concern: Input command is not encrypted.=20 It will display the password when user types it. The sqr can be used (accused) to collect user's passwords.=20 HTH ----- Original Message ---- From: Dwight Schrute To: sqr-users@sqrug.org Sent: Tuesday, January 23, 2007 4:40:15 PM Subject: RE: [sqr-users] Call System & using existing DB connection Suggestion: Create a input variable called $password and populate it when= =20 you call your first report. Then use that in the creation of the connectio= n=20 string for the second report. >From: "Peter Burton" >Reply-To: "This list is for discussion about the SQR database=20 >reportinglanguage from Hyperion Solutions." >To: "This list is for discussion about the SQR database reportinglanguage= =20 >fromHyperion Solutions." >Subject: RE: [sqr-users] Call System & using existing DB connection >Date: Tue, 23 Jan 2007 16:34:47 -0500 > >Kim, > >Nope ... At least not from Hyperion SQR. > >Peter > >-----Original Message----- >From: sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org >[mailto:sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org] On Behalf >Of Kim Meyrowitz >Sent: Tuesday, January 23, 2007 4:07 PM >To: sqr-users@sqrug.org >Subject: RE: [sqr-users] Call System & using existing DB connection > >Understand that, but since I am already connected in my calling sqt >...anyway to pass that same connection info on to the sqt I need to call >via >the call system command? > > > >From: "Peter Burton" > >Reply-To: "This list is for discussion about the SQR database > >reportinglanguage from Hyperion Solutions." > >To: "This list is for discussion about the SQR database >reportinglanguage > >fromHyperion Solutions." > >Subject: RE: [sqr-users] Call System & using existing DB connection > >Date: Tue, 23 Jan 2007 15:55:52 -0500 > > > > > >The only reason why the password is not made available inside of the > >program is because of SECURITY concerns. > > > >Peter > > > >-----Original Message----- > >From: sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org > >[mailto:sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org] On >Behalf > >Of Arun Kumar > >Sent: Tuesday, January 23, 2007 3:48 PM > >To: This list is for discussion about the SQR database reporting > >languagefrom Hyperion Solutions. > >Subject: Re: [sqr-users] Call System & using existing DB connection > > > >Hi, > >There must be compelling reasons why sqr doesnt make password available > >within the program. > >They do hae many reserved variable like > >$username,$sqr-platform,$sqr-connected-db but not the password. > > > >Anyway, > > > >If you are running in Peoplesoft environment you might be able to pass > >the password (%ACCESSPSWD%) as one of the command line parameters and > >use it to call the SQT. > > > >If you do figure out please share it... > > > > > >HTH... > > > > > >----- Original Message ---- > >From: Kim Meyrowitz > >To: sqr-users@sqrug.org > >Sent: Tuesday, January 23, 2007 1:42:54 PM > >Subject: [sqr-users] Call System & using existing DB connection > > > >I currently have 1 sqt that calls another sqt using the Call System > >command. > > > >Problem is I need to pass the username,password and database info >(using > > > >Oracle). I can get the username from the $username variable & the > >database > >by querying to see which db I am currently attached to, but how do I >get > >the > >password? > > > >I can not hardcode this info because we run this file on different > >instances > >so everything does not stay the same. > > > >Thanks in advance! > > > >_________________________________________________________________ > >Turn searches into helpful donations. Make your search count. > >http://click4thecause.live.com/search/charity/default.aspx?source=3Dhmemt >a > >gline_donation&FORM=3DWLMTAG > > > > > >_______________________________________________ > >sqr-users mailing list > >sqr-users@sqrug.org > >http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > > > > > > > > > >_______________________________________________________________________ >_ > >____________ > >Sucker-punch spam with award-winning protection. > >Try the free Yahoo! Mail Beta. > >http://advision.webevents.yahoo.com/mailbeta/features_spam.html > > > >_______________________________________________ > >sqr-users mailing list > >sqr-users@sqrug.org > >http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > >If you have received this e-mail in error, please delete it and notify >the > >sender as soon as possible. The contents of this e-mail may be >confidential > >and the unauthorized use, copying, or dissemination of it and any > >attachments to it, is prohibited. Internet communications are not >secure > >and Hyperion does not, therefore, accept legal responsibility for the > >contents of this message nor for any damage caused by viruses. The >views > >expressed here do not necessarily represent those of Hyperion. For more > > >information about Hyperion, please visit our Web site at: >www.hyperion.com > > > > > > > >_______________________________________________ > >sqr-users mailing list > >sqr-users@sqrug.org > >http://www.sqrug.org/mailman/listinfo/sqr-users > >_________________________________________________________________ >Get Hilary Duff's homepage with her photos, music, and more. >http://celebrities.live.com > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > > >If you have received this e-mail in error, please delete it and notify the= =20 >sender as soon as possible. The contents of this e-mail may be confidentia= l=20 >and the unauthorized use, copying, or dissemination of it and any=20 >attachments to it, is prohibited. Internet communications are not secure= =20 >and Hyperion does not, therefore, accept legal responsibility for the=20 >contents of this message nor for any damage caused by viruses. The views= =20 >expressed here do not necessarily represent those of Hyperion. For more=20 >information about Hyperion, please visit our Web site at: www.hyperion.com > > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Search for grocery stores. Find gratitude. Turn a simple search into=20 something more.=20 http://click4thecause.live.com/search/charity/default.aspx?source=3Dhmemtag= line_gratitude&FORM=3DWLMTAG _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20 ___________________________________________________________________________= _________ Yahoo! Music Unlimited Access over 1 million songs. http://music.yahoo.com/unlimited _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 23 17:21:46 2007 From: "Dwight Schrute" Subject: Re: [sqr-users] Call System & using existing DB connection Date: Tue, 23 Jan 2007 16:18:56 -0600 DUH!! There is no way around that. It is one of the faulty requirements of SQR. The only other suggestion is to encrypt the password when passing it to the report and decrypt it WITHIN the report. >From: Arun Kumar >Reply-To: "This list is for discussion about the SQR database >reportinglanguage from Hyperion Solutions." >To: "This list is for discussion about the SQR database reporting >languagefrom Hyperion Solutions." >Subject: Re: [sqr-users] Call System & using existing DB connection >Date: Tue, 23 Jan 2007 14:00:07 -0800 (PST) > >Again security concern: >Input command is not encrypted. >It will display the password when user types it. >The sqr can be used (accused) to collect user's passwords. > >HTH > >----- Original Message ---- >From: Dwight Schrute >To: sqr-users@sqrug.org >Sent: Tuesday, January 23, 2007 4:40:15 PM >Subject: RE: [sqr-users] Call System & using existing DB connection > >Suggestion: Create a input variable called $password and populate it when >you call your first report. Then use that in the creation of the >connection >string for the second report. > > > >From: "Peter Burton" > >Reply-To: "This list is for discussion about the SQR database > >reportinglanguage from Hyperion Solutions." > >To: "This list is for discussion about the SQR database reportinglanguage > >fromHyperion Solutions." > >Subject: RE: [sqr-users] Call System & using existing DB connection > >Date: Tue, 23 Jan 2007 16:34:47 -0500 > > > >Kim, > > > >Nope ... At least not from Hyperion SQR. > > > >Peter > > > >-----Original Message----- > >From: sqr-users-bounces+peter_burton=hyperion.com@sqrug.org > >[mailto:sqr-users-bounces+peter_burton=hyperion.com@sqrug.org] On Behalf > >Of Kim Meyrowitz > >Sent: Tuesday, January 23, 2007 4:07 PM > >To: sqr-users@sqrug.org > >Subject: RE: [sqr-users] Call System & using existing DB connection > > > >Understand that, but since I am already connected in my calling sqt > >...anyway to pass that same connection info on to the sqt I need to call > >via > >the call system command? > > > > > > >From: "Peter Burton" > > >Reply-To: "This list is for discussion about the SQR database > > >reportinglanguage from Hyperion Solutions." > > >To: "This list is for discussion about the SQR database > >reportinglanguage > > >fromHyperion Solutions." > > >Subject: RE: [sqr-users] Call System & using existing DB connection > > >Date: Tue, 23 Jan 2007 15:55:52 -0500 > > > > > > > > >The only reason why the password is not made available inside of the > > >program is because of SECURITY concerns. > > > > > >Peter > > > > > >-----Original Message----- > > >From: sqr-users-bounces+peter_burton=hyperion.com@sqrug.org > > >[mailto:sqr-users-bounces+peter_burton=hyperion.com@sqrug.org] On > >Behalf > > >Of Arun Kumar > > >Sent: Tuesday, January 23, 2007 3:48 PM > > >To: This list is for discussion about the SQR database reporting > > >languagefrom Hyperion Solutions. > > >Subject: Re: [sqr-users] Call System & using existing DB connection > > > > > >Hi, > > >There must be compelling reasons why sqr doesnt make password available > > >within the program. > > >They do hae many reserved variable like > > >$username,$sqr-platform,$sqr-connected-db but not the password. > > > > > >Anyway, > > > > > >If you are running in Peoplesoft environment you might be able to pass > > >the password (%ACCESSPSWD%) as one of the command line parameters and > > >use it to call the SQT. > > > > > >If you do figure out please share it... > > > > > > > > >HTH... > > > > > > > > >----- Original Message ---- > > >From: Kim Meyrowitz > > >To: sqr-users@sqrug.org > > >Sent: Tuesday, January 23, 2007 1:42:54 PM > > >Subject: [sqr-users] Call System & using existing DB connection > > > > > >I currently have 1 sqt that calls another sqt using the Call System > > >command. > > > > > >Problem is I need to pass the username,password and database info > >(using > > > > > >Oracle). I can get the username from the $username variable & the > > >database > > >by querying to see which db I am currently attached to, but how do I > >get > > >the > > >password? > > > > > >I can not hardcode this info because we run this file on different > > >instances > > >so everything does not stay the same. > > > > > >Thanks in advance! > > > > > >_________________________________________________________________ > > >Turn searches into helpful donations. Make your search count. > > >http://click4thecause.live.com/search/charity/default.aspx?source=hmemt > >a > > >gline_donation&FORM=WLMTAG > > > > > > > > >_______________________________________________ > > >sqr-users mailing list > > >sqr-users@sqrug.org > > >http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > > > > > > > > > > > > > > > > > > >_______________________________________________________________________ > >_ > > >____________ > > >Sucker-punch spam with award-winning protection. > > >Try the free Yahoo! Mail Beta. > > >http://advision.webevents.yahoo.com/mailbeta/features_spam.html > > > > > >_______________________________________________ > > >sqr-users mailing list > > >sqr-users@sqrug.org > > >http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > >If you have received this e-mail in error, please delete it and notify > >the > > >sender as soon as possible. The contents of this e-mail may be > >confidential > > >and the unauthorized use, copying, or dissemination of it and any > > >attachments to it, is prohibited. Internet communications are not > >secure > > >and Hyperion does not, therefore, accept legal responsibility for the > > >contents of this message nor for any damage caused by viruses. The > >views > > >expressed here do not necessarily represent those of Hyperion. For more > > > > >information about Hyperion, please visit our Web site at: > >www.hyperion.com > > > > > > > > > > > >_______________________________________________ > > >sqr-users mailing list > > >sqr-users@sqrug.org > > >http://www.sqrug.org/mailman/listinfo/sqr-users > > > >_________________________________________________________________ > >Get Hilary Duff's homepage with her photos, music, and more. > >http://celebrities.live.com > > > > > >_______________________________________________ > >sqr-users mailing list > >sqr-users@sqrug.org > >http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > >If you have received this e-mail in error, please delete it and notify >the > >sender as soon as possible. The contents of this e-mail may be >confidential > >and the unauthorized use, copying, or dissemination of it and any > >attachments to it, is prohibited. Internet communications are not secure > >and Hyperion does not, therefore, accept legal responsibility for the > >contents of this message nor for any damage caused by viruses. The views > >expressed here do not necessarily represent those of Hyperion. For more > >information about Hyperion, please visit our Web site at: >www.hyperion.com > > > > > > > >_______________________________________________ > >sqr-users mailing list > >sqr-users@sqrug.org > >http://www.sqrug.org/mailman/listinfo/sqr-users > >_________________________________________________________________ >Search for grocery stores. Find gratitude. Turn a simple search into >something more. >http://click4thecause.live.com/search/charity/default.aspx?source=hmemtagline_gratitude&FORM=WLMTAG > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > >____________________________________________________________________________________ >Yahoo! Music Unlimited >Access over 1 million songs. >http://music.yahoo.com/unlimited > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Search for grocery stores. Find gratitude. Turn a simple search into something more. http://click4thecause.live.com/search/charity/default.aspx?source=hmemtagline_gratitude&FORM=WLMTAG _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 23 17:28:54 2007 Date: Tue, 23 Jan 2007 17:25:54 -0500 From: "Everett Carr" Subject: Re: [sqr-users] Call System & using existing DB connection hmmmm.. watched this thread off-n-on. through the day.. =20 =20 how about trying a different tack than using the call system command? =20 If I'm assuming and remembering this thread........ and your going to run o= n the same environment.... then simply have change the calling SQR/sqr to submit a job to process sche= duler instead of making=20 a system call.=20 =20 Then your problem is solved since proc scheduler will run it for you. If yo= u need the first sqr to WAIT until the other sqr finishes, then simply have= it go into a loop checking the run status of the 2'nd sqr that the "caller= "-if you will, submitted >>> "Dwight Schrute" 1/23/2007 5:18 PM >>> DUH!! There is no way around that. It is one of the faulty requirements o= f=20 SQR. The only other suggestion is to encrypt the password when passing it to the= =20 report and decrypt it WITHIN the report. >From: Arun Kumar >Reply-To: "This list is for discussion about the SQR database=20 >reportinglanguage from Hyperion Solutions." >To: "This list is for discussion about the SQR database reporting=20 >languagefrom Hyperion Solutions." >Subject: Re: [sqr-users] Call System & using existing DB connection >Date: Tue, 23 Jan 2007 14:00:07 -0800 (PST) > >Again security concern: >Input command is not encrypted. >It will display the password when user types it. >The sqr can be used (accused) to collect user's passwords. > >HTH > >----- Original Message ---- >From: Dwight Schrute >To: sqr-users@sqrug.org=20 >Sent: Tuesday, January 23, 2007 4:40:15 PM >Subject: RE: [sqr-users] Call System & using existing DB connection > >Suggestion: Create a input variable called $password and populate it when >you call your first report. Then use that in the creation of the=20 >connection >string for the second report. > > > >From: "Peter Burton" > >Reply-To: "This list is for discussion about the SQR database > >reportinglanguage from Hyperion Solutions." > >To: "This list is for discussion about the SQR database reportinglanguage > >fromHyperion Solutions." > >Subject: RE: [sqr-users] Call System & using existing DB connection > >Date: Tue, 23 Jan 2007 16:34:47 -0500 > > > >Kim, > > > >Nope ... At least not from Hyperion SQR. > > > >Peter > > > >-----Original Message----- > >From: sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org=20 > >[mailto:sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org] On Beha= lf > >Of Kim Meyrowitz > >Sent: Tuesday, January 23, 2007 4:07 PM > >To: sqr-users@sqrug.org=20 > >Subject: RE: [sqr-users] Call System & using existing DB connection > > > >Understand that, but since I am already connected in my calling sqt > >...anyway to pass that same connection info on to the sqt I need to call > >via > >the call system command? > > > > > > >From: "Peter Burton" > > >Reply-To: "This list is for discussion about the SQR database > > >reportinglanguage from Hyperion Solutions." > > >To: "This list is for discussion about the SQR database > >reportinglanguage > > >fromHyperion Solutions." > > >Subject: RE: [sqr-users] Call System & using existing DB connection > > >Date: Tue, 23 Jan 2007 15:55:52 -0500 > > > > > > > > >The only reason why the password is not made available inside of the > > >program is because of SECURITY concerns. > > > > > >Peter > > > > > >-----Original Message----- > > >From: sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org=20 > > >[mailto:sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org] On > >Behalf > > >Of Arun Kumar > > >Sent: Tuesday, January 23, 2007 3:48 PM > > >To: This list is for discussion about the SQR database reporting > > >languagefrom Hyperion Solutions. > > >Subject: Re: [sqr-users] Call System & using existing DB connection > > > > > >Hi, > > >There must be compelling reasons why sqr doesnt make password available > > >within the program. > > >They do hae many reserved variable like > > >$username,$sqr-platform,$sqr-connected-db but not the password. > > > > > >Anyway, > > > > > >If you are running in Peoplesoft environment you might be able to pass > > >the password (%ACCESSPSWD%) as one of the command line parameters and > > >use it to call the SQT. > > > > > >If you do figure out please share it... > > > > > > > > >HTH... > > > > > > > > >----- Original Message ---- > > >From: Kim Meyrowitz > > >To: sqr-users@sqrug.org=20 > > >Sent: Tuesday, January 23, 2007 1:42:54 PM > > >Subject: [sqr-users] Call System & using existing DB connection > > > > > >I currently have 1 sqt that calls another sqt using the Call System > > >command. > > > > > >Problem is I need to pass the username,password and database info > >(using > > > > > >Oracle). I can get the username from the $username variable & the > > >database > > >by querying to see which db I am currently attached to, but how do I > >get > > >the > > >password? > > > > > >I can not hardcode this info because we run this file on different > > >instances > > >so everything does not stay the same. > > > > > >Thanks in advance! > > > > > >_________________________________________________________________ > > >Turn searches into helpful donations. Make your search count. > > >http://click4thecause.live.com/search/charity/default.aspx?source=3Dhm= emt=20 > >a > > >gline_donation&FORM=3DWLMTAG > > > > > > > > >_______________________________________________ > > >sqr-users mailing list > > >sqr-users@sqrug.org=20 > > >http://www.sqrug.org/mailman/listinfo/sqr-users=20 > > > > > > > > > > > > > > > > > > > > > > > > > > >_______________________________________________________________________ > >_ > > >____________ > > >Sucker-punch spam with award-winning protection. > > >Try the free Yahoo! Mail Beta. > > >http://advision.webevents.yahoo.com/mailbeta/features_spam.html=20 > > > > > >_______________________________________________ > > >sqr-users mailing list > > >sqr-users@sqrug.org=20 > > >http://www.sqrug.org/mailman/listinfo/sqr-users=20 > > > > > > > > >If you have received this e-mail in error, please delete it and notify > >the > > >sender as soon as possible. The contents of this e-mail may be > >confidential > > >and the unauthorized use, copying, or dissemination of it and any > > >attachments to it, is prohibited. Internet communications are not > >secure > > >and Hyperion does not, therefore, accept legal responsibility for the > > >contents of this message nor for any damage caused by viruses. The > >views > > >expressed here do not necessarily represent those of Hyperion. For more > > > > >information about Hyperion, please visit our Web site at: > >www.hyperion.com=20 > > > > > > > > > > > >_______________________________________________ > > >sqr-users mailing list > > >sqr-users@sqrug.org=20 > > >http://www.sqrug.org/mailman/listinfo/sqr-users=20 > > > >_________________________________________________________________ > >Get Hilary Duff's homepage with her photos, music, and more. > >http://celebrities.live.com ( http://celebrities.live.com/ ) > > > > > >_______________________________________________ > >sqr-users mailing list > >sqr-users@sqrug.org=20 > >http://www.sqrug.org/mailman/listinfo/sqr-users=20 > > > > > >If you have received this e-mail in error, please delete it and notify= =20 >the > >sender as soon as possible. The contents of this e-mail may be=20 >confidential > >and the unauthorized use, copying, or dissemination of it and any > >attachments to it, is prohibited. Internet communications are not secure > >and Hyperion does not, therefore, accept legal responsibility for the > >contents of this message nor for any damage caused by viruses. The views > >expressed here do not necessarily represent those of Hyperion. For more > >information about Hyperion, please visit our Web site at:=20 >www.hyperion.com=20 > > > > > > > >_______________________________________________ > >sqr-users mailing list > >sqr-users@sqrug.org=20 > >http://www.sqrug.org/mailman/listinfo/sqr-users=20 > >_________________________________________________________________ >Search for grocery stores. Find gratitude. Turn a simple search into >something more. >http://click4thecause.live.com/search/charity/default.aspx?source=3Dhmemta= gline_gratitude&FORM=3DWLMTAG=20 > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org=20 >http://www.sqrug.org/mailman/listinfo/sqr-users=20 > > > > > > > > >__________________________________________________________________________= __________ >Yahoo! Music Unlimited >Access over 1 million songs. >http://music.yahoo.com/unlimited=20 > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org=20 >http://www.sqrug.org/mailman/listinfo/sqr-users=20 _________________________________________________________________ Search for grocery stores. Find gratitude. Turn a simple search into=20 something more.=20 http://click4thecause.live.com/search/charity/default.aspx?source=3Dhmemtag= line_gratitude&FORM=3DWLMTAG=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 23 20:01:16 2007 From: "the dragon" Subject: Re: [sqr-users] Call System & using existing DB connection Date: Tue, 23 Jan 2007 18:58:25 -0600 Maybe everyone is going about this wrong. Do you not have access to the sqr programs that the sqts were generated from? If so, then program them together in one program. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca ----Original Message Follows---- From: Arun Kumar Reply-To: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." To: "This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions." Subject: Re: [sqr-users] Call System & using existing DB connection Date: Tue, 23 Jan 2007 14:00:07 -0800 (PST) MIME-Version: 1.0 Received: from seldon.sqrug.org ([199.164.165.113]) by bay0-mc5-f9.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Tue, 23 Jan 2007 14:04:00 -0800 Received: from localhost([127.0.0.1] helo=seldon.sqrug.org ident=list)by seldon.sqrug.org with esmtp (Exim 3.35 #1 (Debian))id 1H9TkC-0004Xo-00for ; Tue, 23 Jan 2007 17:03:56 -0500 Received: from web34604.mail.mud.yahoo.com ([209.191.68.138])by seldon.sqrug.org with smtp (Exim 3.35 #1 (Debian))id 1H9Th6-0004Fl-00for ; Tue, 23 Jan 2007 17:00:44 -0500 Received: (qmail 8310 invoked by uid 60001); 23 Jan 2007 22:00:07 -0000 Received: from [170.163.68.50] by web34604.mail.mud.yahoo.com via HTTP;Tue, 23 Jan 2007 14:00:07 PST X-Message-Info: LsUYwwHHNt2EvfYZ/GxRENrz9TluAAU9V3WbAMc/bso= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID;b=ryHE4D1G4JGaReTWwHIcDpzd9JWOnWOD3hRXb4J6mZyz1i4juk2BrRgTszUHgm+lLIri/U/T5a6bBAmRDfrsUK14PGWLKZU4pqRXFeOsBTJUZ+sTNbKoSGNFPqVsczjNQQXYpr2w0zGmVXc9CWm/v6tYuFOsGmzcichWAX6mAJ8=; X-YMail-OSG: Ps0Xh1kVM1mkf_pD13xJ1lDs_BjcgOFs6EsX7q9LZKJtdsa7Vt0ue_cS27.WtI_26fFrLV1Nm1Hh_cKpfvu3acwdRWNvF5Dsh.1OTTCE.EfgmxMm9aM- X-Mailer: YahooMailRC/368.3 YahooMailWebService/0.6.132.7 X-BeenThere: sqr-users@sqrug.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: sqr-users-bounces+ceprn=hotmail.com@sqrug.org Return-Path: sqr-users-bounces+ceprn=hotmail.com@sqrug.org X-OriginalArrivalTime: 23 Jan 2007 22:04:02.0026 (UTC) FILETIME=[63E9ACA0:01C73F3A] Again security concern: Input command is not encrypted. It will display the password when user types it. The sqr can be used (accused) to collect user's passwords. HTH ----- Original Message ---- From: Dwight Schrute To: sqr-users@sqrug.org Sent: Tuesday, January 23, 2007 4:40:15 PM Subject: RE: [sqr-users] Call System & using existing DB connection Suggestion: Create a input variable called $password and populate it when you call your first report. Then use that in the creation of the connection string for the second report. >From: "Peter Burton" >Reply-To: "This list is for discussion about the SQR database >reportinglanguage from Hyperion Solutions." >To: "This list is for discussion about the SQR database reportinglanguage >fromHyperion Solutions." >Subject: RE: [sqr-users] Call System & using existing DB connection >Date: Tue, 23 Jan 2007 16:34:47 -0500 > >Kim, > >Nope ... At least not from Hyperion SQR. > >Peter > >-----Original Message----- >From: sqr-users-bounces+peter_burton=hyperion.com@sqrug.org >[mailto:sqr-users-bounces+peter_burton=hyperion.com@sqrug.org] On Behalf >Of Kim Meyrowitz >Sent: Tuesday, January 23, 2007 4:07 PM >To: sqr-users@sqrug.org >Subject: RE: [sqr-users] Call System & using existing DB connection > >Understand that, but since I am already connected in my calling sqt >...anyway to pass that same connection info on to the sqt I need to call >via >the call system command? > > > >From: "Peter Burton" > >Reply-To: "This list is for discussion about the SQR database > >reportinglanguage from Hyperion Solutions." > >To: "This list is for discussion about the SQR database >reportinglanguage > >fromHyperion Solutions." > >Subject: RE: [sqr-users] Call System & using existing DB connection > >Date: Tue, 23 Jan 2007 15:55:52 -0500 > > > > > >The only reason why the password is not made available inside of the > >program is because of SECURITY concerns. > > > >Peter > > > >-----Original Message----- > >From: sqr-users-bounces+peter_burton=hyperion.com@sqrug.org > >[mailto:sqr-users-bounces+peter_burton=hyperion.com@sqrug.org] On >Behalf > >Of Arun Kumar > >Sent: Tuesday, January 23, 2007 3:48 PM > >To: This list is for discussion about the SQR database reporting > >languagefrom Hyperion Solutions. > >Subject: Re: [sqr-users] Call System & using existing DB connection > > > >Hi, > >There must be compelling reasons why sqr doesnt make password available > >within the program. > >They do hae many reserved variable like > >$username,$sqr-platform,$sqr-connected-db but not the password. > > > >Anyway, > > > >If you are running in Peoplesoft environment you might be able to pass > >the password (%ACCESSPSWD%) as one of the command line parameters and > >use it to call the SQT. > > > >If you do figure out please share it... > > > > > >HTH... > > > > > >----- Original Message ---- > >From: Kim Meyrowitz > >To: sqr-users@sqrug.org > >Sent: Tuesday, January 23, 2007 1:42:54 PM > >Subject: [sqr-users] Call System & using existing DB connection > > > >I currently have 1 sqt that calls another sqt using the Call System > >command. > > > >Problem is I need to pass the username,password and database info >(using > > > >Oracle). I can get the username from the $username variable & the > >database > >by querying to see which db I am currently attached to, but how do I >get > >the > >password? > > > >I can not hardcode this info because we run this file on different > >instances > >so everything does not stay the same. > > > >Thanks in advance! > > > >_________________________________________________________________ > >Turn searches into helpful donations. Make your search count. > >http://click4thecause.live.com/search/charity/default.aspx?source=hmemt >a > >gline_donation&FORM=WLMTAG > > > > > >_______________________________________________ > >sqr-users mailing list > >sqr-users@sqrug.org > >http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > > > > > > > > > >_______________________________________________________________________ >_ > >____________ > >Sucker-punch spam with award-winning protection. > >Try the free Yahoo! Mail Beta. > >http://advision.webevents.yahoo.com/mailbeta/features_spam.html > > > >_______________________________________________ > >sqr-users mailing list > >sqr-users@sqrug.org > >http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > >If you have received this e-mail in error, please delete it and notify >the > >sender as soon as possible. The contents of this e-mail may be >confidential > >and the unauthorized use, copying, or dissemination of it and any > >attachments to it, is prohibited. Internet communications are not >secure > >and Hyperion does not, therefore, accept legal responsibility for the > >contents of this message nor for any damage caused by viruses. The >views > >expressed here do not necessarily represent those of Hyperion. For more > > >information about Hyperion, please visit our Web site at: >www.hyperion.com > > > > > > > >_______________________________________________ > >sqr-users mailing list > >sqr-users@sqrug.org > >http://www.sqrug.org/mailman/listinfo/sqr-users > >_________________________________________________________________ >Get Hilary Duff's homepage with her photos, music, and more. >http://celebrities.live.com > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > > >If you have received this e-mail in error, please delete it and notify the >sender as soon as possible. The contents of this e-mail may be confidential >and the unauthorized use, copying, or dissemination of it and any >attachments to it, is prohibited. Internet communications are not secure >and Hyperion does not, therefore, accept legal responsibility for the >contents of this message nor for any damage caused by viruses. The views >expressed here do not necessarily represent those of Hyperion. For more >information about Hyperion, please visit our Web site at: www.hyperion.com > > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Search for grocery stores. Find gratitude. Turn a simple search into something more. http://click4thecause.live.com/search/charity/default.aspx?source=hmemtagline_gratitude&FORM=WLMTAG _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ____________________________________________________________________________________ Yahoo! Music Unlimited Access over 1 million songs. http://music.yahoo.com/unlimited _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Laugh, share and connect with Windows Live Messenger http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=hmtagline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 24 00:58:40 2007 From: "sri kanth" Subject: RE: [sqr-users] SQR Runner -kernel32.dll Date: Wed, 24 Jan 2007 11:25:34 +0530 This is a multi-part message in MIME format... ------=_NextPart_000_2db5_268c_781b Content-Type: text/plain; format=flowed We are facing the problem with "sqrw.exe". When we try to run the "sqrw.exe" file it is ending up with an windows error. I have attached the screen shots below. Quick response will be really appriciated. Regards, Srikanth Gurram >From: "sri kanth" >Reply-To: "This list is for discussion about the SQR database >reportinglanguage from Hyperion Solutions." >To: sqr-users@sqrug.org >Subject: RE: [sqr-users] SQR Runner -kernel32.dll >Date: Tue, 23 Jan 2007 12:54:23 +0530 > > >Dear All, > >We are currently using SQR Runner to execute SQR programs. We have >configured the SQR Runner according to the local file directory structure, >but when we try to execute the SQRs we are getting an error related to the >kernel32.dll file. Please provide solution for the same." Attached >documents contain the snapshot of the errors. Just to give you brief about >the problem. > > > >1) The problem occurs at runtime > >2) Error is reproducible as every time we run this the error occurs. > >3) Version and other details are available in the attached documents. > >4) Operating system being used is Windows NT > >5) You will have to increase the view percentage to clearly read the >screen dump attached as imag in the document. > >Looking for a quick response from your side. > >Thanks in advance. > >Regards, >Srikanth > >_________________________________________________________________ >Spice up your IM conversations. New, colorful and animated emoticons. Get >chatting! http://server1.msn.co.in/SP05/emoticons/ >Here was a non admissible message part of 'application/msword' MIME >type. It has been automatically discarded before sending the message to >the list. >Here was a non admissible message part of 'application/msword' MIME >type. It has been automatically discarded before sending the message to >the list. >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Spice up your IM conversations. New, colorful and animated emoticons. Get chatting! http://server1.msn.co.in/SP05/emoticons/ ------=_NextPart_000_2db5_268c_781b Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: AUTOMATIC WARNING Here was a non admissible message part of 'application/msword' MIME type. It has been automatically discarded before sending the message to the list. ------=_NextPart_000_2db5_268c_781b Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ------=_NextPart_000_2db5_268c_781b-- From sqr-users-bounces@sqrug.org Wed Jan 24 06:48:26 2007 From: "the dragon" Subject: RE: [sqr-users] SQR Runner -kernel32.dll Date: Wed, 24 Jan 2007 05:44:51 -0600 once again, I don't see any attached documents... PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- We are facing the problem with "sqrw.exe". When we try to run the "sqrw.exe" file it is ending up with an windows error. I have attached the screen shots below. Quick response will be really appriciated. Regards, Srikanth Gurram >From: "sri kanth" >Reply-To: "This list is for discussion about the SQR database > > >Dear All, > >We are currently using SQR Runner to execute SQR programs. We have >configured the SQR Runner according to the local file directory structure, >but when we try to execute the SQRs we are getting an error related to the >kernel32.dll file. Please provide solution for the same." Attached >documents contain the snapshot of the errors. Just to give you brief about >the problem. > > > >1) The problem occurs at runtime > >2) Error is reproducible as every time we run this the error occurs. > >3) Version and other details are available in the attached documents. > >4) Operating system being used is Windows NT > >5) You will have to increase the view percentage to clearly read the >screen dump attached as imag in the document. > >Looking for a quick response from your side. > >Thanks in advance. > >Regards, >Srikanth > _________________________________________________________________ Check out all that glitters with the MSN Entertainment Guide to the Academy Awards® http://movies.msn.com/movies/oscars2007/?icid=ncoscartagline2 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 24 06:54:24 2007 Subject: RE: [sqr-users] SQR Runner -kernel32.dll Date: Wed, 24 Jan 2007 06:50:21 -0500 From: "Peter Burton" It would help if you stated what version of SQR you are trying to run? Perhaps that version will not run under Windows NT. Peter -----Original Message----- From: sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org [mailto:sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org] On Behalf Of the dragon Sent: Wednesday, January 24, 2007 6:45 AM To: sqr-users@sqrug.org Subject: RE: [sqr-users] SQR Runner -kernel32.dll once again, I don't see any attached documents... PSA: Salary <> Slavery. If you earn a salary, your employer is renting your=20 services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be=20 recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you=20 can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and=20 by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because=20 I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- We are facing the problem with "sqrw.exe". When we try to run the "sqrw.exe" file it is ending up with an windows=20 error. I have attached the screen shots below. Quick response will be really appriciated. Regards, Srikanth Gurram >From: "sri kanth" >Reply-To: "This list is for discussion about the SQR database > > >Dear All, > >We are currently using SQR Runner to execute SQR programs. We have=20 >configured the SQR Runner according to the local file directory structure,=20 >but when we try to execute the SQRs we are getting an error related to the=20 >kernel32.dll file. Please provide solution for the same." Attached=20 >documents contain the snapshot of the errors. Just to give you brief about=20 >the problem. > > > >1) The problem occurs at runtime > >2) Error is reproducible as every time we run this the error occurs. > >3) Version and other details are available in the attached documents. > >4) Operating system being used is Windows NT > >5) You will have to increase the view percentage to clearly read the=20 >screen dump attached as imag in the document. > >Looking for a quick response from your side. > >Thanks in advance. > >Regards, >Srikanth > _________________________________________________________________ Check out all that glitters with the MSN Entertainment Guide to the Academy=20 Awards(r) http://movies.msn.com/movies/oscars2007/?icid=3Dncoscartagline2 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users If you have received this e-mail in error, please delete it and notify the = sender as soon as possible. The contents of this e-mail may be confidential= and the unauthorized use, copying, or dissemination of it and any attachme= nts to it, is prohibited. Internet communications are not secure and Hyperi= on does not, therefore, accept legal responsibility for the contents of thi= s message nor for any damage caused by viruses. The views expressed here do= not necessarily represent those of Hyperion. For more information about Hy= perion, please visit our Web site at: www.hyperion.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 24 10:05:35 2007 From: "Kim Meyrowitz" Subject: RE: [sqr-users] Call System & using existing DB connection Date: Wed, 24 Jan 2007 10:02:58 -0500 Unfortunately, can't put into one report because these sqts that I am calling can also be run as standalone reports as well. Process scheduler, I am not familiar with that... is that used with Peoplesoft? If so, we are not using that. I think I'll need to go the encrypt/decrypt route. Thanks everyone for you input!!! >From: "Kim Meyrowitz" >Reply-To: "This list is for discussion about the SQR database >reportinglanguage from Hyperion Solutions." >To: sqr-users@sqrug.org >Subject: RE: [sqr-users] Call System & using existing DB connection >Date: Tue, 23 Jan 2007 16:06:35 -0500 > >Understand that, but since I am already connected in my calling sqt >...anyway to pass that same connection info on to the sqt I need to call >via the call system command? > > >>From: "Peter Burton" >>Reply-To: "This list is for discussion about the SQR database >>reportinglanguage from Hyperion Solutions." >>To: "This list is for discussion about the SQR database reportinglanguage >>fromHyperion Solutions." >>Subject: RE: [sqr-users] Call System & using existing DB connection >>Date: Tue, 23 Jan 2007 15:55:52 -0500 >> >> >>The only reason why the password is not made available inside of the >>program is because of SECURITY concerns. >> >>Peter >> >>-----Original Message----- >>From: sqr-users-bounces+peter_burton=hyperion.com@sqrug.org >>[mailto:sqr-users-bounces+peter_burton=hyperion.com@sqrug.org] On Behalf >>Of Arun Kumar >>Sent: Tuesday, January 23, 2007 3:48 PM >>To: This list is for discussion about the SQR database reporting >>languagefrom Hyperion Solutions. >>Subject: Re: [sqr-users] Call System & using existing DB connection >> >>Hi, >>There must be compelling reasons why sqr doesnt make password available >>within the program. >>They do hae many reserved variable like >>$username,$sqr-platform,$sqr-connected-db but not the password. >> >>Anyway, >> >>If you are running in Peoplesoft environment you might be able to pass >>the password (%ACCESSPSWD%) as one of the command line parameters and >>use it to call the SQT. >> >>If you do figure out please share it... >> >> >>HTH... >> >> >>----- Original Message ---- >>From: Kim Meyrowitz >>To: sqr-users@sqrug.org >>Sent: Tuesday, January 23, 2007 1:42:54 PM >>Subject: [sqr-users] Call System & using existing DB connection >> >>I currently have 1 sqt that calls another sqt using the Call System >>command. >> >>Problem is I need to pass the username,password and database info (using >> >>Oracle). I can get the username from the $username variable & the >>database >>by querying to see which db I am currently attached to, but how do I get >>the >>password? >> >>I can not hardcode this info because we run this file on different >>instances >>so everything does not stay the same. >> >>Thanks in advance! >> >>_________________________________________________________________ >>Turn searches into helpful donations. Make your search count. >>http://click4thecause.live.com/search/charity/default.aspx?source=hmemta >>gline_donation&FORM=WLMTAG >> >> >>_______________________________________________ >>sqr-users mailing list >>sqr-users@sqrug.org >>http://www.sqrug.org/mailman/listinfo/sqr-users >> >> >> >> >> >> >> >> >>________________________________________________________________________ >>____________ >>Sucker-punch spam with award-winning protection. >>Try the free Yahoo! Mail Beta. >>http://advision.webevents.yahoo.com/mailbeta/features_spam.html >> >>_______________________________________________ >>sqr-users mailing list >>sqr-users@sqrug.org >>http://www.sqrug.org/mailman/listinfo/sqr-users >> >> >>If you have received this e-mail in error, please delete it and notify the >>sender as soon as possible. The contents of this e-mail may be >>confidential and the unauthorized use, copying, or dissemination of it and >>any attachments to it, is prohibited. Internet communications are not >>secure and Hyperion does not, therefore, accept legal responsibility for >>the contents of this message nor for any damage caused by viruses. The >>views expressed here do not necessarily represent those of Hyperion. For >>more information about Hyperion, please visit our Web site at: >>www.hyperion.com >> >> >> >>_______________________________________________ >>sqr-users mailing list >>sqr-users@sqrug.org >>http://www.sqrug.org/mailman/listinfo/sqr-users > >_________________________________________________________________ >Get Hilary Duff’s homepage with her photos, music, and more. >http://celebrities.live.com > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Check out all that glitters with the MSN Entertainment Guide to the Academy Awards® http://movies.msn.com/movies/oscars2007/?icid=ncoscartagline2 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 24 12:15:43 2007 From: "the dragon" Subject: RE: [sqr-users] Call System & using existing DB connection Date: Wed, 24 Jan 2007 11:12:58 -0600 Actually, you *can* put them into another, new program, without them affecting the original programs, provided you have the source code. Process Scheduler is a PeopleSoft tool for executing reporting andf processing applications. If you need this performed, I can do it in 40 - 60 billable hours at $50.00/hr. [sorry about the shill Mr Onko 8-P] peace, clark PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- Unfortunately, can't put into one report because these sqts that I am calling can also be run as standalone reports as well. Process scheduler, I am not familiar with that... is that used with Peoplesoft? If so, we are not using that. I think I'll need to go the encrypt/decrypt route. Thanks everyone for you input!!! >From: "Kim Meyrowitz" >Reply-To: "This list is for discussion about the SQR database > >Understand that, but since I am already connected in my calling sqt >...anyway to pass that same connection info on to the sqt I need to call >via the call system command? > > >>From: "Peter Burton" >>Reply-To: "This list is for discussion about the SQR database >> >> >>The only reason why the password is not made available inside of the >>program is because of SECURITY concerns. >> >>Peter >> >>-----Original Message----- >> >>Hi, >>There must be compelling reasons why sqr doesnt make password available >>within the program. >>They do hae many reserved variable like >>$username,$sqr-platform,$sqr-connected-db but not the password. >> >>Anyway, >> >>If you are running in Peoplesoft environment you might be able to pass >>the password (%ACCESSPSWD%) as one of the command line parameters and >>use it to call the SQT. >> >>If you do figure out please share it... >> >> >>HTH... >> >> >>----- Original Message ---- >>From: Kim Meyrowitz >> >>I currently have 1 sqt that calls another sqt using the Call System >>command. >> >>Problem is I need to pass the username,password and database info (using >> >>Oracle). I can get the username from the $username variable & the >>database >>by querying to see which db I am currently attached to, but how do I get >>the >>password? >> >>I can not hardcode this info because we run this file on different >>instances >>so everything does not stay the same. >> >>Thanks in advance! >> _________________________________________________________________ Get Hilary Duff’s homepage with her photos, music, and more. http://celebrities.live.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 24 17:00:05 2007 From: "Franck Masson" Subject: RE: [sqr-users] Call System & using existing DB connection Date: Wed, 24 Jan 2007 23:00:40 +0100 Hi, are you working on unix ? can you explain us how you are launching SQR ? are you using a shell script ? one possible solution will be to store (temporary,during the execution) the connection in a file /mysqr/file_connection or in a variable. myconnection=3Duser/password@database; export myconnection sqr mysqr.sqr $myconnection [flags] [args] with a file sqr mysqr.sqr @myconnection_file [flags] [args] and in your sqr you can reuse this variable or this file Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org]On Behalf Of Kim Meyrowitz Sent: mercredi 24 janvier 2007 16:03 To: sqr-users@sqrug.org Subject: RE: [sqr-users] Call System & using existing DB connection Unfortunately, can't put into one report because these sqts that I am calling can also be run as standalone reports as well. Process scheduler, I am not familiar with that... is that used with Peoplesoft? If so, we are not using that. I think I'll need to go the encrypt/decrypt route. Thanks everyone for you input!!! >From: "Kim Meyrowitz" >Reply-To: "This list is for discussion about the SQR database >reportinglanguage from Hyperion Solutions." >To: sqr-users@sqrug.org >Subject: RE: [sqr-users] Call System & using existing DB connection >Date: Tue, 23 Jan 2007 16:06:35 -0500 > >Understand that, but since I am already connected in my calling sqt >...anyway to pass that same connection info on to the sqt I need to call >via the call system command? > > >>From: "Peter Burton" >>Reply-To: "This list is for discussion about the SQR database >>reportinglanguage from Hyperion Solutions." >>To: "This list is for discussion about the SQR database reportinglanguage >>fromHyperion Solutions." >>Subject: RE: [sqr-users] Call System & using existing DB connection >>Date: Tue, 23 Jan 2007 15:55:52 -0500 >> >> >>The only reason why the password is not made available inside of the >>program is because of SECURITY concerns. >> >>Peter >> >>-----Original Message----- >>From: sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org >>[mailto:sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org] On Behalf >>Of Arun Kumar >>Sent: Tuesday, January 23, 2007 3:48 PM >>To: This list is for discussion about the SQR database reporting >>languagefrom Hyperion Solutions. >>Subject: Re: [sqr-users] Call System & using existing DB connection >> >>Hi, >>There must be compelling reasons why sqr doesnt make password available >>within the program. >>They do hae many reserved variable like >>$username,$sqr-platform,$sqr-connected-db but not the password. >> >>Anyway, >> >>If you are running in Peoplesoft environment you might be able to pass >>the password (%ACCESSPSWD%) as one of the command line parameters and >>use it to call the SQT. >> >>If you do figure out please share it... >> >> >>HTH... >> >> >>----- Original Message ---- >>From: Kim Meyrowitz >>To: sqr-users@sqrug.org >>Sent: Tuesday, January 23, 2007 1:42:54 PM >>Subject: [sqr-users] Call System & using existing DB connection >> >>I currently have 1 sqt that calls another sqt using the Call System >>command. >> >>Problem is I need to pass the username,password and database info (using >> >>Oracle). I can get the username from the $username variable & the >>database >>by querying to see which db I am currently attached to, but how do I get >>the >>password? >> >>I can not hardcode this info because we run this file on different >>instances >>so everything does not stay the same. >> >>Thanks in advance! >> >>_________________________________________________________________ >>Turn searches into helpful donations. Make your search count. >>http://click4thecause.live.com/search/charity/default.aspx?source=3Dhmemta >>gline_donation&FORM=3DWLMTAG >> >> >>_______________________________________________ >>sqr-users mailing list >>sqr-users@sqrug.org >>http://www.sqrug.org/mailman/listinfo/sqr-users >> >> >> >> >> >> >> >> >>________________________________________________________________________ >>____________ >>Sucker-punch spam with award-winning protection. >>Try the free Yahoo! Mail Beta. >>http://advision.webevents.yahoo.com/mailbeta/features_spam.html >> >>_______________________________________________ >>sqr-users mailing list >>sqr-users@sqrug.org >>http://www.sqrug.org/mailman/listinfo/sqr-users >> >> >>If you have received this e-mail in error, please delete it and notify the >>sender as soon as possible. The contents of this e-mail may be >>confidential and the unauthorized use, copying, or dissemination of it and >>any attachments to it, is prohibited. Internet communications are not >>secure and Hyperion does not, therefore, accept legal responsibility for >>the contents of this message nor for any damage caused by viruses. The >>views expressed here do not necessarily represent those of Hyperion. For >>more information about Hyperion, please visit our Web site at: >>www.hyperion.com >> >> >> >>_______________________________________________ >>sqr-users mailing list >>sqr-users@sqrug.org >>http://www.sqrug.org/mailman/listinfo/sqr-users > >_________________________________________________________________ >Get Hilary Duff=92s homepage with her photos, music, and more. >http://celebrities.live.com > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Check out all that glitters with the MSN Entertainment Guide to the Academy Awards=AE http://movies.msn.com/movies/oscars2007/?icid=3Dncoscartagline2 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 24 23:41:59 2007 From: "sri kanth" Subject: RE: [sqr-users] SQR Runner -kernel32.dll Date: Thu, 25 Jan 2007 10:09:21 +0530 SQR version is 6.1.4. >From: "Peter Burton" >Reply-To: "This list is for discussion about the SQR database >reportinglanguage from Hyperion Solutions." >To: "This list is for discussion about the SQR database reportinglanguage >fromHyperion Solutions." >Subject: RE: [sqr-users] SQR Runner -kernel32.dll >Date: Wed, 24 Jan 2007 06:50:21 -0500 > > >It would help if you stated what version of SQR you are trying to run? >Perhaps that version will not run under Windows NT. > >Peter > >-----Original Message----- >From: sqr-users-bounces+peter_burton=hyperion.com@sqrug.org >[mailto:sqr-users-bounces+peter_burton=hyperion.com@sqrug.org] On Behalf >Of the dragon >Sent: Wednesday, January 24, 2007 6:45 AM >To: sqr-users@sqrug.org >Subject: RE: [sqr-users] SQR Runner -kernel32.dll > >once again, I don't see any attached documents... > > > >PSA: Salary <> Slavery. If you earn a salary, your employer is renting >your >services for 40 hours a week, not purchasing your soul. Your time is the > >only real finite asset that you have, and once used it can never be >recovered, so don't waste it by giving it away. > >I work to live; I don't live to work. > >"Time is the coin of your life. It is the only coin you have, and only >you >can determine how it will be spent. Be careful lest you let other people > >spend it for you." -- Carl Sandburg (1878 - 1967) > >It is impossible to defeat an ignorant man in argument. -- William G. >McAdoo > >Religion is regarded by the common people as true, by the wise as false, >and >by the rulers as useful. -- Seneca > >"I distrust those people who know so well what God wants them to do >because >I notice it always coincides with their own desires." - Susan B. Anthony > > > > >----Original Message Follows---- > >We are facing the problem with "sqrw.exe". >When we try to run the "sqrw.exe" file it is ending up with an windows >error. >I have attached the screen shots below. > >Quick response will be really appriciated. > >Regards, >Srikanth Gurram > > > >From: "sri kanth" > >Reply-To: "This list is for discussion about the SQR database > > > > > >Dear All, > > > >We are currently using SQR Runner to execute SQR programs. We have > >configured the SQR Runner according to the local file directory >structure, > >but when we try to execute the SQRs we are getting an error related to >the > >kernel32.dll file. Please provide solution for the same." Attached > >documents contain the snapshot of the errors. Just to give you brief >about > >the problem. > > > > > > > >1) The problem occurs at runtime > > > >2) Error is reproducible as every time we run this the error >occurs. > > > >3) Version and other details are available in the attached >documents. > > > >4) Operating system being used is Windows NT > > > >5) You will have to increase the view percentage to clearly read >the > >screen dump attached as imag in the document. > > > >Looking for a quick response from your side. > > > >Thanks in advance. > > > >Regards, > >Srikanth > > > >_________________________________________________________________ >Check out all that glitters with the MSN Entertainment Guide to the >Academy >Awards(r) >http://movies.msn.com/movies/oscars2007/?icid=ncoscartagline2 > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > > >If you have received this e-mail in error, please delete it and notify the >sender as soon as possible. The contents of this e-mail may be confidential >and the unauthorized use, copying, or dissemination of it and any >attachments to it, is prohibited. Internet communications are not secure >and Hyperion does not, therefore, accept legal responsibility for the >contents of this message nor for any damage caused by viruses. The views >expressed here do not necessarily represent those of Hyperion. For more >information about Hyperion, please visit our Web site at: www.hyperion.com > > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Tried the new MSN Messenger? It’s cool! Download now. http://messenger.msn.com/Download/Default.aspx?mkt=en-in _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 30 18:35:50 2007 From: "Joe" Date: Tue, 30 Jan 2007 16:33:10 -0700 Subject: [sqr-users] How to read a flat file that has a trailer line I am writing an SQR to read a flat file that has a trailer line at the end = with different fields than the rest of the file. The trailer line could be= anywhere from 5 to 400 lines from the top of the file. It is marked with = a 'T' at the beginning I'm not sure how to tackle this - I know the basics: open $FileName as 1 for-reading record=3D{IntLength1}:{IntType1} status=3D#= filestat...... while 1 =3D 1=20 READ 1 INTO $INPUT_AREA:{IntLength1}..... !Detail line is EXTRACT $OUTD-TYPE FROM $INPUT_AREA 0 1 EXTRACT $OUTD-CRE-DATE FROM $INPUT_AREA 1 9 EXTRACT $OUTD-TRAN-UNIQ FROM $INPUT_AREA 9 11 EXTRACT $OUTD-SEQ FROM $INPUT_AREA 11 14 EXTRACT $OUTD-BUS-UNIT FROM $INPUT_AREA 14 19 EXTRACT $OUTD-MDCY FROM $INPUT_AREA 19 27 EXTRACT $OUTD-ACCOUNT FROM $INPUT_AREA 27 37 EXTRACT $OUTD-DEPTID FROM $INPUT_AREA 37 47 EXTRACT $OUTD-OPER-UNIT FROM $INPUT_AREA 47 55 EXTRACT $OUTD-PROD-ID FROM $INPUT_AREA 55 61 EXTRACT $OUTD-AMOUNT FROM $INPUT_AREA 61 72 EXTRACT $OUTD-DELIM FROM $INPUT_AREA 72 74 =20=20=20=20=20=20=20=20=20 !Trailer line is =20 EXTRACT $OUTT-TYPE FROM $INPUT_AREA 0 1 EXTRACT $OUTT-COUNT FROM $INPUT_AREA 1 9 EXTRACT $OUTT-DEBITS FROM $INPUT_AREA 9 21 EXTRACT $OUTT-CREDITS FROM $INPUT_AREA 21 33 EXTRACT $UNKNOWN FROM $INPUT_AREA 33 35 EXTRACT $OUTT-DELIM FROM $INPUT_AREA 35 37 do Process-Data =20=20=20=20=20 end-while How do I read the last trailer line with different field positions and leng= ths? Example of input file: D2007010201036955 12312006111005 0000000261543 C2007010201037955 12312006531010 428 00 0000000250865 C2007010201038955 12312006534010 999 00 0000000010678 T000000380000011780745200000117807452=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 How do I tell the program to read until it gets to 'T' then change what it = extracts after the 'T'? TIA, Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 30 19:20:00 2007 Date: Tue, 30 Jan 2007 16:17:15 -0800 (PST) From: Shashidhar Rao A Subject: Re: [sqr-users] How to read a flat file that has a trailer line hi, The sample input file that you have provided does have T and other characters. Are you sure that whenever the code encounters 'T' the succeeding text is a tailer line. If you are sure then you can use "Find" command after reading each line from the file. Read the first line Use the Find command to find the position of 'T' in that line Then use substr to separate the trailor part. hope this might help you out. Thank You Joe wrote: I am writing an SQR to read a flat file that has a trailer line at the end with different fields than the rest of the file. The trailer line could be anywhere from 5 to 400 lines from the top of the file. It is marked with a 'T' at the beginning I'm not sure how to tackle this - I know the basics: open $FileName as 1 for-reading record={IntLength1}:{IntType1} status=#filestat...... while 1 = 1 READ 1 INTO $INPUT_AREA:{IntLength1}..... !Detail line is EXTRACT $OUTD-TYPE FROM $INPUT_AREA 0 1 EXTRACT $OUTD-CRE-DATE FROM $INPUT_AREA 1 9 EXTRACT $OUTD-TRAN-UNIQ FROM $INPUT_AREA 9 11 EXTRACT $OUTD-SEQ FROM $INPUT_AREA 11 14 EXTRACT $OUTD-BUS-UNIT FROM $INPUT_AREA 14 19 EXTRACT $OUTD-MDCY FROM $INPUT_AREA 19 27 EXTRACT $OUTD-ACCOUNT FROM $INPUT_AREA 27 37 EXTRACT $OUTD-DEPTID FROM $INPUT_AREA 37 47 EXTRACT $OUTD-OPER-UNIT FROM $INPUT_AREA 47 55 EXTRACT $OUTD-PROD-ID FROM $INPUT_AREA 55 61 EXTRACT $OUTD-AMOUNT FROM $INPUT_AREA 61 72 EXTRACT $OUTD-DELIM FROM $INPUT_AREA 72 74 !Trailer line is EXTRACT $OUTT-TYPE FROM $INPUT_AREA 0 1 EXTRACT $OUTT-COUNT FROM $INPUT_AREA 1 9 EXTRACT $OUTT-DEBITS FROM $INPUT_AREA 9 21 EXTRACT $OUTT-CREDITS FROM $INPUT_AREA 21 33 EXTRACT $UNKNOWN FROM $INPUT_AREA 33 35 EXTRACT $OUTT-DELIM FROM $INPUT_AREA 35 37 do Process-Data end-while How do I read the last trailer line with different field positions and lengths? Example of input file: D2007010201036955 12312006111005 0000000261543 C2007010201037955 12312006531010 428 00 0000000250865 C2007010201038955 12312006534010 999 00 0000000010678 T000000380000011780745200000117807452 How do I tell the program to read until it gets to 'T' then change what it extracts after the 'T'? TIA, Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- 8:00? 8:25? 8:40? Find a flick in no time with theYahoo! Search movie showtime shortcut. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 30 19:23:28 2007 Subject: RE: [sqr-users] How to read a flat file that has a trailer line Date: Tue, 30 Jan 2007 18:17:22 -0600 From: "Bob Stone" Do what you're doing. while/read/blah/input_area EXTRACT $OUTD-TYPE FROM $INPUT_AREA 0 1 IF $OUTD-TYPE <> 'T' EXTRACT $OUTD-CRE-DATE FROM $INPUT_AREA 1 9 EXTRACT $OUTD-TRAN-UNIQ FROM $INPUT_AREA 9 11 EXTRACT $OUTD-SEQ FROM $INPUT_AREA 11 14 EXTRACT $OUTD-BUS-UNIT FROM $INPUT_AREA 14 19 EXTRACT $OUTD-MDCY FROM $INPUT_AREA 19 27 EXTRACT $OUTD-ACCOUNT FROM $INPUT_AREA 27 37 EXTRACT $OUTD-DEPTID FROM $INPUT_AREA 37 47 EXTRACT $OUTD-OPER-UNIT FROM $INPUT_AREA 47 55 EXTRACT $OUTD-PROD-ID FROM $INPUT_AREA 55 61 EXTRACT $OUTD-AMOUNT FROM $INPUT_AREA 61 72 EXTRACT $OUTD-DELIM FROM $INPUT_AREA 72 74 ELSE EXTRACT $OUTT-TYPE FROM $INPUT_AREA 0 1 EXTRACT $OUTT-COUNT FROM $INPUT_AREA 1 9 EXTRACT $OUTT-DEBITS FROM $INPUT_AREA 9 21 EXTRACT $OUTT-CREDITS FROM $INPUT_AREA 21 33 EXTRACT $UNKNOWN FROM $INPUT_AREA 33 35 EXTRACT $OUTT-DELIM FROM $INPUT_AREA 35 37 END-IF do Process-Data !could put this in each section, if you process the 'T' differently. and so forth on the program. if statement is a pretty handy one to use in a lot of ways. good ole IF. -----Original Message----- From: sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org [mailto:sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org] On Behalf Of Joe Sent: Tuesday, January 30, 2007 5:33 PM To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Subject: [sqr-users] How to read a flat file that has a trailer line I am writing an SQR to read a flat file that has a trailer line at the end with different fields than the rest of the file. The trailer line could be anywhere from 5 to 400 lines from the top of the file. It is marked with a 'T' at the beginning I'm not sure how to tackle this - I know the basics: open $FileName as 1 for-reading record=3D{IntLength1}:{IntType1} status=3D#filestat...... while 1 =3D 1=20 READ 1 INTO $INPUT_AREA:{IntLength1}..... !Detail line is EXTRACT $OUTD-TYPE FROM $INPUT_AREA 0 1 EXTRACT $OUTD-CRE-DATE FROM $INPUT_AREA 1 9 EXTRACT $OUTD-TRAN-UNIQ FROM $INPUT_AREA 9 11 EXTRACT $OUTD-SEQ FROM $INPUT_AREA 11 14 EXTRACT $OUTD-BUS-UNIT FROM $INPUT_AREA 14 19 EXTRACT $OUTD-MDCY FROM $INPUT_AREA 19 27 EXTRACT $OUTD-ACCOUNT FROM $INPUT_AREA 27 37 EXTRACT $OUTD-DEPTID FROM $INPUT_AREA 37 47 EXTRACT $OUTD-OPER-UNIT FROM $INPUT_AREA 47 55 EXTRACT $OUTD-PROD-ID FROM $INPUT_AREA 55 61 EXTRACT $OUTD-AMOUNT FROM $INPUT_AREA 61 72 EXTRACT $OUTD-DELIM FROM $INPUT_AREA 72 74 =20=20=20=20=20=20=20=20=20 !Trailer line is =20 EXTRACT $OUTT-TYPE FROM $INPUT_AREA 0 1 EXTRACT $OUTT-COUNT FROM $INPUT_AREA 1 9 EXTRACT $OUTT-DEBITS FROM $INPUT_AREA 9 21 EXTRACT $OUTT-CREDITS FROM $INPUT_AREA 21 33 EXTRACT $UNKNOWN FROM $INPUT_AREA 33 35 EXTRACT $OUTT-DELIM FROM $INPUT_AREA 35 37 do Process-Data =20=20=20=20=20 end-while How do I read the last trailer line with different field positions and lengths? Example of input file: D2007010201036955 12312006111005 0000000261543 C2007010201037955 12312006531010 428 00 0000000250865 C2007010201038955 12312006534010 999 00 0000000010678 T000000380000011780745200000117807452 How do I tell the program to read until it gets to 'T' then change what it extracts after the 'T'? TIA, Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Jan 30 19:38:36 2007 From: "the dragon" Subject: RE: [sqr-users] How to read a flat file that has a trailer line Date: Tue, 30 Jan 2007 18:35:30 -0600 use the code you have, and place an if statement in your processing to check for the "T" flag and process it differently. clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- I am writing an SQR to read a flat file that has a trailer line at the end with different fields than the rest of the file. The trailer line could be anywhere from 5 to 400 lines from the top of the file. It is marked with a 'T' at the beginning I'm not sure how to tackle this - I know the basics: open $FileName as 1 for-reading record={IntLength1}:{IntType1} status=#filestat...... while 1 = 1 READ 1 INTO $INPUT_AREA:{IntLength1}..... !Detail line is EXTRACT $OUTD-TYPE FROM $INPUT_AREA 0 1 EXTRACT $OUTD-CRE-DATE FROM $INPUT_AREA 1 9 EXTRACT $OUTD-TRAN-UNIQ FROM $INPUT_AREA 9 11 EXTRACT $OUTD-SEQ FROM $INPUT_AREA 11 14 EXTRACT $OUTD-BUS-UNIT FROM $INPUT_AREA 14 19 EXTRACT $OUTD-MDCY FROM $INPUT_AREA 19 27 EXTRACT $OUTD-ACCOUNT FROM $INPUT_AREA 27 37 EXTRACT $OUTD-DEPTID FROM $INPUT_AREA 37 47 EXTRACT $OUTD-OPER-UNIT FROM $INPUT_AREA 47 55 EXTRACT $OUTD-PROD-ID FROM $INPUT_AREA 55 61 EXTRACT $OUTD-AMOUNT FROM $INPUT_AREA 61 72 EXTRACT $OUTD-DELIM FROM $INPUT_AREA 72 74 !Trailer line is EXTRACT $OUTT-TYPE FROM $INPUT_AREA 0 1 EXTRACT $OUTT-COUNT FROM $INPUT_AREA 1 9 EXTRACT $OUTT-DEBITS FROM $INPUT_AREA 9 21 EXTRACT $OUTT-CREDITS FROM $INPUT_AREA 21 33 EXTRACT $UNKNOWN FROM $INPUT_AREA 33 35 EXTRACT $OUTT-DELIM FROM $INPUT_AREA 35 37 do Process-Data end-while How do I read the last trailer line with different field positions and lengths? Example of input file: D2007010201036955 12312006111005 0000000261543 C2007010201037955 12312006531010 428 00 0000000250865 C2007010201038955 12312006534010 999 00 0000000010678 T000000380000011780745200000117807452 How do I tell the program to read until it gets to 'T' then change what it extracts after the 'T'? TIA, Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Get in the mood for Valentine's Day. View photos, recipes and more on your Live.com page. http://www.live.com/?addTemplate=ValentinesDay&ocid=T001MSN30A0701 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 31 14:54:21 2007 From: "Joe" Date: Wed, 31 Jan 2007 12:51:35 -0700 Subject: [sqr-users] Writing Variables to a file - only writes first line I have a program that opens a flat file, extracts the data, appends a chara= cter to one of the fields, then writes the data to another flat file. When I try this code: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D begin-PROCEDURE Write-Interface let #Batch_Counter2 =3D 0=20=20 IF $OUT-TYPE <> 'T'=20=20 Write 2 FROM=20 $OUT-TYPE:1=20=20=20=20 $OUTD-CRE-DATE:8=20=20=20=20 $OUTD-TRAN-UNIQ:2=20=20=20=20=20=20 $OUTD-SEQ:3=20=20=20=20 $OUTD-BUS-UNITz:5=20=20=20=20 $OUTD-MDCY:8=20=20=20=20 $OUTD-ACCOUNT:10=20=20=20=20=20 $OUTD-DEPTID:10 $FILLER1:8 $OUTD-PROD-ID:6=20=20=20=20 $OUTD-AMOUNT:11=20=20=20=20=20 $OUTD-DELIM:2=20=20=20=20 add 1 to #Batch_Counter2 =20=20=20 ELSE Write 2 FROM=20 $OUT-TYPE:1=20=20=20=20 $OUTT-COUNT:8=20=20=20=20 $OUTT-DEBITS:12=20=20=20=20 $OUTT-CREDITS:12=20=20=20=20 $UNKNOWN:2=20=20=20=20 $OUTT-DELIM:2=20=20=20=20 add 1 to #Batch_Counter2 =20=20=20=20=20=20=20=20 END-IF end-PROCEDURE Write-Interface =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I only get one row of data written to the file. I tried setting a variable #STOP to 0 and only changing it to 1 at the end = of the ELSE statement above and then use 'While #STOP =3D 0" at the beginni= ng of this procedure, which causes the first row to be written over and ove= r again to the output file. The data should contain about 40 different rows with an ending trailer row. Am I correct in trying to use a While statement? How have I miscoded this? TIA, Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 31 15:17:16 2007 Subject: RE: [sqr-users] Writing Variables to a file - only writes first line Date: Wed, 31 Jan 2007 14:15:00 -0600 From: "Knapp, Richard" Loop? Richard Knapp Some say the world will end in fire, AITS - Data Warehouse Group Some say in ice. University of Missouri From what I've tasted of desire 615 Locust Street #200 I hold with those who favor fire. Columbia, MO 65201 But if it had to perish twice, 573-882-8856 I think I know enough of hate knappr@umsystem.edu To say that for destruction ice =20 Is also great =20 And would suffice. - R. Frost =20 =20 =20 =20 -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Joe Sent: Wednesday, January 31, 2007 1:52 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: [sqr-users] Writing Variables to a file - only writes first line I have a program that opens a flat file, extracts the data, appends a character to one of the fields, then writes the data to another flat file. When I try this code: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D begin-PROCEDURE Write-Interface let #Batch_Counter2 =3D 0=20=20 IF $OUT-TYPE <> 'T'=20=20 Write 2 FROM=20 $OUT-TYPE:1=20=20=20=20 $OUTD-CRE-DATE:8=20=20=20=20 $OUTD-TRAN-UNIQ:2=20=20=20=20=20=20 $OUTD-SEQ:3=20=20=20=20 $OUTD-BUS-UNITz:5=20=20=20=20 $OUTD-MDCY:8=20=20=20=20 $OUTD-ACCOUNT:10=20=20=20=20=20 $OUTD-DEPTID:10 $FILLER1:8 $OUTD-PROD-ID:6=20=20=20=20 $OUTD-AMOUNT:11=20=20=20=20=20 $OUTD-DELIM:2=20=20=20=20 add 1 to #Batch_Counter2 =20=20=20 ELSE Write 2 FROM=20 $OUT-TYPE:1=20=20=20=20 $OUTT-COUNT:8=20=20=20=20 $OUTT-DEBITS:12=20=20=20=20 $OUTT-CREDITS:12=20=20=20=20 $UNKNOWN:2=20=20=20=20 $OUTT-DELIM:2=20=20=20=20 add 1 to #Batch_Counter2 =20=20=20=20=20=20=20=20 END-IF end-PROCEDURE Write-Interface =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I only get one row of data written to the file. I tried setting a variable #STOP to 0 and only changing it to 1 at the end of the ELSE statement above and then use 'While #STOP =3D 0" at the beginning of this procedure, which causes the first row to be written over and over again to the output file. The data should contain about 40 different rows with an ending trailer row. Am I correct in trying to use a While statement? How have I miscoded this? TIA, Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 31 15:20:50 2007 Date: Wed, 31 Jan 2007 12:15:55 -0800 (PST) From: Shashidhar Rao A Subject: Re: [sqr-users] Writing Variables to a file - only writes first line hi, where you are using #Batch_Counter2 variable. You just adding 1 in if part and adding 2 in else part. but no where else you are using these variables. Are you calling Write-Interface procedure after reading the first line from the flat file. do one thing let #fileread=0 while not eof { read the flat file. let #fileread=#fileread+1 show #fileread || 'file read ..' ! this will show how many lines have been read till that !moment of time. extract the data call your procedure. !your procedure will be called for each line of data that ! has been read from the file. } Also check whether the $OUT-TYPE variable is getting any value in your procedure. display this variable before your IF $OUT-TYPE <> 'T' statement. Check it once. Once your work is done u can remove your show statements bcoz if you have more show statments, it will slow down ur sqr. Joe wrote: I have a program that opens a flat file, extracts the data, appends a character to one of the fields, then writes the data to another flat file. When I try this code: ============================================ begin-PROCEDURE Write-Interface let #Batch_Counter2 = 0 IF $OUT-TYPE <> 'T' Write 2 FROM $OUT-TYPE:1 $OUTD-CRE-DATE:8 $OUTD-TRAN-UNIQ:2 $OUTD-SEQ:3 $OUTD-BUS-UNITz:5 $OUTD-MDCY:8 $OUTD-ACCOUNT:10 $OUTD-DEPTID:10 $FILLER1:8 $OUTD-PROD-ID:6 $OUTD-AMOUNT:11 $OUTD-DELIM:2 add 1 to #Batch_Counter2 ELSE Write 2 FROM $OUT-TYPE:1 $OUTT-COUNT:8 $OUTT-DEBITS:12 $OUTT-CREDITS:12 $UNKNOWN:2 $OUTT-DELIM:2 add 1 to #Batch_Counter2 END-IF end-PROCEDURE Write-Interface ============================================= I only get one row of data written to the file. I tried setting a variable #STOP to 0 and only changing it to 1 at the end of the ELSE statement above and then use 'While #STOP = 0" at the beginning of this procedure, which causes the first row to be written over and over again to the output file. The data should contain about 40 different rows with an ending trailer row. Am I correct in trying to use a While statement? How have I miscoded this? TIA, Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- Have a burning question? Go to Yahoo! Answers and get answers from real people who know. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 31 15:24:23 2007 Subject: RE: [sqr-users] Writing Variables to a file - only writes first line Date: Wed, 31 Jan 2007 14:19:44 -0600 From: "Bob Stone" if I understand what you're trying to do in pseudocode open-read-file open-write-file while loop read line(i) if T=20 set-vars-1-way else set-vars-the-other-way end-if write-line-to-new-file end-while close-read-file close-write-file -------------------- you show us the 'WRITE-LINE-TO-NEW-FILE' (write-interface) procedure, where if it's a T you write the columns 1 way, if it's not you write it the other way. If you're only getting 1 of the lines back in the file, and what's written below is your exact procedure, then the problem isn't there. The problem must be when you're calling DO WRITE-INTERFACE. Make sure you're calling it OUTSIDE of the IF statement that's parsing the variables. Or if you'd rather have it inside, have it inside both the IF and the ELSE. -----Original Message----- From: sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org [mailto:sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org] On Behalf Of Joe Sent: Wednesday, January 31, 2007 1:52 PM To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Subject: [sqr-users] Writing Variables to a file - only writes first line I have a program that opens a flat file, extracts the data, appends a character to one of the fields, then writes the data to another flat file. When I try this code: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D begin-PROCEDURE Write-Interface let #Batch_Counter2 =3D 0=20=20 IF $OUT-TYPE <> 'T'=20=20 Write 2 FROM=20 $OUT-TYPE:1=20=20=20=20 $OUTD-CRE-DATE:8=20=20=20=20 $OUTD-TRAN-UNIQ:2=20=20=20=20=20=20 $OUTD-SEQ:3=20=20=20=20 $OUTD-BUS-UNITz:5=20=20=20=20 $OUTD-MDCY:8=20=20=20=20 $OUTD-ACCOUNT:10=20=20=20=20=20 $OUTD-DEPTID:10 $FILLER1:8 $OUTD-PROD-ID:6=20=20=20=20 $OUTD-AMOUNT:11=20=20=20=20=20 $OUTD-DELIM:2=20=20=20=20 add 1 to #Batch_Counter2 =20=20=20 ELSE Write 2 FROM=20 $OUT-TYPE:1=20=20=20=20 $OUTT-COUNT:8=20=20=20=20 $OUTT-DEBITS:12=20=20=20=20 $OUTT-CREDITS:12=20=20=20=20 $UNKNOWN:2=20=20=20=20 $OUTT-DELIM:2=20=20=20=20 add 1 to #Batch_Counter2 =20=20=20=20=20=20=20=20 END-IF end-PROCEDURE Write-Interface =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I only get one row of data written to the file. I tried setting a variable #STOP to 0 and only changing it to 1 at the end of the ELSE statement above and then use 'While #STOP =3D 0" at the beginning of this procedure, which causes the first row to be written over and over again to the output file. The data should contain about 40 different rows with an ending trailer row. Am I correct in trying to use a While statement? How have I miscoded this? TIA, Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 31 15:28:53 2007 Subject: RE: [sqr-users] Writing Variables to a file - only writes first line Date: Wed, 31 Jan 2007 14:25:53 -0600 From: "Bob Stone" ...oooh. I wonder if you're not reading the line INSIDE the loop. Or if it's set up like a for loop, if you're not reading the 2nd line at the end. ---------check that it's inside the loop WHILE 1=3D1 !always loop read 1 into $line IF #END-FILE or ltrim(rtrim($line,' '), ' ') =3D '' BREAK END-IF if T do stuff else do other end-if END-WHILE ---------check that you read the 2nd line at the end read 1 into $line !this is line 1 WHILE 1=3D1 !always loop if T do stuff else do other end-if read 1 into $line !this is line 2,3,etc. IF #END-FILE or ltrim(rtrim($line,' '), ' ') =3D '' BREAK END-IF END-WHILE -----Original Message----- From: Bob Stone=20 Sent: Wednesday, January 31, 2007 2:20 PM To: 'This list is for discussion about the SQR database reporting language from Hyperion Solutions.' Subject: RE: [sqr-users] Writing Variables to a file - only writes first line if I understand what you're trying to do in pseudocode open-read-file open-write-file while loop read line(i) if T=20 set-vars-1-way else set-vars-the-other-way end-if write-line-to-new-file end-while close-read-file close-write-file -------------------- you show us the 'WRITE-LINE-TO-NEW-FILE' (write-interface) procedure, where if it's a T you write the columns 1 way, if it's not you write it the other way. If you're only getting 1 of the lines back in the file, and what's written below is your exact procedure, then the problem isn't there. The problem must be when you're calling DO WRITE-INTERFACE. Make sure you're calling it OUTSIDE of the IF statement that's parsing the variables. Or if you'd rather have it inside, have it inside both the IF and the ELSE. -----Original Message----- From: sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org [mailto:sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org] On Behalf Of Joe Sent: Wednesday, January 31, 2007 1:52 PM To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Subject: [sqr-users] Writing Variables to a file - only writes first line I have a program that opens a flat file, extracts the data, appends a character to one of the fields, then writes the data to another flat file. When I try this code: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D begin-PROCEDURE Write-Interface let #Batch_Counter2 =3D 0=20=20 IF $OUT-TYPE <> 'T'=20=20 Write 2 FROM=20 $OUT-TYPE:1=20=20=20=20 $OUTD-CRE-DATE:8=20=20=20=20 $OUTD-TRAN-UNIQ:2=20=20=20=20=20=20 $OUTD-SEQ:3=20=20=20=20 $OUTD-BUS-UNITz:5=20=20=20=20 $OUTD-MDCY:8=20=20=20=20 $OUTD-ACCOUNT:10=20=20=20=20=20 $OUTD-DEPTID:10 $FILLER1:8 $OUTD-PROD-ID:6=20=20=20=20 $OUTD-AMOUNT:11=20=20=20=20=20 $OUTD-DELIM:2=20=20=20=20 add 1 to #Batch_Counter2 =20=20=20 ELSE Write 2 FROM=20 $OUT-TYPE:1=20=20=20=20 $OUTT-COUNT:8=20=20=20=20 $OUTT-DEBITS:12=20=20=20=20 $OUTT-CREDITS:12=20=20=20=20 $UNKNOWN:2=20=20=20=20 $OUTT-DELIM:2=20=20=20=20 add 1 to #Batch_Counter2 =20=20=20=20=20=20=20=20 END-IF end-PROCEDURE Write-Interface =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I only get one row of data written to the file. I tried setting a variable #STOP to 0 and only changing it to 1 at the end of the ELSE statement above and then use 'While #STOP =3D 0" at the beginning of this procedure, which causes the first row to be written over and over again to the output file. The data should contain about 40 different rows with an ending trailer row. Am I correct in trying to use a While statement? How have I miscoded this? TIA, Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 31 16:03:33 2007 From: "Joe" Subject: Re: [sqr-users] Writing Variables to a file - only writes first line Date: Wed, 31 Jan 2007 14:00:15 -0700 My READ PROCEDURE is as follows: begin-PROCEDURE Process-Main let #Batch_Counter = 0 WHILE 1 = 1 READ 1 INTO $INPUT_AREA:5000 let #Batch_Counter = #Batch_Counter + 1 if #END-FILE = 1 BREAK end-if IF $OUT-TYPE <> 'T' EXTRACT $OUT-TYPE FROM $INPUT_AREA 0 1 !01 D for Debit C for Credit EXTRACT $OUTD-CRE-DATE FROM $INPUT_AREA 1 9 !08 YYYYMMDD format EXTRACT $OUTD-TRAN-UNIQ FROM $INPUT_AREA 9 11 !02 Not Defined in Layout EXTRACT $OUTD-SEQ FROM $INPUT_AREA 11 14 !03 line number starting with 1 EXTRACT $OUTD-BUS-UNIT FROM $INPUT_AREA 14 19 !05 955 for Laredo EXTRACT $OUTD-MDCY FROM $INPUT_AREA 19 27 !08 MMDDYYYY format EXTRACT $OUTD-ACCOUNT FROM $INPUT_AREA 27 37 !10 Not Defined in Layout EXTRACT $OUTD-DEPTID FROM $INPUT_AREA 37 47 !10 Sometimes blank EXTRACT $FILLER1 FROM $INPUT_AREA 47 55 !08 FILLER EXTRACT $OUTD-PROD-ID FROM $INPUT_AREA 55 61 !06 Sometimes blank EXTRACT $OUTD-AMOUNT FROM $INPUT_AREA 61 72 !11 Amount EXTRACT $OUTD-DELIM FROM $INPUT_AREA 72 74 !02 Not Defined in Layout do Process-Data ELSE EXTRACT $OUT-TYPE FROM $INPUT_AREA 0 1 !01 T for Trailer line EXTRACT $OUTT-COUNT FROM $INPUT_AREA 1 9 !08 Total number of Detail Rows EXTRACT $OUTT-DEBITS FROM $INPUT_AREA 9 21 !12 Total Debits EXTRACT $OUTT-CREDITS FROM $INPUT_AREA 21 33 !12 Total Credits EXTRACT $UNKNOWN FROM $INPUT_AREA 33 35 !02 Not Defined in Layout EXTRACT $OUTT-DELIM FROM $INPUT_AREA 35 37 !02 Not Defined in Layout do Process-Data END-IF END-WHILE Display ' ' Display 'Records Read:' Display #Batch_Counter 9999999 end-PROCEDURE Process-Main I also use the Records Written logic in the write procedure. My log shows: Records Written: 1 Records Read: 2 So it read a record, then wrote it, then read another record, but stopped? Joe ----- Original Message ----- From: "Bob Stone" To: "This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions." Sent: Wednesday, January 31, 2007 1:25 PM Subject: RE: [sqr-users] Writing Variables to a file - only writes first line ...oooh. I wonder if you're not reading the line INSIDE the loop. Or if it's set up like a for loop, if you're not reading the 2nd line at the end. ---------check that it's inside the loop WHILE 1=1 !always loop read 1 into $line IF #END-FILE or ltrim(rtrim($line,' '), ' ') = '' BREAK END-IF if T do stuff else do other end-if END-WHILE ---------check that you read the 2nd line at the end read 1 into $line !this is line 1 WHILE 1=1 !always loop if T do stuff else do other end-if read 1 into $line !this is line 2,3,etc. IF #END-FILE or ltrim(rtrim($line,' '), ' ') = '' BREAK END-IF END-WHILE -----Original Message----- From: Bob Stone Sent: Wednesday, January 31, 2007 2:20 PM To: 'This list is for discussion about the SQR database reporting language from Hyperion Solutions.' Subject: RE: [sqr-users] Writing Variables to a file - only writes first line if I understand what you're trying to do in pseudocode open-read-file open-write-file while loop read line(i) if T set-vars-1-way else set-vars-the-other-way end-if write-line-to-new-file end-while close-read-file close-write-file -------------------- you show us the 'WRITE-LINE-TO-NEW-FILE' (write-interface) procedure, where if it's a T you write the columns 1 way, if it's not you write it the other way. If you're only getting 1 of the lines back in the file, and what's written below is your exact procedure, then the problem isn't there. The problem must be when you're calling DO WRITE-INTERFACE. Make sure you're calling it OUTSIDE of the IF statement that's parsing the variables. Or if you'd rather have it inside, have it inside both the IF and the ELSE. -----Original Message----- From: sqr-users-bounces+bstone=fastenal.com@sqrug.org [mailto:sqr-users-bounces+bstone=fastenal.com@sqrug.org] On Behalf Of Joe Sent: Wednesday, January 31, 2007 1:52 PM To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Subject: [sqr-users] Writing Variables to a file - only writes first line I have a program that opens a flat file, extracts the data, appends a character to one of the fields, then writes the data to another flat file. When I try this code: ============================================ begin-PROCEDURE Write-Interface let #Batch_Counter2 = 0 IF $OUT-TYPE <> 'T' Write 2 FROM $OUT-TYPE:1 $OUTD-CRE-DATE:8 $OUTD-TRAN-UNIQ:2 $OUTD-SEQ:3 $OUTD-BUS-UNITz:5 $OUTD-MDCY:8 $OUTD-ACCOUNT:10 $OUTD-DEPTID:10 $FILLER1:8 $OUTD-PROD-ID:6 $OUTD-AMOUNT:11 $OUTD-DELIM:2 add 1 to #Batch_Counter2 ELSE Write 2 FROM $OUT-TYPE:1 $OUTT-COUNT:8 $OUTT-DEBITS:12 $OUTT-CREDITS:12 $UNKNOWN:2 $OUTT-DELIM:2 add 1 to #Batch_Counter2 END-IF end-PROCEDURE Write-Interface ============================================= I only get one row of data written to the file. I tried setting a variable #STOP to 0 and only changing it to 1 at the end of the ELSE statement above and then use 'While #STOP = 0" at the beginning of this procedure, which causes the first row to be written over and over again to the output file. The data should contain about 40 different rows with an ending trailer row. Am I correct in trying to use a While statement? How have I miscoded this? TIA, Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 31 16:27:01 2007 Date: Wed, 31 Jan 2007 13:24:10 -0800 (PST) From: Shashidhar Rao A Subject: Re: [sqr-users] Writing Variables to a file - only writes first line Hi, You are missing the value for $OUT-TYPE. I think you are extracting a value from $INPUT_AREA. So after you read the file extract the value for $OUT-TYPE. Joe wrote: My READ PROCEDURE is as follows: begin-PROCEDURE Process-Main let #Batch_Counter = 0 WHILE 1 = 1 READ 1 INTO $INPUT_AREA:5000 let #Batch_Counter = #Batch_Counter + 1 if #END-FILE = 1 BREAK end-if IF $OUT-TYPE <> 'T' EXTRACT $OUT-TYPE FROM $INPUT_AREA 0 1 !01 D for Debit C for Credit EXTRACT $OUTD-CRE-DATE FROM $INPUT_AREA 1 9 !08 YYYYMMDD format EXTRACT $OUTD-TRAN-UNIQ FROM $INPUT_AREA 9 11 !02 Not Defined in Layout EXTRACT $OUTD-SEQ FROM $INPUT_AREA 11 14 !03 line number starting with 1 EXTRACT $OUTD-BUS-UNIT FROM $INPUT_AREA 14 19 !05 955 for Laredo EXTRACT $OUTD-MDCY FROM $INPUT_AREA 19 27 !08 MMDDYYYY format EXTRACT $OUTD-ACCOUNT FROM $INPUT_AREA 27 37 !10 Not Defined in Layout EXTRACT $OUTD-DEPTID FROM $INPUT_AREA 37 47 !10 Sometimes blank EXTRACT $FILLER1 FROM $INPUT_AREA 47 55 !08 FILLER EXTRACT $OUTD-PROD-ID FROM $INPUT_AREA 55 61 !06 Sometimes blank EXTRACT $OUTD-AMOUNT FROM $INPUT_AREA 61 72 !11 Amount EXTRACT $OUTD-DELIM FROM $INPUT_AREA 72 74 !02 Not Defined in Layout do Process-Data ELSE EXTRACT $OUT-TYPE FROM $INPUT_AREA 0 1 !01 T for Trailer line EXTRACT $OUTT-COUNT FROM $INPUT_AREA 1 9 !08 Total number of Detail Rows EXTRACT $OUTT-DEBITS FROM $INPUT_AREA 9 21 !12 Total Debits EXTRACT $OUTT-CREDITS FROM $INPUT_AREA 21 33 !12 Total Credits EXTRACT $UNKNOWN FROM $INPUT_AREA 33 35 !02 Not Defined in Layout EXTRACT $OUTT-DELIM FROM $INPUT_AREA 35 37 !02 Not Defined in Layout do Process-Data END-IF END-WHILE Display ' ' Display 'Records Read:' Display #Batch_Counter 9999999 end-PROCEDURE Process-Main I also use the Records Written logic in the write procedure. My log shows: Records Written: 1 Records Read: 2 So it read a record, then wrote it, then read another record, but stopped? Joe ----- Original Message ----- From: "Bob Stone" To: "This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions." Sent: Wednesday, January 31, 2007 1:25 PM Subject: RE: [sqr-users] Writing Variables to a file - only writes first line ...oooh. I wonder if you're not reading the line INSIDE the loop. Or if it's set up like a for loop, if you're not reading the 2nd line at the end. ---------check that it's inside the loop WHILE 1=1 !always loop read 1 into $line IF #END-FILE or ltrim(rtrim($line,' '), ' ') = '' BREAK END-IF if T do stuff else do other end-if END-WHILE ---------check that you read the 2nd line at the end read 1 into $line !this is line 1 WHILE 1=1 !always loop if T do stuff else do other end-if read 1 into $line !this is line 2,3,etc. IF #END-FILE or ltrim(rtrim($line,' '), ' ') = '' BREAK END-IF END-WHILE -----Original Message----- From: Bob Stone Sent: Wednesday, January 31, 2007 2:20 PM To: 'This list is for discussion about the SQR database reporting language from Hyperion Solutions.' Subject: RE: [sqr-users] Writing Variables to a file - only writes first line if I understand what you're trying to do in pseudocode open-read-file open-write-file while loop read line(i) if T set-vars-1-way else set-vars-the-other-way end-if write-line-to-new-file end-while close-read-file close-write-file -------------------- you show us the 'WRITE-LINE-TO-NEW-FILE' (write-interface) procedure, where if it's a T you write the columns 1 way, if it's not you write it the other way. If you're only getting 1 of the lines back in the file, and what's written below is your exact procedure, then the problem isn't there. The problem must be when you're calling DO WRITE-INTERFACE. Make sure you're calling it OUTSIDE of the IF statement that's parsing the variables. Or if you'd rather have it inside, have it inside both the IF and the ELSE. -----Original Message----- From: sqr-users-bounces+bstone=fastenal.com@sqrug.org [mailto:sqr-users-bounces+bstone=fastenal.com@sqrug.org] On Behalf Of Joe Sent: Wednesday, January 31, 2007 1:52 PM To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Subject: [sqr-users] Writing Variables to a file - only writes first line I have a program that opens a flat file, extracts the data, appends a character to one of the fields, then writes the data to another flat file. When I try this code: ============================================ begin-PROCEDURE Write-Interface let #Batch_Counter2 = 0 IF $OUT-TYPE <> 'T' Write 2 FROM $OUT-TYPE:1 $OUTD-CRE-DATE:8 $OUTD-TRAN-UNIQ:2 $OUTD-SEQ:3 $OUTD-BUS-UNITz:5 $OUTD-MDCY:8 $OUTD-ACCOUNT:10 $OUTD-DEPTID:10 $FILLER1:8 $OUTD-PROD-ID:6 $OUTD-AMOUNT:11 $OUTD-DELIM:2 add 1 to #Batch_Counter2 ELSE Write 2 FROM $OUT-TYPE:1 $OUTT-COUNT:8 $OUTT-DEBITS:12 $OUTT-CREDITS:12 $UNKNOWN:2 $OUTT-DELIM:2 add 1 to #Batch_Counter2 END-IF end-PROCEDURE Write-Interface ============================================= I only get one row of data written to the file. I tried setting a variable #STOP to 0 and only changing it to 1 at the end of the ELSE statement above and then use 'While #STOP = 0" at the beginning of this procedure, which causes the first row to be written over and over again to the output file. The data should contain about 40 different rows with an ending trailer row. Am I correct in trying to use a While statement? How have I miscoded this? TIA, Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users Shashidhar Rao Arrabeli --------------------------------- Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 31 17:21:18 2007 From: "the dragon" Subject: Re: [sqr-users] Writing Variables to a file - only writes first line Date: Wed, 31 Jan 2007 16:18:29 -0600 I agree with the other poster - you need to actually create/define $OUT-TYPE before you try using it in processing. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- My READ PROCEDURE is as follows: begin-PROCEDURE Process-Main let #Batch_Counter = 0 WHILE 1 = 1 READ 1 INTO $INPUT_AREA:5000 let #Batch_Counter = #Batch_Counter + 1 if #END-FILE = 1 BREAK end-if IF $OUT-TYPE <> 'T' EXTRACT $OUT-TYPE FROM $INPUT_AREA 0 1 !01 D for Debit C for Credit EXTRACT $OUTD-CRE-DATE FROM $INPUT_AREA 1 9 !08 YYYYMMDD format EXTRACT $OUTD-TRAN-UNIQ FROM $INPUT_AREA 9 11 !02 Not Defined in Layout EXTRACT $OUTD-SEQ FROM $INPUT_AREA 11 14 !03 line number starting with 1 EXTRACT $OUTD-BUS-UNIT FROM $INPUT_AREA 14 19 !05 955 for Laredo EXTRACT $OUTD-MDCY FROM $INPUT_AREA 19 27 !08 MMDDYYYY format EXTRACT $OUTD-ACCOUNT FROM $INPUT_AREA 27 37 !10 Not Defined in Layout EXTRACT $OUTD-DEPTID FROM $INPUT_AREA 37 47 !10 Sometimes blank EXTRACT $FILLER1 FROM $INPUT_AREA 47 55 !08 FILLER EXTRACT $OUTD-PROD-ID FROM $INPUT_AREA 55 61 !06 Sometimes blank EXTRACT $OUTD-AMOUNT FROM $INPUT_AREA 61 72 !11 Amount EXTRACT $OUTD-DELIM FROM $INPUT_AREA 72 74 !02 Not Defined in Layout do Process-Data ELSE EXTRACT $OUT-TYPE FROM $INPUT_AREA 0 1 !01 T for Trailer line EXTRACT $OUTT-COUNT FROM $INPUT_AREA 1 9 !08 Total number of Detail Rows EXTRACT $OUTT-DEBITS FROM $INPUT_AREA 9 21 !12 Total Debits EXTRACT $OUTT-CREDITS FROM $INPUT_AREA 21 33 !12 Total Credits EXTRACT $UNKNOWN FROM $INPUT_AREA 33 35 !02 Not Defined in Layout EXTRACT $OUTT-DELIM FROM $INPUT_AREA 35 37 !02 Not Defined in Layout do Process-Data END-IF END-WHILE Display ' ' Display 'Records Read:' Display #Batch_Counter 9999999 end-PROCEDURE Process-Main I also use the Records Written logic in the write procedure. My log shows: Records Written: 1 Records Read: 2 So it read a record, then wrote it, then read another record, but stopped? Joe ----- Original Message ----- ...oooh. I wonder if you're not reading the line INSIDE the loop. Or if it's set up like a for loop, if you're not reading the 2nd line at the end. ---------check that it's inside the loop WHILE 1=1 !always loop read 1 into $line IF #END-FILE or ltrim(rtrim($line,' '), ' ') = '' BREAK END-IF if T do stuff else do other end-if END-WHILE ---------check that you read the 2nd line at the end read 1 into $line !this is line 1 WHILE 1=1 !always loop if T do stuff else do other end-if read 1 into $line !this is line 2,3,etc. IF #END-FILE or ltrim(rtrim($line,' '), ' ') = '' BREAK END-IF END-WHILE -----Original Message----- if I understand what you're trying to do in pseudocode open-read-file open-write-file while loop read line(i) if T set-vars-1-way else set-vars-the-other-way end-if write-line-to-new-file end-while close-read-file close-write-file -------------------- you show us the 'WRITE-LINE-TO-NEW-FILE' (write-interface) procedure, where if it's a T you write the columns 1 way, if it's not you write it the other way. If you're only getting 1 of the lines back in the file, and what's written below is your exact procedure, then the problem isn't there. The problem must be when you're calling DO WRITE-INTERFACE. Make sure you're calling it OUTSIDE of the IF statement that's parsing the variables. Or if you'd rather have it inside, have it inside both the IF and the ELSE. -----Original Message----- I have a program that opens a flat file, extracts the data, appends a character to one of the fields, then writes the data to another flat file. When I try this code: ============================================ begin-PROCEDURE Write-Interface let #Batch_Counter2 = 0 IF $OUT-TYPE <> 'T' Write 2 FROM $OUT-TYPE:1 $OUTD-CRE-DATE:8 $OUTD-TRAN-UNIQ:2 $OUTD-SEQ:3 $OUTD-BUS-UNITz:5 $OUTD-MDCY:8 $OUTD-ACCOUNT:10 $OUTD-DEPTID:10 $FILLER1:8 $OUTD-PROD-ID:6 $OUTD-AMOUNT:11 $OUTD-DELIM:2 add 1 to #Batch_Counter2 ELSE Write 2 FROM $OUT-TYPE:1 $OUTT-COUNT:8 $OUTT-DEBITS:12 $OUTT-CREDITS:12 $UNKNOWN:2 $OUTT-DELIM:2 add 1 to #Batch_Counter2 END-IF end-PROCEDURE Write-Interface ============================================= I only get one row of data written to the file. I tried setting a variable #STOP to 0 and only changing it to 1 at the end of the ELSE statement above and then use 'While #STOP = 0" at the beginning of this procedure, which causes the first row to be written over and over again to the output file. The data should contain about 40 different rows with an ending trailer row. Am I correct in trying to use a While statement? How have I miscoded this? TIA, Joe _________________________________________________________________ Invite your Hotmail contacts to join your friends list with Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Jan 31 19:22:29 2007 Date: Wed, 31 Jan 2007 18:19:51 -0600 From: "Bob Helm" Subject: [sqr-users] Can SQR6 change text color on a laserjet? I'm printing to an HP3800 and I'm wanting to change my font to red and then= back again. I'm using SQR 6. I see the manual uses alter-color-map, declare-color-map, etc, but I'm not = getting it to work for me. I get this error right away: "(SQR 8205) The Declare-Color-Map entry is not properly defined." This is my block of code: begin-setup declare-color-map=20=20=20=20=20=20=20 red =3D ( 255, 0, 0 )=20=20 end-declare=20=20=20=20=20=20=20=20=20=20=20=20=20 end-setup If I could get the color-map stuff working it seems like it's what I need. I've looked in the archives, and also the HP manual for escape codes but no= luck. Does anyone have an example of this or have any ideas? Thanks for any help, Bob Bob Helm Software Developer Mediware Information Systems, Inc. Medication Management Division Voice: 913-307-1045 _________________________________________________ This message (including any attachments) constitutes a confidential communi= cation and/or contains confidential information intended for a specific ind= ividual and purpose, and is protected by law. If you are not the intended= recipient, please notify the sender by return email and delete this messag= e and any attachments. Any disclosure, copying, or distribution of this me= ssage, or the taking of any action based on it, is strictly prohibited. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Feb 01 00:02:20 2007 Date: Thu, 1 Feb 2007 00:00:02 -0500 From: Nathan Stratton Treadway Subject: [sqr-users] Monthly sqr-users Hints Posting sqr-users Mailing List Hints and Guidelines Nathan Stratton Treadway, Ray Ontko & Co. (nathanst@ontko.com) $Revision: 1.22 $ $Date: 2005/08/19 05:12:40 $ This document gathers in one location information about the sqr-users mail list. It includes instructions for changing your subscription settings (including unsubscribing), as well are guidelines for using the list. ______________________________________________________________________ Table of Contents 1. Changes Since Previous Version 2. Introduction 2.1 sqr-users Mailing List 2.2 sqr-users Hints and Guidelines Document 2.3 Related Mailing Lists 3. Interacting with the list server 3.1 Subscribing to the list 3.2 Unsubscribing from the list 3.3 When your email address changes 3.4 Digests 3.5 Obtaining your password 3.6 Problems 4. Posting to the sqr-users List 4.1 General Guidelines 4.2 Posting a Message 4.3 Replying to a Message 5. Job Announcements ______________________________________________________________________ 1. Changes Since Previous Version Changes since the version dated 2005/08/19: o Added note about spam filtering and sender verification systems blocking subscription confirmation messages. 2. Introduction 2.1. sqr-users Mailing List The sqr-users mailing list was created to enable discussion related to the SQR database language from Hyperion (and to other products in the SQR product suite). Note: SQR used to be published by SQRIBE Technologies, which was merged into Brio Technology on August 3, 1999. Brio Technology changed its name to Brio Software in October 2001. On October 16, 2003, Hyperion acquired Brio Software. SQR and related applications have also been called "Brio.Report" and "Brio Reports". The mailing list is provided as a service of Ray Ontko & Co. A searchable archive of past postings to the mailing list is available from the SQR Users Group web site . 2.2. sqr-users Hints and Guidelines Document This document gives various hints and guidelines about the sqr-users mailing list. It will be posted approximately monthly to the mailing list so that new users can see it (and existing users can find it easily). An HTML version of the document is always available at http://www.sqrug.org/sqr-users/sqr-users-hints.html. If you have comments or suggestions about this document, please contact me directly at the address listed in the title section. This document is Copyright (C) 1999-2004 by Ray Ontko & Co. It may be freely copied and distributed provided it is not modified in any way and it retains the original copyright notice. 2.3. Related Mailing Lists Here are some mailing lists that cover topics relating to SQR in some way. sqr-jobs : SQR Jobs This list may be used for posting SQR-related resumes, recruitments, job announcements, project announcments, help- wanted, work-wanted ads, etc. To join, follow the link above, or send any message to "sqr-jobs-subscribe@yahoogroups.com". peoplesoft-fans : PeopleSoft Fans Moderated list covering technical and functional aspects of PeopleSoft. To join, follow the link above, or send any message to "peoplesoft-fans-subscribe@yahoogroups.com". psusers : PeopleSoft Users For questions related to any aspect of PeopleSoft (including PeopleSoft-specific SQR issues). This list has merged with the Peoplesoft Fans mailing list and is no longer active, but the message achive can still be found at the link above. HyperionSQR : Hyperion- SQR List for discussion of SQR, SQR Developer (formerly called Brio.Report and Report Builder), and SQR iServer. To join, follow the link above, or send any message to "HyperionSQR- subscribe@yahoogroups.com". rm-users : Report- Mart Users List for discussion of Brio Portal (previously called ReportMart). To join, follow the link above, or send a message containing the word "subscribe" in the body to "rm-users- request@sqrug.org". brioportalusersgroup : Brio Portal Users Group list List for discussion of Brio Portal. To join, follow the link above, or send any message to "brioportalusersgroup- subscribe@yahoogroups.com". brio-l : OpenITx Brio List List for technical and functional discussion of all Brio products (but most messages are currently about Brio Intelligence). To join, follow the link above. briousers : Brio.Enter- prise Users List for discussion of the Brio.Enterprise (now called Intelligence) product. To join, follow the link above, or send any message to "briousers-subscribe@yahoogroups.com". briolist : Brio List List for discussion of Brio Intelligence. To join, follow the link above, or send any message to "briolist- subscribe@yahoogroups.com". 3. Interacting with the list server The sqr-users mailing list is hosted using the Mailman list server package. All of the Mailman functions described below are accessed from the sqr-users List Info page, "http://www.sqrug.org/mailman/listinfo/sqr-users". 3.1. Subscribing to the list To subscribe to the mailing list, enter your e-mail address in the box at the top of the "Subscribing to sqr-users" section on the sqr-users List Info page, then choose a password to assign to your subscription and enter it in both "Password" boxes. This password is used to allow you to securely make changes to your subscription over the web. This password will be e-mailed back to you at varous times, so you should not use the same password as you are using elsewhere. Once you have filled in the password, click the "Subscribe" button. You should soon receive an e-mail message from the list server requesting confirmation of your subscription request. Once you have replied to this message and your subscription has been processed, you will receive a "welcome" message giving you more information on the list server, and as well as a reminder of the subscription password you chose. Many sites are now implementing spam filtering and/or sender verification systems, which can prevent your confirmation message from getting delivered to you. You may need check for a message from "sqr- users-request[-AT-]sqrug.org" caught in the filter, or add that address to your list of authorized senders, in order to complete the confirmation process. 3.2. Unsubscribing from the list To unsubscribe from the list, go to the sqr-users List Info page, enter your e-mail address in the "sqr-users Subscribers" section near the bottom of the page, and click the "Unsubscribe or edit options" button. You will then see the "member options" page; fill in your password at the top of the page and click "Log in". (If you have forgotton your password, see the ``Obtaining your Password'' section, below). This will take you to the "membership configuration" page. In the middle of that page, there will be an "Unsubscribing from sqr- users" section; simply turn on the "Yes, I really want to unsubscribe" checkbox and click the "Unsubscribe" button. You should get a page back saying that the removal was successful (as well as a confirmation email message). The removal will take effect immediately; there is no need to send in a confirmation e-mail message. If you don't know your password, you can choose to unsubscribe using e-mail confirmation. Instead of entering the password on the "member options" page, just click the "Unsubscribe" button found just below the "Log In" button. You will then see a page noting that a confirmation e-mail has been sent; once you follow the confirmation instructions in that e-mail your removal will be complete. 3.3. When your email address changes If your e-mail address changes -- for example, if your company changes names, or if your mail administrator changes the way your name is spelled out or abbreviated -- you will need to update your subscription to match your new address before you can post to the list (see the ``Posting'' section, below). To do this, simply log in to your "membership configuration" page (see the directions for logging in to this page in the ``Unsubscribing'' section, above). At the top of that page you'll see a "Changing your membership information" section. Fill out the text boxes and click the "Change My Address and Name" button. You will be sent a confirmation e-mail, and once you have responded to that e-mail your subscription will be updated and you can begin posting from your new address. 3.4. Digests You can request to get your messages in digest form (one large message containing all of the posts made each day). To do this, log in to your "membership configuration" page (see the directions on doing this in the ``Unsubscribing'' section, above). At the bottom of the page, you will see a section titled "Your sqr-users Subscription Options". Change the "Set Digest Mode" option (the second option in the list) to "On" and click the "Submit My Changes" button at the bottom of the page. You actually have a choice of two different digest formats, "MIME" or "Plain Text". The MIME format sends each individual list message as a separate MIME attachment to the digest; the plain text format consists of one large text message, with all of the individual messages run together. Which format you will want to use depends on your mail- reading software (and personal preference). If you are not sure which format will work best, you can just leave the default setting of "MIME" and see if the next morning's digest is easy to read in your mail reader -- you can change to the other format at any time using that same web page. If you use digests, you should not just "reply" to the digest mailing. Instead, be sure your message's subject header matches the subject in the original posting to which you are replying, and that you don't include a quoted copy of the entire digest in your post. To restore normal distribution, simply follow the above instructions choosing the "Off" setting for the Digest option. 3.5. Obtaining your password You will not be able to change your subscription options without your password. If you have forgotten your password, simply click the "Email My Password to Me" button on the "member options" page and your password will be emailed to you. You will also be e-mailed a copy of your password at the beginning of each month, as part of a "mailing list memberships reminder" message from the Mailman software. 3.6. Problems If the above instructions do not work, please contact the list manager at "sqr-users-manager@sqrug.org". (Do not send a message to the list itself -- no one there can help you with your problem!) Please include a description of what you were trying to do and what exactly happened when you made the attempt. 4. Posting to the sqr-users List In order to post to the mailing list, you must be subscribed to it (see directions above). More specifically, in order for Mailman to recognize that this message was sent by a subscriber, the return address on your message much exactly match the addresss you used to subscribe -- if you have more than one address you will need to be sure that you are sending from the correct one. (See the ``When you email address changes'' section, above, if your e-mail address has changed since you subscribed.) 4.1. General Guidelines For any message you send to the list, please: o make sure your mail software is not requesting a "Return Receipt". (If a "Return Receipt Requested" message is sent to the list, several dozen receipt messages will be sent out to the mailing list as other subscribers' mail systems repond....) o do not send messages in HTML or other special formats. (These are not usable by many subscribers, especially those who receive their messages in digest format.) The list server will delete these special attachments from your message and send you a warning notice. Also, if you are trying to send (for example) SQR source code files, make sure your mail-reader software is assigning proper MIME types to your attachments or they may not be distributed. o keep in mind that over 500 people will receive your message, and that it will appear in the list archives. Try to keep your messages on-topic and relatively short. Consider sending your message directly to particular people if it won't interest many of the list's subscribers. o ignore abusive and inappropriate messages that get sent to the list, rather than getting drawn into a debate. The very nature of these messages will cause most subscribers to automatically discredit them -- no "response" is necessary. To the contrary, any response will only "add fuel to the fire," prolonging the controversy and further interupting the normal conversation on the list. 4.2. Posting a Message Once you are subscribed, you can post to the list by sending a message to "sqr-users@sqrug.org". Be sure your subject heading describes your specific problem or question (i.e. don't just use "SQR Question"). In the body of your message, please include the following information: o SQR product name and version number (see notes below) o Operating system name and version number o Database name and version number o Application name (i.e. PeopleSoft) and a version number, if any Also, include a short code sample whenever possible. It's much easier for other people to understand what you are trying to do when they can see the actual code. (At the same time, be careful not to post confidential or proprietary code, since the posting will be placed in a public web archive.) Note that your question should relate to SQR or other Brio Report product in some way. Don't ask questions about PeopleSoft, for example, unless you are having SQR-related issues. (For PeopleSoft- specific questions, see other lists mentioned in the ``Related Mailing Lists'' section.) In 2001, PeopleSoft purchased from Brio the rights to the source code for SQR and began releasing its own line of SQR. PeopleSoft's SQR version numbering is different from Brio/Hyperion's, so it's very important to mention whether you are using Hyperion's "SQR" or "SQR for PeopleSoft". (This info is included automatically if you include the full SQR version-id string as described below.) To get the version-id string for your copy of SQR, you can run the following program: begin-program show $sqr-ver end-program This will produce a line that looks something like this: SQR/3.0.15/Intel/SCO Unix R3.2 V5.0/Oracle 7.2.2.3/Sep 25 1996 Include the full line of output in your message. Note that the oper- ating system and database version numbers listed here are the ones under which this copy of SQR was compiled, so you'll still need to include this information for your own environment. In a command-line environment (Unix, etc.), you can also get this version-id string by saying sqr -id 4.3. Replying to a Message Messages sent out on the list have a Reply-To header pointing to the list. This means that you should be able to simply use your mail reader's "reply" function to send a reply to the list. Generally, all answers to questions sent out on the list should be public replies, so that other subscribers can benefit. In those cases where a private reply is appropriate, be sure to over-ride the default Reply-To address. If your message is not actually a reply to the earlier message, please do not use the "reply" function. Instead, address a new e-mail message to the list as described in the previous section. (This is because the list archives will incorrectly show the new message in the original thread if you use "reply".) You should quote enough lines from the original message that later readers can understand your answer even if they missed the original question. At the same time, you should remove any unnecessary lines from the quote in order to make your message shorter and easier to understand. (Remember that some people read the mailing list in digest form, and the digests become much larger if unnecessary lines are quoted.) 5. Job Announcements Please do not post job announcements on the sqr-users list, but use the sqr-jobs list instead. (See ``Related Mailing Lists'' for more information on this list.) A large number of sqr-users subscribers do not want to receive job announcements (for various reasons) and such posts tend to cause a lot of disruption of the discussion on the list. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 02 14:54:07 2007 From: "Joe" Subject: Re: [sqr-users] Writing Variables to a file - only writes first line Date: Fri, 2 Feb 2007 12:51:19 -0700 Greetings, I figured out that the error was my bone-headedness. I had defined the record length as too long. Once I fixed that, it works as it should. Thanks to Shashi and everyone who helped. - Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 02 18:35:00 2007 From: "Joe" Date: Fri, 2 Feb 2007 16:32:24 -0700 Subject: [sqr-users] UNC path works in SQRW but not in PeopleSoft I know this is an SQR User Group, not PeopleSoft, but I'm hoping for help w= ith experts in both here. I have an SQR that uses a UNC path to open an input file. It works fine us= ing SQRW on both my local PC and on the Server. However, when I put the SQ= R into PeopleSoft and run it, I get an error that it cannot open the interf= ace file. The path quoted in the error message is the correct path and the= filename is correct.=20=20 Any suggestions on what to look at to troubleshoot this? TIA, Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 02 18:42:29 2007 Date: Fri, 2 Feb 2007 15:39:51 -0800 (PST) From: Shashidhar Rao A Subject: Re: [sqr-users] UNC path works in SQRW but not in PeopleSoft Are you trying to run the sqr from Process Scheduler. Joe wrote: I know this is an SQR User Group, not PeopleSoft, but I'm hoping for help with experts in both here. I have an SQR that uses a UNC path to open an input file. It works fine using SQRW on both my local PC and on the Server. However, when I put the SQR into PeopleSoft and run it, I get an error that it cannot open the interface file. The path quoted in the error message is the correct path and the filename is correct. Any suggestions on what to look at to troubleshoot this? TIA, Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 02 19:04:35 2007 From: "the dragon" Subject: RE: [sqr-users] UNC path works in SQRW but not in PeopleSoft Date: Fri, 02 Feb 2007 18:01:59 -0600 It would be really helpful to see the error message... peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- I know this is an SQR User Group, not PeopleSoft, but I'm hoping for help with experts in both here. I have an SQR that uses a UNC path to open an input file. It works fine using SQRW on both my local PC and on the Server. However, when I put the SQR into PeopleSoft and run it, I get an error that it cannot open the interface file. The path quoted in the error message is the correct path and the filename is correct. Any suggestions on what to look at to troubleshoot this? TIA, Joe _________________________________________________________________ Turn searches into helpful donations. Make your search count. http://click4thecause.live.com/search/charity/default.aspx?source=hmemtagline_donation&FORM=WLMTAG _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Feb 03 08:45:48 2007 Date: Sat, 03 Feb 2007 08:43:29 -0500 From: "Larry Roux" Subject: Re: [sqr-users] UNC path works in SQRW but not in PeopleSoft Check the file ownership. Is it the same as the PS id? (Not the OPRID of the person running the process, but the PS ID). You can just make sure the file ownership is the same as other PS files on the same server. Larry Roux Information Systems Syracuse University lroux@syr.edu >>> shdhra@yahoo.com 02/02/07 6:39 PM >>> Are you trying to run the sqr from Process Scheduler. Joe wrote: I know this is an SQR User Group, not PeopleSoft, but I'm hoping for help with experts in both here. I have an SQR that uses a UNC path to open an input file. It works fine using SQRW on both my local PC and on the Server. However, when I put the SQR into PeopleSoft and run it, I get an error that it cannot open the interface file. The path quoted in the error message is the correct path and the filename is correct. Any suggestions on what to look at to troubleshoot this? TIA, Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Feb 03 12:56:16 2007 Date: Sat, 3 Feb 2007 09:53:12 -0800 (PST) From: Arun Kumar Subject: Re: [sqr-users] UNC path works in SQRW but not in PeopleSoft Doesnt all the sqr's need to be in one of the four designated sqr directory= in people soft? Process scheduler can only search these directories for the sqr. ----- Original Message ---- From: Larry Roux To: sqr-users@sqrug.org Sent: Saturday, February 3, 2007 8:43:29 AM Subject: Re: [sqr-users] UNC path works in SQRW but not in PeopleSoft Check the file ownership. Is it the same as the PS id? (Not the OPRID of the person running the process, but the PS ID). You can just make sure the file ownership is the same as other PS files on the same server.=20=20 Larry Roux Information Systems Syracuse University lroux@syr.edu >>> shdhra@yahoo.com 02/02/07 6:39 PM >>> Are you trying to run the sqr from Process Scheduler. =20=20 Joe wrote: I know this is an SQR User Group, not PeopleSoft, but I'm hoping for help with experts in both here. I have an SQR that uses a UNC path to open an input file. It works fine using SQRW on both my local PC and on the Server. However, when I put the SQR into PeopleSoft and run it, I get an error that it cannot open the interface file. The path quoted in the error message is the correct path and the filename is correct.=20 Any suggestions on what to look at to troubleshoot this? TIA, Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20 ___________________________________________________________________________= _________ 8:00? 8:25? 8:40? Find a flick in no time=20 with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Feb 03 19:07:10 2007 From: "Joe" Subject: RE: [sqr-users] UNC path works in SQRW but not in PeopleSoft Date: Sat, 3 Feb 2007 17:04:20 -0700 Yes, and the SQR kicks off with no problems, but there is an Open File for reading Procedure - and that is where it cannot find the path/file. In SQRW, it finds the path/file correctly. -----Original Message----- From: sqr-users-bounces+jej1216=hotmail.com@sqrug.org [mailto:sqr-users-bounces+jej1216=hotmail.com@sqrug.org] On Behalf Of Shashidhar Rao A Sent: Friday, February 02, 2007 4:40 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] UNC path works in SQRW but not in PeopleSoft Are you trying to run the sqr from Process Scheduler. Joe wrote: I know this is an SQR User Group, not PeopleSoft, but I'm hoping for help with experts in both here. I have an SQR that uses a UNC path to open an input file. It works fine using SQRW on both my local PC and on the Server. However, when I put the SQR into PeopleSoft and run it, I get an error that it cannot open the interface file. The path quoted in the error message is the correct path and the filename is correct. Any suggestions on what to look at to troubleshoot this? TIA, Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.17.22/666 - Release Date: 2/3/2007 3:31 PM -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.17.22/666 - Release Date: 2/3/2007 3:31 PM _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Feb 03 19:23:29 2007 Date: Sat, 3 Feb 2007 16:20:48 -0800 (PST) From: Arun Kumar Subject: Re: [sqr-users] UNC path works in SQRW but not in PeopleSoft Oops.. I misunderstood your question earlier... I think its security... when sqr is kicked by the process scheduler .. its = probably using the local system user account on the NT server. If its using the local system user account, It probably doesnt have access = across servers in the network. ----- Original Message ---- From: Arun Kumar To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Sent: Saturday, February 3, 2007 12:53:12 PM Subject: Re: [sqr-users] UNC path works in SQRW but not in PeopleSoft Doesnt all the sqr's need to be in one of the four designated sqr directory= in people soft? Process scheduler can only search these directories for the sqr. ----- Original Message ---- From: Larry Roux To: sqr-users@sqrug.org Sent: Saturday, February 3, 2007 8:43:29 AM Subject: Re: [sqr-users] UNC path works in SQRW but not in PeopleSoft Check the file ownership. Is it the same as the PS id? (Not the OPRID of the person running the process, but the PS ID). You can just make sure the file ownership is the same as other PS files on the same server.=20=20 Larry Roux Information Systems Syracuse University lroux@syr.edu >>> shdhra@yahoo.com 02/02/07 6:39 PM >>> Are you trying to run the sqr from Process Scheduler. =20=20 Joe wrote: I know this is an SQR User Group, not PeopleSoft, but I'm hoping for help with experts in both here. I have an SQR that uses a UNC path to open an input file. It works fine using SQRW on both my local PC and on the Server. However, when I put the SQR into PeopleSoft and run it, I get an error that it cannot open the interface file. The path quoted in the error message is the correct path and the filename is correct.=20 Any suggestions on what to look at to troubleshoot this? TIA, Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ___________________________________________________________________________= _________ 8:00? 8:25? 8:40? Find a flick in no time=20 with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20 ___________________________________________________________________________= _________ We won't tell. Get more on shows you hate to love=20 (and love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Feb 03 22:08:33 2007 From: "the dragon" Subject: RE: [sqr-users] UNC path works in SQRW but not in PeopleSoft Date: Sat, 03 Feb 2007 21:05:52 -0600 Once again, what's the error message you're getting? PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- Yes, and the SQR kicks off with no problems, but there is an Open File for reading Procedure - and that is where it cannot find the path/file. In SQRW, it finds the path/file correctly. -----Original Message----- Are you trying to run the sqr from Process Scheduler. Joe wrote: I know this is an SQR User Group, not PeopleSoft, but I'm hoping for help with experts in both here. I have an SQR that uses a UNC path to open an input file. It works fine using SQRW on both my local PC and on the Server. However, when I put the SQR into PeopleSoft and run it, I get an error that it cannot open the interface file. The path quoted in the error message is the correct path and the filename is correct. Any suggestions on what to look at to troubleshoot this? TIA, Joe _________________________________________________________________ Search for grocery stores. Find gratitude. Turn a simple search into something more. http://click4thecause.live.com/search/charity/default.aspx?source=hmemtagline_gratitude&FORM=WLMTAG _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sun Feb 04 17:09:03 2007 From: William R Cartmill Date: Sun, 4 Feb 2007 14:06:58 -0800 Subject: [sqr-users] UNC path works in SQRW but not in PeopleSoft Joe: I'm not exactly sure what the acronym "UNC" means but mainly where I've seen this sort of thing happen it's because the drive mapping for the server is not the same as the SQRW client mapping. Remember a server's C: drive is not the came as the PC's C: drive, etc. Often it just sends the file to some limbo server drive that you can't access to retrieve the file but in this case it's apparently trying to write to someplace that (A) doesn't exist or (B) PS doesn't have access to based on hard drive security On Feb 3, 2007, at 3:01, sqr-users-request@sqrug.org wrote: > > > From: "Joe" > Date: February 2, 2007 15:32:24 PST > To: "This list is for discussion about the SQR database > reportinglanguage from Hyperion Solutions." > Subject: [sqr-users] UNC path works in SQRW but not in PeopleSoft > Reply-To: "This list is for discussion about the SQR database > reporting language from Hyperion Solutions." > > > I know this is an SQR User Group, not PeopleSoft, but I'm hoping for > help with experts in both here. > > I have an SQR that uses a UNC path to open an input file. It works > fine using SQRW on both my local PC and on the Server. However, when > I put the SQR into PeopleSoft and run it, I get an error that it > cannot open the interface file. The path quoted in the error message > is the correct path and the filename is correct. > > Any suggestions on what to look at to troubleshoot this? > > TIA, > > Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 05 10:16:11 2007 Subject: RE: [sqr-users] UNC path works in SQRW but not in PeopleSoft Date: Mon, 5 Feb 2007 09:13:41 -0600 From: "Knapp, Richard" Universal naming convention. The path has to be in terms the server can interpret. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of William R Cartmill Sent: Sunday, February 04, 2007 4:07 PM To: sqr-users@sqrug.org Subject: [sqr-users] UNC path works in SQRW but not in PeopleSoft Joe: I'm not exactly sure what the acronym "UNC" means but mainly where I've=20 seen this sort of thing happen it's because the drive mapping for the=20 server is not the same as the SQRW client mapping. Remember a server's=20 C: drive is not the came as the PC's C: drive, etc. Often it just sends=20 the file to some limbo server drive that you can't access to retrieve=20 the file but in this case it's apparently trying to write to someplace=20 that (A) doesn't exist or (B) PS doesn't have access to based on hard=20 drive security On Feb 3, 2007, at 3:01, sqr-users-request@sqrug.org wrote: > > > From: "Joe" > Date: February 2, 2007 15:32:24 PST > To: "This list is for discussion about the SQR database=20 > reportinglanguage from Hyperion Solutions." > Subject: [sqr-users] UNC path works in SQRW but not in PeopleSoft > Reply-To: "This list is for discussion about the SQR database=20 > reporting language from Hyperion Solutions." > > > I know this is an SQR User Group, not PeopleSoft, but I'm hoping for=20 > help with experts in both here. > > I have an SQR that uses a UNC path to open an input file. It works=20 > fine using SQRW on both my local PC and on the Server. However, when=20 > I put the SQR into PeopleSoft and run it, I get an error that it=20 > cannot open the interface file. The path quoted in the error message=20 > is the correct path and the filename is correct. > > Any suggestions on what to look at to troubleshoot this? > > TIA, > > Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 05 10:21:52 2007 From: "Joe" Subject: Re: [sqr-users] UNC path works in SQRW but not in PeopleSoft Date: Mon, 5 Feb 2007 08:19:07 -0700 Here's the error: EH_SNU started at 2007-02-02 15:49:07.840 Opening File ERNGL.955SJAN07.X1 Error Opening Interface File \\server1\shared1$\Interfaces\Data Files\Patcom to PS (Fin) Revenue\Test\ERNGL.955SJAN07.X1 Error on line 149: (SQR 3301) Program stopped by user request. SQR for PeopleSoft: Program Aborting. I thought at first the spaces and parentheses in the folder path was the issue, but that did not fix it: Opening File ERNGL.955SJAN07.X1 Error Opening Interface File \\server1\shared1$\Interfaces\Data\Patcom-PS-FIN-Revenue\Test\ERNGL.955SJAN07.X1 And again, this is when running it in Process Scheduler. It works fine using SQRW. TIA, jej1216 ----- Original Message ----- From: "the dragon" To: Sent: Saturday, February 03, 2007 8:05 PM Subject: RE: [sqr-users] UNC path works in SQRW but not in PeopleSoft > Once again, what's the error message you're getting? > > > > PSA: Salary <> Slavery. If you earn a salary, your employer is renting > your services for 40 hours a week, not purchasing your soul. Your time is > the only real finite asset that you have, and once used it can never be > recovered, so don't waste it by giving it away. > > I work to live; I don't live to work. > > "Time is the coin of your life. It is the only coin you have, and only you > can determine how it will be spent. Be careful lest you let other people > spend it for you." -- Carl Sandburg (1878 - 1967) > > It is impossible to defeat an ignorant man in argument. -- William G. > McAdoo > > Religion is regarded by the common people as true, by the wise as false, > and by the rulers as useful. -- Seneca > > "I distrust those people who know so well what God wants them to do > because I notice it always coincides with their own desires." - Susan B. > Anthony > > > > > ----Original Message Follows---- > > Yes, and the SQR kicks off with no problems, but there is an Open File for > reading Procedure - and that is where it cannot find the path/file. > > In SQRW, it finds the path/file correctly. > > -----Original Message----- > > Are you trying to run the sqr from Process Scheduler. > > > Joe wrote: > I know this is an SQR User Group, not PeopleSoft, but I'm hoping for > help > with experts in both here. > > I have an SQR that uses a UNC path to open an input file. It works fine > using SQRW on both my local PC and on the Server. However, when I put the > SQR into PeopleSoft and run it, I get an error that it cannot open the > interface file. The path quoted in the error message is the correct path > and > the filename is correct. > > Any suggestions on what to look at to troubleshoot this? > > TIA, > > Joe > > _________________________________________________________________ > Search for grocery stores. Find gratitude. Turn a simple search into > something more. > http://click4thecause.live.com/search/charity/default.aspx?source=hmemtagline_gratitude&FORM=WLMTAG > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 05 10:25:45 2007 Date: Mon, 5 Feb 2007 15:20:40 -0000 From: "Simpson, Don I \(UK\)" Subject: [sqr-users] Unexpectedly Filling Rollback Segments Dear SQR'rs, =20 Can anybody help with advice on this one. =20 I'm having to do a lot of update transactions as part of a project to extract data. The updates are basically to flag extracted records, so we can do deltas later on. =20 I'm using commit on each BEGIN-SQL, which I thought was meant to reduce the use of rollbacks as each transaction is immediately commited, therefore no rollback to do, i.e. =20 BEGIN-SQL update set =3D value where ; commit; END-SQL =20 but, after a number of such transactions, probably around 10,000, I get a rollback error. =20 Does the commit technique inside BEGIN-SQL not do what I think it is meant to do? =20 Regards, =20 Don Simpson BAE Systems=20 =20 =20 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 05 10:29:25 2007 Date: Mon, 05 Feb 2007 10:23:36 -0500 From: "Larry Roux" Subject: Re: [sqr-users] UNC path works in SQRW but not in PeopleSoft Is your casing entirely correct? When referring to UNIX files you must get the casing exactly the same. Again, check the file permissions/owner as well. Larry Roux Information Systems Syracuse University lroux@syr.edu >>> jej1216@hotmail.com 2/5/2007 10:19 AM >>> Here's the error: EH_SNU started at 2007-02-02 15:49:07.840 Opening File ERNGL.955SJAN07.X1 Error Opening Interface File \\server1\shared1$\Interfaces\Data Files\Patcom to PS (Fin) Revenue\Test\ERNGL.955SJAN07.X1 Error on line 149: (SQR 3301) Program stopped by user request. SQR for PeopleSoft: Program Aborting. I thought at first the spaces and parentheses in the folder path was the issue, but that did not fix it: Opening File ERNGL.955SJAN07.X1 Error Opening Interface File \\server1\shared1$\Interfaces\Data\Patcom-PS-FIN-Revenue\Test\ERNGL.955SJAN07.X1 And again, this is when running it in Process Scheduler. It works fine using SQRW. TIA, jej1216 ----- Original Message ----- From: "the dragon" To: Sent: Saturday, February 03, 2007 8:05 PM Subject: RE: [sqr-users] UNC path works in SQRW but not in PeopleSoft > Once again, what's the error message you're getting? > > > > PSA: Salary <> Slavery. If you earn a salary, your employer is renting > your services for 40 hours a week, not purchasing your soul. Your time is > the only real finite asset that you have, and once used it can never be > recovered, so don't waste it by giving it away. > > I work to live; I don't live to work. > > "Time is the coin of your life. It is the only coin you have, and only you > can determine how it will be spent. Be careful lest you let other people > spend it for you." -- Carl Sandburg (1878 - 1967) > > It is impossible to defeat an ignorant man in argument. -- William G. > McAdoo > > Religion is regarded by the common people as true, by the wise as false, > and by the rulers as useful. -- Seneca > > "I distrust those people who know so well what God wants them to do > because I notice it always coincides with their own desires." - Susan B. > Anthony > > > > > ----Original Message Follows---- > > Yes, and the SQR kicks off with no problems, but there is an Open File for > reading Procedure - and that is where it cannot find the path/file. > > In SQRW, it finds the path/file correctly. > > -----Original Message----- > > Are you trying to run the sqr from Process Scheduler. > > > Joe wrote: > I know this is an SQR User Group, not PeopleSoft, but I'm hoping for > help > with experts in both here. > > I have an SQR that uses a UNC path to open an input file. It works fine > using SQRW on both my local PC and on the Server. However, when I put the > SQR into PeopleSoft and run it, I get an error that it cannot open the > interface file. The path quoted in the error message is the correct path > and > the filename is correct. > > Any suggestions on what to look at to troubleshoot this? > > TIA, > > Joe > > _________________________________________________________________ > Search for grocery stores. Find gratitude. Turn a simple search into > something more. > http://click4thecause.live.com/search/charity/default.aspx?source=hmemtagline_gratitude&FORM=WLMTAG > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 05 10:33:12 2007 Date: Mon, 05 Feb 2007 11:24:00 -0400 From: "PeterG Clark" Subject: Re: [sqr-users] UNC path works in SQRW but not in PeopleSoft I don't believe that UNIX folders can have spaces in the name like Windows = can? >>> jej1216@hotmail.com 2007/02/05 11:19:07 >>> Here's the error: EH_SNU started at 2007-02-02 15:49:07.840 Opening File ERNGL.955SJAN07.X1 Error Opening Interface File \\server1\shared1$\Interfaces\Data Files\Patco= m=20 to PS (Fin) Revenue\Test\ERNGL.955SJAN07.X1 Error on line 149: (SQR 3301) Program stopped by user request. SQR for PeopleSoft: Program Aborting. I thought at first the spaces and parentheses in the folder path was the=20 issue, but that did not fix it: Opening File ERNGL.955SJAN07.X1 Error Opening Interface File=20 \\server1\shared1$\Interfaces\Data\Patcom-PS-FIN-Revenue\Test\ERNGL.955SJAN= 07.X1=20 And again, this is when running it in Process Scheduler. It works fine=20 using SQRW. TIA, jej1216 ----- Original Message ----- From: "the dragon" To: Sent: Saturday, February 03, 2007 8:05 PM Subject: RE: [sqr-users] UNC path works in SQRW but not in PeopleSoft > Once again, what's the error message you're getting? > > > > PSA: Salary <> Slavery. If you earn a salary, your employer is renting=20 > your services for 40 hours a week, not purchasing your soul. Your time is= =20 > the only real finite asset that you have, and once used it can never be= =20 > recovered, so don't waste it by giving it away. > > I work to live; I don't live to work. > > "Time is the coin of your life. It is the only coin you have, and only yo= u=20 > can determine how it will be spent. Be careful lest you let other people= =20 > spend it for you." -- Carl Sandburg (1878 - 1967) > > It is impossible to defeat an ignorant man in argument. -- William G.=20 > McAdoo > > Religion is regarded by the common people as true, by the wise as false,= =20 > and by the rulers as useful. -- Seneca > > "I distrust those people who know so well what God wants them to do=20 > because I notice it always coincides with their own desires." - Susan B.= =20 > Anthony > > > > > ----Original Message Follows---- > > Yes, and the SQR kicks off with no problems, but there is an Open File for > reading Procedure - and that is where it cannot find the path/file. > > In SQRW, it finds the path/file correctly. > > -----Original Message----- > > Are you trying to run the sqr from Process Scheduler. > > > Joe wrote: > I know this is an SQR User Group, not PeopleSoft, but I'm hoping for=20 > help > with experts in both here. > > I have an SQR that uses a UNC path to open an input file. It works fine > using SQRW on both my local PC and on the Server. However, when I put the > SQR into PeopleSoft and run it, I get an error that it cannot open the > interface file. The path quoted in the error message is the correct path= =20 > and > the filename is correct. > > Any suggestions on what to look at to troubleshoot this? > > TIA, > > Joe > > _________________________________________________________________ > Search for grocery stores. Find gratitude. Turn a simple search into=20 > something more.=20 > http://click4thecause.live.com/search/charity/default.aspx?source=3Dhmemt= agline_gratitude&FORM=3DWLMTAG=20 > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org=20 > http://www.sqrug.org/mailman/listinfo/sqr-users=20 >=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 05 10:36:32 2007 Date: Mon, 05 Feb 2007 10:25:43 -0500 From: "Jamie Harris" Subject: Re: [sqr-users] UNC path works in SQRW but not in PeopleSoft Joe, Figure out what username the Process Scheduler runs as in Peoplesoft and make sure that it has access to the shared folder you're trying to open the file in. A quick test to see if that is your problem is to share the folder and grant full access to everyone. ----------------------------------------------------- James Harris Enterprise Application Analyst/Programmer Information Technology Division Frederick Community College ----------------------------------------------------- >>> "Joe" 2/5/2007 10:19 AM >>> Here's the error: EH_SNU started at 2007-02-02 15:49:07.840 Opening File ERNGL.955SJAN07.X1 Error Opening Interface File \\server1\shared1$\Interfaces\Data Files\Patcom to PS (Fin) Revenue\Test\ERNGL.955SJAN07.X1 Error on line 149: (SQR 3301) Program stopped by user request. SQR for PeopleSoft: Program Aborting. I thought at first the spaces and parentheses in the folder path was the issue, but that did not fix it: Opening File ERNGL.955SJAN07.X1 Error Opening Interface File \\server1\shared1$\Interfaces\Data\Patcom-PS-FIN-Revenue\Test\ERNGL.955SJAN07.X1 And again, this is when running it in Process Scheduler. It works fine using SQRW. TIA, jej1216 ----- Original Message ----- From: "the dragon" To: Sent: Saturday, February 03, 2007 8:05 PM Subject: RE: [sqr-users] UNC path works in SQRW but not in PeopleSoft > Once again, what's the error message you're getting? > > > > PSA: Salary <> Slavery. If you earn a salary, your employer is renting > your services for 40 hours a week, not purchasing your soul. Your time is > the only real finite asset that you have, and once used it can never be > recovered, so don't waste it by giving it away. > > I work to live; I don't live to work. > > "Time is the coin of your life. It is the only coin you have, and only you > can determine how it will be spent. Be careful lest you let other people > spend it for you." -- Carl Sandburg (1878 - 1967) > > It is impossible to defeat an ignorant man in argument. -- William G. > McAdoo > > Religion is regarded by the common people as true, by the wise as false, > and by the rulers as useful. -- Seneca > > "I distrust those people who know so well what God wants them to do > because I notice it always coincides with their own desires." - Susan B. > Anthony > > > > > ----Original Message Follows---- > > Yes, and the SQR kicks off with no problems, but there is an Open File for > reading Procedure - and that is where it cannot find the path/file. > > In SQRW, it finds the path/file correctly. > > -----Original Message----- > > Are you trying to run the sqr from Process Scheduler. > > > Joe wrote: > I know this is an SQR User Group, not PeopleSoft, but I'm hoping for > help > with experts in both here. > > I have an SQR that uses a UNC path to open an input file. It works fine > using SQRW on both my local PC and on the Server. However, when I put the > SQR into PeopleSoft and run it, I get an error that it cannot open the > interface file. The path quoted in the error message is the correct path > and > the filename is correct. > > Any suggestions on what to look at to troubleshoot this? > > TIA, > > Joe > > _________________________________________________________________ > Search for grocery stores. Find gratitude. Turn a simple search into > something more. > http://click4thecause.live.com/search/charity/default.aspx?source=hmemtagline_gratitude&FORM=WLMTAG > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 05 10:50:51 2007 Subject: RE: [sqr-users] UNC path works in SQRW but not in PeopleSoft Date: Mon, 5 Feb 2007 09:26:41 -0600 From: "Bill Beckner" We had a similar problem with the Application Servers executing COBOL programs on a common server as well (all running in a Windows environment).=20=20 We modified the TUXEDO IPC Helper service on the App Server and Process Scheduler so that it logged on as a network user (instead of as LocalSystem user). This network user has read/execute permissions to the remote servers. This did the trick! Hope this helps you out! -- William Beckner (Just call me "Bill") PeopleSoft Application Development Manager Technology Services Illinois Central College, Rm L133 - East Peoria, IL 61635-0001 PH: (309) 694-8419 -- FAX: (309) 694-8995 -----Original Message----- From: sqr-users-bounces+bbeckner=3Dicc.edu@sqrug.org [mailto:sqr-users-bounces+bbeckner=3Dicc.edu@sqrug.org] On Behalf Of Joe Sent: Monday, February 05, 2007 9:19 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: Re: [sqr-users] UNC path works in SQRW but not in PeopleSoft Here's the error: EH_SNU started at 2007-02-02 15:49:07.840 Opening File ERNGL.955SJAN07.X1 Error Opening Interface File \\server1\shared1$\Interfaces\Data Files\Patcom=20 to PS (Fin) Revenue\Test\ERNGL.955SJAN07.X1 Error on line 149: (SQR 3301) Program stopped by user request. SQR for PeopleSoft: Program Aborting. I thought at first the spaces and parentheses in the folder path was the issue, but that did not fix it: Opening File ERNGL.955SJAN07.X1 Error Opening Interface File=20 \\server1\shared1$\Interfaces\Data\Patcom-PS-FIN-Revenue\Test\ERNGL.955S JAN07.X1 And again, this is when running it in Process Scheduler. It works fine=20 using SQRW. TIA, jej1216 ----- Original Message ----- From: "the dragon" To: Sent: Saturday, February 03, 2007 8:05 PM Subject: RE: [sqr-users] UNC path works in SQRW but not in PeopleSoft > Once again, what's the error message you're getting? > > > > PSA: Salary <> Slavery. If you earn a salary, your employer is renting > your services for 40 hours a week, not purchasing your soul. Your time is=20 > the only real finite asset that you have, and once used it can never be=20 > recovered, so don't waste it by giving it away. > > I work to live; I don't live to work. > > "Time is the coin of your life. It is the only coin you have, and only you=20 > can determine how it will be spent. Be careful lest you let other people=20 > spend it for you." -- Carl Sandburg (1878 - 1967) > > It is impossible to defeat an ignorant man in argument. -- William G.=20 > McAdoo > > Religion is regarded by the common people as true, by the wise as false,=20 > and by the rulers as useful. -- Seneca > > "I distrust those people who know so well what God wants them to do=20 > because I notice it always coincides with their own desires." - Susan B.=20 > Anthony > > > > > ----Original Message Follows---- > > Yes, and the SQR kicks off with no problems, but there is an Open File for > reading Procedure - and that is where it cannot find the path/file. > > In SQRW, it finds the path/file correctly. > > -----Original Message----- > > Are you trying to run the sqr from Process Scheduler. > > > Joe wrote: > I know this is an SQR User Group, not PeopleSoft, but I'm hoping for > help > with experts in both here. > > I have an SQR that uses a UNC path to open an input file. It works fine > using SQRW on both my local PC and on the Server. However, when I put the > SQR into PeopleSoft and run it, I get an error that it cannot open the > interface file. The path quoted in the error message is the correct path=20 > and > the filename is correct. > > Any suggestions on what to look at to troubleshoot this? > > TIA, > > Joe > > _________________________________________________________________ > Search for grocery stores. Find gratitude. Turn a simple search into=20 > something more.=20 > http://click4thecause.live.com/search/charity/default.aspx?source=3Dhmemta gline_gratitude&FORM=3DWLMTAG > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 05 10:40:08 2007 Date: Mon, 05 Feb 2007 10:26:56 -0500 From: "Larry Roux" Subject: Re: [sqr-users] Unexpectedly Filling Rollback Segments It *should*..but try this just to be safe: BEGIN-SQL update
set = value where END-SQL BEGIN-SQL commit END-SQL Larry Roux Information Systems Syracuse University lroux@syr.edu >>> Don.I.Simpson@baesystems.com 2/5/2007 10:20 AM >>> Dear SQR'rs, Can anybody help with advice on this one. I'm having to do a lot of update transactions as part of a project to extract data. The updates are basically to flag extracted records, so we can do deltas later on. I'm using commit on each BEGIN-SQL, which I thought was meant to reduce the use of rollbacks as each transaction is immediately commited, therefore no rollback to do, i.e. BEGIN-SQL update
set = value where ; commit; END-SQL but, after a number of such transactions, probably around 10,000, I get a rollback error. Does the commit technique inside BEGIN-SQL not do what I think it is meant to do? Regards, Don Simpson BAE Systems ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 05 10:43:59 2007 Subject: RE: [sqr-users] UNC path works in SQRW but not in PeopleSoft Date: Mon, 5 Feb 2007 09:30:53 -0600 From: "Knapp, Richard" Point of view, Joe. The path works from the point of view of your desktop but not of the server because the server is a different OS? does not have the shares mounted that your desktop does? ... ???? Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Joe Sent: Friday, February 02, 2007 5:32 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: [sqr-users] UNC path works in SQRW but not in PeopleSoft I know this is an SQR User Group, not PeopleSoft, but I'm hoping for help with experts in both here. I have an SQR that uses a UNC path to open an input file. It works fine using SQRW on both my local PC and on the Server. However, when I put the SQR into PeopleSoft and run it, I get an error that it cannot open the interface file. The path quoted in the error message is the correct path and the filename is correct.=20=20 Any suggestions on what to look at to troubleshoot this? TIA, Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 05 10:47:20 2007 Subject: RE: [sqr-users] Unexpectedly Filling Rollback Segments Date: Mon, 5 Feb 2007 09:31:54 -0600 From: "Knapp, Richard" Speak to your DBA to see if the rollback segments can be increased in size. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Simpson, Don I (UK) Sent: Monday, February 05, 2007 9:21 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: [sqr-users] Unexpectedly Filling Rollback Segments Dear SQR'rs, =20 Can anybody help with advice on this one. =20 I'm having to do a lot of update transactions as part of a project to extract data. The updates are basically to flag extracted records, so we can do deltas later on. =20 I'm using commit on each BEGIN-SQL, which I thought was meant to reduce the use of rollbacks as each transaction is immediately commited, therefore no rollback to do, i.e. =20 BEGIN-SQL update
set =3D value where ; commit; END-SQL =20 but, after a number of such transactions, probably around 10,000, I get a rollback error. =20 Does the commit technique inside BEGIN-SQL not do what I think it is meant to do? =20 Regards, =20 Don Simpson BAE Systems=20 =20 =20 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 05 10:55:46 2007 From: "the dragon" Subject: Re: [sqr-users] UNC path works in SQRW but not in PeopleSoft Date: Mon, 05 Feb 2007 09:50:12 -0600 Try creating, or having created, a mapped drive on the server running the sqr, and then using that path. If you're entering the path for a file through a run control page, it is usually addressing that path from the aspect of the server you're executing from with the process scheduler. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- From: "Joe" Here's the error: EH_SNU started at 2007-02-02 15:49:07.840 Opening File ERNGL.955SJAN07.X1 Error Opening Interface File \\server1\shared1$\Interfaces\Data Files\Patcom to PS (Fin) Revenue\Test\ERNGL.955SJAN07.X1 Error on line 149: (SQR 3301) Program stopped by user request. SQR for PeopleSoft: Program Aborting. I thought at first the spaces and parentheses in the folder path was the issue, but that did not fix it: Opening File ERNGL.955SJAN07.X1 Error Opening Interface File \\server1\shared1$\Interfaces\Data\Patcom-PS-FIN-Revenue\Test\ERNGL.955SJAN07.X1 And again, this is when running it in Process Scheduler. It works fine using SQRW. TIA, jej1216 ----- Original Message ----- >Once again, what's the error message you're getting? > > >----Original Message Follows---- > >Yes, and the SQR kicks off with no problems, but there is an Open File for >reading Procedure - and that is where it cannot find the path/file. > >In SQRW, it finds the path/file correctly. > >-----Original Message----- > >Are you trying to run the sqr from Process Scheduler. > > >Joe wrote: > I know this is an SQR User Group, not PeopleSoft, but I'm hoping for >help >with experts in both here. > >I have an SQR that uses a UNC path to open an input file. It works fine >using SQRW on both my local PC and on the Server. However, when I put the >SQR into PeopleSoft and run it, I get an error that it cannot open the >interface file. The path quoted in the error message is the correct path >and >the filename is correct. > >Any suggestions on what to look at to troubleshoot this? > >TIA, > >Joe > _________________________________________________________________ Get in the mood for Valentine's Day. View photos, recipes and more on your Live.com page. http://www.live.com/?addTemplate=ValentinesDay&ocid=T001MSN30A0701 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 05 11:00:02 2007 From: "the dragon" Subject: Re: [sqr-users] UNC path works in SQRW but not in PeopleSoft Date: Mon, 05 Feb 2007 09:51:35 -0600 An alternative solution is to have the file placed on the Process scheduker server and pull it from there. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- Here's the error: EH_SNU started at 2007-02-02 15:49:07.840 Opening File ERNGL.955SJAN07.X1 Error Opening Interface File \\server1\shared1$\Interfaces\Data Files\Patcom to PS (Fin) Revenue\Test\ERNGL.955SJAN07.X1 Error on line 149: (SQR 3301) Program stopped by user request. SQR for PeopleSoft: Program Aborting. I thought at first the spaces and parentheses in the folder path was the issue, but that did not fix it: Opening File ERNGL.955SJAN07.X1 Error Opening Interface File \\server1\shared1$\Interfaces\Data\Patcom-PS-FIN-Revenue\Test\ERNGL.955SJAN07.X1 And again, this is when running it in Process Scheduler. It works fine using SQRW. TIA, jej1216 ----- Original Message ----- >Once again, what's the error message you're getting? > > > > >----Original Message Follows---- > >Yes, and the SQR kicks off with no problems, but there is an Open File for >reading Procedure - and that is where it cannot find the path/file. > >In SQRW, it finds the path/file correctly. > >-----Original Message----- > >Are you trying to run the sqr from Process Scheduler. > > >Joe wrote: > I know this is an SQR User Group, not PeopleSoft, but I'm hoping for >help >with experts in both here. > >I have an SQR that uses a UNC path to open an input file. It works fine >using SQRW on both my local PC and on the Server. However, when I put the >SQR into PeopleSoft and run it, I get an error that it cannot open the >interface file. The path quoted in the error message is the correct path >and >the filename is correct. > >Any suggestions on what to look at to troubleshoot this? > >TIA, > >Joe > _________________________________________________________________ >From predictions to trailers, check out the MSN Entertainment Guide to the Academy Awards® http://movies.msn.com/movies/oscars2007/?icid=ncoscartagline1 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 05 11:04:06 2007 From: "Joe" Subject: Re: [sqr-users] UNC path works in SQRW but not in PeopleSoft Date: Mon, 5 Feb 2007 08:52:16 -0700 This is not Unix, it is Windows Server 2003. If I put the file in the temp folder on the server it runs fine, so it certainly is a rights issue to the shared folder which is not on the physical server. So if PS runs SQR's as VPX, then we have to create a VPX login in Active Directory and grant access to that shared folder? TIA, jej1216 ----- Original Message ----- From: "PeterG Clark" To: Sent: Monday, February 05, 2007 8:24 AM Subject: Re: [sqr-users] UNC path works in SQRW but not in PeopleSoft I don't believe that UNIX folders can have spaces in the name like Windows can? >>> jej1216@hotmail.com 2007/02/05 11:19:07 >>> Here's the error: EH_SNU started at 2007-02-02 15:49:07.840 Opening File ERNGL.955SJAN07.X1 Error Opening Interface File \\server1\shared1$\Interfaces\Data Files\Patcom to PS (Fin) Revenue\Test\ERNGL.955SJAN07.X1 Error on line 149: (SQR 3301) Program stopped by user request. SQR for PeopleSoft: Program Aborting. I thought at first the spaces and parentheses in the folder path was the issue, but that did not fix it: Opening File ERNGL.955SJAN07.X1 Error Opening Interface File \\server1\shared1$\Interfaces\Data\Patcom-PS-FIN-Revenue\Test\ERNGL.955SJAN07.X1 And again, this is when running it in Process Scheduler. It works fine using SQRW. TIA, jej1216 ----- Original Message ----- From: "the dragon" To: Sent: Saturday, February 03, 2007 8:05 PM Subject: RE: [sqr-users] UNC path works in SQRW but not in PeopleSoft > Once again, what's the error message you're getting? > > > > PSA: Salary <> Slavery. If you earn a salary, your employer is renting > your services for 40 hours a week, not purchasing your soul. Your time is > the only real finite asset that you have, and once used it can never be > recovered, so don't waste it by giving it away. > > I work to live; I don't live to work. > > "Time is the coin of your life. It is the only coin you have, and only you > can determine how it will be spent. Be careful lest you let other people > spend it for you." -- Carl Sandburg (1878 - 1967) > > It is impossible to defeat an ignorant man in argument. -- William G. > McAdoo > > Religion is regarded by the common people as true, by the wise as false, > and by the rulers as useful. -- Seneca > > "I distrust those people who know so well what God wants them to do > because I notice it always coincides with their own desires." - Susan B. > Anthony > > > > > ----Original Message Follows---- > > Yes, and the SQR kicks off with no problems, but there is an Open File for > reading Procedure - and that is where it cannot find the path/file. > > In SQRW, it finds the path/file correctly. > > -----Original Message----- > > Are you trying to run the sqr from Process Scheduler. > > > Joe wrote: > I know this is an SQR User Group, not PeopleSoft, but I'm hoping for > help > with experts in both here. > > I have an SQR that uses a UNC path to open an input file. It works fine > using SQRW on both my local PC and on the Server. However, when I put the > SQR into PeopleSoft and run it, I get an error that it cannot open the > interface file. The path quoted in the error message is the correct path > and > the filename is correct. > > Any suggestions on what to look at to troubleshoot this? > > TIA, > > Joe > > _________________________________________________________________ > Search for grocery stores. Find gratitude. Turn a simple search into > something more. > http://click4thecause.live.com/search/charity/default.aspx?source=hmemtagline_gratitude&FORM=WLMTAG > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 05 11:07:30 2007 From: "the dragon" Subject: Re: [sqr-users] UNC path works in SQRW but not in PeopleSoft Date: Mon, 05 Feb 2007 09:53:36 -0600 Those are whacks (\) not proper slashes (/) so this is a windoze system. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- Is your casing entirely correct? When referring to UNIX files you must get the casing exactly the same. Again, check the file permissions/owner as well. Larry Roux Information Systems Syracuse University lroux@syr.edu >>> jej1216@hotmail.com 2/5/2007 10:19 AM >>> Here's the error: EH_SNU started at 2007-02-02 15:49:07.840 Opening File ERNGL.955SJAN07.X1 Error Opening Interface File \\server1\shared1$\Interfaces\Data Files\Patcom to PS (Fin) Revenue\Test\ERNGL.955SJAN07.X1 Error on line 149: (SQR 3301) Program stopped by user request. SQR for PeopleSoft: Program Aborting. I thought at first the spaces and parentheses in the folder path was the issue, but that did not fix it: Opening File ERNGL.955SJAN07.X1 Error Opening Interface File \\server1\shared1$\Interfaces\Data\Patcom-PS-FIN-Revenue\Test\ERNGL.955SJAN07.X1 And again, this is when running it in Process Scheduler. It works fine using SQRW. TIA, jej1216 _________________________________________________________________ Invite your Hotmail contacts to join your friends list with Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 05 11:11:22 2007 From: "the dragon" Subject: RE: [sqr-users] Unexpectedly Filling Rollback Segments Date: Mon, 05 Feb 2007 09:57:19 -0600 Increasing rollback segments should only be used as a course of last resort. Usually, if everything else is working well on your system, and a particular new process is having problems, then it's poorly written code which needs to be addressed, not adding resources. I do not believe that the issue is the roolback segments in this case. It could be the initial select is getting out of sync because there have been so many commits since the select was first made, but then I would expect a "snapshot too old" error. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- From: "Knapp, Richard" Reply-To: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." To: "This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions." Subject: RE: [sqr-users] Unexpectedly Filling Rollback Segments Date: Mon, 5 Feb 2007 09:31:54 -0600 MIME-Version: 1.0 Received: from seldon.sqrug.org ([199.164.165.113]) by bay0-mc2-f23.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Mon, 5 Feb 2007 07:48:22 -0800 Received: from localhost([127.0.0.1] helo=seldon.sqrug.org ident=list)by seldon.sqrug.org with esmtp (Exim 3.35 #1 (Debian))id 1HE64q-000370-00for ; Mon, 05 Feb 2007 10:48:20 -0500 Received: from um-tsmtpout1.um.umsystem.edu ([209.106.228.23])by seldon.sqrug.org with esmtp (Exim 3.35 #1 (Debian))id 1HE5oz-0001c7-00for ; Mon, 05 Feb 2007 10:31:57 -0500 Received: from UM-XMAIL04.um.umsystem.edu ([209.106.228.4]) byum-tsmtpout1.um.umsystem.edu with Microsoft SMTPSVC(6.0.3790.1830); Mon, 5 Feb 2007 09:31:55 -0600 X-Message-Info: LsUYwwHHNt17xzMWfbewrGe5M1tiPGmOM0jToLg1u7E= X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [sqr-users] Unexpectedly Filling Rollback Segments Thread-Index: AcdJOTGSwSBqwBHpQVuNEe4kiIyXJQAAX//w References: <3E842A7A776DEC4FB5A8522E64A9A5D401528C09@glkms0009> X-OriginalArrivalTime: 05 Feb 2007 15:31:55.0730 (UTC)FILETIME=[C4848B20:01C7493A] X-BeenThere: sqr-users@sqrug.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: sqr-users-bounces+ceprn=hotmail.com@sqrug.org Return-Path: sqr-users-bounces+ceprn=hotmail.com@sqrug.org Speak to your DBA to see if the rollback segments can be increased in size. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of Simpson, Don I (UK) Sent: Monday, February 05, 2007 9:21 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: [sqr-users] Unexpectedly Filling Rollback Segments Dear SQR'rs, Can anybody help with advice on this one. I'm having to do a lot of update transactions as part of a project to extract data. The updates are basically to flag extracted records, so we can do deltas later on. I'm using commit on each BEGIN-SQL, which I thought was meant to reduce the use of rollbacks as each transaction is immediately commited, therefore no rollback to do, i.e. BEGIN-SQL update
set = value where ; commit; END-SQL but, after a number of such transactions, probably around 10,000, I get a rollback error. Does the commit technique inside BEGIN-SQL not do what I think it is meant to do? Regards, Don Simpson BAE Systems ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Search for grocery stores. Find gratitude. Turn a simple search into something more. http://click4thecause.live.com/search/charity/default.aspx?source=hmemtagline_gratitude&FORM=WLMTAG _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 05 11:31:13 2007 Date: Mon, 5 Feb 2007 08:28:16 -0800 (PST) From: Arun Kumar Subject: Re: [sqr-users] UNC path works in SQRW but not in PeopleSoft I like this idea.. Atleast for trouble shooting purposes.. Open the file locally,run it process scheduler to confirm its the right/sec= urity issue. ----- Original Message ---- From: the dragon To: sqr-users@sqrug.org Cc: jej1216@hotmail.com Sent: Monday, February 5, 2007 10:51:35 AM Subject: Re: [sqr-users] UNC path works in SQRW but not in PeopleSoft An alternative solution is to have the file placed on the Process scheduker= =20 server and pull it from there. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your= =20 services for 40 hours a week, not purchasing your soul. Your time is the=20 only real finite asset that you have, and once used it can never be=20 recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you= =20 can determine how it will be spent. Be careful lest you let other people=20 spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, an= d=20 by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because= =20 I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- Here's the error: EH_SNU started at 2007-02-02 15:49:07.840 Opening File ERNGL.955SJAN07.X1 Error Opening Interface File \\server1\shared1$\Interfaces\Data Files\Patco= m=20 to PS (Fin) Revenue\Test\ERNGL.955SJAN07.X1 Error on line 149: (SQR 3301) Program stopped by user request. SQR for PeopleSoft: Program Aborting. I thought at first the spaces and parentheses in the folder path was the=20 issue, but that did not fix it: Opening File ERNGL.955SJAN07.X1 Error Opening Interface File=20 \\server1\shared1$\Interfaces\Data\Patcom-PS-FIN-Revenue\Test\ERNGL.955SJAN= 07.X1 And again, this is when running it in Process Scheduler. It works fine=20 using SQRW. TIA, jej1216 ----- Original Message ----- >Once again, what's the error message you're getting? > > > > >----Original Message Follows---- > >Yes, and the SQR kicks off with no problems, but there is an Open File for >reading Procedure - and that is where it cannot find the path/file. > >In SQRW, it finds the path/file correctly. > >-----Original Message----- > >Are you trying to run the sqr from Process Scheduler. > > >Joe wrote: > I know this is an SQR User Group, not PeopleSoft, but I'm hoping for=20 >help >with experts in both here. > >I have an SQR that uses a UNC path to open an input file. It works fine >using SQRW on both my local PC and on the Server. However, when I put the >SQR into PeopleSoft and run it, I get an error that it cannot open the >interface file. The path quoted in the error message is the correct path= =20 >and >the filename is correct. > >Any suggestions on what to look at to troubleshoot this? > >TIA, > >Joe > _________________________________________________________________ >From predictions to trailers, check out the MSN Entertainment Guide to the= =20 Academy Awards=AE=20 http://movies.msn.com/movies/oscars2007/?icid=3Dncoscartagline1 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20 ___________________________________________________________________________= _________ Sucker-punch spam with award-winning protection.=20 Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 05 11:42:57 2007 Subject: RE: [sqr-users] Unexpectedly Filling Rollback Segments Date: Mon, 5 Feb 2007 16:39:29 -0000 From: "Simpson, Don I \(UK\)" Dragon, Thanks, you've got the answer. I am getting the "snapshot too old" error and I am running a massive query and updating within it, i.e. I'm selecting all the records at once (350,000 or so) and then updating each one after the relevant data is extracted, so even though I'm commiting each update, because the query is still open, it keeps the rollback record. It looks like increasing the rollback segment space is the only answer.=20 Thanks for your help, Regards, Don -----Original Message----- From: sqr-users-bounces+don.i.simpson=3Dbaesystems.com@sqrug.org [mailto:sqr-users-bounces+don.i.simpson=3Dbaesystems.com@sqrug.org] On Behalf Of the dragon Sent: 05 February 2007 15:57 To: sqr-users@sqrug.org Subject: RE: [sqr-users] Unexpectedly Filling Rollback Segments *** WARNING *** This mail has originated outside your organization, either from an external partner or the Global Internet.=20 Keep this in mind if you answer this message.=20 Increasing rollback segments should only be used as a course of last resort.=20 Usually, if everything else is working well on your system, and a particular new process is having problems, then it's poorly written code which needs to be addressed, not adding resources. I do not believe that the issue is the roolback segments in this case. It could be the initial select is getting out of sync because there have been so many commits since the select was first made, but then I would expect a "snapshot too old" error. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- From: "Knapp, Richard" Reply-To: "This list is for discussion about the SQR database=20 reportinglanguage from Hyperion Solutions." To: "This list is for discussion about the SQR database reportinglanguage=20 fromHyperion Solutions." Subject: RE: [sqr-users] Unexpectedly Filling Rollback Segments Date: Mon, 5 Feb 2007 09:31:54 -0600 MIME-Version: 1.0 Received: from seldon.sqrug.org ([199.164.165.113]) by=20 bay0-mc2-f23.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Mon, 5=20 Feb 2007 07:48:22 -0800 Received: from localhost([127.0.0.1] helo=3Dseldon.sqrug.org ident=3Dlist)by seldon.sqrug.org with esmtp (Exim 3.35 #1 (Debian))id 1HE64q-000370-00for=20 ; Mon, 05 Feb 2007 10:48:20 -0500 Received: from um-tsmtpout1.um.umsystem.edu ([209.106.228.23])by=20 seldon.sqrug.org with esmtp (Exim 3.35 #1 (Debian))id 1HE5oz-0001c7-00for=20 ; Mon, 05 Feb 2007 10:31:57 -0500 Received: from UM-XMAIL04.um.umsystem.edu ([209.106.228.4])=20 byum-tsmtpout1.um.umsystem.edu with Microsoft SMTPSVC(6.0.3790.1830); Mon, 5=20 Feb 2007 09:31:55 -0600 X-Message-Info: LsUYwwHHNt17xzMWfbewrGe5M1tiPGmOM0jToLg1u7E=3D X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [sqr-users] Unexpectedly Filling Rollback Segments Thread-Index: AcdJOTGSwSBqwBHpQVuNEe4kiIyXJQAAX//w References: <3E842A7A776DEC4FB5A8522E64A9A5D401528C09@glkms0009> X-OriginalArrivalTime: 05 Feb 2007 15:31:55.0730=20 (UTC)FILETIME=3D[C4848B20:01C7493A] X-BeenThere: sqr-users@sqrug.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "This list is for discussion about the SQR database=20 reportinglanguage from Hyperion Solutions." List-Unsubscribe:=20 , List-Post: List-Help: List-Subscribe:=20 , Errors-To: sqr-users-bounces+ceprn=3Dhotmail.com@sqrug.org Return-Path: sqr-users-bounces+ceprn=3Dhotmail.com@sqrug.org Speak to your DBA to see if the rollback segments can be increased in size. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Simpson, Don I (UK) Sent: Monday, February 05, 2007 9:21 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: [sqr-users] Unexpectedly Filling Rollback Segments Dear SQR'rs, Can anybody help with advice on this one. I'm having to do a lot of update transactions as part of a project to extract data. The updates are basically to flag extracted records, so we can do deltas later on. I'm using commit on each BEGIN-SQL, which I thought was meant to reduce the use of rollbacks as each transaction is immediately commited, therefore no rollback to do, i.e. BEGIN-SQL update
set =3D value where ; commit; END-SQL but, after a number of such transactions, probably around 10,000, I get a rollback error. Does the commit technique inside BEGIN-SQL not do what I think it is meant to do? Regards, Don Simpson BAE Systems ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Search for grocery stores. Find gratitude. Turn a simple search into=20 something more.=20 http://click4thecause.live.com/search/charity/default.aspx?source=3Dhmemta gline_gratitude&FORM=3DWLMTAG _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 05 13:33:23 2007 Date: Mon, 5 Feb 2007 10:27:57 -0800 (PST) From: Arun Kumar Subject: Re: [sqr-users] Unexpectedly Filling Rollback Segments Don, I wouldnt jump to conclude that RBS are the only answer. I dont know how databases treat RBS but I will not be surprised if the issu= es come back after increasing the RBS size. Just following your statements... If you were getting RBS Error for about 10,000 rows... and the table has ar= ound 350,000 rows. So how big can the RBS be increased to? How come database doesnt have issue= s with other sql? ----- Original Message ---- From: "Simpson, Don I (UK)" To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Sent: Monday, February 5, 2007 11:39:29 AM Subject: RE: [sqr-users] Unexpectedly Filling Rollback Segments Dragon, Thanks, you've got the answer. I am getting the "snapshot too old" error and I am running a massive query and updating within it, i.e. I'm selecting all the records at once (350,000 or so) and then updating each one after the relevant data is extracted, so even though I'm commiting each update, because the query is still open, it keeps the rollback record. It looks like increasing the rollback segment space is the only answer.=20 Thanks for your help, Regards, Don -----Original Message----- From: sqr-users-bounces+don.i.simpson=3Dbaesystems.com@sqrug.org [mailto:sqr-users-bounces+don.i.simpson=3Dbaesystems.com@sqrug.org] On Behalf Of the dragon Sent: 05 February 2007 15:57 To: sqr-users@sqrug.org Subject: RE: [sqr-users] Unexpectedly Filling Rollback Segments *** WARNING *** This mail has originated outside your organization, either from an external partner or the Global Internet.=20 Keep this in mind if you answer this message.=20 Increasing rollback segments should only be used as a course of last resort.=20 Usually, if everything else is working well on your system, and a particular new process is having problems, then it's poorly written code which needs to be addressed, not adding resources. I do not believe that the issue is the roolback segments in this case. It could be the initial select is getting out of sync because there have been so many commits since the select was first made, but then I would expect a "snapshot too old" error. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- From: "Knapp, Richard" Reply-To: "This list is for discussion about the SQR database=20 reportinglanguage from Hyperion Solutions." To: "This list is for discussion about the SQR database reportinglanguage=20 fromHyperion Solutions." Subject: RE: [sqr-users] Unexpectedly Filling Rollback Segments Date: Mon, 5 Feb 2007 09:31:54 -0600 MIME-Version: 1.0 Received: from seldon.sqrug.org ([199.164.165.113]) by=20 bay0-mc2-f23.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Mon, 5=20 Feb 2007 07:48:22 -0800 Received: from localhost([127.0.0.1] helo=3Dseldon.sqrug.org ident=3Dlist)by seldon.sqrug.org with esmtp (Exim 3.35 #1 (Debian))id 1HE64q-000370-00for=20 ; Mon, 05 Feb 2007 10:48:20 -0500 Received: from um-tsmtpout1.um.umsystem.edu ([209.106.228.23])by=20 seldon.sqrug.org with esmtp (Exim 3.35 #1 (Debian))id 1HE5oz-0001c7-00for=20 ; Mon, 05 Feb 2007 10:31:57 -0500 Received: from UM-XMAIL04.um.umsystem.edu ([209.106.228.4])=20 byum-tsmtpout1.um.umsystem.edu with Microsoft SMTPSVC(6.0.3790.1830); Mon, 5=20 Feb 2007 09:31:55 -0600 X-Message-Info: LsUYwwHHNt17xzMWfbewrGe5M1tiPGmOM0jToLg1u7E=3D X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [sqr-users] Unexpectedly Filling Rollback Segments Thread-Index: AcdJOTGSwSBqwBHpQVuNEe4kiIyXJQAAX//w References: <3E842A7A776DEC4FB5A8522E64A9A5D401528C09@glkms0009> X-OriginalArrivalTime: 05 Feb 2007 15:31:55.0730=20 (UTC)FILETIME=3D[C4848B20:01C7493A] X-BeenThere: sqr-users@sqrug.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "This list is for discussion about the SQR database=20 reportinglanguage from Hyperion Solutions." List-Unsubscribe:=20 , List-Post: List-Help: List-Subscribe:=20 , Errors-To: sqr-users-bounces+ceprn=3Dhotmail.com@sqrug.org Return-Path: sqr-users-bounces+ceprn=3Dhotmail.com@sqrug.org Speak to your DBA to see if the rollback segments can be increased in size. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Simpson, Don I (UK) Sent: Monday, February 05, 2007 9:21 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: [sqr-users] Unexpectedly Filling Rollback Segments Dear SQR'rs, Can anybody help with advice on this one. I'm having to do a lot of update transactions as part of a project to extract data. The updates are basically to flag extracted records, so we can do deltas later on. I'm using commit on each BEGIN-SQL, which I thought was meant to reduce the use of rollbacks as each transaction is immediately commited, therefore no rollback to do, i.e. BEGIN-SQL update
set =3D value where ; commit; END-SQL but, after a number of such transactions, probably around 10,000, I get a rollback error. Does the commit technique inside BEGIN-SQL not do what I think it is meant to do? Regards, Don Simpson BAE Systems ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Search for grocery stores. Find gratitude. Turn a simple search into=20 something more.=20 http://click4thecause.live.com/search/charity/default.aspx?source=3Dhmemta gline_gratitude&FORM=3DWLMTAG _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20 ___________________________________________________________________________= _________ Need a quick answer? Get one in minutes from people who know. Ask your question on www.Answers.yahoo.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 05 13:37:01 2007 From: "Alexander, Steven" Subject: RE: [sqr-users] Unexpectedly Filling Rollback Segments Date: Mon, 5 Feb 2007 10:32:46 -0800 One other thing, that may have nothing to do with this problem: The SQR manual strongly recommends that you do not use an SQL "commit" command within a begin-sql paragraph. It urges you to use the built-in SQR command "commit" after the begin-sql paragraph. -----Original Message----- From: sqr-users-bounces+steven.alexander=sanjoseca.gov@sqrug.org [mailto:sqr-users-bounces+steven.alexander=sanjoseca.gov@sqrug.org] On Behalf Of Simpson, Don I (UK) Sent: Monday, February 05, 2007 8:39 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Unexpectedly Filling Rollback Segments Dragon, Thanks, you've got the answer. I am getting the "snapshot too old" error and I am running a massive query and updating within it, i.e. I'm selecting all the records at once (350,000 or so) and then updating each one after the relevant data is extracted, so even though I'm commiting each update, because the query is still open, it keeps the rollback record. It looks like increasing the rollback segment space is the only answer. Thanks for your help, Regards, Don -----Original Message----- From: sqr-users-bounces+don.i.simpson=baesystems.com@sqrug.org [mailto:sqr-users-bounces+don.i.simpson=baesystems.com@sqrug.org] On Behalf Of the dragon Sent: 05 February 2007 15:57 To: sqr-users@sqrug.org Subject: RE: [sqr-users] Unexpectedly Filling Rollback Segments *** WARNING *** This mail has originated outside your organization, either from an external partner or the Global Internet. Keep this in mind if you answer this message. Increasing rollback segments should only be used as a course of last resort. Usually, if everything else is working well on your system, and a particular new process is having problems, then it's poorly written code which needs to be addressed, not adding resources. I do not believe that the issue is the roolback segments in this case. It could be the initial select is getting out of sync because there have been so many commits since the select was first made, but then I would expect a "snapshot too old" error. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- From: "Knapp, Richard" Reply-To: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." To: "This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions." Subject: RE: [sqr-users] Unexpectedly Filling Rollback Segments Date: Mon, 5 Feb 2007 09:31:54 -0600 MIME-Version: 1.0 Received: from seldon.sqrug.org ([199.164.165.113]) by bay0-mc2-f23.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Mon, 5 Feb 2007 07:48:22 -0800 Received: from localhost([127.0.0.1] helo=seldon.sqrug.org ident=list)by seldon.sqrug.org with esmtp (Exim 3.35 #1 (Debian))id 1HE64q-000370-00for ; Mon, 05 Feb 2007 10:48:20 -0500 Received: from um-tsmtpout1.um.umsystem.edu ([209.106.228.23])by seldon.sqrug.org with esmtp (Exim 3.35 #1 (Debian))id 1HE5oz-0001c7-00for ; Mon, 05 Feb 2007 10:31:57 -0500 Received: from UM-XMAIL04.um.umsystem.edu ([209.106.228.4]) byum-tsmtpout1.um.umsystem.edu with Microsoft SMTPSVC(6.0.3790.1830); Mon, 5 Feb 2007 09:31:55 -0600 X-Message-Info: LsUYwwHHNt17xzMWfbewrGe5M1tiPGmOM0jToLg1u7E= X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [sqr-users] Unexpectedly Filling Rollback Segments Thread-Index: AcdJOTGSwSBqwBHpQVuNEe4kiIyXJQAAX//w References: <3E842A7A776DEC4FB5A8522E64A9A5D401528C09@glkms0009> X-OriginalArrivalTime: 05 Feb 2007 15:31:55.0730 (UTC)FILETIME=[C4848B20:01C7493A] X-BeenThere: sqr-users@sqrug.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: sqr-users-bounces+ceprn=hotmail.com@sqrug.org Return-Path: sqr-users-bounces+ceprn=hotmail.com@sqrug.org Speak to your DBA to see if the rollback segments can be increased in size. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of Simpson, Don I (UK) Sent: Monday, February 05, 2007 9:21 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: [sqr-users] Unexpectedly Filling Rollback Segments Dear SQR'rs, Can anybody help with advice on this one. I'm having to do a lot of update transactions as part of a project to extract data. The updates are basically to flag extracted records, so we can do deltas later on. I'm using commit on each BEGIN-SQL, which I thought was meant to reduce the use of rollbacks as each transaction is immediately commited, therefore no rollback to do, i.e. BEGIN-SQL update
set = value where ; commit; END-SQL but, after a number of such transactions, probably around 10,000, I get a rollback error. Does the commit technique inside BEGIN-SQL not do what I think it is meant to do? Regards, Don Simpson BAE Systems ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Search for grocery stores. Find gratitude. Turn a simple search into something more. http://click4thecause.live.com/search/charity/default.aspx?source=hmemta gline_gratitude&FORM=WLMTAG _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 05 14:34:40 2007 Subject: RE: [sqr-users] UNC path works in SQRW but not in PeopleSoft Date: Mon, 5 Feb 2007 14:31:12 -0500 From: "Bob Buford" I noticed that when you first showed the path - the subfolder \Data Files\ was included. But on the error report it shows as \Data. Also the ( & ) were stripped out. Could there be some DOS limitations that the Process Scheduler is abiding by that do not do well with spaces and other odd characters in the path? Try using a path that abides by the older DOS limitations and see if that makes a difference. Bob -----Original Message----- From: Joe [mailto:jej1216@hotmail.com]=20 Sent: Monday, February 05, 2007 10:19 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: Re: [sqr-users] UNC path works in SQRW but not in PeopleSoft Here's the error: EH_SNU started at 2007-02-02 15:49:07.840 Opening File ERNGL.955SJAN07.X1 Error Opening Interface File \\server1\shared1$\Interfaces\Data Files\Patcom to PS (Fin) Revenue\Test\ERNGL.955SJAN07.X1 Error on line 149: (SQR 3301) Program stopped by user request. SQR for PeopleSoft: Program Aborting. I thought at first the spaces and parentheses in the folder path was the issue, but that did not fix it: Opening File ERNGL.955SJAN07.X1 Error Opening Interface File \\server1\shared1$\Interfaces\Data\Patcom-PS-FIN-Revenue\Test\ERNGL.955S JAN07.X1 And again, this is when running it in Process Scheduler. It works fine using SQRW. TIA, jej1216 ----- Original Message ----- From: "the dragon" To: Sent: Saturday, February 03, 2007 8:05 PM Subject: RE: [sqr-users] UNC path works in SQRW but not in PeopleSoft > Once again, what's the error message you're getting? > > > > PSA: Salary <> Slavery. If you earn a salary, your employer is renting > your services for 40 hours a week, not purchasing your soul. Your time > is the only real finite asset that you have, and once used it can=20 > never be recovered, so don't waste it by giving it away. > > I work to live; I don't live to work. > > "Time is the coin of your life. It is the only coin you have, and only > you can determine how it will be spent. Be careful lest you let other=20 > people spend it for you." -- Carl Sandburg (1878 - 1967) > > It is impossible to defeat an ignorant man in argument. -- William G.=20 > McAdoo > > Religion is regarded by the common people as true, by the wise as=20 > false, and by the rulers as useful. -- Seneca > > "I distrust those people who know so well what God wants them to do=20 > because I notice it always coincides with their own desires." - Susan B. > Anthony > > > > > ----Original Message Follows---- > > Yes, and the SQR kicks off with no problems, but there is an Open File > for reading Procedure - and that is where it cannot find the path/file. > > In SQRW, it finds the path/file correctly. > > -----Original Message----- > > Are you trying to run the sqr from Process Scheduler. > > > Joe wrote: > I know this is an SQR User Group, not PeopleSoft, but I'm hoping for > help with experts in both here. > > I have an SQR that uses a UNC path to open an input file. It works=20 > fine using SQRW on both my local PC and on the Server. However, when I > put the SQR into PeopleSoft and run it, I get an error that it cannot=20 > open the interface file. The path quoted in the error message is the=20 > correct path and the filename is correct. > > Any suggestions on what to look at to troubleshoot this? > > TIA, > > Joe > > _________________________________________________________________ > Search for grocery stores. Find gratitude. Turn a simple search into=20 > something more. > http://click4thecause.live.com/search/charity/default.aspx?source=3Dhmem > tagline_gratitude&FORM=3DWLMTAG > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 05 14:45:46 2007 From: "the dragon" Subject: RE: [sqr-users] UNC path works in SQRW but not in PeopleSoft Date: Mon, 05 Feb 2007 13:43:11 -0600 This should work once the \\server1\shared1$ is replaced with a mapped drive letter such as L:\Interfaces\Data\Patcom-PS-FIN-Revenue\Test\ERNGL.955S JAN07.X1 as long as the process scheduler user has permissions to the server and directory path. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- I noticed that when you first showed the path - the subfolder \Data Files\ was included. But on the error report it shows as \Data. Also the ( & ) were stripped out. Could there be some DOS limitations that the Process Scheduler is abiding by that do not do well with spaces and other odd characters in the path? Try using a path that abides by the older DOS limitations and see if that makes a difference. Bob -----Original Message----- Here's the error: EH_SNU started at 2007-02-02 15:49:07.840 Opening File ERNGL.955SJAN07.X1 Error Opening Interface File \\server1\shared1$\Interfaces\Data Files\Patcom to PS (Fin) Revenue\Test\ERNGL.955SJAN07.X1 Error on line 149: (SQR 3301) Program stopped by user request. SQR for PeopleSoft: Program Aborting. I thought at first the spaces and parentheses in the folder path was the issue, but that did not fix it: Opening File ERNGL.955SJAN07.X1 Error Opening Interface File \\server1\shared1$\Interfaces\Data\Patcom-PS-FIN-Revenue\Test\ERNGL.955S JAN07.X1 And again, this is when running it in Process Scheduler. It works fine using SQRW. TIA, jej1216 ----- Original Message ----- > Once again, what's the error message you're getting? > _________________________________________________________________ Talk now to your Hotmail contacts with Windows Live Messenger. http://get.live.com/messenger/overview _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 05 21:57:06 2007 From: "Paul Hoyte" Subject: RE: [sqr-users] Unexpectedly Filling Rollback Segments Date: Mon, 5 Feb 2007 21:54:46 -0500 For further reference, when you use the begin-sql statement in sqr, the commit does not occur until after the sql statement is processed. If you have to update a large number of records, I would recommend using a PL/SQL procedure where you can loop thru and do an intermittent commit. The only other choice if you have to use SQR is to issue multiple update statements that are constrained by a where clause that limits the number of records being updated at one time. Paul Hoyte (248) 752-6970 pa_hoyte@si-proservices.com -----Original Message----- From: sqr-users-bounces+pi_hoyte=si-proservices.com@sqrug.org [mailto:sqr-users-bounces+pi_hoyte=si-proservices.com@sqrug.org] On Behalf Of Alexander, Steven Sent: Monday, February 05, 2007 1:33 PM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] Unexpectedly Filling Rollback Segments One other thing, that may have nothing to do with this problem: The SQR manual strongly recommends that you do not use an SQL "commit" command within a begin-sql paragraph. It urges you to use the built-in SQR command "commit" after the begin-sql paragraph. -----Original Message----- From: sqr-users-bounces+steven.alexander=sanjoseca.gov@sqrug.org [mailto:sqr-users-bounces+steven.alexander=sanjoseca.gov@sqrug.org] On Behalf Of Simpson, Don I (UK) Sent: Monday, February 05, 2007 8:39 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Unexpectedly Filling Rollback Segments Dragon, Thanks, you've got the answer. I am getting the "snapshot too old" error and I am running a massive query and updating within it, i.e. I'm selecting all the records at once (350,000 or so) and then updating each one after the relevant data is extracted, so even though I'm commiting each update, because the query is still open, it keeps the rollback record. It looks like increasing the rollback segment space is the only answer. Thanks for your help, Regards, Don -----Original Message----- From: sqr-users-bounces+don.i.simpson=baesystems.com@sqrug.org [mailto:sqr-users-bounces+don.i.simpson=baesystems.com@sqrug.org] On Behalf Of the dragon Sent: 05 February 2007 15:57 To: sqr-users@sqrug.org Subject: RE: [sqr-users] Unexpectedly Filling Rollback Segments *** WARNING *** This mail has originated outside your organization, either from an external partner or the Global Internet. Keep this in mind if you answer this message. Increasing rollback segments should only be used as a course of last resort. Usually, if everything else is working well on your system, and a particular new process is having problems, then it's poorly written code which needs to be addressed, not adding resources. I do not believe that the issue is the roolback segments in this case. It could be the initial select is getting out of sync because there have been so many commits since the select was first made, but then I would expect a "snapshot too old" error. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- From: "Knapp, Richard" Reply-To: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." To: "This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions." Subject: RE: [sqr-users] Unexpectedly Filling Rollback Segments Date: Mon, 5 Feb 2007 09:31:54 -0600 MIME-Version: 1.0 Received: from seldon.sqrug.org ([199.164.165.113]) by bay0-mc2-f23.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Mon, 5 Feb 2007 07:48:22 -0800 Received: from localhost([127.0.0.1] helo=seldon.sqrug.org ident=list)by seldon.sqrug.org with esmtp (Exim 3.35 #1 (Debian))id 1HE64q-000370-00for ; Mon, 05 Feb 2007 10:48:20 -0500 Received: from um-tsmtpout1.um.umsystem.edu ([209.106.228.23])by seldon.sqrug.org with esmtp (Exim 3.35 #1 (Debian))id 1HE5oz-0001c7-00for ; Mon, 05 Feb 2007 10:31:57 -0500 Received: from UM-XMAIL04.um.umsystem.edu ([209.106.228.4]) byum-tsmtpout1.um.umsystem.edu with Microsoft SMTPSVC(6.0.3790.1830); Mon, 5 Feb 2007 09:31:55 -0600 X-Message-Info: LsUYwwHHNt17xzMWfbewrGe5M1tiPGmOM0jToLg1u7E= X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [sqr-users] Unexpectedly Filling Rollback Segments Thread-Index: AcdJOTGSwSBqwBHpQVuNEe4kiIyXJQAAX//w References: <3E842A7A776DEC4FB5A8522E64A9A5D401528C09@glkms0009> X-OriginalArrivalTime: 05 Feb 2007 15:31:55.0730 (UTC)FILETIME=[C4848B20:01C7493A] X-BeenThere: sqr-users@sqrug.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: sqr-users-bounces+ceprn=hotmail.com@sqrug.org Return-Path: sqr-users-bounces+ceprn=hotmail.com@sqrug.org Speak to your DBA to see if the rollback segments can be increased in size. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of Simpson, Don I (UK) Sent: Monday, February 05, 2007 9:21 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: [sqr-users] Unexpectedly Filling Rollback Segments Dear SQR'rs, Can anybody help with advice on this one. I'm having to do a lot of update transactions as part of a project to extract data. The updates are basically to flag extracted records, so we can do deltas later on. I'm using commit on each BEGIN-SQL, which I thought was meant to reduce the use of rollbacks as each transaction is immediately commited, therefore no rollback to do, i.e. BEGIN-SQL update
set = value where ; commit; END-SQL but, after a number of such transactions, probably around 10,000, I get a rollback error. Does the commit technique inside BEGIN-SQL not do what I think it is meant to do? Regards, Don Simpson BAE Systems ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Search for grocery stores. Find gratitude. Turn a simple search into something more. http://click4thecause.live.com/search/charity/default.aspx?source=hmemta gline_gratitude&FORM=WLMTAG _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Feb 06 08:33:13 2007 Date: Tue, 06 Feb 2007 08:30:25 -0500 From: "Tajinder Chahal" Subject: [sqr-users] PGP We are on PeopleSoft version 8.8. We need to encrypt a file within SQR befo= re ftping it. Which type of PGP software do we need?=20 =20 Any help would be greatly appreciated. =20 Thanks Tajinder _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Feb 06 10:24:43 2007 Date: Tue, 6 Feb 2007 08:22:35 -0700 From: "Robert Goshko" Subject: Re: [sqr-users] PGP On 2/6/07, Tajinder Chahal wrote: > We are on PeopleSoft version 8.8. We need to encrypt a file within SQR before ftping it. > Which type of PGP software do we need? Typically most clients use GNU Privacy Guard (GPG) which is the open source implementation of PGP (OpenPGP) http://www.gnupg.org/ -- ...Rob -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. ================================================ Robert Goshko Registered Linux User #260513 Want a Gmail account, 2.7+ GB web mail (for free), just ask me. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Feb 06 10:32:45 2007 Date: Tue, 06 Feb 2007 10:28:25 -0500 From: "Tajinder Chahal" Subject: Re: [sqr-users] PGP Thanks for the response. Our vendors need our files PGP encrypted and they have sent us PGP public k= eys to import. Can we still use GPG? Or do we have to buy PGP command line? Also when buying PGP command line they ask for '1 Key' version or 'Unlimite= d' key version.=20 >>> robert.goshko@gmail.com 02/06/07 10:22AM >>> On 2/6/07, Tajinder Chahal wrote: > We are on PeopleSoft version 8.8. We need to encrypt a file within SQR be= fore ftping it. > Which type of PGP software do we need? Typically most clients use GNU Privacy Guard (GPG) which is the open source implementation of PGP (OpenPGP) http://www.gnupg.org/=20 --=20 ....Rob -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Robert Goshko Registered Linux User #260513 Want a Gmail account, 2.7+ GB web mail (for free), just ask me. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Feb 06 10:50:17 2007 Date: Tue, 06 Feb 2007 10:47:25 -0500 From: "Jamie Harris" Subject: Re: [sqr-users] PGP I am not sure exactly but I think PGP and GPG are compatible with each other. If you do need to buy PGP though you should be okay with the one key version. That refers to you only having one private key/public key pair of your own. You'd still have no limit to how many public keys you import from other people/companies. Typically people or companies don't need more than one key pair, but for various reasons others might - I guess the PGP folks want to charge more for that, though I can't see why it costs them any more to allow you to use two keys. ----------------------------------------------------- James Harris Enterprise Application Analyst/Programmer Information Technology Division Frederick Community College ----------------------------------------------------- >>> "Tajinder Chahal" 2/6/2007 10:28 AM >>> Thanks for the response. Our vendors need our files PGP encrypted and they have sent us PGP public keys to import. Can we still use GPG? Or do we have to buy PGP command line? Also when buying PGP command line they ask for '1 Key' version or 'Unlimited' key version. >>> robert.goshko@gmail.com 02/06/07 10:22AM >>> On 2/6/07, Tajinder Chahal wrote: > We are on PeopleSoft version 8.8. We need to encrypt a file within SQR before ftping it. > Which type of PGP software do we need? Typically most clients use GNU Privacy Guard (GPG) which is the open source implementation of PGP (OpenPGP) http://www.gnupg.org/ -- ....Rob -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. ================================================ Robert Goshko Registered Linux User #260513 Want a Gmail account, 2.7+ GB web mail (for free), just ask me. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Feb 06 10:58:31 2007 Date: Tue, 06 Feb 2007 10:51:33 -0500 From: "Tajinder Chahal" Subject: Re: [sqr-users] PGP Thanks a lot for the response. >>> JHarris@frederick.edu 02/06/07 10:47AM >>> I am not sure exactly but I think PGP and GPG are compatible with each other. If you do need to buy PGP though you should be okay with the one key version. That refers to you only having one private key/public key pair of your own. You'd still have no limit to how many public keys you import from other people/companies. Typically people or companies don't need more than one key pair, but for various reasons others might - I guess the PGP folks want to charge more for that, though I can't see why it costs them any more to allow you to use two keys.=20=20=20 ----------------------------------------------------- James Harris Enterprise Application Analyst/Programmer Information Technology Division Frederick Community College=20 ----------------------------------------------------- >>> "Tajinder Chahal" 2/6/2007 10:28 AM >>> Thanks for the response. Our vendors need our files PGP encrypted and they have sent us PGP public keys to import. Can we still use GPG? Or do we have to buy PGP command line? Also when buying PGP command line they ask for '1 Key' version or 'Unlimited' key version.=20 >>> robert.goshko@gmail.com 02/06/07 10:22AM >>> On 2/6/07, Tajinder Chahal wrote: > We are on PeopleSoft version 8.8. We need to encrypt a file within SQR before ftping it. > Which type of PGP software do we need? Typically most clients use GNU Privacy Guard (GPG) which is the open source implementation of PGP (OpenPGP) http://www.gnupg.org/=20 --=20 .....Rob -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Robert Goshko Registered Linux User #260513 Want a Gmail account, 2.7+ GB web mail (for free), just ask me. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Feb 06 10:54:48 2007 Date: Tue, 6 Feb 2007 08:51:40 -0700 From: "Robert Goshko" Subject: Re: [sqr-users] PGP On 2/6/07, Tajinder Chahal wrote: > > > Thanks for the response. > Our vendors need our files PGP encrypted and they have sent us PGP public > keys to import. > Can we still use GPG? Or do we have to buy PGP command line? > Also when buying PGP command line they ask for '1 Key' version or > 'Unlimited' key version. GPG will work, I have used it at several clients to send encrypted files to various banks without issue, most just need RFC2440 compliment PGP encryption with GNU PG provides. I can't say I have found a vendor that could not process a "GPG" encrypted file when they needed a PGP file. One client insisted they "needed" PGP, until they saw the cost for what they needed and then they were happy to use GPG that was already on the UNIX box. -- ...Rob -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. ================================================ Robert Goshko Registered Linux User #260513 Want a Gmail account, 2.7+ GB web mail (for free), just ask me. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Feb 06 12:22:21 2007 From: "the dragon" Subject: RE: [sqr-users] PGP Date: Tue, 06 Feb 2007 11:19:44 -0600 I haven't read all the replies yet, but you can't encrypt the file inside sqr; you can close the file created and encrypt it by calling a script as a step in the process though. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- We are on PeopleSoft version 8.8. We need to encrypt a file within SQR before ftping it. Which type of PGP software do we need? Any help would be greatly appreciated. Thanks Tajinder _________________________________________________________________ FREE online classifieds from Windows Live Expo – buy and sell with people you know http://clk.atdmt.com/MSN/go/msnnkwex0010000001msn/direct/01/?href=http://expo.live.com?s_cid=Hotmail_tagline_12/06 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Feb 08 21:40:24 2007 From: "Andalib Yussuf" Date: Fri, 09 Feb 2007 02:37:21 +0000 Subject: [sqr-users] SQR Reports What are good books to help in learning how to program reports using SQR? How about online resources? How do I get started? Anne _________________________________________________________________ Check out all that glitters with the MSN Entertainment Guide to the Academy Awards® http://movies.msn.com/movies/oscars2007/?icid=ncoscartagline2 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 09 06:14:10 2007 Subject: RE: [sqr-users] SQR Reports Date: Fri, 9 Feb 2007 16:40:42 +0530 From: Anne, 1. SQR in PeopleSoft and other applications - by Galina Landres, Vlad Landres This is a decent book that gives good depth of coverage. Online materials are also available. You can try Google=20 Key word1: sqr_getstart80 Key word2: sqr_langref80 The first search result will give you a pdf document. Download and use it. Happy learning! - Tej -----Original Message----- From: Andalib Yussuf [mailto:andalib786@hotmail.com]=20 Sent: Friday, February 09, 2007 8:07 AM To: sqr-users@sqrug.org Subject: [sqr-users] SQR Reports What are good books to help in learning how to program reports using SQR?=20=20 How about online resources? How do I get started? Anne _________________________________________________________________ Check out all that glitters with the MSN Entertainment Guide to the Academy=20 Awards(r) http://movies.msn.com/movies/oscars2007/?icid=3Dncoscartagline2 The information contained in this electronic message and any attachments to= this message are intended for the exclusive use of the addressee(s) and ma= y contain proprietary, confidential or privileged information. If you are n= ot the intended recipient, you should not disseminate, distribute or copy t= his e-mail. Please notify the sender immediately and destroy all copies of = this message and any attachments.=20 WARNING: Computer viruses can be transmitted via email. The recipient shoul= d check this email and any attachments for the presence of viruses. The com= pany accepts no liability for any damage caused by any virus transmitted by= this email. =20 www.wipro.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 09 06:52:20 2007 Date: Fri, 9 Feb 2007 03:49:10 -0800 (PST) From: Arun Kumar Subject: Re: [sqr-users] SQR Reports Check this out in amazon..=20 SQR Programmer Reference - Second Edition SQR Language Version 2.x - 6.x (through SQR for PeopleSoft version 8.x) Don Mellen, Editor ISBN 0-9677730-1-6 ----- Original Message ---- From: "ravi.varma@wipro.com" To: sqr-users@sqrug.org Sent: Friday, February 9, 2007 6:10:42 AM Subject: RE: [sqr-users] SQR Reports Anne, 1. SQR in PeopleSoft and other applications - by Galina Landres, Vlad Landres This is a decent book that gives good depth of coverage. Online materials are also available. You can try Google=20 Key word1: sqr_getstart80 Key word2: sqr_langref80 The first search result will give you a pdf document. Download and use it. Happy learning! - Tej -----Original Message----- From: Andalib Yussuf [mailto:andalib786@hotmail.com]=20 Sent: Friday, February 09, 2007 8:07 AM To: sqr-users@sqrug.org Subject: [sqr-users] SQR Reports What are good books to help in learning how to program reports using SQR?=20=20 How about online resources? How do I get started? Anne _________________________________________________________________ Check out all that glitters with the MSN Entertainment Guide to the Academy=20 Awards(r) http://movies.msn.com/movies/oscars2007/?icid=3Dncoscartagline2 The information contained in this electronic message and any attachments to= this message are intended for the exclusive use of the addressee(s) and ma= y contain proprietary, confidential or privileged information. If you are n= ot the intended recipient, you should not disseminate, distribute or copy t= his e-mail. Please notify the sender immediately and destroy all copies of = this message and any attachments.=20 WARNING: Computer viruses can be transmitted via email. The recipient shoul= d check this email and any attachments for the presence of viruses. The com= pany accepts no liability for any damage caused by any virus transmitted by= this email. =20 www.wipro.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20 ___________________________________________________________________________= _________ Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit. http://farechase.yahoo.com/promo-generic-14795097 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 09 11:01:36 2007 Date: Fri, 9 Feb 2007 09:58:42 -0600 From: "Stieglitz, Tracy" Subject: [sqr-users] (SQR 7715) Failed to start the Java Virtual Machine (JVM). I am getting the following error when I append the following command to my SQR -PRINTER::EH -KEEP: =20 (SQR 7715) Failed to start the Java Virtual Machine (JVM). Possible causes are: missing or invalid jre files, incorrect CLASSPATH, or insufficient resources. =20 The SQR that we run is part of the deliverable from ADP. If I change the process to create a PDF file with -PRINTER::EP, I do get the same error message; however, the PDF file is created. When I user -PRINTER::EH, I don't get any files other than the error and log file - NO SPF, NO HTM and NO LIS file. Any help would be appreciated. I did take a look at the SQR.ini file and the only setting is for the SQRDIR. =20 Thank you, =20 Tracy Email: tracy.stieglitz@menasha.com =20 =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 09 12:04:52 2007 Subject: RE: [sqr-users] UNC path works in SQRW but not in PeopleSoft Date: Fri, 9 Feb 2007 12:02:33 -0500 From: "Weaver, Judith R" Here's my 2 cents: partial contents of setenv.sqc: #ifdef NT #define FILEPRFXOUT c:\temp\ #define FILESFXDAT .dat #endif ! #ifdef UNIX #define FILEPRFXOUT /int/hrms/hrreg75/hrmsout/ #define FILESFXDAT .dat #endif Use in SQR: #include setenv.sqc !--------------------------------------------------------------------------= -- ! ! procedure: open_files = ! ! descr: = ! !--------------------------------------------------------------------------= -- ! begin-procedure open_files let $Abend_proc =3D 'open_files' let $T839 =3D '{FILEPRFXOUT}'||'nben2120a' || $rpt_mo || $rpt_day || '{F= ILESFXDAT}' open $T839 as 1 for-writing record=3D80:fixed status=3D#open1 . . . end-procedure Thanks... Judy Phone: (321)799-6019 Fax: (321)799-5970 -----Original Message----- From: sqr-users-bounces+judith.r.weaver=3Dusa-spaceops.com@sqrug.org [mailto:sqr-users-bounces+judith.r.weaver=3Dusa-spaceops.com@sqrug.org]On Behalf Of William R Cartmill Sent: Sunday, February 04, 2007 5:07 PM To: sqr-users@sqrug.org Subject: [sqr-users] UNC path works in SQRW but not in PeopleSoft Joe: I'm not exactly sure what the acronym "UNC" means but mainly where I've=20 seen this sort of thing happen it's because the drive mapping for the=20 server is not the same as the SQRW client mapping. Remember a server's=20 C: drive is not the came as the PC's C: drive, etc. Often it just sends=20 the file to some limbo server drive that you can't access to retrieve=20 the file but in this case it's apparently trying to write to someplace=20 that (A) doesn't exist or (B) PS doesn't have access to based on hard=20 drive security On Feb 3, 2007, at 3:01, sqr-users-request@sqrug.org wrote: > > > From: "Joe" > Date: February 2, 2007 15:32:24 PST > To: "This list is for discussion about the SQR database=20 > reportinglanguage from Hyperion Solutions." > Subject: [sqr-users] UNC path works in SQRW but not in PeopleSoft > Reply-To: "This list is for discussion about the SQR database=20 > reporting language from Hyperion Solutions." > > > I know this is an SQR User Group, not PeopleSoft, but I'm hoping for=20 > help with experts in both here. > > I have an SQR that uses a UNC path to open an input file. It works=20 > fine using SQRW on both my local PC and on the Server. However, when=20 > I put the SQR into PeopleSoft and run it, I get an error that it=20 > cannot open the interface file. The path quoted in the error message=20 > is the correct path and the filename is correct. > > Any suggestions on what to look at to troubleshoot this? > > TIA, > > Joe _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 09 13:24:45 2007 Date: Fri, 09 Feb 2007 13:22:41 -0500 From: Donald Mellen Subject: Re: [sqr-users] SQR Reports And an online version of "SQR Programmer Reference - Second Edition" is available at... http://www.ontko.com/sqr/sqrcard.html Arun Kumar wrote: > Check this out in amazon.. > > SQR Programmer Reference - Second Edition > > SQR Language Version 2.x - 6.x > > (through SQR for PeopleSoft version 8.x) > > Don Mellen, Editor > > ISBN 0-9677730-1-6 > > ----- Original Message ---- > From: "ravi.varma@wipro.com" > To: sqr-users@sqrug.org > Sent: Friday, February 9, 2007 6:10:42 AM > Subject: RE: [sqr-users] SQR Reports > > > Anne, > > 1. SQR in PeopleSoft and other applications - by Galina Landres, Vlad > Landres > This is a decent book that gives good depth of coverage. > > Online materials are also available. > You can try Google > Key word1: sqr_getstart80 > Key word2: sqr_langref80 > > The first search result will give you a pdf document. Download and use > it. > Happy learning! > > - Tej > -----Original Message----- > From: Andalib Yussuf [mailto:andalib786@hotmail.com] > Sent: Friday, February 09, 2007 8:07 AM > To: sqr-users@sqrug.org > Subject: [sqr-users] SQR Reports > > What are good books to help in learning how to program reports using > SQR? > How about online resources? How do I get started? > > Anne > > _________________________________________________________________ > Check out all that glitters with the MSN Entertainment Guide to the > Academy > Awards(r) > http://movies.msn.com/movies/oscars2007/?icid=ncoscartagline2 > > > > > > The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. > > www.wipro.com > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > ____________________________________________________________________________________ > Now that's room service! Choose from over 150,000 hotels > in 45,000 destinations on Yahoo! Travel to find your fit. > http://farechase.yahoo.com/promo-generic-14795097 > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > -- ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ donm@ontko.com | "In the beginning, there was nothing, which exploded" _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 09 15:21:01 2007 Subject: RE: [sqr-users] SQR Reports Date: Fri, 9 Feb 2007 14:16:07 -0600 From: "Leonard, Kyle" Don't forget the Hyperion SQR Documentation: =20 SQR Release 8.5 : http://dev.hyperion.com/resource_library/technical_documentation/sqr/sqr _8.5.cfm=20 =20 Release 8.2 : http://dev.hyperion.com/resource_library/technical_documentation/sqr/rel ease_8.2.cfm=20 =20 Release 8.1 : http://dev.hyperion.com/resource_library/technical_documentation/sqr/sqr _81.cfm =20 Release 8 : http://dev.hyperion.com/resource_library/technical_documentation/sqr/sqr _8.cfm=20=20 =20 _________________________ Kyle J. Leonard phone: (817) 462-7365 kyleleonard@texashealth.org =20 =20 =20 -----Original Message----- From: sqr-users-bounces+kyleleonard=3Dtexashealth.org@sqrug.org [mailto:sqr-users-bounces+kyleleonard=3Dtexashealth.org@sqrug.org] On Behalf Of Donald Mellen Sent: Friday, February 09, 2007 12:23 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] SQR Reports =20 And an online version of "SQR Programmer Reference - Second Edition" is=20 available at... =20 http://www.ontko.com/sqr/sqrcard.html =20 Arun Kumar wrote: > Check this out in amazon..=20 >=20 > SQR Programmer Reference - Second Edition >=20 > SQR Language Version 2.x - 6.x >=20 > (through SQR for PeopleSoft version 8.x) >=20 > Don Mellen, Editor >=20 > ISBN 0-9677730-1-6 >=20 > ----- Original Message ---- > From: "ravi.varma@wipro.com" > To: sqr-users@sqrug.org > Sent: Friday, February 9, 2007 6:10:42 AM > Subject: RE: [sqr-users] SQR Reports >=20 >=20 > Anne, >=20 > 1. SQR in PeopleSoft and other applications - by Galina Landres, Vlad > Landres > This is a decent book that gives good depth of coverage. >=20 > Online materials are also available. > You can try Google=20 > Key word1: sqr_getstart80 > Key word2: sqr_langref80 >=20 > The first search result will give you a pdf document. Download and use > it. > Happy learning! >=20 > - Tej > -----Original Message----- > From: Andalib Yussuf [mailto:andalib786@hotmail.com]=20 > Sent: Friday, February 09, 2007 8:07 AM > To: sqr-users@sqrug.org > Subject: [sqr-users] SQR Reports >=20 > What are good books to help in learning how to program reports using > SQR?=20=20 > How about online resources? How do I get started? >=20 > Anne >=20 > _________________________________________________________________ > Check out all that glitters with the MSN Entertainment Guide to the > Academy=20 > Awards(r) > http://movies.msn.com/movies/oscars2007/?icid=3Dncoscartagline2 >=20 >=20 >=20 >=20 >=20 > The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.=20 >=20 > WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. >=20=20 > www.wipro.com >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20=20 > ________________________________________________________________________ ____________ > Now that's room service! Choose from over 150,000 hotels > in 45,000 destinations on Yahoo! Travel to find your fit. > http://farechase.yahoo.com/promo-generic-14795097 >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20=20=20 =20 =20 --=20 ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ donm@ontko.com | "In the beginning, there was nothing, which exploded" =20 =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20 The information contained in this message and any attachments is intended o= nly for the use of the individual or entity to which it is addressed, and m= ay contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from di= sclosure under applicable law. If you are not the intended recipient, you = are prohibited from copying, distributing, or using the information. Pleas= e contact the sender immediately by return e-mail and delete the original m= essage from your system. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 12 11:42:58 2007 From: "Franck Masson" Subject: RE: [sqr-users] (SQR 7715) Failed to start the Java Virtual Machine(JVM). Date: Mon, 12 Feb 2007 17:44:44 +0100 This is a multi-part message in MIME format... ------=_NextPart_000_0028_01C74ECD.7B9F5410 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit check in your sqr.ini if you ave an entry for BRIO_HOME= and if in this path you have JRE folder Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org]On Behalf Of Stieglitz, Tracy Sent: vendredi 9 fevrier 2007 16:59 To: sqr-users@sqrug.org Subject: [sqr-users] (SQR 7715) Failed to start the Java Virtual Machine(JVM). I am getting the following error when I append the following command to my SQR -PRINTER::EH -KEEP: (SQR 7715) Failed to start the Java Virtual Machine (JVM). Possible causes are: missing or invalid jre files, incorrect CLASSPATH, or insufficient resources. The SQR that we run is part of the deliverable from ADP. If I change the process to create a PDF file with -PRINTER::EP, I do get the same error message; however, the PDF file is created. When I user -PRINTER::EH, I don't get any files other than the error and log file - NO SPF, NO HTM and NO LIS file. Any help would be appreciated. I did take a look at the SQR.ini file and the only setting is for the SQRDIR. Thank you, Tracy Email: tracy.stieglitz@menasha.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ------=_NextPart_000_0028_01C74ECD.7B9F5410 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: AUTOMATIC WARNING Here was a non admissible message part of 'application/ms-tnef' MIME type. It has been automatically discarded before sending the message to the list. ------=_NextPart_000_0028_01C74ECD.7B9F5410 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ------=_NextPart_000_0028_01C74ECD.7B9F5410-- From sqr-users-bounces@sqrug.org Mon Feb 12 12:02:00 2007 Date: Mon, 12 Feb 2007 08:59:21 -0800 (PST) From: Arun Kumar Subject: Re: [sqr-users] (SQR 7715) Failed to start the Java Virtual Machine(JVM). I had similar situation a month ago and ended up calling our support line. = Still havent resolved the issue. Well. I just modified the sqr to create html output file using write comman= d as the report output was very simple. Please share if you find any resolution. ----- Original Message ---- From: Franck Masson To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Sent: Monday, February 12, 2007 11:44:44 AM Subject: RE: [sqr-users] (SQR 7715) Failed to start the Java Virtual Machin= e(JVM). check in your sqr.ini if you ave an entry for BRIO_HOME=3D and if in this path you have JRE folder Franck=20 -----Original Message----- From: sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org]On Behalf Of Stieglitz, Tracy Sent: vendredi 9 fevrier 2007 16:59 To: sqr-users@sqrug.org Subject: [sqr-users] (SQR 7715) Failed to start the Java Virtual Machine(JVM). I am getting the following error when I append the following command to my SQR -PRINTER::EH -KEEP: =20 (SQR 7715) Failed to start the Java Virtual Machine (JVM). Possible causes are: missing or invalid jre files, incorrect CLASSPATH, or insufficient resources. =20 The SQR that we run is part of the deliverable from ADP. If I change the process to create a PDF file with -PRINTER::EP, I do get the same error message; however, the PDF file is created. When I user -PRINTER::EH, I don't get any files other than the error and log file - NO SPF, NO HTM and NO LIS file. Any help would be appreciated. I did take a look at the SQR.ini file and the only setting is for the SQRDIR. =20 Thank you, =20 Tracy Email: tracy.stieglitz@menasha.com =20 =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users Here was a non admissible message part of 'application/ms-tnef' MIME type. It has been automatically discarded before sending the message to the list.=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20 ___________________________________________________________________________= _________ We won't tell. Get more on shows you hate to love=20 (and love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 12 13:03:32 2007 Subject: RE: [sqr-users] (SQR 7715) Failed to start the Java VirtualMachine(JVM). Date: Mon, 12 Feb 2007 12:00:45 -0600 From: "Stieglitz, Tracy" Franck, I checked the sqr.ini and there is no entry from BRIO_HOME. We are on Windows NT and are an ADP customer, so SQR is delivered with our software. I don't see a JRE directory anywhere on our server. I do see JAR files and I see the SQRBIN directory and a JVM directory, but no JRE directory. ADP was developed from PEOPLESOFT and I did try to search on a Peoplesoft website for the SQR.ini settings, but couldn't find anything. What type of files would be located in the JRE directory? I am not sure if I can make a directory and make sure the necessary files exist. Also, I did look at the installation instructions for SQR on the Hyperion website and noticed that .ini settings for Unix and Linux had the BRIO_HOME, but I didn't see that for Windows? Thanks, Tracy=20 Email: tracy.stieglitz@menasha.com =20 -----Original Message----- From: sqr-users-bounces+tracy.stieglitz=3Dmenasha.com@sqrug.org [mailto:sqr-users-bounces+tracy.stieglitz=3Dmenasha.com@sqrug.org] On Behalf Of Franck Masson Sent: Monday, February 12, 2007 10:45 AM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] (SQR 7715) Failed to start the Java VirtualMachine(JVM). check in your sqr.ini if you ave an entry for BRIO_HOME=3D and if in this path you have JRE folder Franck=20 -----Original Message----- From: sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org]On Behalf Of Stieglitz, Tracy Sent: vendredi 9 fevrier 2007 16:59 To: sqr-users@sqrug.org Subject: [sqr-users] (SQR 7715) Failed to start the Java Virtual Machine(JVM). I am getting the following error when I append the following command to my SQR -PRINTER::EH -KEEP: =20 (SQR 7715) Failed to start the Java Virtual Machine (JVM). Possible causes are: missing or invalid jre files, incorrect CLASSPATH, or insufficient resources. =20 The SQR that we run is part of the deliverable from ADP. If I change the process to create a PDF file with -PRINTER::EP, I do get the same error message; however, the PDF file is created. When I user -PRINTER::EH, I don't get any files other than the error and log file - NO SPF, NO HTM and NO LIS file. Any help would be appreciated. I did take a look at the SQR.ini file and the only setting is for the SQRDIR. =20 Thank you, =20 Tracy Email: tracy.stieglitz@menasha.com =20 =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 12 13:20:54 2007 From: "Franck Masson" Subject: RE: [sqr-users] (SQR 7715) Failed to start the JavaVirtualMachine(JVM). Date: Mon, 12 Feb 2007 19:22:37 +0100 This is a multi-part message in MIME format... ------=_NextPart_000_0046_01C74EDB.287CA450 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I am Using SQR Verson 8 from Hyperion and here is my setting [Environment:Common] SQRDIR=D:\BPS8\SQR8\SQR\ODB\BINW BRIO_HOME=D:\BPS8\SQR8 what is your SQR version from Peoplesoft ( version 4.3 or version 8 ) ? >> What type of files would be located in the JRE directory? under the JRE directories there are the JVM folder (\BPS8\SQR8\jre\jre117\bin\....) >> Hyperion with SQR on Unix you have to define a Variable BRIO_HOME on windows the sqr.ini under \winnt is updated/completed during the installation can you share your sqr.ini and the command line you are using to run your report Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org]On Behalf Of Stieglitz, Tracy Sent: lundi 12 fevrier 2007 19:01 To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] (SQR 7715) Failed to start the JavaVirtualMachine(JVM). Franck, I checked the sqr.ini and there is no entry from BRIO_HOME. We are on Windows NT and are an ADP customer, so SQR is delivered with our software. I don't see a JRE directory anywhere on our server. I do see JAR files and I see the SQRBIN directory and a JVM directory, but no JRE directory. ADP was developed from PEOPLESOFT and I did try to search on a Peoplesoft website for the SQR.ini settings, but couldn't find anything. What type of files would be located in the JRE directory? I am not sure if I can make a directory and make sure the necessary files exist. Also, I did look at the installation instructions for SQR on the Hyperion website and noticed that .ini settings for Unix and Linux had the BRIO_HOME, but I didn't see that for Windows? Thanks, Tracy Email: tracy.stieglitz@menasha.com -----Original Message----- From: sqr-users-bounces+tracy.stieglitz=menasha.com@sqrug.org [mailto:sqr-users-bounces+tracy.stieglitz=menasha.com@sqrug.org] On Behalf Of Franck Masson Sent: Monday, February 12, 2007 10:45 AM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] (SQR 7715) Failed to start the Java VirtualMachine(JVM). check in your sqr.ini if you ave an entry for BRIO_HOME= and if in this path you have JRE folder Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org]On Behalf Of Stieglitz, Tracy Sent: vendredi 9 fevrier 2007 16:59 To: sqr-users@sqrug.org Subject: [sqr-users] (SQR 7715) Failed to start the Java Virtual Machine(JVM). I am getting the following error when I append the following command to my SQR -PRINTER::EH -KEEP: (SQR 7715) Failed to start the Java Virtual Machine (JVM). Possible causes are: missing or invalid jre files, incorrect CLASSPATH, or insufficient resources. The SQR that we run is part of the deliverable from ADP. If I change the process to create a PDF file with -PRINTER::EP, I do get the same error message; however, the PDF file is created. When I user -PRINTER::EH, I don't get any files other than the error and log file - NO SPF, NO HTM and NO LIS file. Any help would be appreciated. I did take a look at the SQR.ini file and the only setting is for the SQRDIR. Thank you, Tracy Email: tracy.stieglitz@menasha.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ------=_NextPart_000_0046_01C74EDB.287CA450 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: AUTOMATIC WARNING Here was a non admissible message part of 'application/ms-tnef' MIME type. It has been automatically discarded before sending the message to the list. ------=_NextPart_000_0046_01C74EDB.287CA450 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ------=_NextPart_000_0046_01C74EDB.287CA450-- From sqr-users-bounces@sqrug.org Tue Feb 13 09:31:23 2007 Subject: [sqr-users] Daylight Savings Time issue Date: Tue, 13 Feb 2007 09:28:37 -0500 From: "Eric Miller" Has anyone on this list dealt with the Daylight Savings time issue yet? =46rom what I have read it seems the Hyperion products are not directly affected by the new DST changes. But it says that they do rely on the underlying platform software components (Operating System, J2EE Application Servers, and JRE/JDK's) for date/time related functionality. Does anyone have any knowledge of when/how SQR interacts with the JRE/JDK's? I haven't been able to find any documentation on it.=20 Thanks, Eric Miller _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Feb 13 09:39:47 2007 From: "the dragon" Subject: RE: [sqr-users] Daylight Savings Time issue Date: Tue, 13 Feb 2007 08:36:41 -0600 If you or your admins do due dilligence on the OS, DB, PSTools and third paty patches that need to be applied, SQR should be fine. BTW, it should come as no surprise that PS pushed all these patches out, and made their recommendations without actually performing any testing themselves to see if everything works (from a DST webinar). peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- Has anyone on this list dealt with the Daylight Savings time issue yet? >From what I have read it seems the Hyperion products are not directly affected by the new DST changes. But it says that they do rely on the underlying platform software components (Operating System, J2EE Application Servers, and JRE/JDK's) for date/time related functionality. Does anyone have any knowledge of when/how SQR interacts with the JRE/JDK's? I haven't been able to find any documentation on it. Thanks, Eric Miller _________________________________________________________________ Get in the mood for Valentine's Day. View photos, recipes and more on your Live.com page. http://www.live.com/?addTemplate=ValentinesDay&ocid=T001MSN30A0701 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Feb 13 10:25:35 2007 Date: Tue, 13 Feb 2007 08:22:20 -0700 From: Joe Johnson Subject: Re: [sqr-users] Daylight Savings Time issue This is a multi-part message in MIME format... --------------060608090405070200030506 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I know for Peoplesoft all of the fixes are to the OS, JRE, JDK, and Tuxedo. Nothing specific to SQR. - Joe Eric Miller wrote: >Has anyone on this list dealt with the Daylight Savings time issue yet? >From what I have read it seems the Hyperion products are not directly >affected by the new DST changes. But it says that they do rely on the >underlying platform software components (Operating System, J2EE >Application Servers, and JRE/JDK's) for date/time related functionality. > > >Does anyone have any knowledge of when/how SQR interacts with the >JRE/JDK's? I haven't been able to find any documentation on it. > >Thanks, >Eric Miller > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > > --------------060608090405070200030506 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: AUTOMATIC WARNING Here was a non admissible message part of 'text/x-vcard' MIME type. It has been automatically discarded before sending the message to the list. --------------060608090405070200030506 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------060608090405070200030506-- From sqr-users-bounces@sqrug.org Tue Feb 13 10:35:27 2007 Subject: RE: [sqr-users] Daylight Savings Time issue Date: Tue, 13 Feb 2007 10:32:31 -0500 From: "Eric Miller" By Default, does SQR use or make any calls to the JRE or JDK? - Eric -----Original Message----- From: sqr-users-bounces+eric.miller=3Dcgifederal.com@sqrug.org [mailto:sqr-users-bounces+eric.miller=3Dcgifederal.com@sqrug.org] On Behalf Of Joe Johnson Sent: Tuesday, February 13, 2007 10:22 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] Daylight Savings Time issue I know for Peoplesoft all of the fixes are to the OS, JRE, JDK, and=20 Tuxedo. Nothing specific to SQR. - Joe Eric Miller wrote: >Has anyone on this list dealt with the Daylight Savings time issue yet? >From what I have read it seems the Hyperion products are not directly >affected by the new DST changes. But it says that they do rely on the >underlying platform software components (Operating System, J2EE >Application Servers, and JRE/JDK's) for date/time related functionality. > > >Does anyone have any knowledge of when/how SQR interacts with the >JRE/JDK's? I haven't been able to find any documentation on it.=20 > >Thanks, >Eric Miller > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users >=20=20 > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Feb 13 10:38:52 2007 Subject: RE: [sqr-users] Daylight Savings Time issue Date: Tue, 13 Feb 2007 09:33:14 -0600 From: "Bob Helm" We did testing here a few weeks back and didn't see any problems. We're SQR= 6 loaded on a W2003 machine and our database is Informix on a UNIX box. Lo= aded the patches for the machines, set the time forward (both Spring and Fa= ll) and ran a bunch of tests. Everything looked normal.=20 As long as your machines are patched I don't think SQR would be affected. -----Original Message----- From: sqr-users-bounces+bob.helm=3Dmediware.com@sqrug.org [mailto:sqr-users-bounces+bob.helm=3Dmediware.com@sqrug.org]On Behalf Of Eric Miller Sent: Tuesday, February 13, 2007 8:29 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: [sqr-users] Daylight Savings Time issue Has anyone on this list dealt with the Daylight Savings time issue yet? =46rom what I have read it seems the Hyperion products are not directly affected by the new DST changes. But it says that they do rely on the underlying platform software components (Operating System, J2EE Application Servers, and JRE/JDK's) for date/time related functionality. Does anyone have any knowledge of when/how SQR interacts with the JRE/JDK's? I haven't been able to find any documentation on it.=20 Thanks, Eric Miller _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Feb 13 14:45:03 2007 From: "Franck Masson" Subject: RE: [sqr-users] Daylight Savings Time issue Date: Tue, 13 Feb 2007 20:46:55 +0100 This is a multi-part message in MIME format... ------=_NextPart_000_0098_01C74FB0.19C9C340 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit SQR use JRE to deliver HTML output and to produce Graphique (Option newgraphique=true in SQR.ini) Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org]On Behalf Of Eric Miller Sent: mardi 13 fevrier 2007 16:33 To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Daylight Savings Time issue By Default, does SQR use or make any calls to the JRE or JDK? - Eric -----Original Message----- From: sqr-users-bounces+eric.miller=cgifederal.com@sqrug.org [mailto:sqr-users-bounces+eric.miller=cgifederal.com@sqrug.org] On Behalf Of Joe Johnson Sent: Tuesday, February 13, 2007 10:22 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] Daylight Savings Time issue I know for Peoplesoft all of the fixes are to the OS, JRE, JDK, and Tuxedo. Nothing specific to SQR. - Joe Eric Miller wrote: >Has anyone on this list dealt with the Daylight Savings time issue yet? >From what I have read it seems the Hyperion products are not directly >affected by the new DST changes. But it says that they do rely on the >underlying platform software components (Operating System, J2EE >Application Servers, and JRE/JDK's) for date/time related functionality. > > >Does anyone have any knowledge of when/how SQR interacts with the >JRE/JDK's? I haven't been able to find any documentation on it. > >Thanks, >Eric Miller > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ------=_NextPart_000_0098_01C74FB0.19C9C340 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: AUTOMATIC WARNING Here was a non admissible message part of 'application/ms-tnef' MIME type. It has been automatically discarded before sending the message to the list. ------=_NextPart_000_0098_01C74FB0.19C9C340 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ------=_NextPart_000_0098_01C74FB0.19C9C340-- From sqr-users-bounces@sqrug.org Tue Feb 13 15:08:12 2007 Subject: RE: [sqr-users] Daylight Savings Time issue Date: Tue, 13 Feb 2007 15:04:58 -0500 From: "Eric Miller" =46rom what little it mentioned in the documentation about this, I get the impression that you have the "option" to make calls to the JRE and JVM. If you don't have these options turned on, it will still generate in HTML without calling the JRE or JVM, right? -----Original Message----- From: sqr-users-bounces+eric.miller=3Dcgifederal.com@sqrug.org [mailto:sqr-users-bounces+eric.miller=3Dcgifederal.com@sqrug.org] On Behalf Of Franck Masson Sent: Tuesday, February 13, 2007 2:47 PM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] Daylight Savings Time issue SQR use JRE to deliver HTML output=20 and to produce Graphique (Option newgraphique=3Dtrue in SQR.ini) Franck=20 -----Original Message----- From: sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org]On Behalf Of Eric Miller Sent: mardi 13 fevrier 2007 16:33 To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Daylight Savings Time issue By Default, does SQR use or make any calls to the JRE or JDK? - Eric -----Original Message----- From: sqr-users-bounces+eric.miller=3Dcgifederal.com@sqrug.org [mailto:sqr-users-bounces+eric.miller=3Dcgifederal.com@sqrug.org] On Behalf Of Joe Johnson Sent: Tuesday, February 13, 2007 10:22 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] Daylight Savings Time issue I know for Peoplesoft all of the fixes are to the OS, JRE, JDK, and=20 Tuxedo. Nothing specific to SQR. - Joe Eric Miller wrote: >Has anyone on this list dealt with the Daylight Savings time issue yet? >From what I have read it seems the Hyperion products are not directly >affected by the new DST changes. But it says that they do rely on the >underlying platform software components (Operating System, J2EE >Application Servers, and JRE/JDK's) for date/time related functionality. > > >Does anyone have any knowledge of when/how SQR interacts with the >JRE/JDK's? I haven't been able to find any documentation on it.=20 > >Thanks, >Eric Miller > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users >=20=20 > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Feb 13 15:34:09 2007 From: "Franck Masson" Subject: RE: [sqr-users] Daylight Savings Time issue Date: Tue, 13 Feb 2007 21:35:57 +0100 This is a multi-part message in MIME format... ------=_NextPart_000_00A5_01C74FB6.F2FE4220 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit if you use the option -printer:EH or -printer:ht then it use JRE if you generate pdf,spf,ps,hp,txt without grapiques then no JRE/JVM is used (with the exeption of the sqr lcense with DDO connectors.) Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org]On Behalf Of Eric Miller Sent: mardi 13 fevrier 2007 21:05 To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Daylight Savings Time issue >From what little it mentioned in the documentation about this, I get the impression that you have the "option" to make calls to the JRE and JVM. If you don't have these options turned on, it will still generate in HTML without calling the JRE or JVM, right? -----Original Message----- From: sqr-users-bounces+eric.miller=cgifederal.com@sqrug.org [mailto:sqr-users-bounces+eric.miller=cgifederal.com@sqrug.org] On Behalf Of Franck Masson Sent: Tuesday, February 13, 2007 2:47 PM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] Daylight Savings Time issue SQR use JRE to deliver HTML output and to produce Graphique (Option newgraphique=true in SQR.ini) Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=laposte.net@sqrug.org]On Behalf Of Eric Miller Sent: mardi 13 fevrier 2007 16:33 To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Daylight Savings Time issue By Default, does SQR use or make any calls to the JRE or JDK? - Eric -----Original Message----- From: sqr-users-bounces+eric.miller=cgifederal.com@sqrug.org [mailto:sqr-users-bounces+eric.miller=cgifederal.com@sqrug.org] On Behalf Of Joe Johnson Sent: Tuesday, February 13, 2007 10:22 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] Daylight Savings Time issue I know for Peoplesoft all of the fixes are to the OS, JRE, JDK, and Tuxedo. Nothing specific to SQR. - Joe Eric Miller wrote: >Has anyone on this list dealt with the Daylight Savings time issue yet? >From what I have read it seems the Hyperion products are not directly >affected by the new DST changes. But it says that they do rely on the >underlying platform software components (Operating System, J2EE >Application Servers, and JRE/JDK's) for date/time related functionality. > > >Does anyone have any knowledge of when/how SQR interacts with the >JRE/JDK's? I haven't been able to find any documentation on it. > >Thanks, >Eric Miller > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ------=_NextPart_000_00A5_01C74FB6.F2FE4220 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: AUTOMATIC WARNING Here was a non admissible message part of 'application/ms-tnef' MIME type. It has been automatically discarded before sending the message to the list. ------=_NextPart_000_00A5_01C74FB6.F2FE4220 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ------=_NextPart_000_00A5_01C74FB6.F2FE4220-- From sqr-users-bounces@sqrug.org Tue Feb 13 15:52:07 2007 Subject: RE: [sqr-users] Daylight Savings Time issue Date: Tue, 13 Feb 2007 15:49:27 -0500 From: "Eric Miller" I am using 8.3.2 and I didn't specify a JRE or anything when installing. There also is no mention of it in my INI file. Any idea where I can find out what JRE it is using to generate this with? Thanks, Eric -----Original Message----- From: sqr-users-bounces+eric.miller=3Dcgifederal.com@sqrug.org [mailto:sqr-users-bounces+eric.miller=3Dcgifederal.com@sqrug.org] On Behalf Of Franck Masson Sent: Tuesday, February 13, 2007 3:36 PM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] Daylight Savings Time issue if you use the option -printer:EH or -printer:ht then it use JRE=20 if you generate pdf,spf,ps,hp,txt without grapiques then no JRE/JVM is used (with the exeption of the sqr lcense with DDO connectors.) Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org]On Behalf Of Eric Miller Sent: mardi 13 fevrier 2007 21:05 To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Daylight Savings Time issue >From what little it mentioned in the documentation about this, I get the impression that you have the "option" to make calls to the JRE and JVM. If you don't have these options turned on, it will still generate in HTML without calling the JRE or JVM, right? -----Original Message----- From: sqr-users-bounces+eric.miller=3Dcgifederal.com@sqrug.org [mailto:sqr-users-bounces+eric.miller=3Dcgifederal.com@sqrug.org] On Behalf Of Franck Masson Sent: Tuesday, February 13, 2007 2:47 PM To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] Daylight Savings Time issue SQR use JRE to deliver HTML output=20 and to produce Graphique (Option newgraphique=3Dtrue in SQR.ini) Franck=20 -----Original Message----- From: sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org]On Behalf Of Eric Miller Sent: mardi 13 fevrier 2007 16:33 To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Daylight Savings Time issue By Default, does SQR use or make any calls to the JRE or JDK? - Eric -----Original Message----- From: sqr-users-bounces+eric.miller=3Dcgifederal.com@sqrug.org [mailto:sqr-users-bounces+eric.miller=3Dcgifederal.com@sqrug.org] On Behalf Of Joe Johnson Sent: Tuesday, February 13, 2007 10:22 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] Daylight Savings Time issue I know for Peoplesoft all of the fixes are to the OS, JRE, JDK, and=20 Tuxedo. Nothing specific to SQR. - Joe Eric Miller wrote: >Has anyone on this list dealt with the Daylight Savings time issue yet? >From what I have read it seems the Hyperion products are not directly >affected by the new DST changes. But it says that they do rely on the >underlying platform software components (Operating System, J2EE >Application Servers, and JRE/JDK's) for date/time related functionality. > > >Does anyone have any knowledge of when/how SQR interacts with the >JRE/JDK's? I haven't been able to find any documentation on it.=20 > >Thanks, >Eric Miller > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users >=20=20 > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Feb 14 13:33:57 2007 Date: Wed, 14 Feb 2007 13:30:50 -0500 From: "Tajinder Chahal" Subject: Re: [sqr-users] PGP Thanks Robert for all the info you provided. My company is ready to look in= to GPG instead of PGP(b'coz it is too expensive). It looks like GPG is a fr= eeware.......right? Also if you don't mind can you please send me a snipet of code within sqr w= here you encrypt the file. Do we still have the option of adding the vendor's public key to the key ri= ng? >>> robert.goshko@gmail.com 02/06/07 10:51AM >>> On 2/6/07, Tajinder Chahal wrote: > > > Thanks for the response. > Our vendors need our files PGP encrypted and they have sent us PGP public > keys to import. > Can we still use GPG? Or do we have to buy PGP command line? > Also when buying PGP command line they ask for '1 Key' version or > 'Unlimited' key version. GPG will work, I have used it at several clients to send encrypted files to various banks without issue, most just need RFC2440 compliment PGP encryption with GNU PG provides. I can't say I have found a vendor that could not process a "GPG" encrypted file when they needed a PGP file. One client insisted they "needed" PGP, until they saw the cost for what they needed and then they were happy to use GPG that was already on the UNIX box. --=20 ....Rob -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Robert Goshko Registered Linux User #260513 Want a Gmail account, 2.7+ GB web mail (for free), just ask me. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 19 08:05:07 2007 Date: Mon, 19 Feb 2007 14:03:18 +0100 From: Marius Giepz Subject: [sqr-users] JNI Wrapper? Hello! Does anybody know of an implementation of JNI wrapper classes for SQR that are available somewhere? Or at least some examples? I am not familliar with JNI but I've been reading a little bit into the basics. I'd just like to execute SQR commands from a Java-App without using the command-prompt. best regards, Marius _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Feb 20 00:10:57 2007 Date: Tue, 20 Feb 2007 10:38:53 +0530 From: "Vamsi Krishna Reddy Valluru" Subject: [sqr-users] Using Process Scheduler in SQR Hi, Can I create a process request using SQR? I want to use the process scheduler in SQR, the way we use in peoplecode. If have done it before or have the knowledge on how to do it... Please help me ... Examples would help a lot... Thanks & Regards Vamsi Krishna _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Feb 20 09:21:49 2007 Date: Tue, 20 Feb 2007 09:18:24 -0500 From: "Tajinder Chahal" Subject: Re: [sqr-users] PGP Hi All, =20 When I try to run the GPG command thru' sqr using 'CALL SYSTEM', it does no= t do anything. However if I run the same command thru' DOS window it works = fine.=20 I also tried creating a *.bat file with the gpg command but it does not wor= k. =20 c:\windows\system32\cmd.exe /C echo | gpg --passphrase-fd 0 --h= omedir . --local-user "" --sign --= output "" --encrypt "" >>> Tchaha@Roushind.com 02/14/07 01:30PM >>> Thanks Robert for all the info you provided. My company is ready to look in= to GPG instead of PGP(b'coz it is too expensive). It looks like GPG is a fr= eeware.......right? Also if you don't mind can you please send me a snipet of code within sqr w= here you encrypt the file. Do we still have the option of adding the vendor's public key to the key ri= ng? >>> robert.goshko@gmail.com 02/06/07 10:51AM >>> On 2/6/07, Tajinder Chahal wrote: > > > Thanks for the response. > Our vendors need our files PGP encrypted and they have sent us PGP public > keys to import. > Can we still use GPG? Or do we have to buy PGP command line? > Also when buying PGP command line they ask for '1 Key' version or > 'Unlimited' key version. GPG will work, I have used it at several clients to send encrypted files to various banks without issue, most just need RFC2440 compliment PGP encryption with GNU PG provides. I can't say I have found a vendor that could not process a "GPG" encrypted file when they needed a PGP file. One client insisted they "needed" PGP, until they saw the cost for what they needed and then they were happy to use GPG that was already on the UNIX box. --=20 .....Rob -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Robert Goshko Registered Linux User #260513 Want a Gmail account, 2.7+ GB web mail (for free), just ask me. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Feb 20 10:29:07 2007 Date: Tue, 20 Feb 2007 15:26:19 +0000 (GMT) From: john.tucker@oracle.com Subject: [sqr-users] Re: Using Process Scheduler in SQR This is a multi-part message in MIME format... ------=_Part_3999_31686423.1171985179439 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Include an SQC PeopleSoft delivers called stdapi.sqc. Near the beginning of the SQR, Do Stdapi-Init. At the end, Do Stdapi-Term. If you have run control parameters, you'll also need to create a run control record (of course) and then do something like the following in your SQR to decide at runtime whether the parameters are manually entered or selected from a run control table. The three $prcs... variables referenced below are passed to the program without you having to initialize them. ! Get the run control parameters, either through input prompts or the record. If $prcs_process_instance = '' Do Input-Parameters Else Do Select-Parameters End-If ...... Begin-Procedure Input-Parameters Input $Term1 maxlen = 4 status = #stat 'Enter the term code' End-Procedure Input-Parameters ....... Begin-Procedure Select-Parameters Begin-Select RUN.STRM Let $Term1 = &RUN.STRM1 FROM PS_INT_RUNCNTL RUN WHERE RUN.OPRID = $prcs_oprid AND RUN.RUN_CNTL_ID = $prcs_run_cntl_id End-Select End-Procedure Select-Parameters Hopefully that helps. -John T. ------=_Part_3999_31686423.1171985179439 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ------=_Part_3999_31686423.1171985179439-- From sqr-users-bounces@sqrug.org Tue Feb 20 11:18:09 2007 Date: Tue, 20 Feb 2007 08:15:34 -0800 (PST) From: Arun Kumar Subject: Re: [sqr-users] Using Process Scheduler in SQR I am not sure what you want to do. Because any sqr delivered by peoplesoft can be run from command line and th= ey will prompt user for all the values it expects. Can I create a process request using SQR -- the way we use in peoplecode. Do you mean the Equivalent of this function in SQR? RunProcess("SQR Report", PRCSNAME, "", &RPT_PARMS, "")=20 more details please ...=20 Are you stuck in a particular place in coding that you are looking for help? ----- Original Message ---- From: Vamsi Krishna Reddy Valluru To: sqr-users@sqrug.org Sent: Tuesday, February 20, 2007 12:08:53 AM Subject: [sqr-users] Using Process Scheduler in SQR Hi, Can I create a process request using SQR? I want to use the process scheduler in SQR, the way we use in peoplecode. If have done it before or have the knowledge on how to do it... Please help me ... Examples would help a lot... Thanks & Regards Vamsi Krishna _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20 ___________________________________________________________________________= _________ The fish are biting.=20 Get more visitors on your site using Yahoo! Search Marketing. http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Feb 20 15:55:41 2007 Date: Tue, 20 Feb 2007 13:53:35 -0700 From: "Robert Goshko" Subject: Re: [sqr-users] PGP On 2/20/07, Tajinder Chahal wrote: > Hi All, > > When I try to run the GPG command thru' sqr using 'CALL SYSTEM', it does not do anything. However if I run the same command thru' DOS window it works fine. > I also tried creating a *.bat file with the gpg command but it does not work. > > c:\windows\system32\cmd.exe /C echo | gpg --passphrase-fd 0 --homedir . --local-user "" --sign --output "" --encrypt "" I usually use a script file (on UNIX box) to do the encryption, but my command line is very similar to yours: echo $PASSPHRASE|/usr/local/bin/gpg --passphrase-fd 0 --yes --batch -s -e -r $TARGET_GPG_KEY $OUTBOUND_FILE I found this works best as it will take your file and encrypt it with the same filename plus a .gpg, then you can rename it to what ever is needed. If the file you are sending does not need to be signed (depends on the vendor), you can use something like this: /usr/local/bin/gpg --batch -e -r $TARGET_GPG_KEY $OUTBOUND_FILE -- ...Rob -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. ================================================ Robert Goshko Registered Linux User #260513 Want a Gmail account, 2.7+ GB web mail (for free), just ask me. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Feb 21 01:32:08 2007 Date: Wed, 21 Feb 2007 12:00:02 +0530 From: "Vamsi Krishna Reddy Valluru" Subject: Re: [sqr-users] Using Process Scheduler in SQR Thank u for the reply... Yes Arun .. that is exactly what I want... *****!Do you mean the Equivalent of this function in SQR? *****! RunProcess("SQR Report", PRCSNAME, "", &RPT_PARMS, "") To elaborate... I am writing an sqr which in turn should spawn other sqrs(Independent sub-Tasks)... but should not wait between the different SQRs(something like multi threading in Java). Do u think we can achieve this using SQR. I am currently using System call to invoke the SQRs. but the main problem with this approach is it does not return to the actual program until the child SQR ran completely, hence I am not acheiving any parralel processing. and so I want know whether I can use the CreateProcess kind of function in SQR as in Peoplecode. Thanks & Regards.. vamsi On 2/20/07, Arun Kumar wrote: > > I am not sure what you want to do. > > Because any sqr delivered by peoplesoft can be run from command line and > they will prompt user for all the values it expects. > > Can I create a process request using SQR -- the way we use in peoplecode. > > Do you mean the Equivalent of this function in SQR? > RunProcess("SQR Report", PRCSNAME, "", &RPT_PARMS, "") > > > > more details please ... > > Are you stuck in a particular place in coding that you are looking for > help? > > ----- Original Message ---- > From: Vamsi Krishna Reddy Valluru > To: sqr-users@sqrug.org > Sent: Tuesday, February 20, 2007 12:08:53 AM > Subject: [sqr-users] Using Process Scheduler in SQR > > Hi, > > Can I create a process request using SQR? I want to use the process > scheduler in SQR, the way we use in peoplecode. > > If have done it before or have the knowledge on how to do it... > Please help me ... Examples would help a lot... > > Thanks & Regards > Vamsi Krishna > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > > ____________________________________________________________________________________ > The fish are biting. > Get more visitors on your site using Yahoo! Search Marketing. > http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Feb 21 04:36:40 2007 Date: Wed, 21 Feb 2007 09:33:19 +0000 (GMT) From: senthilkumar periyasami Subject: [sqr-users] Schedule a SQR and send the email...When error occurs... Scenario : I'd like to schedule and email a sqr when there is the errors in a jobs running in a process scheduler...When process scheduler tracks out the error in the process monitor on the on-line page...SQR must immediately kick off the email with the attachment of log file... Please help me to achieve this task.....Also provides sample sqr to do this....senthil --------------------------------- Here’s a new way to find what you're looking for - Yahoo! Answers _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Feb 21 04:42:06 2007 Date: Wed, 21 Feb 2007 09:38:50 +0000 (GMT) From: senthilkumar periyasami Subject: [sqr-users] Error Handling In select statements in SQR.. When do we need error handling in select statements in SQR? Please help me....Senthil --------------------------------- Here’s a new way to find what you're looking for - Yahoo! Answers _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Feb 21 10:17:13 2007 Subject: RE: [sqr-users] Error Handling In select statements in SQR.. Date: Wed, 21 Feb 2007 09:14:45 -0600 From: "Knapp, Richard" Whenever you might want to evaluate the error and proceed with the program's processing or perhaps capture some of the data in the record that caused the error. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of senthilkumar periyasami Sent: Wednesday, February 21, 2007 3:39 AM To: sqr-users@sqrug.org Subject: [sqr-users] Error Handling In select statements in SQR..=20 When do we need error handling in select statements in SQR? =20=20=20 Please help me....Senthil=20 =20=09=09=09=09 --------------------------------- Here's a new way to find what you're looking for - Yahoo! Answers=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Feb 21 11:49:32 2007 From: "Alexander, Steven" Subject: RE: [sqr-users] Error Handling In select statements in SQR.. Date: Wed, 21 Feb 2007 08:46:37 -0800 My understanding is that the SQR compiler evaluates select statements and reports errors when it compiles the program ... if it can. If the select statement includes dynamic variables, it won't be evaluated until it executes. That's the case that needs the "on-error" clause. The "begin-sql" paragraphs can always benefit from the "on-error" clause, because CHANGING data in the database can cause errors in processing that wouldn't be apparent during the compile stage. -----Original Message----- From: sqr-users-bounces+steven.alexander=sanjoseca.gov@sqrug.org [mailto:sqr-users-bounces+steven.alexander=sanjoseca.gov@sqrug.org] On Behalf Of Knapp, Richard Sent: Wednesday, February 21, 2007 7:15 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Error Handling In select statements in SQR.. Whenever you might want to evaluate the error and proceed with the program's processing or perhaps capture some of the data in the record that caused the error. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of senthilkumar periyasami Sent: Wednesday, February 21, 2007 3:39 AM To: sqr-users@sqrug.org Subject: [sqr-users] Error Handling In select statements in SQR.. When do we need error handling in select statements in SQR? Please help me....Senthil --------------------------------- Here's a new way to find what you're looking for - Yahoo! Answers _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Feb 21 11:54:20 2007 From: "Alexander, Steven" Subject: RE: [sqr-users] Schedule a SQR and send the email...When error occurs... Date: Wed, 21 Feb 2007 08:51:15 -0800 I don't have sample code because I've never done this particular task, but you could write an sqr program that runs continuously, and reads the PSPRCSRQST table once every 10 seconds, looking for processes with the runstatus = error. You may have to wait a while before the log file is posted, but you should know the path if you know the process instance number. For the last step, sending an e-mail with an attachment, I'll refer you to the SQR discussion list archives. -----Original Message----- From: sqr-users-bounces+steven.alexander=sanjoseca.gov@sqrug.org [mailto:sqr-users-bounces+steven.alexander=sanjoseca.gov@sqrug.org] On Behalf Of senthilkumar periyasami Sent: Wednesday, February 21, 2007 1:33 AM To: sqr-users@sqrug.org Subject: [sqr-users] Schedule a SQR and send the email...When error occurs... Scenario : I'd like to schedule and email a sqr when there is the errors in a jobs running in a process scheduler...When process scheduler tracks out the error in the process monitor on the on-line page...SQR must immediately kick off the email with the attachment of log file... Please help me to achieve this task.....Also provides sample sqr to do this....senthil --------------------------------- Here's a new way to find what you're looking for - Yahoo! Answers _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Feb 21 11:58:09 2007 Date: Wed, 21 Feb 2007 11:51:39 -0500 From: "Tajinder Chahal" Subject: Re: [sqr-users] PGP/GPG The batch file that I created works fine if executed outside of sqr but doe= s not work when executed within sqr using 'CALL SYSTEM USING <*.bat file> #= stat WAIT'. The operating sys is Windows XP. =20 Please Help............... >>> robert.goshko@gmail.com 02/20/07 03:53PM >>> On 2/20/07, Tajinder Chahal wrote: > Hi All, > > When I try to run the GPG command thru' sqr using 'CALL SYSTEM', it does = not do anything. However if I run the same command thru' DOS window it work= s fine. > I also tried creating a *.bat file with the gpg command but it does not w= ork. > > c:\windows\system32\cmd.exe /C echo | gpg --passphrase-fd 0 -= -homedir . --local-user "" --sign = --output "" --encrypt "" I usually use a script file (on UNIX box) to do the encryption, but my command line is very similar to yours: echo $PASSPHRASE|/usr/local/bin/gpg --passphrase-fd 0 --yes --batch -s -e -r $TARGET_GPG_KEY $OUTBOUND_FILE I found this works best as it will take your file and encrypt it with the same filename plus a .gpg, then you can rename it to what ever is needed. If the file you are sending does not need to be signed (depends on the vendor), you can use something like this: /usr/local/bin/gpg --batch -e -r $TARGET_GPG_KEY $OUTBOUND_FILE --=20 ....Rob -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Robert Goshko Registered Linux User #260513 Want a Gmail account, 2.7+ GB web mail (for free), just ask me. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Feb 21 12:01:48 2007 From: "Alexander, Steven" Subject: RE: [sqr-users] Using Process Scheduler in SQR Date: Wed, 21 Feb 2007 08:55:40 -0800 I don't think the SQR language has tools for multi-threading, except for the "nowait" parameter of "call system," which works on some operating systems, but not others. You could write an Application Engine program that runs continually in a loop and checks a "request" table once every 10 seconds. The SQR program could place a request in that table, for the AE program to perform. -----Original Message----- From: sqr-users-bounces+steven.alexander=sanjoseca.gov@sqrug.org [mailto:sqr-users-bounces+steven.alexander=sanjoseca.gov@sqrug.org] On Behalf Of Vamsi Krishna Reddy Valluru Sent: Tuesday, February 20, 2007 10:30 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] Using Process Scheduler in SQR Thank u for the reply... Yes Arun .. that is exactly what I want... *****!Do you mean the Equivalent of this function in SQR? *****! RunProcess("SQR Report", PRCSNAME, "", &RPT_PARMS, "") To elaborate... I am writing an sqr which in turn should spawn other sqrs(Independent sub-Tasks)... but should not wait between the different SQRs(something like multi threading in Java). Do u think we can achieve this using SQR. I am currently using System call to invoke the SQRs. but the main problem with this approach is it does not return to the actual program until the child SQR ran completely, hence I am not acheiving any parralel processing. and so I want know whether I can use the CreateProcess kind of function in SQR as in Peoplecode. Thanks & Regards.. vamsi On 2/20/07, Arun Kumar wrote: > > I am not sure what you want to do. > > Because any sqr delivered by peoplesoft can be run from command line and > they will prompt user for all the values it expects. > > Can I create a process request using SQR -- the way we use in peoplecode. > > Do you mean the Equivalent of this function in SQR? > RunProcess("SQR Report", PRCSNAME, "", &RPT_PARMS, "") > > > > more details please ... > > Are you stuck in a particular place in coding that you are looking for > help? > > ----- Original Message ---- > From: Vamsi Krishna Reddy Valluru > To: sqr-users@sqrug.org > Sent: Tuesday, February 20, 2007 12:08:53 AM > Subject: [sqr-users] Using Process Scheduler in SQR > > Hi, > > Can I create a process request using SQR? I want to use the process > scheduler in SQR, the way we use in peoplecode. > > If have done it before or have the knowledge on how to do it... > Please help me ... Examples would help a lot... > > Thanks & Regards > Vamsi Krishna > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > > ____________________________________________________________________________ ________ > The fish are biting. > Get more visitors on your site using Yahoo! Search Marketing. > http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Feb 21 12:14:12 2007 Subject: RE: [sqr-users] PGP/GPG Date: Wed, 21 Feb 2007 12:10:58 -0500 From: "Peter Burton" Rob, Have you tried=20 LET #Status =3D System('batch.bat')=20 Peter -----Original Message----- From: sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org [mailto:sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org] On Behalf Of Tajinder Chahal Sent: Wednesday, February 21, 2007 11:52 AM To: robert.goshko@gmail.com; sqr-users@sqrug.org Subject: Re: [sqr-users] PGP/GPG The batch file that I created works fine if executed outside of sqr but does not work when executed within sqr using 'CALL SYSTEM USING <*.bat file> #stat WAIT'. The operating sys is Windows XP. =20 Please Help............... >>> robert.goshko@gmail.com 02/20/07 03:53PM >>> On 2/20/07, Tajinder Chahal wrote: > Hi All, > > When I try to run the GPG command thru' sqr using 'CALL SYSTEM', it does not do anything. However if I run the same command thru' DOS window it works fine. > I also tried creating a *.bat file with the gpg command but it does not work. > > c:\windows\system32\cmd.exe /C echo | gpg --passphrase-fd 0 --homedir . --local-user "" --sign --output "" --encrypt "" I usually use a script file (on UNIX box) to do the encryption, but my command line is very similar to yours: echo $PASSPHRASE|/usr/local/bin/gpg --passphrase-fd 0 --yes --batch -s -e -r $TARGET_GPG_KEY $OUTBOUND_FILE I found this works best as it will take your file and encrypt it with the same filename plus a .gpg, then you can rename it to what ever is needed. If the file you are sending does not need to be signed (depends on the vendor), you can use something like this: /usr/local/bin/gpg --batch -e -r $TARGET_GPG_KEY $OUTBOUND_FILE --=20 ....Rob -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Robert Goshko Registered Linux User #260513 Want a Gmail account, 2.7+ GB web mail (for free), just ask me. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users If you have received this e-mail in error, please delete it and notify the = sender as soon as possible. The contents of this e-mail may be confidential= and the unauthorized use, copying, or dissemination of it and any attachme= nts to it, is prohibited. Internet communications are not secure and Hyperi= on does not, therefore, accept legal responsibility for the contents of thi= s message nor for any damage caused by viruses. The views expressed here do= not necessarily represent those of Hyperion. For more information about Hy= perion, please visit our Web site at: www.hyperion.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Feb 21 12:19:59 2007 Date: Wed, 21 Feb 2007 09:17:16 -0800 (PST) From: Arun Kumar Subject: Re: [sqr-users] Using Process Scheduler in SQR SYSTEM CALL FUNTION default is wait on the unix servers Did you try=20 CALL SYSTEM USING "command" status NOWAIT --- instead ? should allow to run= multiple at the same time. ----- Original Message ---- From: Vamsi Krishna Reddy Valluru To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Sent: Wednesday, February 21, 2007 1:30:02 AM Subject: Re: [sqr-users] Using Process Scheduler in SQR Thank u for the reply... Yes Arun .. that is exactly what I want... *****!Do you mean the Equivalent of this function in SQR? *****! RunProcess("SQR Report", PRCSNAME, "", &RPT_PARMS, "") To elaborate... I am writing an sqr which in turn should spawn other sqrs(Independent sub-Tasks)... but should not wait between the different SQRs(something like multi threading in Java). Do u think we can achieve this using SQR. I am currently using System call to invoke the SQRs. but the main problem with this approach is it does not return to the actual program until the child SQR ran completely, hence I am not acheiving any parralel processing. and so I want know whether I can use the CreateProcess kind of function in SQR as in Peoplecode. Thanks & Regards.. vamsi On 2/20/07, Arun Kumar wrote: > > I am not sure what you want to do. > > Because any sqr delivered by peoplesoft can be run from command line and > they will prompt user for all the values it expects. > > Can I create a process request using SQR -- the way we use in peoplecode. > > Do you mean the Equivalent of this function in SQR? > RunProcess("SQR Report", PRCSNAME, "", &RPT_PARMS, "") > > > > more details please ... > > Are you stuck in a particular place in coding that you are looking for > help? > > ----- Original Message ---- > From: Vamsi Krishna Reddy Valluru > To: sqr-users@sqrug.org > Sent: Tuesday, February 20, 2007 12:08:53 AM > Subject: [sqr-users] Using Process Scheduler in SQR > > Hi, > > Can I create a process request using SQR? I want to use the process > scheduler in SQR, the way we use in peoplecode. > > If have done it before or have the knowledge on how to do it... > Please help me ... Examples would help a lot... > > Thanks & Regards > Vamsi Krishna > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > > _________________________________________________________________________= ___________ > The fish are biting. > Get more visitors on your site using Yahoo! Search Marketing. > http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20 ___________________________________________________________________________= _________ Never Miss an Email Stay connected with Yahoo! Mail on your mobile. Get started! http://mobile.yahoo.com/services?promote=3Dmail _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Feb 21 12:27:10 2007 Date: Wed, 21 Feb 2007 10:25:01 -0700 From: "Robert Goshko" Subject: Re: [sqr-users] PGP/GPG On 2/21/07, Tajinder Chahal wrote: > > > The batch file that I created works fine if executed outside of sqr but does > not work when executed within sqr using 'CALL SYSTEM USING <*.bat file> > #stat WAIT'. > The operating sys is Windows XP. I use call system using as well, make sure you include the entire path name in the call, to avoid any issues: let $command_line = 'c:\path\encrypt.bat' call system using $command_line #command_status wait -- ...Rob -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. ================================================ Robert Goshko Registered Linux User #260513 Want a Gmail account, 2.7+ GB web mail (for free), just ask me. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Feb 21 13:14:49 2007 Date: Wed, 21 Feb 2007 13:11:37 -0500 From: "Tajinder Chahal" Subject: Re: [sqr-users] PGP/GPG I'm using the full path. =20 Also I tried #Status =3D System('batch.bat') as Peter suggested but I get t= he following error: (SQR 4008) Unknown function or variable in expression: system >>> robert.goshko@gmail.com 02/21/07 12:25PM >>> On 2/21/07, Tajinder Chahal wrote: > > > The batch file that I created works fine if executed outside of sqr but d= oes > not work when executed within sqr using 'CALL SYSTEM USING <*.bat file> > #stat WAIT'. > The operating sys is Windows XP. I use call system using as well, make sure you include the entire path name in the call, to avoid any issues: let $command_line =3D 'c:\path\encrypt.bat' call system using $command_line #command_status wait --=20 ....Rob -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Robert Goshko Registered Linux User #260513 Want a Gmail account, 2.7+ GB web mail (for free), just ask me. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Feb 21 13:26:39 2007 Date: Wed, 21 Feb 2007 11:24:32 -0700 From: "Robert Goshko" Subject: Re: [sqr-users] PGP/GPG On 2/21/07, Tajinder Chahal wrote: > > > I'm using the full path. > > Also I tried #Status = System('batch.bat') as Peter suggested but I get the > following error: > (SQR 4008) Unknown function or variable in expression: system You may need to try this: let $comspec = getenv('COMSPEC') let $command_line = $comspec || ' c:\path\encrypt.bat' call system using $command_line #command_status wait As batch file need to be interpreted by the command processor, my script runs on UNIX and that is declared in the shebang line (#!/bin/sh) on the first line for the script. Can't say I have ever used Peter's version with the let, my SQR manual is from version 3 and it is not even listed, and is probably in a newer version of SQR (not the old ones that PeopleSoft has) -- ...Rob -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. ================================================ Robert Goshko Registered Linux User #260513 Want a Gmail account, 2.7+ GB web mail (for free), just ask me. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Feb 21 13:30:26 2007 Subject: RE: [sqr-users] PGP/GPG Date: Wed, 21 Feb 2007 13:26:19 -0500 From: "Peter Burton" =20 Rob, You must have an older version of SQR then ... You could add it youself to the product by simply creating you own user function in "extufunc.c" and rebuilding the DLL file. static void sys (int, char*[], double *); /* Register "system" function */ ufunc.name =3D "system"; ufunc.rettype =3D 'n'; ufunc.args =3D 0; ufunc.argtypes =3D "c"; ufunc.ufuncp =3D (void(*)())sys; lpfnUFuncReg(&ufunc); /* * Synchronous system function: * * Usage: LET #Status =3D System($Command) * * #Status =3D returned operating system status (platform specific) * */ static void sys (argc, argv, result) int argc; /* Number of actual arguments */ char * argv[]; /* Pointers to arguments */ double * result; /* Where to store result */ { int stat; stat =3D system(argv[0]); if (stat =3D=3D -1) /* an error has occurred provide user with errno value */ stat =3D errno; *result =3D (double)stat; return; Peter -----Original Message----- From: sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org [mailto:sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org] On Behalf Of Tajinder Chahal Sent: Wednesday, February 21, 2007 1:12 PM To: robert.goshko@gmail.com; sqr-users@sqrug.org Subject: Re: [sqr-users] PGP/GPG I'm using the full path. =20 Also I tried #Status =3D System('batch.bat') as Peter suggested but I get the following error: (SQR 4008) Unknown function or variable in expression: system >>> robert.goshko@gmail.com 02/21/07 12:25PM >>> On 2/21/07, Tajinder Chahal wrote: > > > The batch file that I created works fine if executed outside of sqr but does > not work when executed within sqr using 'CALL SYSTEM USING <*.bat file> > #stat WAIT'. > The operating sys is Windows XP. I use call system using as well, make sure you include the entire path name in the call, to avoid any issues: let $command_line =3D 'c:\path\encrypt.bat' call system using $command_line #command_status wait --=20 ....Rob -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Robert Goshko Registered Linux User #260513 Want a Gmail account, 2.7+ GB web mail (for free), just ask me. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users If you have received this e-mail in error, please delete it and notify the = sender as soon as possible. The contents of this e-mail may be confidential= and the unauthorized use, copying, or dissemination of it and any attachme= nts to it, is prohibited. Internet communications are not secure and Hyperi= on does not, therefore, accept legal responsibility for the contents of thi= s message nor for any damage caused by viruses. The views expressed here do= not necessarily represent those of Hyperion. For more information about Hy= perion, please visit our Web site at: www.hyperion.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Feb 21 13:33:54 2007 Date: Wed, 21 Feb 2007 13:27:31 -0500 From: "Tajinder Chahal" Subject: Re: [sqr-users] PGP/GPG Robert, =20 I've tried everything that I could find on the web. I've tried this solutio= n as well and it does not work. =20 Thanks. >>> "Robert Goshko" 02/21/07 01:24PM >>> On 2/21/07, Tajinder Chahal wrote: > > > I'm using the full path. > > Also I tried #Status =3D System('batch.bat') as Peter suggested but I get= the > following error: > (SQR 4008) Unknown function or variable in expression: system You may need to try this: let $comspec =3D getenv('COMSPEC') let $command_line =3D $comspec || ' c:\path\encrypt.bat' call system using $command_line #command_status wait As batch file need to be interpreted by the command processor, my script runs on UNIX and that is declared in the shebang line (#!/bin/sh) on the first line for the script. Can't say I have ever used Peter's version with the let, my SQR manual is from version 3 and it is not even listed, and is probably in a newer version of SQR (not the old ones that PeopleSoft has) --=20 ....Rob -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Robert Goshko Registered Linux User #260513 Want a Gmail account, 2.7+ GB web mail (for free), just ask me. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Feb 22 01:43:32 2007 Date: Thu, 22 Feb 2007 12:10:48 +0530 From: "Vamsi Krishna Reddy Valluru" Subject: Re: [sqr-users] Using Process Scheduler in SQR Thank you all !!!! I found a turn around for the task .. I appened an '&' to the command string and it was working fine since it is a unix environment. I just wanted to share this incase if u don't know .. "appending '&' to the command makes that process a background process." Thanks & Regards Vamsi On 2/21/07, Arun Kumar wrote: > > SYSTEM CALL FUNTION default is wait on the unix servers > > Did you try > CALL SYSTEM USING "command" status NOWAIT --- instead ? should allow to > run multiple at the same time. > > > > ----- Original Message ---- > From: Vamsi Krishna Reddy Valluru > To: This list is for discussion about the SQR database reporting language > from Hyperion Solutions. > Sent: Wednesday, February 21, 2007 1:30:02 AM > Subject: Re: [sqr-users] Using Process Scheduler in SQR > > Thank u for the reply... > > Yes Arun .. that is exactly what I want... > *****!Do you mean the Equivalent of this function in SQR? > *****! RunProcess("SQR Report", PRCSNAME, "", &RPT_PARMS, "") > > To elaborate... > > I am writing an sqr which in turn should spawn other sqrs(Independent > sub-Tasks)... but should not wait between the different SQRs(something > like > multi threading in Java). > > Do u think we can achieve this using SQR. > > I am currently using System call to invoke the SQRs. but the main problem > with this approach is it does not return to the actual program until the > child SQR ran completely, hence I am not acheiving any parralel > processing. > and so I want know whether I can use the CreateProcess kind of function in > SQR as in Peoplecode. > > Thanks & Regards.. > vamsi > > On 2/20/07, Arun Kumar wrote: > > > > I am not sure what you want to do. > > > > Because any sqr delivered by peoplesoft can be run from command line and > > they will prompt user for all the values it expects. > > > > Can I create a process request using SQR -- the way we use in > peoplecode. > > > > Do you mean the Equivalent of this function in SQR? > > RunProcess("SQR Report", PRCSNAME, "", &RPT_PARMS, "") > > > > > > > > more details please ... > > > > Are you stuck in a particular place in coding that you are looking for > > help? > > > > ----- Original Message ---- > > From: Vamsi Krishna Reddy Valluru > > To: sqr-users@sqrug.org > > Sent: Tuesday, February 20, 2007 12:08:53 AM > > Subject: [sqr-users] Using Process Scheduler in SQR > > > > Hi, > > > > Can I create a process request using SQR? I want to use the process > > scheduler in SQR, the way we use in peoplecode. > > > > If have done it before or have the knowledge on how to do it... > > Please help me ... Examples would help a lot... > > > > Thanks & Regards > > Vamsi Krishna > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > > > > > > > > > > > > > ____________________________________________________________________________________ > > The fish are biting. > > Get more visitors on your site using Yahoo! Search Marketing. > > http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > > ____________________________________________________________________________________ > Never Miss an Email > Stay connected with Yahoo! Mail on your mobile. Get started! > http://mobile.yahoo.com/services?promote=mail > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 23 12:41:43 2007 Date: Fri, 23 Feb 2007 09:39:29 -0800 From: "Marc Kane" Subject: [sqr-users] Using Case Statements in SQR When debugging the following procedure via SQR Workbench, I am receiving the following error. My assumption is that in place of a CASE statement I should use an "IF-Then-Else" statement. However I am not sure of the correct syntax, any help would be appreciated. Here is the code segment: !***************************** Begin-Procedure Get_REBILL_METRICS !***************************** Begin-SELECT COUNT(*) CC_CL_CD CC_TYPE_CD (CASE WHEN DESCR254 LIKE '%C%' THEN 'CS REQ' WHEN DESCR254 LIKE '%B%' THEN 'BILL SEG' WHEN DESCR254 LIKE '%R%' THEN 'REREAD' WHEN DESCR254 LIKE '%A%' THEN 'AMR' ELSE 'Other' END) (CASE WHEN DESCR254 LIKE '%FF%' THEN 'FF Malfunction' WHEN DESCR254 LIKE '%thrs%' THEN 'Threshold' WHEN DESCR254 LIKE '%thresh%' THEN 'Threshold' WHEN DESCR254 LIKE '%th%' THEN 'Threshold' WHEN DESCR254 LIKE '%stuck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%stck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%ovr%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%tover%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%O/R%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%oest%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%und%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%under%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%U/R%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%uest%' THEN 'Under Estimate' ELSE 'Other' END) SHOW 'IN Get_REBILL_METRICS PROCEDURE' DO Get_PRINT_OUTPUT !Programmed FROM PS_CI_CC WHERE CC_DT BETWEEN TO_DATE($start_dt, 'MM/DD/YYYY') AND TO_DATE($end_dt, 'MM/DD/YYYY') AND CC_CL_CD = 'BLNG' AND CC_TYPE_CD IN ('OVR/UND ADJ' , 'THRES ADJ') GROUP BY CC_CL_CD, CC_TYPE_CD, DESCR254, DESCR254, PER_ID ORDER BY PER_ID ASC, CC_CL_CD ASC, CC_TYPE_CD ASC, DESCR254 ASC, DESCR254 ASC End-SELECT !******************************** End-Procedure !Get_BILL_CORRECTIONS_INFO !Programed !******************************** The error is (SQR 4105) Placement parameter incorrect. (CASE -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 23 12:45:37 2007 Date: Fri, 23 Feb 2007 12:42:31 -0500 From: "Larry Roux" Subject: Re: [sqr-users] Using Case Statements in SQR you need to add the vairable names to those types of statements...ie: Begin-SELECT COUNT(*) &MYCOUNT CC_CL_CD CC_TYPE_CD (CASE WHEN DESCR254 LIKE '%C%' THEN 'CS REQ' WHEN DESCR254 LIKE '%B%' THEN 'BILL SEG' WHEN DESCR254 LIKE '%R%' THEN 'REREAD' WHEN DESCR254 LIKE '%A%' THEN 'AMR' ELSE 'Other' END) &CASERESULTS1 (CASE WHEN DESCR254 LIKE '%FF%' THEN 'FF Malfunction' WHEN DESCR254 LIKE '%thrs%' THEN 'Threshold' WHEN DESCR254 LIKE '%thresh%' THEN 'Threshold' WHEN DESCR254 LIKE '%th%' THEN 'Threshold' WHEN DESCR254 LIKE '%stuck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%stck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%ovr%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%tover%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%O/R%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%oest%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%und%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%under%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%U/R%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%uest%' THEN 'Under Estimate' ELSE 'Other' END) &CASERESULTS2 Larry Roux Information Systems Syracuse University lroux@syr.edu >>> kane.marc@gmail.com 2/23/2007 12:39 PM >>> When debugging the following procedure via SQR Workbench, I am receiving the following error. My assumption is that in place of a CASE statement I should use an "IF-Then-Else" statement. However I am not sure of the correct syntax, any help would be appreciated. Here is the code segment: !***************************** Begin-Procedure Get_REBILL_METRICS !***************************** Begin-SELECT COUNT(*) CC_CL_CD CC_TYPE_CD (CASE WHEN DESCR254 LIKE '%C%' THEN 'CS REQ' WHEN DESCR254 LIKE '%B%' THEN 'BILL SEG' WHEN DESCR254 LIKE '%R%' THEN 'REREAD' WHEN DESCR254 LIKE '%A%' THEN 'AMR' ELSE 'Other' END) (CASE WHEN DESCR254 LIKE '%FF%' THEN 'FF Malfunction' WHEN DESCR254 LIKE '%thrs%' THEN 'Threshold' WHEN DESCR254 LIKE '%thresh%' THEN 'Threshold' WHEN DESCR254 LIKE '%th%' THEN 'Threshold' WHEN DESCR254 LIKE '%stuck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%stck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%ovr%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%tover%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%O/R%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%oest%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%und%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%under%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%U/R%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%uest%' THEN 'Under Estimate' ELSE 'Other' END) SHOW 'IN Get_REBILL_METRICS PROCEDURE' DO Get_PRINT_OUTPUT !Programmed FROM PS_CI_CC WHERE CC_DT BETWEEN TO_DATE($start_dt, 'MM/DD/YYYY') AND TO_DATE($end_dt, 'MM/DD/YYYY') AND CC_CL_CD = 'BLNG' AND CC_TYPE_CD IN ('OVR/UND ADJ' , 'THRES ADJ') GROUP BY CC_CL_CD, CC_TYPE_CD, DESCR254, DESCR254, PER_ID ORDER BY PER_ID ASC, CC_CL_CD ASC, CC_TYPE_CD ASC, DESCR254 ASC, DESCR254 ASC End-SELECT !******************************** End-Procedure !Get_BILL_CORRECTIONS_INFO !Programed !******************************** The error is (SQR 4105) Placement parameter incorrect. (CASE -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 23 14:43:17 2007 Date: Fri, 23 Feb 2007 11:38:06 -0800 From: "Marc Kane" Subject: Re: [sqr-users] Using Case Statements in SQR, Unfortunately I am still getting the same error. If the IF-THEN-ELSE method an option? If anyone else has examples of their successful use of a CASE statement, please post them. -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 23 14:50:52 2007 Date: Fri, 23 Feb 2007 14:48:07 -0500 From: "Vaidyanathan, Ramakrishnan \(GE, Corporate, consultant\)" Subject: [sqr-users] Reg. Report Parameters Hi All, I have a question on saving the setting of Report Arguments in the = SQRW window. When ever i click on SQRW.exe, the Report Arguments gets lost = and every time I need to put those parameters. How do I save those paramete= rs? Thanks In Advance Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 23 15:03:31 2007 From: "the dragon" Subject: Re: [sqr-users] Using Case Statements in SQR, Date: Fri, 23 Feb 2007 14:00:35 -0600 Repost your new code please. PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- Unfortunately I am still getting the same error. If the IF-THEN-ELSE method an option? If anyone else has examples of their successful use of a CASE statement, please post them. -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Mortgage rates as low as 4.625% - Refinance $150,000 loan for $579 a month. Intro*Terms https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h27f6&disc=y&vers=743&s=4056&p=5117 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 23 15:06:54 2007 Date: Fri, 23 Feb 2007 15:01:20 -0500 From: "Larry Roux" Subject: Re: [sqr-users] Reg. Report Parameters Make your shortcut include them (ie Q:\Dev\Psoft\orahrsa8\bin\sqrps\sqr\ora\BINW\sqrw.exe c:\ps8sqr\PTSQRTST.sqr -zifq:\dev\psoft\orahrsa8\sqr\pssqr.ini -ZIV -debugdebugd) or whatever Larry Roux Information Systems Syracuse University lroux@syr.edu >>> ramakrishnan.vaidyanathan@ge.com 2/23/2007 2:48:07 PM >>> Hi All, I have a question on saving the setting of Report Arguments in the SQRW window. When ever i click on SQRW.exe, the Report Arguments gets lost and every time I need to put those parameters. How do I save those parameters? Thanks In Advance Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 23 15:21:34 2007 From: "Alexander, Steven" Subject: RE: [sqr-users] Using Case Statements in SQR Date: Fri, 23 Feb 2007 12:18:56 -0800 Will this work when you indent the line for the case statement? Won't SQR interpret the code as being outside the SQL statement? -----Original Message----- From: sqr-users-bounces+steven.alexander=sanjoseca.gov@sqrug.org [mailto:sqr-users-bounces+steven.alexander=sanjoseca.gov@sqrug.org] On Behalf Of Larry Roux Sent: Friday, February 23, 2007 9:43 AM To: kane.marc@gmail.com; sqr-users@sqrug.org Subject: Re: [sqr-users] Using Case Statements in SQR you need to add the vairable names to those types of statements...ie: Begin-SELECT COUNT(*) &MYCOUNT CC_CL_CD CC_TYPE_CD (CASE WHEN DESCR254 LIKE '%C%' THEN 'CS REQ' WHEN DESCR254 LIKE '%B%' THEN 'BILL SEG' WHEN DESCR254 LIKE '%R%' THEN 'REREAD' WHEN DESCR254 LIKE '%A%' THEN 'AMR' ELSE 'Other' END) &CASERESULTS1 (CASE WHEN DESCR254 LIKE '%FF%' THEN 'FF Malfunction' WHEN DESCR254 LIKE '%thrs%' THEN 'Threshold' WHEN DESCR254 LIKE '%thresh%' THEN 'Threshold' WHEN DESCR254 LIKE '%th%' THEN 'Threshold' WHEN DESCR254 LIKE '%stuck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%stck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%ovr%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%tover%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%O/R%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%oest%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%und%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%under%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%U/R%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%uest%' THEN 'Under Estimate' ELSE 'Other' END) &CASERESULTS2 Larry Roux Information Systems Syracuse University lroux@syr.edu >>> kane.marc@gmail.com 2/23/2007 12:39 PM >>> When debugging the following procedure via SQR Workbench, I am receiving the following error. My assumption is that in place of a CASE statement I should use an "IF-Then-Else" statement. However I am not sure of the correct syntax, any help would be appreciated. Here is the code segment: !***************************** Begin-Procedure Get_REBILL_METRICS !***************************** Begin-SELECT COUNT(*) CC_CL_CD CC_TYPE_CD (CASE WHEN DESCR254 LIKE '%C%' THEN 'CS REQ' WHEN DESCR254 LIKE '%B%' THEN 'BILL SEG' WHEN DESCR254 LIKE '%R%' THEN 'REREAD' WHEN DESCR254 LIKE '%A%' THEN 'AMR' ELSE 'Other' END) (CASE WHEN DESCR254 LIKE '%FF%' THEN 'FF Malfunction' WHEN DESCR254 LIKE '%thrs%' THEN 'Threshold' WHEN DESCR254 LIKE '%thresh%' THEN 'Threshold' WHEN DESCR254 LIKE '%th%' THEN 'Threshold' WHEN DESCR254 LIKE '%stuck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%stck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%ovr%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%tover%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%O/R%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%oest%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%und%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%under%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%U/R%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%uest%' THEN 'Under Estimate' ELSE 'Other' END) SHOW 'IN Get_REBILL_METRICS PROCEDURE' DO Get_PRINT_OUTPUT !Programmed FROM PS_CI_CC WHERE CC_DT BETWEEN TO_DATE($start_dt, 'MM/DD/YYYY') AND TO_DATE($end_dt, 'MM/DD/YYYY') AND CC_CL_CD = 'BLNG' AND CC_TYPE_CD IN ('OVR/UND ADJ' , 'THRES ADJ') GROUP BY CC_CL_CD, CC_TYPE_CD, DESCR254, DESCR254, PER_ID ORDER BY PER_ID ASC, CC_CL_CD ASC, CC_TYPE_CD ASC, DESCR254 ASC, DESCR254 ASC End-SELECT !******************************** End-Procedure !Get_BILL_CORRECTIONS_INFO !Programed !******************************** The error is (SQR 4105) Placement parameter incorrect. (CASE -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 23 15:25:52 2007 Date: Fri, 23 Feb 2007 15:23:26 -0500 From: "Larry Roux" Subject: RE: [sqr-users] Using Case Statements in SQR Also, would a Decode statement work better here? SELECT A.INSTITUTION, decode (A.ACAD_CAREER, 'ESFG', 'ESF', 'OTHER') &RESULT if &result = 'ESF' show 'Yup, ESF' else show 'Nope, not ESF' end-if FROM PS_TERM_TBL A where A.INSTITUTION = 'SU' Larry Roux Information Systems Syracuse University lroux@syr.edu >>> Steven.Alexander@sanjoseca.gov 2/23/2007 3:18:56 PM >>> Will this work when you indent the line for the case statement? Won't SQR interpret the code as being outside the SQL statement? -----Original Message----- From: sqr-users-bounces+steven.alexander=sanjoseca.gov@sqrug.org [mailto:sqr-users-bounces+steven.alexander=sanjoseca.gov@sqrug.org] On Behalf Of Larry Roux Sent: Friday, February 23, 2007 9:43 AM To: kane.marc@gmail.com; sqr-users@sqrug.org Subject: Re: [sqr-users] Using Case Statements in SQR you need to add the vairable names to those types of statements...ie: Begin-SELECT COUNT(*) &MYCOUNT CC_CL_CD CC_TYPE_CD (CASE WHEN DESCR254 LIKE '%C%' THEN 'CS REQ' WHEN DESCR254 LIKE '%B%' THEN 'BILL SEG' WHEN DESCR254 LIKE '%R%' THEN 'REREAD' WHEN DESCR254 LIKE '%A%' THEN 'AMR' ELSE 'Other' END) &CASERESULTS1 (CASE WHEN DESCR254 LIKE '%FF%' THEN 'FF Malfunction' WHEN DESCR254 LIKE '%thrs%' THEN 'Threshold' WHEN DESCR254 LIKE '%thresh%' THEN 'Threshold' WHEN DESCR254 LIKE '%th%' THEN 'Threshold' WHEN DESCR254 LIKE '%stuck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%stck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%ovr%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%tover%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%O/R%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%oest%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%und%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%under%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%U/R%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%uest%' THEN 'Under Estimate' ELSE 'Other' END) &CASERESULTS2 Larry Roux Information Systems Syracuse University lroux@syr.edu >>> kane.marc@gmail.com 2/23/2007 12:39 PM >>> When debugging the following procedure via SQR Workbench, I am receiving the following error. My assumption is that in place of a CASE statement I should use an "IF-Then-Else" statement. However I am not sure of the correct syntax, any help would be appreciated. Here is the code segment: !***************************** Begin-Procedure Get_REBILL_METRICS !***************************** Begin-SELECT COUNT(*) CC_CL_CD CC_TYPE_CD (CASE WHEN DESCR254 LIKE '%C%' THEN 'CS REQ' WHEN DESCR254 LIKE '%B%' THEN 'BILL SEG' WHEN DESCR254 LIKE '%R%' THEN 'REREAD' WHEN DESCR254 LIKE '%A%' THEN 'AMR' ELSE 'Other' END) (CASE WHEN DESCR254 LIKE '%FF%' THEN 'FF Malfunction' WHEN DESCR254 LIKE '%thrs%' THEN 'Threshold' WHEN DESCR254 LIKE '%thresh%' THEN 'Threshold' WHEN DESCR254 LIKE '%th%' THEN 'Threshold' WHEN DESCR254 LIKE '%stuck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%stck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%ovr%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%tover%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%O/R%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%oest%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%und%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%under%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%U/R%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%uest%' THEN 'Under Estimate' ELSE 'Other' END) SHOW 'IN Get_REBILL_METRICS PROCEDURE' DO Get_PRINT_OUTPUT !Programmed FROM PS_CI_CC WHERE CC_DT BETWEEN TO_DATE($start_dt, 'MM/DD/YYYY') AND TO_DATE($end_dt, 'MM/DD/YYYY') AND CC_CL_CD = 'BLNG' AND CC_TYPE_CD IN ('OVR/UND ADJ' , 'THRES ADJ') GROUP BY CC_CL_CD, CC_TYPE_CD, DESCR254, DESCR254, PER_ID ORDER BY PER_ID ASC, CC_CL_CD ASC, CC_TYPE_CD ASC, DESCR254 ASC, DESCR254 ASC End-SELECT !******************************** End-Procedure !Get_BILL_CORRECTIONS_INFO !Programed !******************************** The error is (SQR 4105) Placement parameter incorrect. (CASE -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 23 15:32:00 2007 Date: Fri, 23 Feb 2007 15:29:15 -0500 From: "Larry Roux" Subject: RE: [sqr-users] Using Case Statements in SQR I think your issue is that the statement begins with the paren ( You can add some statement around it: ie to_char(case...etc) &var1 but I think the convert statement is the way to go anyways....depending what RDBMS you are on... Larry Roux Information Systems Syracuse University lroux@syr.edu >>> Steven.Alexander@sanjoseca.gov 2/23/2007 3:18:56 PM >>> Will this work when you indent the line for the case statement? Won't SQR interpret the code as being outside the SQL statement? -----Original Message----- From: sqr-users-bounces+steven.alexander=sanjoseca.gov@sqrug.org [mailto:sqr-users-bounces+steven.alexander=sanjoseca.gov@sqrug.org] On Behalf Of Larry Roux Sent: Friday, February 23, 2007 9:43 AM To: kane.marc@gmail.com; sqr-users@sqrug.org Subject: Re: [sqr-users] Using Case Statements in SQR you need to add the vairable names to those types of statements...ie: Begin-SELECT COUNT(*) &MYCOUNT CC_CL_CD CC_TYPE_CD (CASE WHEN DESCR254 LIKE '%C%' THEN 'CS REQ' WHEN DESCR254 LIKE '%B%' THEN 'BILL SEG' WHEN DESCR254 LIKE '%R%' THEN 'REREAD' WHEN DESCR254 LIKE '%A%' THEN 'AMR' ELSE 'Other' END) &CASERESULTS1 (CASE WHEN DESCR254 LIKE '%FF%' THEN 'FF Malfunction' WHEN DESCR254 LIKE '%thrs%' THEN 'Threshold' WHEN DESCR254 LIKE '%thresh%' THEN 'Threshold' WHEN DESCR254 LIKE '%th%' THEN 'Threshold' WHEN DESCR254 LIKE '%stuck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%stck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%ovr%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%tover%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%O/R%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%oest%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%und%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%under%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%U/R%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%uest%' THEN 'Under Estimate' ELSE 'Other' END) &CASERESULTS2 Larry Roux Information Systems Syracuse University lroux@syr.edu >>> kane.marc@gmail.com 2/23/2007 12:39 PM >>> When debugging the following procedure via SQR Workbench, I am receiving the following error. My assumption is that in place of a CASE statement I should use an "IF-Then-Else" statement. However I am not sure of the correct syntax, any help would be appreciated. Here is the code segment: !***************************** Begin-Procedure Get_REBILL_METRICS !***************************** Begin-SELECT COUNT(*) CC_CL_CD CC_TYPE_CD (CASE WHEN DESCR254 LIKE '%C%' THEN 'CS REQ' WHEN DESCR254 LIKE '%B%' THEN 'BILL SEG' WHEN DESCR254 LIKE '%R%' THEN 'REREAD' WHEN DESCR254 LIKE '%A%' THEN 'AMR' ELSE 'Other' END) (CASE WHEN DESCR254 LIKE '%FF%' THEN 'FF Malfunction' WHEN DESCR254 LIKE '%thrs%' THEN 'Threshold' WHEN DESCR254 LIKE '%thresh%' THEN 'Threshold' WHEN DESCR254 LIKE '%th%' THEN 'Threshold' WHEN DESCR254 LIKE '%stuck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%stck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%ovr%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%tover%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%O/R%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%oest%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%und%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%under%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%U/R%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%uest%' THEN 'Under Estimate' ELSE 'Other' END) SHOW 'IN Get_REBILL_METRICS PROCEDURE' DO Get_PRINT_OUTPUT !Programmed FROM PS_CI_CC WHERE CC_DT BETWEEN TO_DATE($start_dt, 'MM/DD/YYYY') AND TO_DATE($end_dt, 'MM/DD/YYYY') AND CC_CL_CD = 'BLNG' AND CC_TYPE_CD IN ('OVR/UND ADJ' , 'THRES ADJ') GROUP BY CC_CL_CD, CC_TYPE_CD, DESCR254, DESCR254, PER_ID ORDER BY PER_ID ASC, CC_CL_CD ASC, CC_TYPE_CD ASC, DESCR254 ASC, DESCR254 ASC End-SELECT !******************************** End-Procedure !Get_BILL_CORRECTIONS_INFO !Programed !******************************** The error is (SQR 4105) Placement parameter incorrect. (CASE -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 23 15:38:28 2007 Date: Fri, 23 Feb 2007 12:35:37 -0800 (PST) From: Shashidhar Rao A Subject: Re: [sqr-users] Reg. Report Parameters or you can right click on the SQRW icon and go to properties. in the Start in check box you can provide the parameters. Larry Roux wrote: Make your shortcut include them (ie Q:\Dev\Psoft\orahrsa8\bin\sqrps\sqr\ora\BINW\sqrw.exe c:\ps8sqr\PTSQRTST.sqr -zifq:\dev\psoft\orahrsa8\sqr\pssqr.ini -ZIV -debugdebugd) or whatever Larry Roux Information Systems Syracuse University lroux@syr.edu >>> ramakrishnan.vaidyanathan@ge.com 2/23/2007 2:48:07 PM >>> Hi All, I have a question on saving the setting of Report Arguments in the SQRW window. When ever i click on SQRW.exe, the Report Arguments gets lost and every time I need to put those parameters. How do I save those parameters? Thanks In Advance Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users Shashidhar Rao Arrabeli --------------------------------- Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 23 15:43:04 2007 Date: Fri, 23 Feb 2007 12:40:52 -0800 From: "Marc Kane" Subject: Re: [sqr-users] Using Case Statements in SQR, My new code follows Larry's initial recommendation: !***************************** Begin-Procedure Get_REBILL_METRICS !***************************** LET #COUNT = 0 LET $CC_CL_CD = ' ' LET $CC_TYPE_CD = ' ' LET $REQ_REASON = ' ' LET $REBILL_TYPE = ' ' Begin-SELECT COUNT(*) &COUNT CC_CL_CD &CC_CL_CD CC_TYPE_CD &CC_TYPE_CD (CASE WHEN DESCR254 LIKE '%C%' THEN 'CS REQ' WHEN DESCR254 LIKE '%B%' THEN 'BILL SEG' WHEN DESCR254 LIKE '%R%' THEN 'REREAD' WHEN DESCR254 LIKE '%A%' THEN 'AMR' ELSE 'Other' END) &REQUEST_REASON (CASE WHEN DESCR254 LIKE '%FF%' THEN 'FF Malfunction' WHEN DESCR254 LIKE '%thrs%' THEN 'Threshold' WHEN DESCR254 LIKE '%thresh%' THEN 'Threshold' WHEN DESCR254 LIKE '%th%' THEN 'Threshold' WHEN DESCR254 LIKE '%stuck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%stck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%ovr%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%tover%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%O/R%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%oest%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%und%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%under%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%U/R%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%uest%' THEN 'Under Estimate' ELSE 'Other' END) &REBILL_TYPE SHOW 'IN Get_REBILL_METRICS PROCEDURE' DO Get_PRINT_OUTPUT !Programmed FROM PS_CI_CC WHERE CC_DT BETWEEN TO_DATE($start_dt, 'MM/DD/YYYY') AND TO_DATE($end_dt, 'MM/DD/YYYY') AND CC_CL_CD = 'BLNG' AND CC_TYPE_CD IN ('OVR/UND ADJ' , 'THRES ADJ') GROUP BY CC_CL_CD, CC_TYPE_CD, DESCR254, DESCR254, PER_ID ORDER BY PER_ID ASC, CC_CL_CD ASC, CC_TYPE_CD ASC, DESCR254 ASC, DESCR254 ASC End-SELECT !******************************** End-Procedure !Get_BILL_CORRECTIONS_INFO !Programed !******************************** -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 23 16:02:04 2007 From: "the dragon" Subject: Re: [sqr-users] Using Case Statements in SQR, Date: Fri, 23 Feb 2007 14:59:08 -0600 I do not think you can use a case statement in this manner. Case is not, to the best of my knowledge, an ANSI standard sql command, but an sqr programming language command. As such, I believe you'd have to select a column into a variable and then perform the case on that variable, ending up with a $var rather than a &var, or as another poster suggested, use the decode command. Additionally, I believe it is illegal, as another poster pointed out, to have a parent in the select column 1. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- My new code follows Larry's initial recommendation: !***************************** Begin-Procedure Get_REBILL_METRICS !***************************** LET #COUNT = 0 LET $CC_CL_CD = ' ' LET $CC_TYPE_CD = ' ' LET $REQ_REASON = ' ' LET $REBILL_TYPE = ' ' Begin-SELECT COUNT(*) &COUNT CC_CL_CD &CC_CL_CD CC_TYPE_CD &CC_TYPE_CD (CASE WHEN DESCR254 LIKE '%C%' THEN 'CS REQ' WHEN DESCR254 LIKE '%B%' THEN 'BILL SEG' WHEN DESCR254 LIKE '%R%' THEN 'REREAD' WHEN DESCR254 LIKE '%A%' THEN 'AMR' ELSE 'Other' END) &REQUEST_REASON (CASE WHEN DESCR254 LIKE '%FF%' THEN 'FF Malfunction' WHEN DESCR254 LIKE '%thrs%' THEN 'Threshold' WHEN DESCR254 LIKE '%thresh%' THEN 'Threshold' WHEN DESCR254 LIKE '%th%' THEN 'Threshold' WHEN DESCR254 LIKE '%stuck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%stck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%ovr%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%tover%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%O/R%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%oest%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%und%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%under%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%U/R%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%uest%' THEN 'Under Estimate' ELSE 'Other' END) &REBILL_TYPE SHOW 'IN Get_REBILL_METRICS PROCEDURE' DO Get_PRINT_OUTPUT !Programmed FROM PS_CI_CC WHERE CC_DT BETWEEN TO_DATE($start_dt, 'MM/DD/YYYY') AND TO_DATE($end_dt, 'MM/DD/YYYY') AND CC_CL_CD = 'BLNG' AND CC_TYPE_CD IN ('OVR/UND ADJ' , 'THRES ADJ') GROUP BY CC_CL_CD, CC_TYPE_CD, DESCR254, DESCR254, PER_ID ORDER BY PER_ID ASC, CC_CL_CD ASC, CC_TYPE_CD ASC, DESCR254 ASC, DESCR254 ASC End-SELECT !******************************** End-Procedure !Get_BILL_CORRECTIONS_INFO !Programed !******************************** -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _________________________________________________________________ Play Flexicon: the crossword game that feeds your brain. PLAY now for FREE.  http://zone.msn.com/en/flexicon/default.htm?icid=flexicon_hmtagline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 23 16:05:46 2007 Subject: RE: [sqr-users] Using Case Statements in SQR, Date: Fri, 23 Feb 2007 15:03:00 -0600 From: "Knapp, Richard" Au contraire, Senior Dragon. Case is a SQL2 command. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-b= ounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of the dragon Sent: Friday, February 23, 2007 2:59 PM To: sqr-users@sqrug.org Cc: kane.marc@gmail.com Subject: Re: [sqr-users] Using Case Statements in SQR, I do not think you can use a case statement in this manner. Case is not, t= o=20 the best of my knowledge, an ANSI standard sql command, but an sqr=20 programming language command. As such, I believe you'd have to select a=20 column into a variable and then perform the case on that variable, ending u= p=20 with a $var rather than a &var, or as another poster suggested, use the=20 decode command. Additionally, I believe it is illegal, as another poster= =20 pointed out, to have a parent in the select column 1. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your= =20 services for 40 hours a week, not purchasing your soul. Your time is the=20 only real finite asset that you have, and once used it can never be=20 recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you= =20 can determine how it will be spent. Be careful lest you let other people=20 spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, an= d=20 by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because= =20 I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- My new code follows Larry's initial recommendation: !***************************** Begin-Procedure Get_REBILL_METRICS !***************************** LET #COUNT =3D 0 LET $CC_CL_CD =3D ' ' LET $CC_TYPE_CD =3D ' ' LET $REQ_REASON =3D ' ' LET $REBILL_TYPE =3D ' ' Begin-SELECT COUNT(*) &COUNT CC_CL_CD &CC_CL_CD CC_TYPE_CD &CC_TYPE_CD (CASE WHEN DESCR254 LIKE '%C%' THEN 'CS REQ' WHEN DESCR254 LIKE '%B%' THEN 'BILL SEG' WHEN DESCR254 LIKE '%R%' THEN 'REREAD' WHEN DESCR254 LIKE '%A%' THEN 'AMR' ELSE 'Other' END) &REQUEST_REASON (CASE WHEN DESCR254 LIKE '%FF%' THEN 'FF Malfunction' WHEN DESCR254 LIKE '%thrs%' THEN 'Threshold' WHEN DESCR254 LIKE '%thresh%' THEN 'Threshold' WHEN DESCR254 LIKE '%th%' THEN 'Threshold' WHEN DESCR254 LIKE '%stuck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%stck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%ovr%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%tover%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%O/R%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%oest%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%und%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%under%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%U/R%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%uest%' THEN 'Under Estimate' ELSE 'Other' END) &REBILL_TYPE SHOW 'IN Get_REBILL_METRICS PROCEDURE' DO Get_PRINT_OUTPUT !Programmed FROM PS_CI_CC WHERE CC_DT BETWEEN TO_DATE($start_dt, 'MM/DD/YYYY') AND TO_DATE($end_dt, 'MM/DD/YYYY') AND CC_CL_CD =3D 'BLNG' AND CC_TYPE_CD IN ('OVR/UND ADJ' , 'THRES ADJ') GROUP BY CC_CL_CD, CC_TYPE_CD, DESCR254, DESCR254, PER_ID ORDER BY PER_ID ASC, CC_CL_CD ASC, CC_TYPE_CD ASC, DESCR254 ASC, DESCR254 ASC End-SELECT !******************************** End-Procedure !Get_BILL_CORRECTIONS_INFO !Programed !******************************** -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _________________________________________________________________ Play Flexicon: the crossword game that feeds your brain. PLAY now for FREE.= =A0=20 http://zone.msn.com/en/flexicon/default.htm?icid=3Dflexicon_hmtagline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 23 17:14:33 2007 From: "the dragon" Subject: RE: [sqr-users] Using Case Statements in SQR, Date: Fri, 23 Feb 2007 16:11:54 -0600 really? what's sql2? I looked in a v9 Oracle book and couldn't find it. peace, clark PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- Au contraire, Senior Dragon. Case is a SQL2 command. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- I do not think you can use a case statement in this manner. Case is not, to the best of my knowledge, an ANSI standard sql command, but an sqr programming language command. As such, I believe you'd have to select a column into a variable and then perform the case on that variable, ending up with a $var rather than a &var, or as another poster suggested, use the decode command. Additionally, I believe it is illegal, as another poster pointed out, to have a parent in the select column 1. peace, clark 'the dragon' willis ----Original Message Follows---- My new code follows Larry's initial recommendation: !***************************** Begin-Procedure Get_REBILL_METRICS !***************************** LET #COUNT = 0 LET $CC_CL_CD = ' ' LET $CC_TYPE_CD = ' ' LET $REQ_REASON = ' ' LET $REBILL_TYPE = ' ' Begin-SELECT COUNT(*) &COUNT CC_CL_CD &CC_CL_CD CC_TYPE_CD &CC_TYPE_CD (CASE WHEN DESCR254 LIKE '%C%' THEN 'CS REQ' WHEN DESCR254 LIKE '%B%' THEN 'BILL SEG' WHEN DESCR254 LIKE '%R%' THEN 'REREAD' WHEN DESCR254 LIKE '%A%' THEN 'AMR' ELSE 'Other' END) &REQUEST_REASON (CASE WHEN DESCR254 LIKE '%FF%' THEN 'FF Malfunction' WHEN DESCR254 LIKE '%thrs%' THEN 'Threshold' WHEN DESCR254 LIKE '%thresh%' THEN 'Threshold' WHEN DESCR254 LIKE '%th%' THEN 'Threshold' WHEN DESCR254 LIKE '%stuck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%stck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%ovr%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%tover%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%O/R%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%oest%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%und%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%under%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%U/R%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%uest%' THEN 'Under Estimate' ELSE 'Other' END) &REBILL_TYPE SHOW 'IN Get_REBILL_METRICS PROCEDURE' DO Get_PRINT_OUTPUT !Programmed FROM PS_CI_CC WHERE CC_DT BETWEEN TO_DATE($start_dt, 'MM/DD/YYYY') AND TO_DATE($end_dt, 'MM/DD/YYYY') AND CC_CL_CD = 'BLNG' AND CC_TYPE_CD IN ('OVR/UND ADJ' , 'THRES ADJ') GROUP BY CC_CL_CD, CC_TYPE_CD, DESCR254, DESCR254, PER_ID ORDER BY PER_ID ASC, CC_CL_CD ASC, CC_TYPE_CD ASC, DESCR254 ASC, DESCR254 ASC End-SELECT !******************************** End-Procedure !Get_BILL_CORRECTIONS_INFO !Programed !******************************** -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _________________________________________________________________ Play Flexicon: the crossword game that feeds your brain. PLAY now for FREE.  http://zone.msn.com/en/flexicon/default.htm?icid=flexicon_hmtagline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Refi Now: Rates near 39yr lows! $430,000 Mortgage for $1,399/mo - Calculate new payment http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-17727&moid=7581 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 23 17:34:56 2007 Subject: RE: [sqr-users] Using Case Statements in SQR, Date: Fri, 23 Feb 2007 16:32:25 -0600 From: "Knapp, Richard" Many differences in SQL dialects have been eliminated by the greater detail= and precision of the ANSI-1992 SQL2 standard (the successor to ANSI-1989 S= QL1).=20 Quote from: http://www2.yk.psu.edu/~lxn/IST_210/sql1_versus_sql2.html Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-b= ounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of the dragon Sent: Friday, February 23, 2007 4:12 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Using Case Statements in SQR, really? what's sql2? I looked in a v9 Oracle book and couldn't find it. peace, clark PSA: Salary <> Slavery. If you earn a salary, your employer is renting your= =20 services for 40 hours a week, not purchasing your soul. Your time is the=20 only real finite asset that you have, and once used it can never be=20 recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you= =20 can determine how it will be spent. Be careful lest you let other people=20 spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, an= d=20 by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because= =20 I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- Au contraire, Senior Dragon. Case is a SQL2 command. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- I do not think you can use a case statement in this manner. Case is not, to the best of my knowledge, an ANSI standard sql command, but an sqr programming language command. As such, I believe you'd have to select a column into a variable and then perform the case on that variable, ending up with a $var rather than a &var, or as another poster suggested, use the decode command. Additionally, I believe it is illegal, as another poster pointed out, to have a parent in the select column 1. peace, clark 'the dragon' willis ----Original Message Follows---- My new code follows Larry's initial recommendation: !***************************** Begin-Procedure Get_REBILL_METRICS !***************************** LET #COUNT =3D 0 LET $CC_CL_CD =3D ' ' LET $CC_TYPE_CD =3D ' ' LET $REQ_REASON =3D ' ' LET $REBILL_TYPE =3D ' ' Begin-SELECT COUNT(*) &COUNT CC_CL_CD &CC_CL_CD CC_TYPE_CD &CC_TYPE_CD (CASE WHEN DESCR254 LIKE '%C%' THEN 'CS REQ' WHEN DESCR254 LIKE '%B%' THEN 'BILL SEG' WHEN DESCR254 LIKE '%R%' THEN 'REREAD' WHEN DESCR254 LIKE '%A%' THEN 'AMR' ELSE 'Other' END) &REQUEST_REASON (CASE WHEN DESCR254 LIKE '%FF%' THEN 'FF Malfunction' WHEN DESCR254 LIKE '%thrs%' THEN 'Threshold' WHEN DESCR254 LIKE '%thresh%' THEN 'Threshold' WHEN DESCR254 LIKE '%th%' THEN 'Threshold' WHEN DESCR254 LIKE '%stuck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%stck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%ovr%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%tover%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%O/R%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%oest%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%und%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%under%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%U/R%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%uest%' THEN 'Under Estimate' ELSE 'Other' END) &REBILL_TYPE SHOW 'IN Get_REBILL_METRICS PROCEDURE' DO Get_PRINT_OUTPUT !Programmed FROM PS_CI_CC WHERE CC_DT BETWEEN TO_DATE($start_dt, 'MM/DD/YYYY') AND TO_DATE($end_dt, 'MM/DD/YYYY') AND CC_CL_CD =3D 'BLNG' AND CC_TYPE_CD IN ('OVR/UND ADJ' , 'THRES ADJ') GROUP BY CC_CL_CD, CC_TYPE_CD, DESCR254, DESCR254, PER_ID ORDER BY PER_ID ASC, CC_CL_CD ASC, CC_TYPE_CD ASC, DESCR254 ASC, DESCR254 ASC End-SELECT !******************************** End-Procedure !Get_BILL_CORRECTIONS_INFO !Programed !******************************** -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _________________________________________________________________ Play Flexicon: the crossword game that feeds your brain. PLAY now for FREE.= =A0 http://zone.msn.com/en/flexicon/default.htm?icid=3Dflexicon_hmtagline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Refi Now: Rates near 39yr lows! $430,000 Mortgage for $1,399/mo - Calculat= e=20 new payment=20 http://www.lowermybills.com/lre/index.jsp?sourceid=3Dlmb-9632-17727&moid=3D= 7581 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 23 17:48:37 2007 Subject: RE: [sqr-users] Using Case Statements in SQR Date: Fri, 23 Feb 2007 16:46:15 -0600 From: "Thompson, Betty P" Here's an example from an sqr in production: Begin-SELECT TO_CHAR(SYSDATE,'YYYY-MM-DD HH24:MI:SSSSS') &RUN_START_DATE_TIME DBNAME=20=20 USER RC.TEST_ID CASE WHEN RC.SRCH_MTCH_PST_OPTN IN ('B','P') THEN 'Y' ELSE 'N' END &POSTING Let $Run_Start_Date_Time =3D &RUN_START_DATE_TIME=20 Let $DBName =3D &DBNAME Let $User =3D &USER FROM PSDBOWNER DB , PS_SAD_TEST_POST RC WHERE RC.OPRID =3D $Prcs_Oprid=20=20=20=20=20=20 AND RC.RUN_CNTL_ID =3D $Prcs_Run_Cntl_Id End-SELECT =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Are you on Oracle 9i? Try this: ---------- Begin-SELECT COUNT(*) &Name_of_counter !--- Give it names for these fields CC_CL_CD CC_TYPE_CD CASE WHEN DESCR254 LIKE '%C%' THEN 'CS REQ' WHEN DESCR254 LIKE '%B%' THEN 'BILL SEG' WHEN DESCR254 LIKE '%R%' THEN 'REREAD' WHEN DESCR254 LIKE '%A%' THEN 'AMR'=20 ELSE 'Other'=20 END &Name_for_case1 !--- Give it names for these fields=20=20 CASE WHEN DESCR254 LIKE '%FF%' THEN 'FF Malfunction' WHEN DESCR254 LIKE '%thrs%' THEN 'Threshold' WHEN DESCR254 LIKE '%thresh%' THEN 'Threshold' WHEN DESCR254 LIKE '%th%' THEN 'Threshold' WHEN DESCR254 LIKE '%stuck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%stck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%ovr%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%tover%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%O/R%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%oest%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%und%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%under%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%U/R%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%uest%' THEN 'Under Estimate'=20 ELSE 'Other'=20 END &Name_for_case2 !--- Give it names for these fields SHOW 'IN Get_REBILL_METRICS PROCEDURE' DO Get_PRINT_OUTPUT !Programmed FROM PS_CI_CC WHERE=20=20 CC_DT BETWEEN TO_DATE($start_dt, 'MM/DD/YYYY') AND TO_DATE($end_dt,'MM/DD/YYYY') AND CC_CL_CD =3D 'BLNG' AND CC_TYPE_CD IN ('OVR/UND ADJ' , 'THRES ADJ')=20 GROUP BY=20 CC_CL_CD ,CC_TYPE_CD ,CASE WHEN DESCR254 LIKE '%C%' THEN 'CS REQ' WHEN DESCR254 LIKE '%B%' THEN 'BILL SEG' WHEN DESCR254 LIKE '%R%' THEN 'REREAD' WHEN DESCR254 LIKE '%A%' THEN 'AMR'=20 ELSE 'Other'=20 END=20=20=20=20=20=20=20 ,CASE WHEN DESCR254 LIKE '%FF%' THEN 'FF Malfunction' WHEN DESCR254 LIKE '%thrs%' THEN 'Threshold' WHEN DESCR254 LIKE '%thresh%' THEN 'Threshold' WHEN DESCR254 LIKE '%th%' THEN 'Threshold' WHEN DESCR254 LIKE '%stuck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%stck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%ovr%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%tover%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%O/R%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%oest%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%und%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%under%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%U/R%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%uest%' THEN 'Under Estimate'=20 ELSE 'Other'=20 END=20=20=20=20=20=20 !----- ORDER BY .... End-SELECT =20 -----Original Message----- From: sqr-users-bounces+thompsob=3Duww.edu@sqrug.org [mailto:sqr-users-bounces+thompsob=3Duww.edu@sqrug.org] On Behalf Of Marc Kane Sent: Friday, February 23, 2007 11:39 AM To: sqr-users@sqrug.org Subject: [sqr-users] Using Case Statements in SQR When debugging the following procedure via SQR Workbench, I am receiving the following error. My assumption is that in place of a CASE statement I should use an "IF-Then-Else" statement. However I am not sure of the correct syntax, any help would be appreciated. Here is the code segment: !***************************** Begin-Procedure Get_REBILL_METRICS !***************************** Begin-SELECT COUNT(*) CC_CL_CD CC_TYPE_CD (CASE WHEN DESCR254 LIKE '%C%' THEN 'CS REQ' WHEN DESCR254 LIKE '%B%' THEN 'BILL SEG' WHEN DESCR254 LIKE '%R%' THEN 'REREAD' WHEN DESCR254 LIKE '%A%' THEN 'AMR' ELSE 'Other' END) (CASE WHEN DESCR254 LIKE '%FF%' THEN 'FF Malfunction' WHEN DESCR254 LIKE '%thrs%' THEN 'Threshold' WHEN DESCR254 LIKE '%thresh%' THEN 'Threshold' WHEN DESCR254 LIKE '%th%' THEN 'Threshold' WHEN DESCR254 LIKE '%stuck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%stck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%ovr%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%tover%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%O/R%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%oest%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%und%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%under%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%U/R%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%uest%' THEN 'Under Estimate' ELSE 'Other' END) SHOW 'IN Get_REBILL_METRICS PROCEDURE' DO Get_PRINT_OUTPUT !Programmed FROM PS_CI_CC WHERE CC_DT BETWEEN TO_DATE($start_dt, 'MM/DD/YYYY') AND TO_DATE($end_dt, 'MM/DD/YYYY') AND CC_CL_CD =3D 'BLNG' AND CC_TYPE_CD IN ('OVR/UND ADJ' , 'THRES ADJ') GROUP BY CC_CL_CD, CC_TYPE_CD, DESCR254, DESCR254, PER_ID ORDER BY PER_ID ASC, CC_CL_CD ASC, CC_TYPE_CD ASC, DESCR254 ASC, DESCR254 ASC End-SELECT !******************************** End-Procedure !Get_BILL_CORRECTIONS_INFO !Programed !******************************** The error is (SQR 4105) Placement parameter incorrect. (CASE -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Feb 23 18:26:38 2007 From: "Antonio Guiza" Subject: RE: [sqr-users] Using Case Statements in SQR, Date: Fri, 23 Feb 2007 15:24:08 -0800 Just add DESCR254 field to the selected items right before the case block. -----Original Message----- From: sqr-users-bounces+aguiza=pcc.edu@sqrug.org [mailto:sqr-users-bounces+aguiza=pcc.edu@sqrug.org] On Behalf Of Marc Kane Sent: Friday, February 23, 2007 12:41 PM To: sqr-users@sqrug.org Subject: Re: [sqr-users] Using Case Statements in SQR, My new code follows Larry's initial recommendation: !***************************** Begin-Procedure Get_REBILL_METRICS !***************************** LET #COUNT = 0 LET $CC_CL_CD = ' ' LET $CC_TYPE_CD = ' ' LET $REQ_REASON = ' ' LET $REBILL_TYPE = ' ' Begin-SELECT COUNT(*) &COUNT CC_CL_CD &CC_CL_CD CC_TYPE_CD &CC_TYPE_CD (CASE WHEN DESCR254 LIKE '%C%' THEN 'CS REQ' WHEN DESCR254 LIKE '%B%' THEN 'BILL SEG' WHEN DESCR254 LIKE '%R%' THEN 'REREAD' WHEN DESCR254 LIKE '%A%' THEN 'AMR' ELSE 'Other' END) &REQUEST_REASON (CASE WHEN DESCR254 LIKE '%FF%' THEN 'FF Malfunction' WHEN DESCR254 LIKE '%thrs%' THEN 'Threshold' WHEN DESCR254 LIKE '%thresh%' THEN 'Threshold' WHEN DESCR254 LIKE '%th%' THEN 'Threshold' WHEN DESCR254 LIKE '%stuck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%stck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%ovr%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%tover%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%O/R%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%oest%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%und%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%under%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%U/R%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%uest%' THEN 'Under Estimate' ELSE 'Other' END) &REBILL_TYPE SHOW 'IN Get_REBILL_METRICS PROCEDURE' DO Get_PRINT_OUTPUT !Programmed FROM PS_CI_CC WHERE CC_DT BETWEEN TO_DATE($start_dt, 'MM/DD/YYYY') AND TO_DATE($end_dt, 'MM/DD/YYYY') AND CC_CL_CD = 'BLNG' AND CC_TYPE_CD IN ('OVR/UND ADJ' , 'THRES ADJ') GROUP BY CC_CL_CD, CC_TYPE_CD, DESCR254, DESCR254, PER_ID ORDER BY PER_ID ASC, CC_CL_CD ASC, CC_TYPE_CD ASC, DESCR254 ASC, DESCR254 ASC End-SELECT !******************************** End-Procedure !Get_BILL_CORRECTIONS_INFO !Programed !******************************** -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 26 09:33:41 2007 Date: Mon, 26 Feb 2007 09:30:38 -0500 From: "Barilleaux, Rebecca" Subject: [sqr-users] RE: sqr-users Digest, Vol 36, Issue 16 I can confirm that CASE is a valid sql statement, and that you can include parenthesis around the CASE statement, because I use both successfully. I'm using Hyperion SQR Server 8.3.1, running against Sybase 12.5. The following example works just fine for me: begin-select isnull(ltrim(rtrim(STAT_BUSINESS_DIV)),'Missing Information') (+1,1) isnull(ltrim(rtrim(STAT_HSA)),'Missing Information') (,10) isnull(ltrim(rtrim(ALL_FSU_MCTR_DESC)),REPT.MB_MCTR_DESC) (,20) GRGR_ID (,60) GRGR_NAME (,70) (Case HSA_LKUP_DESCRIPTION When 'Cincinnati' then 'Ohio' When 'Cleveland' then 'Ohio' When 'Columbus' then 'Ohio' When 'Dayton' then 'Ohio' When 'Evansville' then 'Indiana' When 'Ft. Wayne' then 'Indiana' When 'Indianapolis' then 'Indiana' When 'Northwest Indiana' then 'Indiana' When 'Lexington' then 'Kentucky' When 'Louisville' then 'Kentucky' When 'Western Kentucky' then 'Kentucky' When 'Missouri Southeast' then 'Missouri' When 'Missouri Central' then 'Missouri' When 'Missouri Southwest' then 'Missouri' When 'North East Wisconsin' then 'Wisconsin' When 'North West Wisconsin' then 'Wisconsin' When 'South East Wisconsin' then 'Wisconsin' When 'South West Wisconsin' then 'Wisconsin' Else 'Unspecified State' End) (,120) FROM lkpenv02..LVT_3605_REPT_DESCR WHERE GRGR_ID < '00000200' end-select However, at least in Sybase, the CASE statement doesn't support LIKE -- you must match on literal values. Also, I think you've got your CASE syntax wrong. You need to specify the field you are evaluating just once, immediately after the CASE, and then list the possible values on each WHEN.=20=20 Sybase 12.5 Syntax for CASE: CASE value-expression ... WHEN [ constant | NULL ] THEN statement-list ... ... [ WHEN [ constant | NULL ] THEN statement-list ] ... ... ELSE statement-list ... END CASE Oracle 9i Syntax for CASE: CASE expression WHEN condition_1 THEN result_1 WHEN condition_2 THEN result_2 ... WHEN condition_n THEN result_n ELSE result END Thanks, Rebecca >>> kane.marc@gmail.com 2/23/2007 12:39 PM >>> When debugging the following procedure via SQR Workbench, I am receiving the following error. My assumption is that in place of a CASE statement I should use an "IF-Then-Else" statement. However I am not sure of the correct syntax, any help would be appreciated. Here is the code segment: !***************************** Begin-Procedure Get_REBILL_METRICS !***************************** Begin-SELECT COUNT(*) CC_CL_CD CC_TYPE_CD (CASE WHEN DESCR254 LIKE '%C%' THEN 'CS REQ' WHEN DESCR254 LIKE '%B%' THEN 'BILL SEG' WHEN DESCR254 LIKE '%R%' THEN 'REREAD' WHEN DESCR254 LIKE '%A%' THEN 'AMR' ELSE 'Other' END) (CASE WHEN DESCR254 LIKE '%FF%' THEN 'FF Malfunction' WHEN DESCR254 LIKE '%thrs%' THEN 'Threshold' WHEN DESCR254 LIKE '%thresh%' THEN 'Threshold' WHEN DESCR254 LIKE '%th%' THEN 'Threshold' WHEN DESCR254 LIKE '%stuck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%stck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%ovr%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%tover%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%O/R%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%oest%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%und%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%under%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%U/R%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%uest%' THEN 'Under Estimate' ELSE 'Other' END) SHOW 'IN Get_REBILL_METRICS PROCEDURE' DO Get_PRINT_OUTPUT !Programmed FROM PS_CI_CC WHERE CC_DT BETWEEN TO_DATE($start_dt, 'MM/DD/YYYY') AND TO_DATE($end_dt, 'MM/DD/YYYY') AND CC_CL_CD =3D 'BLNG' AND CC_TYPE_CD IN ('OVR/UND ADJ' , 'THRES ADJ') GROUP BY CC_CL_CD, CC_TYPE_CD, DESCR254, DESCR254, PER_ID ORDER BY PER_ID ASC, CC_CL_CD ASC, CC_TYPE_CD ASC, DESCR254 ASC, DESCR254 ASC End-SELECT !******************************** End-Procedure !Get_BILL_CORRECTIONS_INFO !Programed !******************************** The error is (SQR 4105) Placement parameter incorrect. (CASE --=20 Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users CONFIDENTIALITY NOTICE: This e-mail message, including any attachments,=20 is for the sole use of the intended recipient(s) and may contain confidenti= al and privileged information or otherwise protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 26 09:38:44 2007 Date: Mon, 26 Feb 2007 09:35:36 -0500 From: "Larry Roux" Subject: [sqr-users] RE: sqr-users Digest, Vol 36, Issue 16 Interesting! The difference here is that you have the print offsets included in the select. So, perhaps it knows the case is the next statement rather than print offsets. I wonder if this would work if you removed those - I think SQR would then thing the (Case statement is the print offsers for GRGR_NAME Larry Roux Information Systems Syracuse University lroux@syr.edu >>> Rebecca.Barilleaux@anthem.com 2/26/2007 9:30 AM >>> I can confirm that CASE is a valid sql statement, and that you can include parenthesis around the CASE statement, because I use both successfully. I'm using Hyperion SQR Server 8.3.1, running against Sybase 12.5. The following example works just fine for me: begin-select isnull(ltrim(rtrim(STAT_BUSINESS_DIV)),'Missing Information') (+1,1) isnull(ltrim(rtrim(STAT_HSA)),'Missing Information') (,10) isnull(ltrim(rtrim(ALL_FSU_MCTR_DESC)),REPT.MB_MCTR_DESC) (,20) GRGR_ID (,60) GRGR_NAME (,70) (Case HSA_LKUP_DESCRIPTION When 'Cincinnati' then 'Ohio' When 'Cleveland' then 'Ohio' When 'Columbus' then 'Ohio' When 'Dayton' then 'Ohio' When 'Evansville' then 'Indiana' When 'Ft. Wayne' then 'Indiana' When 'Indianapolis' then 'Indiana' When 'Northwest Indiana' then 'Indiana' When 'Lexington' then 'Kentucky' When 'Louisville' then 'Kentucky' When 'Western Kentucky' then 'Kentucky' When 'Missouri Southeast' then 'Missouri' When 'Missouri Central' then 'Missouri' When 'Missouri Southwest' then 'Missouri' When 'North East Wisconsin' then 'Wisconsin' When 'North West Wisconsin' then 'Wisconsin' When 'South East Wisconsin' then 'Wisconsin' When 'South West Wisconsin' then 'Wisconsin' Else 'Unspecified State' End) (,120) FROM lkpenv02..LVT_3605_REPT_DESCR WHERE GRGR_ID < '00000200' end-select However, at least in Sybase, the CASE statement doesn't support LIKE -- you must match on literal values. Also, I think you've got your CASE syntax wrong. You need to specify the field you are evaluating just once, immediately after the CASE, and then list the possible values on each WHEN. Sybase 12.5 Syntax for CASE: CASE value-expression ... WHEN [ constant | NULL ] THEN statement-list ... ... [ WHEN [ constant | NULL ] THEN statement-list ] ... ... ELSE statement-list ... END CASE Oracle 9i Syntax for CASE: CASE expression WHEN condition_1 THEN result_1 WHEN condition_2 THEN result_2 ... WHEN condition_n THEN result_n ELSE result END Thanks, Rebecca >>> kane.marc@gmail.com 2/23/2007 12:39 PM >>> When debugging the following procedure via SQR Workbench, I am receiving the following error. My assumption is that in place of a CASE statement I should use an "IF-Then-Else" statement. However I am not sure of the correct syntax, any help would be appreciated. Here is the code segment: !***************************** Begin-Procedure Get_REBILL_METRICS !***************************** Begin-SELECT COUNT(*) CC_CL_CD CC_TYPE_CD (CASE WHEN DESCR254 LIKE '%C%' THEN 'CS REQ' WHEN DESCR254 LIKE '%B%' THEN 'BILL SEG' WHEN DESCR254 LIKE '%R%' THEN 'REREAD' WHEN DESCR254 LIKE '%A%' THEN 'AMR' ELSE 'Other' END) (CASE WHEN DESCR254 LIKE '%FF%' THEN 'FF Malfunction' WHEN DESCR254 LIKE '%thrs%' THEN 'Threshold' WHEN DESCR254 LIKE '%thresh%' THEN 'Threshold' WHEN DESCR254 LIKE '%th%' THEN 'Threshold' WHEN DESCR254 LIKE '%stuck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%stck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%ovr%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%tover%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%O/R%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%oest%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%und%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%under%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%U/R%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%uest%' THEN 'Under Estimate' ELSE 'Other' END) SHOW 'IN Get_REBILL_METRICS PROCEDURE' DO Get_PRINT_OUTPUT !Programmed FROM PS_CI_CC WHERE CC_DT BETWEEN TO_DATE($start_dt, 'MM/DD/YYYY') AND TO_DATE($end_dt, 'MM/DD/YYYY') AND CC_CL_CD = 'BLNG' AND CC_TYPE_CD IN ('OVR/UND ADJ' , 'THRES ADJ') GROUP BY CC_CL_CD, CC_TYPE_CD, DESCR254, DESCR254, PER_ID ORDER BY PER_ID ASC, CC_CL_CD ASC, CC_TYPE_CD ASC, DESCR254 ASC, DESCR254 ASC End-SELECT !******************************** End-Procedure !Get_BILL_CORRECTIONS_INFO !Programed !******************************** The error is (SQR 4105) Placement parameter incorrect. (CASE -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information or otherwise protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Feb 26 23:42:41 2007 Date: Tue, 27 Feb 2007 10:04:26 +0530 From: Sanjay Sambhe Subject: [sqr-users] Process group Hi, I know that process group can be attached to a process like while defining it in processes..But how that process group is used as security purpose for a process? Thanks and Regards, ss _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Feb 27 06:41:43 2007 From: "the dragon" Subject: RE: [sqr-users] Process group Date: Tue, 27 Feb 2007 05:38:25 -0600 peoplebooks... peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- Hi, I know that process group can be attached to a process like while defining it in processes..But how that process group is used as security purpose for a process? Thanks and Regards, ss _________________________________________________________________ Don’t miss your chance to WIN 10 hours of private jet travel from Microsoft® Office Live http://clk.atdmt.com/MRT/go/mcrssaub0540002499mrt/direct/01/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Feb 27 09:19:25 2007 Date: Tue, 27 Feb 2007 06:16:33 -0800 (PST) From: Arun Kumar Subject: Re: [sqr-users] Process group This is pure people soft question. Under operator class security panels/tabs, There is a panel/tab for selecti= ng/deselecting the process group to the class. HTH... ----- Original Message ---- From: Sanjay Sambhe To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Sent: Monday, February 26, 2007 11:34:26 PM Subject: [sqr-users] Process group Hi, =20 I know that process group can be attached to a process like while defining it in processes..But how that process group is used as security purpose for a process? =20 Thanks and Regards, ss =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20 ___________________________________________________________________________= _________ No need to miss a message. Get email on-the-go=20 with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Feb 27 09:24:15 2007 Date: Tue, 27 Feb 2007 15:22:03 +0100 From: pdaalder@2coolboarders.com Subject: Re: [sqr-users] Process group group is a role in the oprdefn. Yes it defn a peoplesoft question, but what it does it basically restricts access to a job/process depending on the roles of the user logged on. On 2/27/07, Arun Kumar wrote: > This is pure people soft question. > > Under operator class security panels/tabs, There is a panel/tab for > selecting/deselecting the process group to the class. > > HTH... > > ----- Original Message ---- > From: Sanjay Sambhe > To: This list is for discussion about the SQR database reporting language > from Hyperion Solutions. > Sent: Monday, February 26, 2007 11:34:26 PM > Subject: [sqr-users] Process group > > Hi, > > I know that process group can be attached to a process like while defining > it in processes..But how that process group is used as security purpose for > a process? > > Thanks and Regards, > ss > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > ____________________________________________________________________________________ > No need to miss a message. Get email on-the-go > with Yahoo! Mail for Mobile. Get started. > http://mobile.yahoo.com/mail > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Feb 27 10:21:27 2007 Date: Tue, 27 Feb 2007 10:02:40 -0500 From: "Barilleaux, Rebecca" Subject: [sqr-users] RE: sqr-users Digest, Vol 36, Issue 17 Larry, Just out of curiousity, I tested it out this morning -- even without the print offsets, the program still works fine: begin-select isnull(ltrim(rtrim(REPT.STAT_BUSINESS_DIV)),'Missing Information') &BD isnull(ltrim(rtrim(REPT.STAT_HSA)),'Missing Information') &HSA_ID isnull(ltrim(rtrim(ALL_FSU_MCTR_DESC)),REPT.MB_MCTR_DESC) &FSU REPT.GRGR_ID &GROUP_ID REPT.GRGR_NAME &GROUP_NAME (Case HSA_LKUP_DESCRIPTION When 'Cincinnati' then 'Ohio' When 'Cleveland' then 'Ohio' When 'Columbus' then 'Ohio' When 'Dayton' then 'Ohio' When 'Evansville' then 'Indiana' When 'Ft. Wayne' then 'Indiana' When 'Indianapolis' then 'Indiana' When 'Northwest Indiana' then 'Indiana' When 'Lexington' then 'Kentucky' When 'Louisville' then 'Kentucky' When 'Western Kentucky' then 'Kentucky' When 'Missouri Southeast' then 'Missouri' When 'Missouri Central' then 'Missouri' When 'Missouri Southwest' then 'Missouri' When 'North East Wisconsin' then 'Wisconsin' When 'North West Wisconsin' then 'Wisconsin' When 'South East Wisconsin' then 'Wisconsin' When 'South West Wisconsin' then 'Wisconsin' Else 'Unspecified State' End) &HSA_DESC print &BD (+1,1) print &HSA_ID (,10) print &FSU (,20) print &GROUP_ID (,60) print &GROUP_NAME (,70) print &HSA_DESC (,120) FROM lkpenv02..LVT_3605_REPT_DESCR REPT WHERE REPT.GRGR_ID < '00000200' end-select Thanks, Rebecca -----Original Message----- Date: Mon, 26 Feb 2007 09:35:36 -0500 From: "Larry Roux" Subject: [sqr-users] RE: sqr-users Digest, Vol 36, Issue 16 To: Message-ID: Content-Type: text/plain; charset=3DUS-ASCII Interesting! The difference here is that you have the print offsets included in the select. So, perhaps it knows the case is the next statement rather than print offsets. I wonder if this would work if you removed those - I think SQR would then thing the (Case statement is the print offsers for GRGR_NAME Larry Roux Information Systems Syracuse University lroux@syr.edu >>> Rebecca.Barilleaux@anthem.com 2/26/2007 9:30 AM >>> I can confirm that CASE is a valid sql statement, and that you can include parenthesis around the CASE statement, because I use both successfully. I'm using Hyperion SQR Server 8.3.1, running against Sybase 12.5. The following example works just fine for me: begin-select isnull(ltrim(rtrim(STAT_BUSINESS_DIV)),'Missing Information') (+1,1) isnull(ltrim(rtrim(STAT_HSA)),'Missing Information') (,10) isnull(ltrim(rtrim(ALL_FSU_MCTR_DESC)),REPT.MB_MCTR_DESC) (,20) GRGR_ID (,60) GRGR_NAME (,70) (Case HSA_LKUP_DESCRIPTION When 'Cincinnati' then 'Ohio' When 'Cleveland' then 'Ohio' When 'Columbus' then 'Ohio' When 'Dayton' then 'Ohio' When 'Evansville' then 'Indiana' When 'Ft. Wayne' then 'Indiana' When 'Indianapolis' then 'Indiana' When 'Northwest Indiana' then 'Indiana' When 'Lexington' then 'Kentucky' When 'Louisville' then 'Kentucky' When 'Western Kentucky' then 'Kentucky' When 'Missouri Southeast' then 'Missouri' When 'Missouri Central' then 'Missouri' When 'Missouri Southwest' then 'Missouri' When 'North East Wisconsin' then 'Wisconsin' When 'North West Wisconsin' then 'Wisconsin' When 'South East Wisconsin' then 'Wisconsin' When 'South West Wisconsin' then 'Wisconsin' Else 'Unspecified State' End) (,120) FROM lkpenv02..LVT_3605_REPT_DESCR WHERE GRGR_ID < '00000200' end-select However, at least in Sybase, the CASE statement doesn't support LIKE -- you must match on literal values. Also, I think you've got your CASE syntax wrong. You need to specify the field you are evaluating just once, immediately after the CASE, and then list the possible values on each WHEN.=20=20 Sybase 12.5 Syntax for CASE: CASE value-expression ... WHEN [ constant | NULL ] THEN statement-list ... ... [ WHEN [ constant | NULL ] THEN statement-list ] ... ... ELSE statement-list ... END CASE Oracle 9i Syntax for CASE: CASE expression WHEN condition_1 THEN result_1 WHEN condition_2 THEN result_2 ... WHEN condition_n THEN result_n ELSE result END Thanks, Rebecca >>> kane.marc@gmail.com 2/23/2007 12:39 PM >>> When debugging the following procedure via SQR Workbench, I am receiving the following error. My assumption is that in place of a CASE statement I should use an "IF-Then-Else" statement. However I am not sure of the correct syntax, any help would be appreciated. Here is the code segment: !***************************** Begin-Procedure Get_REBILL_METRICS !***************************** Begin-SELECT COUNT(*) CC_CL_CD CC_TYPE_CD (CASE WHEN DESCR254 LIKE '%C%' THEN 'CS REQ' WHEN DESCR254 LIKE '%B%' THEN 'BILL SEG' WHEN DESCR254 LIKE '%R%' THEN 'REREAD' WHEN DESCR254 LIKE '%A%' THEN 'AMR' ELSE 'Other' END) (CASE WHEN DESCR254 LIKE '%FF%' THEN 'FF Malfunction' WHEN DESCR254 LIKE '%thrs%' THEN 'Threshold' WHEN DESCR254 LIKE '%thresh%' THEN 'Threshold' WHEN DESCR254 LIKE '%th%' THEN 'Threshold' WHEN DESCR254 LIKE '%stuck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%stck%' THEN 'Meter Stuck' WHEN DESCR254 LIKE '%ovr%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%tover%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%O/R%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%oest%' THEN 'Over Estimate' WHEN DESCR254 LIKE '%und%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%under%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%U/R%' THEN 'Under Estimate' WHEN DESCR254 LIKE '%uest%' THEN 'Under Estimate' ELSE 'Other' END) SHOW 'IN Get_REBILL_METRICS PROCEDURE' DO Get_PRINT_OUTPUT !Programmed FROM PS_CI_CC WHERE CC_DT BETWEEN TO_DATE($start_dt, 'MM/DD/YYYY') AND TO_DATE($end_dt, 'MM/DD/YYYY') AND CC_CL_CD =3D 'BLNG' AND CC_TYPE_CD IN ('OVR/UND ADJ' , 'THRES ADJ') GROUP BY CC_CL_CD, CC_TYPE_CD, DESCR254, DESCR254, PER_ID ORDER BY PER_ID ASC, CC_CL_CD ASC, CC_TYPE_CD ASC, DESCR254 ASC, DESCR254 ASC End-SELECT !******************************** End-Procedure !Get_BILL_CORRECTIONS_INFO !Programed !******************************** The error is (SQR 4105) Placement parameter incorrect. (CASE --=20 Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users=20 CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information or otherwise protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users CONFIDENTIALITY NOTICE: This e-mail message, including any attachments,=20 is for the sole use of the intended recipient(s) and may contain confidenti= al and privileged information or otherwise protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Mar 01 00:02:22 2007 Date: Thu, 1 Mar 2007 00:00:03 -0500 From: Nathan Stratton Treadway Subject: [sqr-users] Monthly sqr-users Hints Posting sqr-users Mailing List Hints and Guidelines Nathan Stratton Treadway, Ray Ontko & Co. (nathanst@ontko.com) $Revision: 1.22 $ $Date: 2005/08/19 05:12:40 $ This document gathers in one location information about the sqr-users mail list. It includes instructions for changing your subscription settings (including unsubscribing), as well are guidelines for using the list. ______________________________________________________________________ Table of Contents 1. Changes Since Previous Version 2. Introduction 2.1 sqr-users Mailing List 2.2 sqr-users Hints and Guidelines Document 2.3 Related Mailing Lists 3. Interacting with the list server 3.1 Subscribing to the list 3.2 Unsubscribing from the list 3.3 When your email address changes 3.4 Digests 3.5 Obtaining your password 3.6 Problems 4. Posting to the sqr-users List 4.1 General Guidelines 4.2 Posting a Message 4.3 Replying to a Message 5. Job Announcements ______________________________________________________________________ 1. Changes Since Previous Version Changes since the version dated 2005/08/19: o Added note about spam filtering and sender verification systems blocking subscription confirmation messages. 2. Introduction 2.1. sqr-users Mailing List The sqr-users mailing list was created to enable discussion related to the SQR database language from Hyperion (and to other products in the SQR product suite). Note: SQR used to be published by SQRIBE Technologies, which was merged into Brio Technology on August 3, 1999. Brio Technology changed its name to Brio Software in October 2001. On October 16, 2003, Hyperion acquired Brio Software. SQR and related applications have also been called "Brio.Report" and "Brio Reports". The mailing list is provided as a service of Ray Ontko & Co. A searchable archive of past postings to the mailing list is available from the SQR Users Group web site . 2.2. sqr-users Hints and Guidelines Document This document gives various hints and guidelines about the sqr-users mailing list. It will be posted approximately monthly to the mailing list so that new users can see it (and existing users can find it easily). An HTML version of the document is always available at http://www.sqrug.org/sqr-users/sqr-users-hints.html. If you have comments or suggestions about this document, please contact me directly at the address listed in the title section. This document is Copyright (C) 1999-2004 by Ray Ontko & Co. It may be freely copied and distributed provided it is not modified in any way and it retains the original copyright notice. 2.3. Related Mailing Lists Here are some mailing lists that cover topics relating to SQR in some way. sqr-jobs : SQR Jobs This list may be used for posting SQR-related resumes, recruitments, job announcements, project announcments, help- wanted, work-wanted ads, etc. To join, follow the link above, or send any message to "sqr-jobs-subscribe@yahoogroups.com". peoplesoft-fans : PeopleSoft Fans Moderated list covering technical and functional aspects of PeopleSoft. To join, follow the link above, or send any message to "peoplesoft-fans-subscribe@yahoogroups.com". psusers : PeopleSoft Users For questions related to any aspect of PeopleSoft (including PeopleSoft-specific SQR issues). This list has merged with the Peoplesoft Fans mailing list and is no longer active, but the message achive can still be found at the link above. HyperionSQR : Hyperion- SQR List for discussion of SQR, SQR Developer (formerly called Brio.Report and Report Builder), and SQR iServer. To join, follow the link above, or send any message to "HyperionSQR- subscribe@yahoogroups.com". rm-users : Report- Mart Users List for discussion of Brio Portal (previously called ReportMart). To join, follow the link above, or send a message containing the word "subscribe" in the body to "rm-users- request@sqrug.org". brioportalusersgroup : Brio Portal Users Group list List for discussion of Brio Portal. To join, follow the link above, or send any message to "brioportalusersgroup- subscribe@yahoogroups.com". brio-l : OpenITx Brio List List for technical and functional discussion of all Brio products (but most messages are currently about Brio Intelligence). To join, follow the link above. briousers : Brio.Enter- prise Users List for discussion of the Brio.Enterprise (now called Intelligence) product. To join, follow the link above, or send any message to "briousers-subscribe@yahoogroups.com". briolist : Brio List List for discussion of Brio Intelligence. To join, follow the link above, or send any message to "briolist- subscribe@yahoogroups.com". 3. Interacting with the list server The sqr-users mailing list is hosted using the Mailman list server package. All of the Mailman functions described below are accessed from the sqr-users List Info page, "http://www.sqrug.org/mailman/listinfo/sqr-users". 3.1. Subscribing to the list To subscribe to the mailing list, enter your e-mail address in the box at the top of the "Subscribing to sqr-users" section on the sqr-users List Info page, then choose a password to assign to your subscription and enter it in both "Password" boxes. This password is used to allow you to securely make changes to your subscription over the web. This password will be e-mailed back to you at varous times, so you should not use the same password as you are using elsewhere. Once you have filled in the password, click the "Subscribe" button. You should soon receive an e-mail message from the list server requesting confirmation of your subscription request. Once you have replied to this message and your subscription has been processed, you will receive a "welcome" message giving you more information on the list server, and as well as a reminder of the subscription password you chose. Many sites are now implementing spam filtering and/or sender verification systems, which can prevent your confirmation message from getting delivered to you. You may need check for a message from "sqr- users-request[-AT-]sqrug.org" caught in the filter, or add that address to your list of authorized senders, in order to complete the confirmation process. 3.2. Unsubscribing from the list To unsubscribe from the list, go to the sqr-users List Info page, enter your e-mail address in the "sqr-users Subscribers" section near the bottom of the page, and click the "Unsubscribe or edit options" button. You will then see the "member options" page; fill in your password at the top of the page and click "Log in". (If you have forgotton your password, see the ``Obtaining your Password'' section, below). This will take you to the "membership configuration" page. In the middle of that page, there will be an "Unsubscribing from sqr- users" section; simply turn on the "Yes, I really want to unsubscribe" checkbox and click the "Unsubscribe" button. You should get a page back saying that the removal was successful (as well as a confirmation email message). The removal will take effect immediately; there is no need to send in a confirmation e-mail message. If you don't know your password, you can choose to unsubscribe using e-mail confirmation. Instead of entering the password on the "member options" page, just click the "Unsubscribe" button found just below the "Log In" button. You will then see a page noting that a confirmation e-mail has been sent; once you follow the confirmation instructions in that e-mail your removal will be complete. 3.3. When your email address changes If your e-mail address changes -- for example, if your company changes names, or if your mail administrator changes the way your name is spelled out or abbreviated -- you will need to update your subscription to match your new address before you can post to the list (see the ``Posting'' section, below). To do this, simply log in to your "membership configuration" page (see the directions for logging in to this page in the ``Unsubscribing'' section, above). At the top of that page you'll see a "Changing your membership information" section. Fill out the text boxes and click the "Change My Address and Name" button. You will be sent a confirmation e-mail, and once you have responded to that e-mail your subscription will be updated and you can begin posting from your new address. 3.4. Digests You can request to get your messages in digest form (one large message containing all of the posts made each day). To do this, log in to your "membership configuration" page (see the directions on doing this in the ``Unsubscribing'' section, above). At the bottom of the page, you will see a section titled "Your sqr-users Subscription Options". Change the "Set Digest Mode" option (the second option in the list) to "On" and click the "Submit My Changes" button at the bottom of the page. You actually have a choice of two different digest formats, "MIME" or "Plain Text". The MIME format sends each individual list message as a separate MIME attachment to the digest; the plain text format consists of one large text message, with all of the individual messages run together. Which format you will want to use depends on your mail- reading software (and personal preference). If you are not sure which format will work best, you can just leave the default setting of "MIME" and see if the next morning's digest is easy to read in your mail reader -- you can change to the other format at any time using that same web page. If you use digests, you should not just "reply" to the digest mailing. Instead, be sure your message's subject header matches the subject in the original posting to which you are replying, and that you don't include a quoted copy of the entire digest in your post. To restore normal distribution, simply follow the above instructions choosing the "Off" setting for the Digest option. 3.5. Obtaining your password You will not be able to change your subscription options without your password. If you have forgotten your password, simply click the "Email My Password to Me" button on the "member options" page and your password will be emailed to you. You will also be e-mailed a copy of your password at the beginning of each month, as part of a "mailing list memberships reminder" message from the Mailman software. 3.6. Problems If the above instructions do not work, please contact the list manager at "sqr-users-manager@sqrug.org". (Do not send a message to the list itself -- no one there can help you with your problem!) Please include a description of what you were trying to do and what exactly happened when you made the attempt. 4. Posting to the sqr-users List In order to post to the mailing list, you must be subscribed to it (see directions above). More specifically, in order for Mailman to recognize that this message was sent by a subscriber, the return address on your message much exactly match the addresss you used to subscribe -- if you have more than one address you will need to be sure that you are sending from the correct one. (See the ``When you email address changes'' section, above, if your e-mail address has changed since you subscribed.) 4.1. General Guidelines For any message you send to the list, please: o make sure your mail software is not requesting a "Return Receipt". (If a "Return Receipt Requested" message is sent to the list, several dozen receipt messages will be sent out to the mailing list as other subscribers' mail systems repond....) o do not send messages in HTML or other special formats. (These are not usable by many subscribers, especially those who receive their messages in digest format.) The list server will delete these special attachments from your message and send you a warning notice. Also, if you are trying to send (for example) SQR source code files, make sure your mail-reader software is assigning proper MIME types to your attachments or they may not be distributed. o keep in mind that over 500 people will receive your message, and that it will appear in the list archives. Try to keep your messages on-topic and relatively short. Consider sending your message directly to particular people if it won't interest many of the list's subscribers. o ignore abusive and inappropriate messages that get sent to the list, rather than getting drawn into a debate. The very nature of these messages will cause most subscribers to automatically discredit them -- no "response" is necessary. To the contrary, any response will only "add fuel to the fire," prolonging the controversy and further interupting the normal conversation on the list. 4.2. Posting a Message Once you are subscribed, you can post to the list by sending a message to "sqr-users@sqrug.org". Be sure your subject heading describes your specific problem or question (i.e. don't just use "SQR Question"). In the body of your message, please include the following information: o SQR product name and version number (see notes below) o Operating system name and version number o Database name and version number o Application name (i.e. PeopleSoft) and a version number, if any Also, include a short code sample whenever possible. It's much easier for other people to understand what you are trying to do when they can see the actual code. (At the same time, be careful not to post confidential or proprietary code, since the posting will be placed in a public web archive.) Note that your question should relate to SQR or other Brio Report product in some way. Don't ask questions about PeopleSoft, for example, unless you are having SQR-related issues. (For PeopleSoft- specific questions, see other lists mentioned in the ``Related Mailing Lists'' section.) In 2001, PeopleSoft purchased from Brio the rights to the source code for SQR and began releasing its own line of SQR. PeopleSoft's SQR version numbering is different from Brio/Hyperion's, so it's very important to mention whether you are using Hyperion's "SQR" or "SQR for PeopleSoft". (This info is included automatically if you include the full SQR version-id string as described below.) To get the version-id string for your copy of SQR, you can run the following program: begin-program show $sqr-ver end-program This will produce a line that looks something like this: SQR/3.0.15/Intel/SCO Unix R3.2 V5.0/Oracle 7.2.2.3/Sep 25 1996 Include the full line of output in your message. Note that the oper- ating system and database version numbers listed here are the ones under which this copy of SQR was compiled, so you'll still need to include this information for your own environment. In a command-line environment (Unix, etc.), you can also get this version-id string by saying sqr -id 4.3. Replying to a Message Messages sent out on the list have a Reply-To header pointing to the list. This means that you should be able to simply use your mail reader's "reply" function to send a reply to the list. Generally, all answers to questions sent out on the list should be public replies, so that other subscribers can benefit. In those cases where a private reply is appropriate, be sure to over-ride the default Reply-To address. If your message is not actually a reply to the earlier message, please do not use the "reply" function. Instead, address a new e-mail message to the list as described in the previous section. (This is because the list archives will incorrectly show the new message in the original thread if you use "reply".) You should quote enough lines from the original message that later readers can understand your answer even if they missed the original question. At the same time, you should remove any unnecessary lines from the quote in order to make your message shorter and easier to understand. (Remember that some people read the mailing list in digest form, and the digests become much larger if unnecessary lines are quoted.) 5. Job Announcements Please do not post job announcements on the sqr-users list, but use the sqr-jobs list instead. (See ``Related Mailing Lists'' for more information on this list.) A large number of sqr-users subscribers do not want to receive job announcements (for various reasons) and such posts tend to cause a lot of disruption of the discussion on the list. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Mar 01 09:13:56 2007 Date: Thu, 01 Mar 2007 09:10:47 -0500 From: Ray Ontko Subject: [sqr-users] [Fwd: Oracle to Acquire Hyperion] This is a multi-part message in MIME format... --------------080006000600000800040701 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit This is interesting news. I wonder what this means for the long-term for SQR customers. Ray --------------080006000600000800040701 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------080006000600000800040701-- From sqr-users-bounces@sqrug.org Thu Mar 01 09:25:17 2007 Date: Thu, 01 Mar 2007 09:23:11 -0500 From: Ray Ontko Subject: Re: [sqr-users] [Fwd: Oracle to Acquire Hyperion] Hmm. The attachment didn't come through. Here's the announcement. http://www.hyperion.com/company/news/news_releases/press_release_3_2006_0000270.cfm Ray Ray Ontko wrote: > This is interesting news. I wonder what this means for the long-term > for SQR customers. > > Ray > ------------------------------------------------------------------------ > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Mar 06 05:15:01 2007 Date: Tue, 6 Mar 2007 15:42:35 +0530 From: "Milind Kulkarni" Subject: [sqr-users] SQR going to error Hi , =20 We have implemented PeopleSoft Financials 8.4 with MSSQL 2000 Sp3a as the rdbms. =20 We have a customized SQR report which goes to error. This SQR writes to 3 external files and the maximum number of lines is about 30000. The problem we face is at times when this report is executed, it goes to error and the trace displays the following error.. =20 (SQR 3203)Line1155 : Error writing the file. (22) : Invalid Argument =20 When we again try to run this same SQR it completes successfully. This is where we are confused. Do you guys have any information on what parameters I need to check or set in this SQR. The size of the output files generated is also not very big. Please help... =20 Regards ***************************************************************************= ************************************************ This e-mail communication and any attachments may be privileged and confide= ntial to Hexaware and are intended only for the=20 use of the recipients named above. If you are not the intended recipient, p= lease do not review, disclose, disseminate,=20 distribute or copy this e-mail and attachments. If you have received this e= mail in error, please delete the same alongwith=20 all attachments thereto and notify us immediately at mailadmin@hexaware.com= . ***************************************************************************= ************************************************ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Mar 06 09:48:16 2007 Subject: RE: [sqr-users] SQR going to error Date: Tue, 6 Mar 2007 08:46:05 -0600 From: "Knapp, Richard" Add an error handler that writes out (unformatted) the data that are causing the error. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Milind Kulkarni Sent: Tuesday, March 06, 2007 4:13 AM To: sqr-users@sqrug.org Subject: [sqr-users] SQR going to error Hi , =20 We have implemented PeopleSoft Financials 8.4 with MSSQL 2000 Sp3a as the rdbms. =20 We have a customized SQR report which goes to error. This SQR writes to 3 external files and the maximum number of lines is about 30000. The problem we face is at times when this report is executed, it goes to error and the trace displays the following error.. =20 (SQR 3203)Line1155 : Error writing the file. (22) : Invalid Argument =20 When we again try to run this same SQR it completes successfully. This is where we are confused. Do you guys have any information on what parameters I need to check or set in this SQR. The size of the output files generated is also not very big. Please help... =20 Regards ************************************************************************ *************************************************** This e-mail communication and any attachments may be privileged and confidential to Hexaware and are intended only for the=20 use of the recipients named above. If you are not the intended recipient, please do not review, disclose, disseminate,=20 distribute or copy this e-mail and attachments. If you have received this email in error, please delete the same alongwith=20 all attachments thereto and notify us immediately at mailadmin@hexaware.com . ************************************************************************ *************************************************** _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Mar 06 11:32:20 2007 Date: Tue, 6 Mar 2007 08:29:40 -0800 (PST) From: Shashidhar Rao A Subject: Re: [sqr-users] SQR going to error Did the sqr run successfully before you have customized it. There is some problem while writing to the file. Check the code at the line number that is erroring out. Milind Kulkarni wrote: Hi , We have implemented PeopleSoft Financials 8.4 with MSSQL 2000 Sp3a as the rdbms. We have a customized SQR report which goes to error. This SQR writes to 3 external files and the maximum number of lines is about 30000. The problem we face is at times when this report is executed, it goes to error and the trace displays the following error.. (SQR 3203)Line1155 : Error writing the file. (22) : Invalid Argument When we again try to run this same SQR it completes successfully. This is where we are confused. Do you guys have any information on what parameters I need to check or set in this SQR. The size of the output files generated is also not very big. Please help... Regards *************************************************************************************************************************** This e-mail communication and any attachments may be privileged and confidential to Hexaware and are intended only for the use of the recipients named above. If you are not the intended recipient, please do not review, disclose, disseminate, distribute or copy this e-mail and attachments. If you have received this email in error, please delete the same alongwith all attachments thereto and notify us immediately at mailadmin@hexaware.com . *************************************************************************************************************************** _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users Shashidhar Rao Arrabeli --------------------------------- Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Mar 06 17:48:08 2007 Date: Tue, 6 Mar 2007 22:45:28 +0000 (GMT) From: ashwin reddy Subject: [sqr-users] Order by the values obtained in the amount columns I am having a small problem in figurin this out maybe someone has done this before Here is my problem ..... here is the sql i have written select cust_name , item_amt , billable_flg from ps_xxx where .... order by billable_flg desc , cust_name The output will order by billable_flg and customer name .... here is the result of the output billable_flg name item_amt Y A..... 123.22 Y B.... 0.00 Y C.... 21.00 N A.... 213.22 N B.... 321.22 what i am finally supposed to do is ....to put all the item_amt which are equal to zero at the end but just before the billable_flg is changed to 'N' from 'Y' final output required billable_flg name item_amt Y A..... 123.22 Y C.... 21.00 Y B.... 0.00 N A.... 213.22 N B.... 321.22 any ideas on how to do it ...even if u know some order by syntaxes that i can try let me know i can test it on my query Thanks, Ashwin --------------------------------- New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Mar 06 18:19:35 2007 Subject: RE: [sqr-users] Order by the values obtained in the amount columns Date: Tue, 6 Mar 2007 18:17:25 -0500 From: "Ray, Christine Marie" try adding the item_amt to the order by as a descending field before the cust_name. This should order by billable_fg descending, then the amt, then alphabetize the cust_name when the amounts are the same Order by billable_fg desc, item_amt desc, cust_name=20 Christine -----Original Message----- From: sqr-users-bounces+chmray=3Dindiana.edu@sqrug.org [mailto:sqr-users-bounces+chmray=3Dindiana.edu@sqrug.org] On Behalf Of ashwin reddy Sent: Tuesday, March 06, 2007 5:45 PM To: sqr-users@sqrug.org Subject: [sqr-users] Order by the values obtained in the amount columns I am having a small problem in figurin this out maybe someone has done this before=20 =20=20=20 Here is my problem ..... here is the sql i have written =20=20=20 select cust_name , item_amt , billable_flg=20 from ps_xxx where .... order by billable_flg desc , cust_name =20=20=20 The output will order by billable_flg and customer name .... here is the result of the output=20 =20=20=20 billable_flg name item_amt Y A..... 123.22 Y B.... 0.00 Y C.... 21.00 N A.... 213.22 N B.... 321.22 =20=20=20 what i am finally supposed to do is ....to put all the item_amt which are equal to zero at the end but just before the billable_flg is changed to 'N' from 'Y' =20=20=20 final output required =20=20=20 billable_flg name item_amt Y A..... 123.22 Y C.... 21.00 Y B.... 0.00 N A.... 213.22 N B.... 321.22 =20=20=20 any ideas on how to do it ...even if u know some order by syntaxes that i can try let me know i can test it on my query =20=20=20 Thanks, Ashwin =20=09=09 --------------------------------- New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Mar 06 19:30:44 2007 From: "the dragon" Subject: RE: [sqr-users] Order by the values obtained in the amount columns Date: Tue, 06 Mar 2007 18:28:08 -0600 I was going to suggest putting a decode on the item_amt field, and setting the value for 0 equal to 99999999999, for sorting only, but then you'd need to use that in your order by. The problem is, order by will either sort on the name *OR* the item_amt as a secondary sort, and then you won't end up with what you really want, because your "requirements" are mutually exclusive. Sort of performing a select, moving it into an array and processing it that way, I don't see how to make this work. Well, a kludgey way would be to have 3 or 4 selects, with Y positive numbers, Y zeros, N positive numbers and N zeros... but that would suck. Or, 4 selects in a union would work too. Once again, a sucky solution. You could also do something like this (this is what I would do).... order by the billable_fg and cust_name... if you encounter a 0 amount in the item_amt column, don't print that record now, but put it (the entire returned record) into an array, then, when the billable_flg changes from Y to N, dump the array and print them, which will be all zeroes and pre-sorted by cust_name, and then continue processing and printing the N values. If you have to separate N zero values, you could do the same thing with another array. Or you can take the easy way out and just tell your l-users that it can't be done without a lot of work and slow processing. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- try adding the item_amt to the order by as a descending field before the cust_name. This should order by billable_fg descending, then the amt, then alphabetize the cust_name when the amounts are the same Order by billable_fg desc, item_amt desc, cust_name Christine -----Original Message----- To: sqr-users@sqrug.org Subject: [sqr-users] Order by the values obtained in the amount columns I am having a small problem in figurin this out maybe someone has done this before Here is my problem ..... here is the sql i have written select cust_name , item_amt , billable_flg from ps_xxx where .... order by billable_flg desc , cust_name The output will order by billable_flg and customer name .... here is the result of the output billable_flg name item_amt Y A..... 123.22 Y B.... 0.00 Y C.... 21.00 N A.... 213.22 N B.... 321.22 what i am finally supposed to do is ....to put all the item_amt which are equal to zero at the end but just before the billable_flg is changed to 'N' from 'Y' final output required billable_flg name item_amt Y A..... 123.22 Y C.... 21.00 Y B.... 0.00 N A.... 213.22 N B.... 321.22 any ideas on how to do it ...even if u know some order by syntaxes that i can try let me know i can test it on my query Thanks, Ashwin _________________________________________________________________ Find a local pizza place, movie theater, and more….then map the best route! http://maps.live.com/?icid=hmtag1&FORM=MGAC01 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Mar 06 20:36:49 2007 Date: Tue, 06 Mar 2007 20:34:10 -0500 From: "Larry Roux" Subject: Re: [sqr-users] Order by the values obtained in the amount columns The best method would be to use multiple selects. ie select cust_name , item_amt , billable_flg from ps_xxx where billable_flg = 'N' and item_amt > 0 order by cust_name, item_amt then select cust_name , item_amt , billable_flg from ps_xxx where billable_flg = 'N' and item_amt = 0 order by cust_name then select cust_name , item_amt , billable_flg from ps_xxx where billable_flg = 'Y' order by cust_name, item_amt There are probably a few ways to use creative SQL, but they would be less efficient and slower - not to mention using up lots of memory on your RDBMS box Larry Roux Information Systems Syracuse University lroux@syr.edu >>> ashwin443@yahoo.co.uk 03/06/07 5:45 PM >>> I am having a small problem in figurin this out maybe someone has done this before Here is my problem ..... here is the sql i have written select cust_name , item_amt , billable_flg from ps_xxx where .... order by billable_flg desc , cust_name The output will order by billable_flg and customer name .... here is the result of the output billable_flg name item_amt Y A..... 123.22 Y B.... 0.00 Y C.... 21.00 N A.... 213.22 N B.... 321.22 what i am finally supposed to do is ....to put all the item_amt which are equal to zero at the end but just before the billable_flg is changed to 'N' from 'Y' final output required billable_flg name item_amt Y A..... 123.22 Y C.... 21.00 Y B.... 0.00 N A.... 213.22 N B.... 321.22 any ideas on how to do it ...even if u know some order by syntaxes that i can try let me know i can test it on my query Thanks, Ashwin --------------------------------- New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Mar 06 21:19:40 2007 Date: Wed, 7 Mar 2007 02:17:09 +0000 (GMT) From: ashwin reddy Subject: Re: [sqr-users] Order by the values obtained in the amount columns thanks alot .... i will try to use mutliple selects or by using arrays and dumpin it back when printing ...... Larry Roux wrote: The best method would be to use multiple selects. ie select cust_name , item_amt , billable_flg from ps_xxx where billable_flg = 'N' and item_amt > 0 order by cust_name, item_amt then select cust_name , item_amt , billable_flg from ps_xxx where billable_flg = 'N' and item_amt = 0 order by cust_name then select cust_name , item_amt , billable_flg from ps_xxx where billable_flg = 'Y' order by cust_name, item_amt There are probably a few ways to use creative SQL, but they would be less efficient and slower - not to mention using up lots of memory on your RDBMS box Larry Roux Information Systems Syracuse University lroux@syr.edu >>> ashwin443@yahoo.co.uk 03/06/07 5:45 PM >>> I am having a small problem in figurin this out maybe someone has done this before Here is my problem ..... here is the sql i have written select cust_name , item_amt , billable_flg from ps_xxx where .... order by billable_flg desc , cust_name The output will order by billable_flg and customer name .... here is the result of the output billable_flg name item_amt Y A..... 123.22 Y B.... 0.00 Y C.... 21.00 N A.... 213.22 N B.... 321.22 what i am finally supposed to do is ....to put all the item_amt which are equal to zero at the end but just before the billable_flg is changed to 'N' from 'Y' final output required billable_flg name item_amt Y A..... 123.22 Y C.... 21.00 Y B.... 0.00 N A.... 213.22 N B.... 321.22 any ideas on how to do it ...even if u know some order by syntaxes that i can try let me know i can test it on my query Thanks, Ashwin --------------------------------- New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- All New Yahoo! Mail – Tired of unwanted email come-ons? Let our SpamGuard protect you. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Mar 07 09:21:28 2007 Date: Wed, 7 Mar 2007 09:18:58 -0500 From: "White . Denise" Subject: [sqr-users] RE: Order by the values obtained in the amount "Two great minds..." and all that. I was thinking along the same lines - decode() - before I saw your reply. But I still think that may be the way to go. Why wouldn't the following work? select cust_name , item_amt , billable_flg ,decode(item_amt,0,9,0) from ps_xxx where .... order by billable_flg desc , 4, cust_name Of course, in a straight SQL select, you will see the decoded value (0 or 9) as a fourth column, but in SQR just don't print it out. Denise M. White EBS Programmer/Analyst III Dynamics Research Corporation ------------------------------ Message: 5 Date: Tue, 06 Mar 2007 18:28:08 -0600 From: "the dragon" Subject: RE: [sqr-users] Order by the values obtained in the amount columns To: sqr-users@sqrug.org Message-ID: Content-Type: text/plain; format=3Dflowed I was going to suggest putting a decode on the item_amt field, and setting the value for 0 equal to 99999999999, for sorting only, but then you'd need to use that in your order by. The problem is, order by will either sort on the name *OR* the item_amt as a secondary sort, and then you won't end up with what you really want, because your "requirements" are mutually exclusive. Sort of performing a select, moving it into an array and processing it that way, I don't see how to make this work. Well, a kludgey way would be to have 3 or 4 selects, with Y positive numbers, Y zeros, N positive numbers and N zeros... but that would suck. Or, 4 selects in a union would work too. Once again, a sucky solution. You could also do something like this (this is what I would do).... order by the billable_fg and cust_name... if you encounter a 0 amount in the item_amt column, don't print that record now, but put it (the entire returned record) into an array, then, when the billable_flg changes from Y to N, dump the array and print them, which will be all zeroes and pre-sorted by cust_name, and then continue processing and printing the N values. If you have to separate N zero values, you could do the same thing with another array. Or you can take the easy way out and just tell your l-users that it can't be done without a lot of work and slow processing. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- try adding the item_amt to the order by as a descending field before the cust_name. This should order by billable_fg descending, then the amt, then alphabetize the cust_name when the amounts are the same Order by billable_fg desc, item_amt desc, cust_name Christine -----Original Message----- To: sqr-users@sqrug.org Subject: [sqr-users] Order by the values obtained in the amount columns I am having a small problem in figurin this out maybe someone has done this before Here is my problem ..... here is the sql i have written select cust_name , item_amt , billable_flg from ps_xxx where .... order by billable_flg desc , cust_name The output will order by billable_flg and customer name .... here is the result of the output billable_flg name item_amt Y A..... 123.22 Y B.... 0.00 Y C.... 21.00 N A.... 213.22 N B.... 321.22 what i am finally supposed to do is ....to put all the item_amt which are equal to zero at the end but just before the billable_flg is changed to 'N' from 'Y' final output required billable_flg name item_amt Y A..... 123.22 Y C.... 21.00 Y B.... 0.00 N A.... 213.22 N B.... 321.22 any ideas on how to do it ...even if u know some order by syntaxes that i can try let me know i can test it on my query Thanks, Ashwin _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Mar 07 09:37:53 2007 From: "the dragon" Subject: RE: [sqr-users] RE: Order by the values obtained in the amount Date: Wed, 07 Mar 2007 08:35:13 -0600 Denise, That would work. Good job. I thought there was a way, but I couldn't think of how to make it work. Peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- "Two great minds..." and all that. I was thinking along the same lines - decode() - before I saw your reply. But I still think that may be the way to go. Why wouldn't the following work? select cust_name , item_amt , billable_flg ,decode(item_amt,0,9,0) from ps_xxx where .... order by billable_flg desc , 4, cust_name Of course, in a straight SQL select, you will see the decoded value (0 or 9) as a fourth column, but in SQR just don't print it out. Denise M. White EBS Programmer/Analyst III Dynamics Research Corporation ------------------------------ I was going to suggest putting a decode on the item_amt field, and setting the value for 0 equal to 99999999999, for sorting only, but then you'd need to use that in your order by. The problem is, order by will either sort on the name *OR* the item_amt as a secondary sort, and then you won't end up with what you really want, because your "requirements" are mutually exclusive. Sort of performing a select, moving it into an array and processing it that way, I don't see how to make this work. Well, a kludgey way would be to have 3 or 4 selects, with Y positive numbers, Y zeros, N positive numbers and N zeros... but that would suck. Or, 4 selects in a union would work too. Once again, a sucky solution. You could also do something like this (this is what I would do).... order by the billable_fg and cust_name... if you encounter a 0 amount in the item_amt column, don't print that record now, but put it (the entire returned record) into an array, then, when the billable_flg changes from Y to N, dump the array and print them, which will be all zeroes and pre-sorted by cust_name, and then continue processing and printing the N values. If you have to separate N zero values, you could do the same thing with another array. Or you can take the easy way out and just tell your l-users that it can't be done without a lot of work and slow processing. peace, clark 'the dragon' willis ----Original Message Follows---- try adding the item_amt to the order by as a descending field before the cust_name. This should order by billable_fg descending, then the amt, then alphabetize the cust_name when the amounts are the same Order by billable_fg desc, item_amt desc, cust_name Christine -----Original Message----- I am having a small problem in figurin this out maybe someone has done this before Here is my problem ..... here is the sql i have written select cust_name , item_amt , billable_flg from ps_xxx where .... order by billable_flg desc , cust_name The output will order by billable_flg and customer name .... here is the result of the output billable_flg name item_amt Y A..... 123.22 Y B.... 0.00 Y C.... 21.00 N A.... 213.22 N B.... 321.22 what i am finally supposed to do is ....to put all the item_amt which are equal to zero at the end but just before the billable_flg is changed to 'N' from 'Y' final output required billable_flg name item_amt Y A..... 123.22 Y C.... 21.00 Y B.... 0.00 N A.... 213.22 N B.... 321.22 any ideas on how to do it ...even if u know some order by syntaxes that i can try let me know i can test it on my query Thanks, Ashwin _________________________________________________________________ Don’t miss your chance to WIN 10 hours of private jet travel from Microsoft® Office Live http://clk.atdmt.com/MRT/go/mcrssaub0540002499mrt/direct/01/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Mar 07 10:50:26 2007 Date: Wed, 07 Mar 2007 10:36:36 -0500 From: Donald Mellen Subject: Re: [sqr-users] RE: Order by the values obtained in the amount Actually, to make it a little simpler, you don't need to match the items selected with the "order by" statement. The decode can just be put in the "order by" statement, like... select cust_name , item_amt , billable_flg from ps_xxx where .... order by billable_flg desc ,decode(item_amt,0,9,0), cust_name White . Denise wrote: > "Two great minds..." and all that. I was thinking along the same lines > - decode() - before I saw your reply. But I still think that may be the > way to go. > > Why wouldn't the following work? > > select cust_name , item_amt , billable_flg ,decode(item_amt,0,9,0) > from ps_xxx > where .... > order by billable_flg desc , 4, cust_name > > Of course, in a straight SQL select, you will see the decoded value (0 > or 9) as a fourth column, but in SQR just don't print it out. > > Denise M. White > EBS Programmer/Analyst III > Dynamics Research Corporation > ------------------------------ > > Message: 5 > Date: Tue, 06 Mar 2007 18:28:08 -0600 > From: "the dragon" > Subject: RE: [sqr-users] Order by the values obtained in the amount > columns > To: sqr-users@sqrug.org > Message-ID: > Content-Type: text/plain; format=flowed > > I was going to suggest putting a decode on the item_amt field, and > setting the value for 0 equal to 99999999999, for sorting only, but then > you'd need to use that in your order by. The problem is, order by will > either sort on the name *OR* the item_amt as a secondary sort, and then > you won't end up with what you really want, because your "requirements" > are mutually exclusive. > > Sort of performing a select, moving it into an array and processing it > that way, I don't see how to make this work. Well, a kludgey way would > be to have 3 or 4 selects, with Y positive numbers, Y zeros, N positive > numbers and N zeros... but that would suck. Or, 4 selects in a union > would work too. Once again, a sucky solution. > > You could also do something like this (this is what I would do).... > order by the billable_fg and cust_name... if you encounter a 0 amount > in the item_amt column, don't print that record now, but put it (the > entire returned record) into an array, then, when the billable_flg > changes from Y to N, dump the array and print them, which will be all > zeroes and pre-sorted by cust_name, and then continue processing and > printing the N values. If you have to separate N zero values, you could > do the same thing with another array. > > Or you can take the easy way out and just tell your l-users that it > can't be done without a lot of work and slow processing. > > peace, > clark 'the dragon' willis > > PSA: Salary <> Slavery. If you earn a salary, your employer is renting > your services for 40 hours a week, not purchasing your soul. Your time > is the only real finite asset that you have, and once used it can never > be recovered, so don't waste it by giving it away. > > I work to live; I don't live to work. > > "Time is the coin of your life. It is the only coin you have, and only > you can determine how it will be spent. Be careful lest you let other > people spend it for you." -- Carl Sandburg (1878 - 1967) > > It is impossible to defeat an ignorant man in argument. -- William G. > McAdoo > > Religion is regarded by the common people as true, by the wise as false, > and by the rulers as useful. -- Seneca > > "I distrust those people who know so well what God wants them to do > because I notice it always coincides with their own desires." - Susan B. > Anthony > > > > > ----Original Message Follows---- > > try adding the item_amt to the order by as a descending field before the > cust_name. This should order by billable_fg descending, then the amt, > then alphabetize the cust_name when the amounts are the same > > Order by billable_fg desc, item_amt desc, cust_name > > Christine > > -----Original Message----- > To: sqr-users@sqrug.org > Subject: [sqr-users] Order by the values obtained in the amount columns > > I am having a small problem in figurin this out maybe someone has done > this before > > Here is my problem ..... here is the sql i have written > > select cust_name , item_amt , billable_flg > from ps_xxx > where .... > order by billable_flg desc , cust_name > > The output will order by billable_flg and customer name .... here is > the result of the output > > billable_flg name item_amt > Y A..... 123.22 > Y B.... 0.00 > Y C.... 21.00 > N A.... 213.22 > N B.... 321.22 > > what i am finally supposed to do is ....to put all the item_amt which > are equal to zero at the end but just before the billable_flg is changed > to 'N' from 'Y' > > final output required > > billable_flg name item_amt > Y A..... 123.22 > Y C.... 21.00 > Y B.... 0.00 > N A.... 213.22 > N B.... 321.22 > > any ideas on how to do it ...even if u know some order by syntaxes > that i can try let me know i can test it on my query > > Thanks, > Ashwin > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > -- ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ donm@ontko.com | "In the beginning, there was nothing, which exploded" _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Mar 07 13:26:35 2007 Date: Wed, 07 Mar 2007 13:01:15 -0500 From: "George Jansen" Subject: Re: [sqr-users] RE: Order by the values obtained in the amount Or SELECT cust_name, item_amt, billable_fig FROM ps_xxx WHERE ... ORDER BY billable_fig desc, abs(sign(item_amt)) desc [, other fields as des= ired] sign gives you 1 for positive, 0 for 0, -1 for negative, abs renders everyt= hing positive... >>> Donald Mellen 3/7/2007 10:36 AM >>> Actually, to make it a little simpler, you don't need to match the items se= lected with the "order by" statement. The decode can just be put in the "o= rder by" statement, like... select cust_name , item_amt , billable_flg=20 from ps_xxx where .... order by billable_flg desc ,decode(item_amt,0,9,0), cust_name White . Denise wrote: > "Two great minds..." and all that. I was thinking along the same lines > - decode() - before I saw your reply. But I still think that may be the > way to go. > > Why wouldn't the following work? > > select cust_name , item_amt , billable_flg ,decode(item_amt,0,9,0) > from ps_xxx > where .... > order by billable_flg desc , 4, cust_name > > Of course, in a straight SQL select, you will see the decoded value (0 > or 9) as a fourth column, but in SQR just don't print it out. > > Denise M. White > EBS Programmer/Analyst III > Dynamics Research Corporation > ------------------------------ > > Message: 5 > Date: Tue, 06 Mar 2007 18:28:08 -0600 > From: "the dragon" > Subject: RE: [sqr-users] Order by the values obtained in the amount > columns > To: sqr-users@sqrug.org=20 > Message-ID: > Content-Type: text/plain; format=3Dflowed > > I was going to suggest putting a decode on the item_amt field, and > setting the value for 0 equal to 99999999999, for sorting only, but then > you'd need to use that in your order by. The problem is, order by will > either sort on the name *OR* the item_amt as a secondary sort, and then > you won't end up with what you really want, because your "requirements" > are mutually exclusive. > > Sort of performing a select, moving it into an array and processing it > that way, I don't see how to make this work. Well, a kludgey way would > be to have 3 or 4 selects, with Y positive numbers, Y zeros, N positive > numbers and N zeros... but that would suck. Or, 4 selects in a union > would work too. Once again, a sucky solution. > > You could also do something like this (this is what I would do).... > order by the billable_fg and cust_name... if you encounter a 0 amount > in the item_amt column, don't print that record now, but put it (the > entire returned record) into an array, then, when the billable_flg > changes from Y to N, dump the array and print them, which will be all > zeroes and pre-sorted by cust_name, and then continue processing and > printing the N values. If you have to separate N zero values, you could > do the same thing with another array. > > Or you can take the easy way out and just tell your l-users that it > can't be done without a lot of work and slow processing. > > peace, > clark 'the dragon' willis > > PSA: Salary <> Slavery. If you earn a salary, your employer is renting > your services for 40 hours a week, not purchasing your soul. Your time > is the only real finite asset that you have, and once used it can never > be recovered, so don't waste it by giving it away. > > I work to live; I don't live to work. > > "Time is the coin of your life. It is the only coin you have, and only > you can determine how it will be spent. Be careful lest you let other > people spend it for you." -- Carl Sandburg (1878 - 1967) > > It is impossible to defeat an ignorant man in argument. -- William G. > McAdoo > > Religion is regarded by the common people as true, by the wise as false, > and by the rulers as useful. -- Seneca > > "I distrust those people who know so well what God wants them to do > because I notice it always coincides with their own desires." - Susan B. > Anthony > > > > > ----Original Message Follows---- > > try adding the item_amt to the order by as a descending field before the > cust_name. This should order by billable_fg descending, then the amt, > then alphabetize the cust_name when the amounts are the same > > Order by billable_fg desc, item_amt desc, cust_name > > Christine > > -----Original Message----- > To: sqr-users@sqrug.org=20 > Subject: [sqr-users] Order by the values obtained in the amount columns > > I am having a small problem in figurin this out maybe someone has done > this before > > Here is my problem ..... here is the sql i have written > > select cust_name , item_amt , billable_flg > from ps_xxx > where .... > order by billable_flg desc , cust_name > > The output will order by billable_flg and customer name .... here is > the result of the output > > billable_flg name item_amt > Y A..... 123.22 > Y B.... 0.00 > Y C.... 21.00 > N A.... 213.22 > N B.... 321.22 > > what i am finally supposed to do is ....to put all the item_amt which > are equal to zero at the end but just before the billable_flg is changed > to 'N' from 'Y' > > final output required > > billable_flg name item_amt > Y A..... 123.22 > Y C.... 21.00 > Y B.... 0.00 > N A.... 213.22 > N B.... 321.22 > > any ideas on how to do it ...even if u know some order by syntaxes > that i can try let me know i can test it on my query > > Thanks, > Ashwin > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org=20 > http://www.sqrug.org/mailman/listinfo/sqr-users=20 > >=20=20=20 --=20 ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/=20 donm@ontko.com | "In the beginning, there was nothing, which exploded" _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Mar 07 15:19:23 2007 Date: Wed, 7 Mar 2007 20:16:39 +0000 (GMT) From: ashwin reddy Subject: Re: [sqr-users] RE: Order by the values obtained in the amount The ones given by Denise & george work ..... But i already implemented it with 2 select statements as i needed some subtotatlin and stuff ..... Anyways the one given by George is the most efficient way of doin it ... Even the one give By Denise Works ....but it needs some addition sqr logic to say that 0 means the one which have item amts as 0 and 9 means the ones which have item amounts not 0..... Thanks a lot ... appreciate it .... George Jansen wrote: Or SELECT cust_name, item_amt, billable_fig FROM ps_xxx WHERE ... ORDER BY billable_fig desc, abs(sign(item_amt)) desc [, other fields as desired] sign gives you 1 for positive, 0 for 0, -1 for negative, abs renders everything positive... >>> Donald Mellen 3/7/2007 10:36 AM >>> Actually, to make it a little simpler, you don't need to match the items selected with the "order by" statement. The decode can just be put in the "order by" statement, like... select cust_name , item_amt , billable_flg from ps_xxx where .... order by billable_flg desc ,decode(item_amt,0,9,0), cust_name White . Denise wrote: > "Two great minds..." and all that. I was thinking along the same lines > - decode() - before I saw your reply. But I still think that may be the > way to go. > > Why wouldn't the following work? > > select cust_name , item_amt , billable_flg ,decode(item_amt,0,9,0) > from ps_xxx > where .... > order by billable_flg desc , 4, cust_name > > Of course, in a straight SQL select, you will see the decoded value (0 > or 9) as a fourth column, but in SQR just don't print it out. > > Denise M. White > EBS Programmer/Analyst III > Dynamics Research Corporation > ------------------------------ > > Message: 5 > Date: Tue, 06 Mar 2007 18:28:08 -0600 > From: "the dragon" > Subject: RE: [sqr-users] Order by the values obtained in the amount > columns > To: sqr-users@sqrug.org > Message-ID: > Content-Type: text/plain; format=flowed > > I was going to suggest putting a decode on the item_amt field, and > setting the value for 0 equal to 99999999999, for sorting only, but then > you'd need to use that in your order by. The problem is, order by will > either sort on the name *OR* the item_amt as a secondary sort, and then > you won't end up with what you really want, because your "requirements" > are mutually exclusive. > > Sort of performing a select, moving it into an array and processing it > that way, I don't see how to make this work. Well, a kludgey way would > be to have 3 or 4 selects, with Y positive numbers, Y zeros, N positive > numbers and N zeros... but that would suck. Or, 4 selects in a union > would work too. Once again, a sucky solution. > > You could also do something like this (this is what I would do).... > order by the billable_fg and cust_name... if you encounter a 0 amount > in the item_amt column, don't print that record now, but put it (the > entire returned record) into an array, then, when the billable_flg > changes from Y to N, dump the array and print them, which will be all > zeroes and pre-sorted by cust_name, and then continue processing and > printing the N values. If you have to separate N zero values, you could > do the same thing with another array. > > Or you can take the easy way out and just tell your l-users that it > can't be done without a lot of work and slow processing. > > peace, > clark 'the dragon' willis > > PSA: Salary <> Slavery. If you earn a salary, your employer is renting > your services for 40 hours a week, not purchasing your soul. Your time > is the only real finite asset that you have, and once used it can never > be recovered, so don't waste it by giving it away. > > I work to live; I don't live to work. > > "Time is the coin of your life. It is the only coin you have, and only > you can determine how it will be spent. Be careful lest you let other > people spend it for you." -- Carl Sandburg (1878 - 1967) > > It is impossible to defeat an ignorant man in argument. -- William G. > McAdoo > > Religion is regarded by the common people as true, by the wise as false, > and by the rulers as useful. -- Seneca > > "I distrust those people who know so well what God wants them to do > because I notice it always coincides with their own desires." - Susan B. > Anthony > > > > > ----Original Message Follows---- > > try adding the item_amt to the order by as a descending field before the > cust_name. This should order by billable_fg descending, then the amt, > then alphabetize the cust_name when the amounts are the same > > Order by billable_fg desc, item_amt desc, cust_name > > Christine > > -----Original Message----- > To: sqr-users@sqrug.org > Subject: [sqr-users] Order by the values obtained in the amount columns > > I am having a small problem in figurin this out maybe someone has done > this before > > Here is my problem ..... here is the sql i have written > > select cust_name , item_amt , billable_flg > from ps_xxx > where .... > order by billable_flg desc , cust_name > > The output will order by billable_flg and customer name .... here is > the result of the output > > billable_flg name item_amt > Y A..... 123.22 > Y B.... 0.00 > Y C.... 21.00 > N A.... 213.22 > N B.... 321.22 > > what i am finally supposed to do is ....to put all the item_amt which > are equal to zero at the end but just before the billable_flg is changed > to 'N' from 'Y' > > final output required > > billable_flg name item_amt > Y A..... 123.22 > Y C.... 21.00 > Y B.... 0.00 > N A.... 213.22 > N B.... 321.22 > > any ideas on how to do it ...even if u know some order by syntaxes > that i can try let me know i can test it on my query > > Thanks, > Ashwin > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > -- ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ donm@ontko.com | "In the beginning, there was nothing, which exploded" _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Mar 07 15:36:42 2007 Date: Wed, 7 Mar 2007 20:33:50 +0000 (GMT) From: ashwin reddy Subject: [sqr-users] Error reading a File ---- help needed with process scheduler security issue Hii, I have written an sqr to read a file from development from folder "\\test\a\" When i run in development it works fine . But i when i run thru production it gives an error ... i have figured out that its mainly because of permissions ASSIGNED TO THE FOLDERS Since the same sqr in production is able to read a file from any other server than the one which i am using. The doubts i have is .... if any user logs into Prod or Development thru peoplesoft it is logged in as "PSOFT" for this client so does the process scheduler is logged in under different account or it is loggen in as "PSOFT" ?? Or atleast can anyone tell me where i can see wht process scheduler can access (permissions) ?? or on which user account the process scheduler logs in as ...... Since the one in development works and not in prod ...we are confused .... and even more puzzled as the one in production can access all other folder except this even thought the development and production have same user access rights We dont have a DBA so i am tryin to resolve this issue on my own .... --------------------------------- New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Mar 08 09:44:08 2007 Date: Thu, 8 Mar 2007 09:41:55 -0500 From: "White . Denise" Subject: [sqr-users] Re: Order by the values obtained in the Ashwin, I'm not sure I understand what you are saying about needing additional logic. Did you understand "decode(item_amt,0,9,0)"? This means that if item_amt =3D 0, the result is 9; for all other values of item_amt, the result is 0. It is actually the opposite of what you say in your post: 0 is used for the amounts that are not equal to 0, and 9 is used for the amounts that are equal to 0. Therefore, by sorting on the result, the ones decoded to 0 (where the item_amt <> 0) will sort first, and the ones decoded to 9 (where the item_amt =3D 0) will sort last, which was your requirement. I think you could still do your subtotaling in one select by using on-break. Anyway, it was an interesting little problem, and shows there are almost always multiple ways of doing anything. Denise M. White EBS Programmer/Analyst III Dynamics Research Corporation ------------------------------ Message: 5 Date: Wed, 7 Mar 2007 20:16:39 +0000 (GMT) From: ashwin reddy Subject: Re: [sqr-users] RE: Order by the values obtained in the amount To: sqr-users@sqrug.org Message-ID: <137602.32721.qm@web26305.mail.ukl.yahoo.com> Content-Type: text/plain; charset=3Diso-8859-1 The ones given by Denise & george work ..... But i already implemented it with 2 select statements as i needed some subtotatlin and stuff ..... =20=20=20 Anyways the one given by George is the most efficient way of doin it ... =20=20=20 Even the one give By Denise Works ....but it needs some addition sqr logic to say that 0 means the one which have item amts as 0 and 9 means the ones which have item amounts not 0..... =20=20=20 =20=20=20 Thanks a lot ... appreciate it .... _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Mar 08 15:08:11 2007 Date: Thu, 8 Mar 2007 15:04:32 -0500 From: "Vaidyanathan, Ramakrishnan \(GE, Corporate, consultant\)" Subject: [sqr-users] Transposing rows to columns Hi All, Can anyone help me with the logic on how to display the row values as colu= mns from a table. For eg. the table contains the data in the below format Seq No Pay End Dt Plan Type Amount 1 Jan 10 $20 1 Jan 10 $0 1 Feb 10 $15 1 Feb 11 $20 If any one of the above first 2 column values (Seq No or Pay End Dt) change= s then I want to write it as a row else append to the same row. I want the = output to be written to a file in the following format Seq No Pay End Date Plan Type-10 Amount Plan Type-11 Amount 1 Jan 10 $20 1 Jan 10 $0 1 Feb 10 $15 $20 please help me with the logic to do this. Thanks Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Mar 08 15:56:22 2007 Date: Thu, 8 Mar 2007 12:53:51 -0800 (PST) From: Arun Kumar Subject: Re: [sqr-users] Transposing rows to columns If I am reading your statement "if any one of the above first 2 column valu= es (Seq No or Pay End Dt) changes then I want to write it as a row else append to the same row" Seq No Pay End Date Plan Type-10 Amount Plan Type-11 Amount 1 Jan 10 $20 $0 1 Feb 10 $15 $20 Right???? But I any way ... You can do this by building/concating string $variable b= efore writing to the file. Also you can use on-break on the sql statement. HTH...=20 ----- Original Message ---- From: "Vaidyanathan, Ramakrishnan (GE, Corporate, consultant)" To: sqr-users@sqrug.org Sent: Thursday, March 8, 2007 3:04:32 PM Subject: [sqr-users] Transposing rows to columns Hi All, Can anyone help me with the logic on how to display the row values as c= olumns from a table. For eg. the table contains the data in the below format Seq No Pay End Dt Plan Type Amount 1 Jan 10 $20 1 Jan 10 $0 1 Feb 10 $15 1 Feb 11 $20 If any one of the above first 2 column values (Seq No or Pay End Dt) change= s then I want to write it as a row else append to the same row. I want the = output to be written to a file in the following format Seq No Pay End Date Plan Type-10 Amount Plan Type-11 Amount 1 Jan 10 $20 1 Jan 10 $0 1 Feb 10 $15 $20 please help me with the logic to do this. Thanks Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20 ___________________________________________________________________________= _________ Get your own web address.=20=20 Have a HUGE year through Yahoo! Small Business. http://smallbusiness.yahoo.com/domains/?p=3DBESTDEAL _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Mar 08 16:13:50 2007 Date: Fri, 9 Mar 2007 02:41:35 +0530 From: Jiju Subject: Re: [sqr-users] Transposing rows to columns Hi Ram, Though I am a bit confused about how you would handle all the scenarios, (like what happens if there are more than two rows that have the same Seq No and PayEndDt values, where do we append that?), I would may be use arrays to implement this...Read the contents of the file into an array, fetch the values of a row # i and compare with row # (i-1) and write to the file accordingly. Regards, Jiju. On 3/9/07, Arun Kumar wrote: > > If I am reading your statement "if any one of the above first 2 column > values (Seq No or Pay End Dt) > changes then I want to write it as a row else append to the same row" > > Seq No Pay End Date Plan Type-10 Amount Plan Type-11 Amount > > 1 Jan 10 $20 $0 > 1 Feb 10 $15 $20 > > > Right???? > > But I any way ... You can do this by building/concating string $variable > before writing to the file. > > Also you can use on-break on the sql statement. > > HTH... > > > > ----- Original Message ---- > From: "Vaidyanathan, Ramakrishnan (GE, Corporate, consultant)" < > ramakrishnan.vaidyanathan@ge.com> > To: sqr-users@sqrug.org > Sent: Thursday, March 8, 2007 3:04:32 PM > Subject: [sqr-users] Transposing rows to columns > > Hi All, > > Can anyone help me with the logic on how to display the row values as > columns from a table. For eg. the table contains the data in the below > format > > Seq No Pay End Dt Plan Type Amount > 1 Jan 10 $20 > 1 Jan 10 $0 > 1 Feb 10 $15 > 1 Feb 11 $20 > > If any one of the above first 2 column values (Seq No or Pay End Dt) > changes then I want to write it as a row else append to the same row. I want > the output to be written to a file in the following format > > Seq No Pay End Date Plan Type-10 Amount Plan Type-11 Amount > > 1 Jan 10 $20 > 1 Jan 10 $0 > 1 Feb 10 $15 $20 > > please help me with the logic to do this. > > Thanks > Ram > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > > > > ____________________________________________________________________________________ > Get your own web address. > Have a HUGE year through Yahoo! Small Business. > http://smallbusiness.yahoo.com/domains/?p=BESTDEAL > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Mar 09 08:27:14 2007 Date: Fri, 09 Mar 2007 08:24:02 -0500 From: "George Jansen" Subject: Re: [sqr-users] Transposing rows to columns If you know how many plan types there potentially are, you can do this as a= n outer join; otherwise on-break logic would as they said be preferred. >>> "Vaidyanathan, Ramakrishnan (GE, Corporate, consultant)" 3/8/2007 3:04 PM >>> Hi All, Can anyone help me with the logic on how to display the row values as colu= mns from a table. For eg. the table contains the data in the below format Seq No Pay End Dt Plan Type Amount 1 Jan 10 $20 1 Jan 10 $0 1 Feb 10 $15 1 Feb 11 $20 If any one of the above first 2 column values (Seq No or Pay End Dt) change= s then I want to write it as a row else append to the same row. I want the = output to be written to a file in the following format Seq No Pay End Date Plan Type-10 Amount Plan Type-11 Amount 1 Jan 10 $20 1 Jan 10 $0 1 Feb 10 $15 $20 please help me with the logic to do this. Thanks Ram _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Mar 12 03:39:25 2007 Date: Mon, 12 Mar 2007 13:06:30 +0530 From: "Manasvini Mahajan" Subject: [sqr-users] Problems Running simple SQR code Hi, I am a begginer for SQR Develpoer I have SQR Developer Client installed on my machine I want to run the below sample code without connecting to a database on the server begin-program print 'An SQR Program.' (1,1) end-program Please advice how should i do it Thanks Manasvini _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Mar 12 08:23:11 2007 From: "Steve Cavill" Subject: RE: [sqr-users] Problems Running simple SQR code Date: Mon, 12 Mar 2007 23:19:33 +1100 Use the -xl flag on the command line parameters. (edit->preferences) But I'm not sure developer will let you do that. You may have to use the command line interface or dialog (sqr.exe). Steve. -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of Manasvini Mahajan Sent: Monday, 12 March 2007 6:37 PM To: sqr-users@sqrug.org Subject: [sqr-users] Problems Running simple SQR code Hi, I am a begginer for SQR Develpoer I have SQR Developer Client installed on my machine I want to run the below sample code without connecting to a database on the server begin-program print 'An SQR Program.' (1,1) end-program Please advice how should i do it Thanks Manasvini _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Mar 12 13:43:02 2007 Date: Mon, 12 Mar 2007 10:40:23 -0700 (PDT) From: Prasanth Pennepalli Subject: Re: [sqr-users] Problems Running simple SQR code Run it from the command line with / -xl sqr / -xl Hi, I am a begginer for SQR Develpoer I have SQR Developer Client installed on my machine I want to run the below sample code without connecting to a database on th= e server begin-program print 'An SQR Program.' (1,1) end-program Please advice how should i do it Thanks Manasvini _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20 ___________________________________________________________________________= _________ Bored stiff? Loosen up...=20 Download and play hundreds of games for free on Yahoo! Games. http://games.yahoo.com/games/front _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Mar 15 11:25:12 2007 Date: Thu, 15 Mar 2007 16:24:40 +0100 From: Marius Giepz Subject: [sqr-users] different types and printposition hi there! i have problems aligning different numbers in a column on my report ! I am selecting a number into an array: begin-select TB_INVOICE_VAT_SUMS.VAT_AMOUNT &vat_amount let vat_sums.vat_amount(#i) = &vat_amount add 1 to #i ... end-select ! later on I am printing the values from the array and I am calculating the sum while #j < #entry_cnt let #theAmount = vat_sums.vat_amount(#j) print #theAmount (+12,433) edit 99999999.99 add #theAmount to #totalvat add 1 to #j end-while print #totalvat (+12,443) edit 99999999.99 The result is, that #theAmount and #totalvat are not printed exactly aligned, one below the other. It looks somehow like 11.1 11.1 22.2 allthough the printposition is (,443) both times. What could be the reason for this behaviour? Anybody got an idea? Best regards, Marius _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Mar 15 11:37:26 2007 From: "the dragon" Subject: RE: [sqr-users] different types and printposition Date: Thu, 15 Mar 2007 09:34:44 -0600 My best guess is that you changed the font for the total. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- hi there! i have problems aligning different numbers in a column on my report ! I am selecting a number into an array: begin-select TB_INVOICE_VAT_SUMS.VAT_AMOUNT &vat_amount let vat_sums.vat_amount(#i) = &vat_amount add 1 to #i ... end-select ! later on I am printing the values from the array and I am calculating the sum while #j < #entry_cnt let #theAmount = vat_sums.vat_amount(#j) print #theAmount (+12,433) edit 99999999.99 add #theAmount to #totalvat add 1 to #j end-while print #totalvat (+12,443) edit 99999999.99 The result is, that #theAmount and #totalvat are not printed exactly aligned, one below the other. It looks somehow like 11.1 11.1 22.2 allthough the printposition is (,443) both times. What could be the reason for this behaviour? Anybody got an idea? Best regards, Marius _________________________________________________________________ Find what you need at prices you’ll love. Compare products and save at MSN® Shopping. http://shopping.msn.com/default/shp/?ptnrid=37,ptnrdata=24102&tcode=T001MSN20A0701 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Mar 15 11:50:43 2007 Date: Thu, 15 Mar 2007 11:47:30 -0400 From: "Steve Schuster" Subject: [sqr-users] Help with SYSTEM CALL and SQLPLUS call using it..... Basically here is the code: =20 move 99 to #cmd_status if instr(lower(getenv('COMSPEC')), 'command.com', 1) let $cmd =3D getenv('COMSPEC') || ' /c sqlplus -s odb/odb@TRAINING @C:\FLATFILE\queryToFile.sql 1222 9555' else let $cmd =3D 'cmd /c @start /min /wait cmd /c "sqlplus -s odb/odb@TRAINING @C:\FLATFILE\queryToFile.sql 1222 9555"' end-if call system using $cmd #cmd_status NOWAIT =20 show $cmd show #cmd_status show $sqr-platform=20 =20 This seems to work properly, I did test it with a minor modification in which I replaced the SQLPLUS command line stuff with a copy statement which worked just fine. =20 So basically what this SQLPLUS does is take the parameters at the end, pass it to the file and in turn generates a file in the same folder. When I execute this exact command from the command prompt it works with no issues at all. I have tried using both WAIT and NOWAIT on the call system call as well , both have the same effect (nothing). =20 When I call it from SQR via Peoplesoft it seems to just do nothing, but gives no error: =20 =20 Below is the exact output from PS as it is written to the log file: =20 cmd /c @start /min /wait cmd /c "sqlplus -s odb/odb@TRAINING @C:\FLATFILE\queryToFile.sql 1222 9555" 0.000000 WINDOWS-NT =20 So, the big question: Does anyone have any idea why this would not work when other calls seem to work? _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Mar 15 11:54:25 2007 Date: Thu, 15 Mar 2007 11:49:41 -0400 From: Donald Mellen Subject: Re: [sqr-users] different types and printposition It looks like your total is printing at 443, but should be at 433. Marius Giepz wrote: > hi there! > i have problems aligning different numbers in a column on my report > > ! I am selecting a number into an array: > > begin-select > TB_INVOICE_VAT_SUMS.VAT_AMOUNT &vat_amount > let vat_sums.vat_amount(#i) = &vat_amount > add 1 to #i > ... end-select > > ! later on I am printing the values from the array and I am > calculating the sum > > while #j < #entry_cnt > let #theAmount = vat_sums.vat_amount(#j) > print #theAmount (+12,433) edit 99999999.99 > add #theAmount to #totalvat > add 1 to #j > end-while > > print #totalvat (+12,443) edit 99999999.99 > > > The result is, that #theAmount and #totalvat are not printed exactly > aligned, one below the other. > It looks somehow like > > 11.1 > 11.1 > 22.2 > > allthough the printposition is (,443) both times. > > What could be the reason for this behaviour? Anybody got an idea? > > Best regards, > > Marius > > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > -- ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ donm@ontko.com | "In the beginning, there was nothing, which exploded" _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Mar 15 12:01:51 2007 From: "the dragon" Subject: Re: [sqr-users] different types and printposition Date: Thu, 15 Mar 2007 09:58:59 -0600 lol... good catch!! I didn't even see that PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- It looks like your total is printing at 443, but should be at 433. Marius Giepz wrote: >hi there! >i have problems aligning different numbers in a column on my report > >! I am selecting a number into an array: > >begin-select >TB_INVOICE_VAT_SUMS.VAT_AMOUNT &vat_amount > let vat_sums.vat_amount(#i) = &vat_amount > add 1 to #i >... end-select > >! later on I am printing the values from the array and I am calculating the >sum > >while #j < #entry_cnt > let #theAmount = vat_sums.vat_amount(#j) > print #theAmount (+12,433) edit 99999999.99 > add #theAmount to #totalvat > add 1 to #j >end-while > >print #totalvat (+12,443) edit 99999999.99 > > >The result is, that #theAmount and #totalvat are not printed exactly >aligned, one below the other. >It looks somehow like > >11.1 >11.1 > 22.2 > >allthough the printposition is (,443) both times. > >What could be the reason for this behaviour? Anybody got an idea? > >Best regards, > >Marius > > > _________________________________________________________________ With tax season right around the corner, make sure to follow these few simple tips. http://articles.moneycentral.msn.com/Taxes/PreparationTips/PreparationTips.aspx?icid=HMFebtagline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Mar 15 12:05:24 2007 Date: Thu, 15 Mar 2007 17:01:11 +0100 From: Marius Giepz Subject: Re: [sqr-users] different types and printposition Donald Mellen schrieb: > It looks like your total is printing at 443, but should be at 433. > > Marius Giepz wrote: >> hi there! >> i have problems aligning different numbers in a column on my report >> >> ! I am selecting a number into an array: >> >> begin-select >> TB_INVOICE_VAT_SUMS.VAT_AMOUNT &vat_amount >> let vat_sums.vat_amount(#i) = &vat_amount >> add 1 to #i >> ... end-select >> >> ! later on I am printing the values from the array and I am >> calculating the sum >> >> while #j < #entry_cnt >> let #theAmount = vat_sums.vat_amount(#j) >> print #theAmount (+12,433) edit 99999999.99 >> add #theAmount to #totalvat >> add 1 to #j >> end-while >> >> print #totalvat (+12,443) edit 99999999.99 >> >> >> The result is, that #theAmount and #totalvat are not printed exactly >> aligned, one below the other. >> It looks somehow like >> >> 11.1 >> 11.1 >> 22.2 >> >> allthough the printposition is (,443) both times. >> >> What could be the reason for this behaviour? Anybody got an idea? >> >> Best regards, >> >> Marius >> >> >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users >> > > OH MY GOD! Thanks alot. How can I work on that for an hour without realising this typo? I dont know, maybe it is stressed eyes or something. I apologise for that stupid question and I am very greatfull that it is solved now. Best regards, Marius _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Mar 15 20:19:35 2007 Date: Thu, 15 Mar 2007 17:17:10 -0700 From: "Marc Kane" Subject: [sqr-users] Leading zeros in .CSV output I remember there being a post in the archive detailing the syntax of the function (specific to .CSV output) to "pad" leading zeros. I can't seem to find it, could anyone send me the link if they recall the post or send me the resolution. -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Mar 15 20:46:37 2007 From: "Andalib Yussuf" Date: Fri, 16 Mar 2007 00:44:05 +0000 Subject: [sqr-users] Hyperion SQR 8.3.1 - Compile/Run Issues Hi, I was wondering if I need to download the SQR server to compile and run Sqr Code? I have the developer, viewer, and activator installed. I am trying to view the output for the hello.sqr program that just prints hello - the developer will not run the code b/c it's asking for a data connection - but for this simple code I don't need a data connection. Help? How do you compile and run sqr code - Anne _________________________________________________________________ Find what you need at prices you’ll love. Compare products and save at MSN® Shopping. http://shopping.msn.com/default/shp/?ptnrid=37,ptnrdata=24102&tcode=T001MSN20A0701 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Mar 15 20:58:36 2007 From: "Paul Hoyte" Subject: RE: [sqr-users] Hyperion SQR 8.3.1 - Compile/Run Issues Date: Thu, 15 Mar 2007 20:56:28 -0400 Anne: You need to have the SQR Server installed as well. Once that is installed, then you can open the Developer, open your source code, click the process button, and it will run after connecting to the database. If you look under edit/preferences in the developer, you will see the actual command line that is used to execute your program. Paul Hoyte (248) 752-6970 pa_hoyte@si-proservices.com -----Original Message----- From: sqr-users-bounces+pi_hoyte=si-proservices.com@sqrug.org [mailto:sqr-users-bounces+pi_hoyte=si-proservices.com@sqrug.org] On Behalf Of Andalib Yussuf Sent: Thursday, March 15, 2007 8:44 PM To: sqr-users@sqrug.org Subject: [sqr-users] Hyperion SQR 8.3.1 - Compile/Run Issues Hi, I was wondering if I need to download the SQR server to compile and run Sqr Code? I have the developer, viewer, and activator installed. I am trying to view the output for the hello.sqr program that just prints hello - the developer will not run the code b/c it's asking for a data connection - but for this simple code I don't need a data connection. Help? How do you compile and run sqr code - Anne _________________________________________________________________ Find what you need at prices you'll love. Compare products and save at MSNR Shopping. http://shopping.msn.com/default/shp/?ptnrid=37,ptnrdata=24102&tcode=T001MSN2 0A0701 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Mar 15 21:04:49 2007 Subject: Re: [sqr-users] Hyperion SQR 8.3.1 - Compile/Run Issues From: JOHN_HARRIS@qvc.com Date: Thu, 15 Mar 2007 21:01:30 -0400 This is a multi-part message in MIME format... --0__=0ABBF833DF960B878f9e8a93df938690918c0ABBF833DF960B87 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: base64 RXZlbiBpZiB5b3VyIGNvZGUgZG9lcyBub3QgY29ubmVjdCB0byBhIGRhdGFi YXNlLCB5b3Ugc3RpbGwgbmVlZCB0byBlbnRlcg0KY29ubmVjdGlvbiBpbmZv cm1hdGlvbi4NCg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgDQog ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICANCiBBbnkgcXVlc3Rpb25z LCBwbGVhc2UgY2FsbCBvciBlbWFpbCAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIA0KIG1lICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICANCiAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgIA0KICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgDQogVGhhbmsgeW91LiAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICANCiAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIA0KIFJlZ2FyZHMsICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgDQogICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICANCiBKb2huICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIA0KICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgDQogICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIA0KIChF bWJlZGRlZCBpbWFnZSBtb3ZlZCB0byBmaWxlOiAgICAgICAgICBKb2huIEhh cnJpcyAgICAgICAgICAgICAgICAgICAgICAgDQogcGljMTE2NzIuanBnKSAg ICAgICAgICAgICAgICAgICAgICAgICAgIFByb2dyYW1tZXIvQW5hbHlzdCAg ICAgICAgICAgICAgICANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgQXBwbGljYXRpb24gRGV2ZWxvcG1lbnQgLSAgICAgICAg IA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBJ bnRlcm5hbCAgICAgICAgICAgICAgICAgICAgICAgICAgDQogICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICANCg0KDQoNCg0KDQpRVkMgSW5jLiwgMTIw MCBXaWxzb24gRHJpdmUsIE1DIDIyMCwgV2VzdCBDaGVzdGVyLCBQQSAxOTM4 MC00MjYyDQoNCg0KVGVsZXBob25lIDQ4NC03MDEtMzMwMw0KRmF4IDQ4NC03 MDEtODQzNw0KZS1tYWlsIGpoYXJyaXNAcXZjLmNvbQ0KDQoNCg0KVGhpcyBt ZXNzYWdlIG1heSBjb250YWluIGluZm9ybWF0aW9uIHRoYXQgaXMgcHJpdmls ZWdlZCBvciBjb25maWRlbnRpYWwuDQpUaGlzIG1lc3NhZ2UgbWF5IGNvbnRh aW4gaW5mb3JtYXRpb24gdGhhdCBpcyBwcml2aWxlZ2VkIG9yIGNvbmZpZGVu dGlhbC4gSWYNCnlvdSBhcmUgbm90IHRoZSBpbnRlbmRlZCByZWNpcGllbnQs IHlvdSBhcmUgaGVyZWJ5IG5vdGlmaWVkIHRoYXQgYW55DQpkaXNjbG9zdXJl LCBjb3B5aW5nLCBkaXN0cmlidXRpb24sIG9yIHVzZSBvZiB0aGUgaW5mb3Jt YXRpb24gY29udGFpbmVkDQpoZXJlaW4gaXMgU1RSSUNUTFkgUFJPSElCSVRF RC4gSWYgeW91IHJlY2VpdmVkIHRoaXMgdHJhbnNtaXNzaW9uIGluIGVycm9y LA0KcGxlYXNlIGltbWVkaWF0ZWx5IGNvbnRhY3QgdGhlIHNlbmRlciBhbmQg ZGVzdHJveSB0aGUgbWF0ZXJpYWwgaW4gaXRzDQplbnRpcmV0eSwgd2hldGhl ciBpbiBlbGVjdHJvbmljIG9yIGhhcmQgY29weSBmb3JtYXQuDQoNCg0KICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgDQogICAgICAgICAgICAgIkFu ZGFsaWIgWXVzc3VmIiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICANCiAgICAgICAgICAgICA8YW5kYWxpYjc4NkBob3Rt YSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg IA0KICAgICAgICAgICAgIGlsLmNvbT4gICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgVG8gDQogICAgICAgICAg ICAgRXh0OiAgICAgICAgICAgICAgICAgICAgICBzcXItdXNlcnNAc3FydWcu b3JnICAgICAgICAgICAgICAgICANCiAgICAgICAgICAgICBTZW50IGJ5OiAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgIGNjIA0KICAgICAgICAgICAgIHNxci11c2Vycy1ib3VuY2VzICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgDQogICAg ICAgICAgICAgK2pvaG5faGFycmlzPXF2Yy4gICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgU3ViamVjdCANCiAgICAgICAgICAgICBjb21A c3FydWcub3JnICAgICAgICAgICAgIFtzcXItdXNlcnNdIEh5cGVyaW9uIFNR UiA4LjMuMSAtICAgIA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgQ29tcGlsZS9SdW4gSXNzdWVzICAgICAgICAgICAgICAgICAg DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICANCiAgICAgICAgICAg ICAwMy8xNS8yMDA3IDA4OjQ2ICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIA0KICAgICAgICAgICAgIFBNICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICANCiAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIA0KICAgICAgICAgICAgIFBsZWFz ZSByZXNwb25kIHRvICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgDQogICAgICAgICAgICAgIlRoaXMgbGlzdCBpcyBmb3Ig ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAN CiAgICAgICAgICAgICBkaXNjdXNzaW9uIGFib3V0ICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIA0KICAgICAgICAgICAg IHRoZSBTUVIgZGF0YWJhc2UgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgDQogICAgICAgICAgICAgICAgIHJlcG9ydGlu ZyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICANCiAgICAgICAgICAgICAgIGxhbmd1YWdlIGZyb20gICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIA0KICAgICAg ICAgICAgICAgICBIeXBlcmlvbiAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgDQogICAgICAgICAgICAgICAgU29s dXRpb25zLiIgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICANCiAgICAgICAgICAgICA8c3FyLXVzZXJzQHNxcnVnLiAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIA0K ICAgICAgICAgICAgICAgICAgIG9yZz4gICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgDQogICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICANCiAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgIA0KDQoNCg0KDQpIaSwNCg0KSSB3YXMgd29uZGVyaW5nIGlmIEkgbmVl ZCB0byBkb3dubG9hZCB0aGUgU1FSIHNlcnZlciB0byBjb21waWxlIGFuZCBy dW4gU3FyDQoNCkNvZGU/ICBJIGhhdmUgdGhlIGRldmVsb3Blciwgdmlld2Vy LCBhbmQgYWN0aXZhdG9yIGluc3RhbGxlZC4NCg0KSSBhbSB0cnlpbmcgdG8g dmlldyB0aGUgb3V0cHV0IGZvciB0aGUgaGVsbG8uc3FyIHByb2dyYW0gdGhh dCBqdXN0IHByaW50cw0KaGVsbG8gLSB0aGUgZGV2ZWxvcGVyIHdpbGwgbm90 IHJ1biB0aGUgY29kZSBiL2MgaXQncyBhc2tpbmcgZm9yIGEgZGF0YQ0KY29u bmVjdGlvbiAtIGJ1dCBmb3IgdGhpcyBzaW1wbGUgY29kZSBJIGRvbid0IG5l ZWQgYSBkYXRhIGNvbm5lY3Rpb24uDQoNCkhlbHA/IEhvdyBkbyB5b3UgY29t cGlsZSBhbmQgcnVuIHNxciBjb2RlIC0NCg0KQW5uZQ0KDQpfX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fXw0KRmluZCB3aGF0IHlvdSBuZWVkIGF0IHByaWNlcyB5b3Xi gJlsbCBsb3ZlLiBDb21wYXJlIHByb2R1Y3RzIGFuZCBzYXZlIGF0IE1TTsKu DQoNClNob3BwaW5nLg0KaHR0cDovL3Nob3BwaW5nLm1zbi5jb20vZGVmYXVs dC9zaHAvP3B0bnJpZD0zNyxwdG5yZGF0YT0yNDEwMiZ0Y29kZT1UMDAxTVNO MjBBMDcwMQ0KDQoNCg0KX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX18NCnNxci11c2VycyBtYWlsaW5nIGxpc3QNCnNx ci11c2Vyc0BzcXJ1Zy5vcmcNCmh0dHA6Ly93d3cuc3FydWcub3JnL21haWxt YW4vbGlzdGluZm8vc3FyLXVzZXJzDQo= --0__=0ABBF833DF960B878f9e8a93df938690918c0ABBF833DF960B87 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: AUTOMATIC WARNING Here was a non admissible message part of 'image/jpeg' MIME type. It has been automatically discarded before sending the message to the list. --0__=0ABBF833DF960B878f9e8a93df938690918c0ABBF833DF960B87 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --0__=0ABBF833DF960B878f9e8a93df938690918c0ABBF833DF960B87-- From sqr-users-bounces@sqrug.org Fri Mar 16 05:09:12 2007 Date: Fri, 16 Mar 2007 05:05:36 -0400 From: "tgaudioso" Subject: Re: [sqr-users] Leading zeros in .CSV output try this !print leading zeroes let $print-value = '=' || '"' || $sheet_ID || '"' Tony ----- Original Message ----- From: "Marc Kane" To: Sent: Thursday, March 15, 2007 8:17 PM Subject: [sqr-users] Leading zeros in .CSV output >I remember there being a post in the archive detailing the syntax of the > function (specific to .CSV output) to "pad" leading zeros. > I can't seem to find it, could anyone send me the link if they recall the > post or send me the resolution. > > > -- > Thank you, > M. Kane > Reports Developer (Crystal Reports/SQR) > PeopleSoft CIS Production Support > GES/New York, NY > 702.349.5107 > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.413 / Virus Database: 268.18.10/720 - Release Date: 3/12/2007 > > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Mar 16 10:21:38 2007 Subject: RE: [sqr-users] Leading zeros in .CSV output Date: Fri, 16 Mar 2007 10:18:59 -0400 From: "Beller, Jay" Not sure of the other post, but here's some snippets that would put a numeric value into a .CSV with leading zeroes -- for example, the number 1234 would appear in the .CSV file as =3D"0000001234", which is the .CSV syntax to treat the number as text: ! For csv output let $Quote =3D '"' let $EqQuote =3D '=3D"' ! Create a value with leading zeroes move #Number_Value to $String_Value 0000000000 ! Output write 1 from $EqQuote $String_Value $Quote -----Original Message----- From: sqr-users-bounces+jbeller=3Dlbisoftware.com@sqrug.org [mailto:sqr-users-bounces+jbeller=3Dlbisoftware.com@sqrug.org] On Behalf Of Marc Kane Sent: Thursday, March 15, 2007 8:17 PM To: sqr-users@sqrug.org Subject: [sqr-users] Leading zeros in .CSV output I remember there being a post in the archive detailing the syntax of the function (specific to .CSV output) to "pad" leading zeros. I can't seem to find it, could anyone send me the link if they recall the post or send me the resolution. --=20 Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Mar 16 11:57:30 2007 From: "the dragon" Subject: RE: [sqr-users] Leading zeros in .CSV output Date: Fri, 16 Mar 2007 10:54:45 -0500 I guess the point I'd like to stress is that you can create a .csv file with leading zeroes with a simple lpad to fill the value before writing it in the sqr. If you look at the file using a text editor, you can see the zeroes there. The trick comes in, and this is where you need to enclose the value in quotes, when you use excel to open it and it uses the default definitions for determining column types based upon the data. I believe it is possible to get past this auto-formatting when you open up the csv with excel, if you know what you're doing. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- Not sure of the other post, but here's some snippets that would put a numeric value into a .CSV with leading zeroes -- for example, the number 1234 would appear in the .CSV file as ="0000001234", which is the .CSV syntax to treat the number as text: ! For csv output let $Quote = '"' let $EqQuote = '="' ! Create a value with leading zeroes move #Number_Value to $String_Value 0000000000 ! Output write 1 from $EqQuote $String_Value $Quote -----Original Message----- I remember there being a post in the archive detailing the syntax of the function (specific to .CSV output) to "pad" leading zeros. I can't seem to find it, could anyone send me the link if they recall the post or send me the resolution. -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _________________________________________________________________ i'm making a difference. Make every IM count for the cause of your choice. Join Now. http://clk.atdmt.com/MSN/go/msnnkwme0080000001msn/direct/01/?href=http://im.live.com/messenger/im/home/?source=hmtagline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Mar 16 17:37:24 2007 Date: Fri, 16 Mar 2007 14:35:16 -0700 From: "Marc Kane" Subject: [sqr-users] Leading zeros in .CSV output (cont'd) Just wanted to thank everyone who responded to my previous post. However I am still facing the same issue. I have used both this syntax: LET $ACCT_ID = '=" || &ACCT_ID || '"' and Clark's recommendation: LET $ACCT_ID = || '"' || lpad(&ACCT_ID, 10, '0') || '"' to no avail. I know that it's possible I just need to get the right syntax, any more help would be appreciated. I'll keep at it.... -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Mar 16 17:43:59 2007 Date: Fri, 16 Mar 2007 17:41:25 -0400 From: "Steve Schuster" Subject: [sqr-users] Help with SYSTEM CALL... Ok, Win 2003, SP2 running PS 8.8 SP2 Finance calling SQR via Process Scheduler. Ok, the program works from the command line (we are calling SQLPLUS directly ex: SQLPLUS ODB/ODB@TEST @myFile.sql). The result of calling this should be a file that we can the stream back into PS. So, when we call the program from SQR it simply doesn't work , no Status error (returns 0). We attempted using other statements like COPY, etc and they worked with CALL SYSTEM. Anybody have any ideas? Thanks in advance, Stephen _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Mar 16 18:18:10 2007 Date: Fri, 16 Mar 2007 18:16:02 -0400 From: "tgaudioso" Subject: Re: [sqr-users] Leading zeros in .CSV output (cont'd) Hi Marc, This is the syntax LET $ACCT_ID = '=' || '"' || $sheet_ID || '"' Tony ----- Original Message ----- From: "Marc Kane" To: Sent: Friday, March 16, 2007 5:35 PM Subject: [sqr-users] Leading zeros in .CSV output (cont'd) > Just wanted to thank everyone who responded to my previous post. > However I am still facing the same issue. I have used both this syntax: > LET $ACCT_ID = '=" || &ACCT_ID || '"' > > and Clark's recommendation: > LET $ACCT_ID = || '"' || lpad(&ACCT_ID, 10, '0') || '"' > > to no avail. I know that it's possible I just need to get the right > syntax, > any more help would be appreciated. I'll keep at it.... > > -- > Thank you, > M. Kane > Reports Developer (Crystal Reports/SQR) > PeopleSoft CIS Production Support > GES/New York, NY > 702.349.5107 > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.413 / Virus Database: 268.18.10/720 - Release Date: 3/12/2007 > > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Mar 16 18:38:54 2007 Date: Fri, 16 Mar 2007 15:36:33 -0700 From: "Marc Kane" Subject: [sqr-users] Leading zeros (take 3) Thanks for taking the time to suggest a resolution. I am having no luck at getting it to work, As you can see I am using the syntax that Tony suggested. Here are the various other syntax that I have used in the same procedure: !'=' || '"' || $sheet_ID || '"' !'=" || xyz || '"' !'=' || '"' || $sheet_ID || '"' !'''' || $Balance || '''' Begin-Procedure Get_MAIN_PROCEDURE !(Comment for Main Procedure) !**************************************** LET $ACCT_ID = ' ' LET $SA_ID = ' ' LET $BSEG_ID = ' ' LET $CRE_DTTM = ' ' LET $STAT_CHG_DTTM = ' ' LET $START_DATE = ' ' LET $END_DATE = ' ' LET $ORIG_DAYS = ' ' LET $REBILL_DAYS = ' ' LET $OVERRIDE = ' ' LET $ORIG_SQ = ' ' LET $BILLED_SQ = ' ' LET $ORIG_AMT = ' ' LET $NEW_BILL_AMT = ' ' LET $ORIG_OPRID = ' ' LET $REBILLED_BY = ' ' LET $CANCEL_REASON = ' ' LET $TOTAL_DOLLAR_DIFF = ' ' LET #ORIG_PER_DAY = ' ' LET #FINAL_PER_DAY = ' ' SHOW 'IN Get_MAIN_PROCEDURE' Begin-SELECT F.ACCT_ID &ACCT_ID A.SA_ID &SA_ID A.BSEG_ID &BSEG_ID TO_DATE(A.CRE_DTTM) AS CREATE_DT &CRE_DTTM TO_DATE(A.STAT_CHG_DTTM) AS CHANGE_DT &STAT_CHG_DTTM TO_CHAR(A.START_DT,'YYYY-MM-DD') AS START_DT &START_DT TO_CHAR(A.END_DT,'YYYY-MM-DD') AS END_DT &END_DT (A.END_DT - A.START_DT) + 1 AS ORIG_DAYS &ORIG_DAYS (B.END_DT - B.START_DT) + 1 AS REBILL_DAYS &REBILL_DAYS B.SQ_OVERRIDE_SW AS SQ_OVERRIDE &OVERRIDE C.BILL_SQ AS ORIG_SQ &ORIG_SQ H.BILL_SQ AS BILLED_SQ &BILLED_SQ D.CUR_AMT AS ORIG_AMT &ORIG_AMT E.CUR_AMT AS NEW_BILL_AMT &NEW_BILL_AMT D.FREEZE_OPRID AS ORIG_OPRID &ORIG_OPRID E.FREEZE_OPRID AS REBILLED_BY &REBILLED_BY G.DESCRSHORT AS CANCEL_REASON &CANCEL_REASON ROUND((E.CUR_AMT - D.CUR_AMT),2) AS TOTAL_$_DIFF &TOTAL_DOLLAR_DIFF ROUND((C.BILL_SQ / ((A.END_DT - A.START_DT) + 1)), 2) AS ORIG_PER_DAY &ORIG_PER_DAY ROUND((E.CUR_AMT / ((B.END_DT - B.START_DT) + 1)), 2) AS FINAL_PER_DAY &FINAL_PER_DAY LET $ACCT_ID = '=' ||'''' || &ACCT_ID || '''' LET $SA_ID = '=' ||'''' || &SA_ID || '''' LET $BSEG_ID = '=' ||'''' || &BSEG_ID || '''' LET $CRE_DTTM = &CRE_DTTM LET $STAT_CHG_DTTM = &STAT_CHG_DTTM LET $START_DATE = &START_DT LET $END_DATE = &END_DT LET $ORIG_DAYS = &ORIG_DAYS LET $REBILL_DAYS = &REBILL_DAYS LET $OVERRIDE = &OVERRIDE LET $ORIG_SQ = &ORIG_SQ LET $BILLED_SQ = &BILLED_SQ LET $ORIG_AMT = edit (&ORIG_AMT, '$$$$$$$$$9.99' ) LET $NEW_BILL_AMT = edit (&NEW_BILL_AMT, '$$$$$$$$$9.99' ) LET $ORIG_OPRID = &ORIG_OPRID LET $REBILLED_BY = &REBILLED_BY LET $CANCEL_REASON = &CANCEL_REASON LET $TOTAL_DOLLAR_DIFF = &TOTAL_DOLLAR_DIFF LET #ORIG_PER_DAY = &ORIG_PER_DAY LET #FINAL_PER_DAY = &FINAL_PER_DAY LET #FINAL-ORIG = &FINAL_PER_DAY - &ORIG_PER_DAY SHOW 'ACCT ID: ' $ACCT_ID Do Get_PRINT_OUTPUT !Programed FROM PS_CI_BSEG A, PS_CI_BILL_CAN_RSN G, PS_CI_BSEG B, PS_CI_BSEG_SQ C, PS_CI_BILL F, PS_CI_BSEG_SQ H, PS_CI_FT D, PS_CI_FT E WHERE TO_CHAR(TRUNC(A.STAT_CHG_DTTM), 'YYYY-MM-DD') BETWEEN TO_CHAR(TO_DATE(TO_DATE($start_dt,'DD-MON-YY')), 'YYYY-MM-DD') AND TO_CHAR(TO_DATE(TO_DATE($end_dt,'DD-MON-YY')), 'YYYY-MM-DD') AND A.CAN_RSN_CD = G.CAN_RSN_CD AND A.BSEG_ID = H.BSEG_ID AND H.UOM_CD = 'TGAL' AND A.BILL_ID = F.BILL_ID AND A.REBILL_SEG_ID = B.BSEG_ID AND B.BSEG_ID = C.BSEG_ID AND C.UOM_CD = 'TGAL' AND A.BSEG_ID = D.SIBLING_ID AND D.FT_TYPE_FLG = 'BS' AND B.BSEG_ID = E.SIBLING_ID ORDER BY 1, 2, 6 DESC End-SELECT !***************************** End-Procedure !Get_Procedure_Main !***************************** -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Mar 16 18:45:29 2007 Subject: Re: [sqr-users] Leading zeros in .CSV output (cont'd) From: Roger.Harris@certegy.com Date: Fri, 16 Mar 2007 18:42:17 -0400 What you need to focus on here is the string that is being written to the CSV file, the syntax of compiling the string is irrelevant. Also, remember that M$ likes to be "helpful" even when you may not want them to, so when Excel encounters a line like: ABC,123,005 it will look at the 3rd field 005 and helpfully decide that since it is all digits you must intend a number and strip the leading 0s. The first reaction is to make that field text by enclosing in double quotes ( ABC,123,"005") but that doesn't give the require results. The 0s will still be stripped. To get Excel to treat the field as text you need the equal sign like this: ABC,123,="005" Roger L. Harris Programmer Analyst Sr Product Development Certegy Check Services Fidelity National Information Services, Inc 11601 N. Roosevelt Blvd St Petersburg, FL 33716 (727) 227-5850 direct (800) 215-6280 x75850 toll free (727) 570-4917 Fax |---------+----------------------------------------------------> | | "tgaudioso" | | | Sent by: | | | sqr-users-bounces+roger.harris=certegy.co| | | m@sqrug.org | | | | | | | | | 03/16/2007 06:16 PM | | | Please respond to "This list is for | | | discussion about the SQR database | | | reporting language from Hyperion | | | Solutions." | |---------+----------------------------------------------------> >---------------------------------------------------------------------------------------------| | | | To: "This list is for discussion about the SQR database reporting language | | from Hyperion Solutions." | | cc: | | Subject: Re: [sqr-users] Leading zeros in .CSV output (cont'd) | >---------------------------------------------------------------------------------------------| Hi Marc, This is the syntax LET $ACCT_ID = '=' || '"' || $sheet_ID || '"' Tony ----- Original Message ----- From: "Marc Kane" To: Sent: Friday, March 16, 2007 5:35 PM Subject: [sqr-users] Leading zeros in .CSV output (cont'd) > Just wanted to thank everyone who responded to my previous post. > However I am still facing the same issue. I have used both this syntax: > LET $ACCT_ID = '=" || &ACCT_ID || '"' > > and Clark's recommendation: > LET $ACCT_ID = || '"' || lpad(&ACCT_ID, 10, '0') || '"' > > to no avail. I know that it's possible I just need to get the right > syntax, > any more help would be appreciated. I'll keep at it.... > > -- > Thank you, > M. Kane > Reports Developer (Crystal Reports/SQR) > PeopleSoft CIS Production Support > GES/New York, NY > 702.349.5107 > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.413 / Virus Database: 268.18.10/720 - Release Date: 3/12/2007 > > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ------------------------------------------------------------------------------ This message contains information from Certegy, Inc which may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify by e:mail postmaster@certegy.com. ============================================================================== _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Mar 16 18:49:02 2007 Subject: Re: [sqr-users] Leading zeros (take 3) From: Roger.Harris@certegy.com Date: Fri, 16 Mar 2007 18:45:24 -0400 Sent a reply to a previous post before I got this one. Your code is using 2 single quotes before and after when you need to use 1 double quote before and after with the equal sign outside the quotes. Roger L. Harris Programmer Analyst Sr Product Development Certegy Check Services Fidelity National Information Services, Inc 11601 N. Roosevelt Blvd St Petersburg, FL 33716 (727) 227-5850 direct (800) 215-6280 x75850 toll free (727) 570-4917 Fax |---------+----------------------------------------------------> | | "Marc Kane" | | | Sent by: | | | sqr-users-bounces+roger.harris=certegy.co| | | m@sqrug.org | | | | | | | | | 03/16/2007 06:36 PM | | | Please respond to "This list is for | | | discussion about the SQR database | | | reporting language from Hyperion | | | Solutions." | |---------+----------------------------------------------------> >---------------------------------------------------------------------------------------------| | | | To: sqr-users@sqrug.org | | cc: | | Subject: [sqr-users] Leading zeros (take 3) | >---------------------------------------------------------------------------------------------| Thanks for taking the time to suggest a resolution. I am having no luck at getting it to work, As you can see I am using the syntax that Tony suggested. Here are the various other syntax that I have used in the same procedure: !'=' || '"' || $sheet_ID || '"' !'=" || xyz || '"' !'=' || '"' || $sheet_ID || '"' !'''' || $Balance || '''' Begin-Procedure Get_MAIN_PROCEDURE !(Comment for Main Procedure) !**************************************** LET $ACCT_ID = ' ' LET $SA_ID = ' ' LET $BSEG_ID = ' ' LET $CRE_DTTM = ' ' LET $STAT_CHG_DTTM = ' ' LET $START_DATE = ' ' LET $END_DATE = ' ' LET $ORIG_DAYS = ' ' LET $REBILL_DAYS = ' ' LET $OVERRIDE = ' ' LET $ORIG_SQ = ' ' LET $BILLED_SQ = ' ' LET $ORIG_AMT = ' ' LET $NEW_BILL_AMT = ' ' LET $ORIG_OPRID = ' ' LET $REBILLED_BY = ' ' LET $CANCEL_REASON = ' ' LET $TOTAL_DOLLAR_DIFF = ' ' LET #ORIG_PER_DAY = ' ' LET #FINAL_PER_DAY = ' ' SHOW 'IN Get_MAIN_PROCEDURE' Begin-SELECT F.ACCT_ID &ACCT_ID A.SA_ID &SA_ID A.BSEG_ID &BSEG_ID TO_DATE(A.CRE_DTTM) AS CREATE_DT &CRE_DTTM TO_DATE(A.STAT_CHG_DTTM) AS CHANGE_DT &STAT_CHG_DTTM TO_CHAR(A.START_DT,'YYYY-MM-DD') AS START_DT &START_DT TO_CHAR(A.END_DT,'YYYY-MM-DD') AS END_DT &END_DT (A.END_DT - A.START_DT) + 1 AS ORIG_DAYS &ORIG_DAYS (B.END_DT - B.START_DT) + 1 AS REBILL_DAYS &REBILL_DAYS B.SQ_OVERRIDE_SW AS SQ_OVERRIDE &OVERRIDE C.BILL_SQ AS ORIG_SQ &ORIG_SQ H.BILL_SQ AS BILLED_SQ &BILLED_SQ D.CUR_AMT AS ORIG_AMT &ORIG_AMT E.CUR_AMT AS NEW_BILL_AMT &NEW_BILL_AMT D.FREEZE_OPRID AS ORIG_OPRID &ORIG_OPRID E.FREEZE_OPRID AS REBILLED_BY &REBILLED_BY G.DESCRSHORT AS CANCEL_REASON &CANCEL_REASON ROUND((E.CUR_AMT - D.CUR_AMT),2) AS TOTAL_$_DIFF &TOTAL_DOLLAR_DIFF ROUND((C.BILL_SQ / ((A.END_DT - A.START_DT) + 1)), 2) AS ORIG_PER_DAY &ORIG_PER_DAY ROUND((E.CUR_AMT / ((B.END_DT - B.START_DT) + 1)), 2) AS FINAL_PER_DAY &FINAL_PER_DAY LET $ACCT_ID = '=' ||'''' || &ACCT_ID || '''' LET $SA_ID = '=' ||'''' || &SA_ID || '''' LET $BSEG_ID = '=' ||'''' || &BSEG_ID || '''' LET $CRE_DTTM = &CRE_DTTM LET $STAT_CHG_DTTM = &STAT_CHG_DTTM LET $START_DATE = &START_DT LET $END_DATE = &END_DT LET $ORIG_DAYS = &ORIG_DAYS LET $REBILL_DAYS = &REBILL_DAYS LET $OVERRIDE = &OVERRIDE LET $ORIG_SQ = &ORIG_SQ LET $BILLED_SQ = &BILLED_SQ LET $ORIG_AMT = edit (&ORIG_AMT, '$$$$$$$$$9.99' ) LET $NEW_BILL_AMT = edit (&NEW_BILL_AMT, '$$$$$$$$$9.99' ) LET $ORIG_OPRID = &ORIG_OPRID LET $REBILLED_BY = &REBILLED_BY LET $CANCEL_REASON = &CANCEL_REASON LET $TOTAL_DOLLAR_DIFF = &TOTAL_DOLLAR_DIFF LET #ORIG_PER_DAY = &ORIG_PER_DAY LET #FINAL_PER_DAY = &FINAL_PER_DAY LET #FINAL-ORIG = &FINAL_PER_DAY - &ORIG_PER_DAY SHOW 'ACCT ID: ' $ACCT_ID Do Get_PRINT_OUTPUT !Programed FROM PS_CI_BSEG A, PS_CI_BILL_CAN_RSN G, PS_CI_BSEG B, PS_CI_BSEG_SQ C, PS_CI_BILL F, PS_CI_BSEG_SQ H, PS_CI_FT D, PS_CI_FT E WHERE TO_CHAR(TRUNC(A.STAT_CHG_DTTM), 'YYYY-MM-DD') BETWEEN TO_CHAR(TO_DATE(TO_DATE($start_dt,'DD-MON-YY')), 'YYYY-MM-DD') AND TO_CHAR(TO_DATE(TO_DATE($end_dt,'DD-MON-YY')), 'YYYY-MM-DD') AND A.CAN_RSN_CD = G.CAN_RSN_CD AND A.BSEG_ID = H.BSEG_ID AND H.UOM_CD = 'TGAL' AND A.BILL_ID = F.BILL_ID AND A.REBILL_SEG_ID = B.BSEG_ID AND B.BSEG_ID = C.BSEG_ID AND C.UOM_CD = 'TGAL' AND A.BSEG_ID = D.SIBLING_ID AND D.FT_TYPE_FLG = 'BS' AND B.BSEG_ID = E.SIBLING_ID ORDER BY 1, 2, 6 DESC End-SELECT !***************************** End-Procedure !Get_Procedure_Main !***************************** -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ------------------------------------------------------------------------------ This message contains information from Certegy, Inc which may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify by e:mail postmaster@certegy.com. ============================================================================== _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Mar 16 18:52:52 2007 Date: Fri, 16 Mar 2007 15:50:09 -0700 (PDT) From: Arun Kumar Subject: Re: [sqr-users] Help with SYSTEM CALL... Most likely its a network security issue. Verify the user account the sqr u= ses has access to the output file from sql plus. If you are able to run both jobs (sql plus + sqr) from your desktop , it w= ill confirm ithat the problem you face when running it from scheduler is a = security issue. ----- Original Message ---- From: Steve Schuster To: sqr-users@sqrug.org Sent: Friday, March 16, 2007 4:41:25 PM Subject: [sqr-users] Help with SYSTEM CALL... Ok, Win 2003, SP2 running PS 8.8 SP2 Finance calling SQR via Process Scheduler. Ok, the program works from the command line (we are calling SQLPLUS directly ex: SQLPLUS ODB/ODB@TEST @myFile.sql). The result of calling this should be a file that we can the stream back into PS. So, when we call the program from SQR it simply doesn't work , no Status error (returns 0). We attempted using other statements like COPY, etc and they worked with CALL SYSTEM. Anybody have any ideas? Thanks in advance, Stephen _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20 ___________________________________________________________________________= _________ Food fight? Enjoy some healthy debate=20 in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=3Dlist&sid=3D396545367 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Mar 16 18:58:32 2007 From: "the dragon" Subject: RE: [sqr-users] Help with SYSTEM CALL... Date: Fri, 16 Mar 2007 17:55:29 -0500 Ok, I am confused. What you're trying to do seems very convoluted.... You're trying to invoke sql plus from inside an sqr to run a sql script and use the output in the sqr. First, I don't think that's even possible, and even if it were, why not cut out the middleman (sql plus) and embed your sql script in the sqr as a procedure??? peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- Ok, Win 2003, SP2 running PS 8.8 SP2 Finance calling SQR via Process Scheduler. Ok, the program works from the command line (we are calling SQLPLUS directly ex: SQLPLUS ODB/ODB@TEST @myFile.sql). The result of calling this should be a file that we can the stream back into PS. So, when we call the program from SQR it simply doesn't work , no Status error (returns 0). We attempted using other statements like COPY, etc and they worked with CALL SYSTEM. Anybody have any ideas? Thanks in advance, Stephen _________________________________________________________________ Interest Rates near 39yr lows! $430,000 Mortgage for $1,399/mo - Calculate new payment http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-18466&moid=7581 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Mar 16 19:48:33 2007 Date: Fri, 16 Mar 2007 16:46:27 -0700 From: "Marc Kane" Subject: [sqr-users] Leading Zeroes (take 3) Thanks everyone, I finally got it. Clark you were right those " are a pain. -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Mar 17 09:47:17 2007 From: "Bambach, Tom" Subject: RE: [sqr-users] Leading Zeroes (take 3) Date: Sat, 17 Mar 2007 09:45:01 -0400 When I want a ' in the string I use chr(39); if I want " in the string I use chr(34). let $a = chr(39) || $b || chr(39) or let $a = chr(34) || $b || chr(34) It seems less confusing to me when you look at the assignment statement as long as you know what chr(39) and chr(34) are -----Original Message----- From: Marc Kane [mailto:kane.marc@gmail.com] Sent: Friday, March 16, 2007 7:46 PM To: sqr-users@sqrug.org Subject: [sqr-users] Leading Zeroes (take 3) Thanks everyone, I finally got it. Clark you were right those " are a pain. -- Thank you, M. Kane Reports Developer (Crystal Reports/SQR) PeopleSoft CIS Production Support GES/New York, NY 702.349.5107 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Mar 19 10:45:50 2007 Date: Mon, 19 Mar 2007 10:43:36 -0400 From: "Kaithi, Murali" Subject: [sqr-users] 3 way matching Hi everyone, I don't know if this is the right place to ask this question. I searched the customer connection but did not find any clues on this below issue. I am trying to implement 3 way matching in AP.=20 I need to load PO's and Receipts from other internal system we have in house. The only reason I am asking this question here is if anybody wrote any sqr's on this they might help me in knowing the PO tables and Receipt tables. Based on some research what I found was PeopleSoft says to use XML to load Receipts into staging tables and then run PO_RECVLOAD app engine program to load into the application tables but I am not very confident of using XML at this point, so what I am looking for the Receipts staging table list that PO_RECVLOAD looks so that I can dump data writing an SQR and then run the app engine program. And about PO's I did not find any documentation saying a delivered PO load process so I am hoping that I have to directly load all the PO application tables.=20 If anybody has the list of these tables too, I would really appreciate their help. I am ready to take any ideas, suggestions. Thanks in advance, Murali ________________________________________________________________________ This Email has been scanned for all viruses by PAETEC Email Scanning Servic= es, utilizing MessageLabs proprietary SkyScan infrastructure. For more info= rmation on a proactive anti-virus service working around the clock, around = the globe, visit http://www.paetec.com. ________________________________________________________________________ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Mar 19 10:56:40 2007 Date: Mon, 19 Mar 2007 10:54:37 -0400 From: Warren Van Wyck Subject: [sqr-users] Oracle CLOB support -- simple Hi, Does any current version of SQR have 'simple' support for the Oracle CLOB datatype? I do not consider this simple: http://www.sqrug.org/sqr-users/sqrusers_04q2/msg00177.html If not, now that Oracle is purchasing Hyperion, could support be far away (if anyone has a crystal ball)? I'm using Hyperion SQR Server 8.3.1 and the program yields the error: (SQR 1305) CMPSQL: Unknown data type in database: 112. -- Warren Van Wyck University of Vermont _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Mar 19 11:04:26 2007 Subject: RE: [sqr-users] Oracle CLOB support -- simple Date: Mon, 19 Mar 2007 11:00:06 -0400 From: "Peter Burton" Warren, Hyperion SQR 9.0.1 or higher supports Oracle CLOBs Peter -----Original Message----- From: sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org [mailto:sqr-users-bounces+peter_burton=3Dhyperion.com@sqrug.org] On Behalf Of Warren Van Wyck Sent: Monday, March 19, 2007 10:55 AM To: sqr Subject: [sqr-users] Oracle CLOB support -- simple Hi, Does any current version of SQR have 'simple' support for the Oracle CLOB=20 datatype? I do not consider this simple: http://www.sqrug.org/sqr-users/sqrusers_04q2/msg00177.html If not, now that Oracle is purchasing Hyperion, could support be far away=20 (if anyone has a crystal ball)? I'm using Hyperion SQR Server 8.3.1 and the program yields the error: (SQR 1305) CMPSQL: Unknown data type in database: 112. -- Warren Van Wyck University of Vermont _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users If you have received this e-mail in error, please delete it and notify the = sender as soon as possible. The contents of this e-mail may be confidential= and the unauthorized use, copying, or dissemination of it and any attachme= nts to it, is prohibited. Internet communications are not secure and Hyperi= on does not, therefore, accept legal responsibility for the contents of thi= s message nor for any damage caused by viruses. The views expressed here do= not necessarily represent those of Hyperion. For more information about Hy= perion, please visit our Web site at: www.hyperion.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Mar 19 11:08:16 2007 Subject: RE: [sqr-users] Oracle CLOB support -- simple Date: Mon, 19 Mar 2007 10:02:37 -0500 From: "Knapp, Richard" Geeze Louis, What could be simpler? Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Warren Van Wyck Sent: Monday, March 19, 2007 9:55 AM To: sqr Subject: [sqr-users] Oracle CLOB support -- simple Hi, Does any current version of SQR have 'simple' support for the Oracle CLOB=20 datatype? I do not consider this simple: http://www.sqrug.org/sqr-users/sqrusers_04q2/msg00177.html If not, now that Oracle is purchasing Hyperion, could support be far away=20 (if anyone has a crystal ball)? I'm using Hyperion SQR Server 8.3.1 and the program yields the error: (SQR 1305) CMPSQL: Unknown data type in database: 112. -- Warren Van Wyck University of Vermont _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Mar 19 11:17:26 2007 Date: Mon, 19 Mar 2007 08:14:41 -0700 (PDT) From: Prasanth Pennepalli Subject: Re: [sqr-users] Oracle CLOB support -- simple I believe that SQR for Peopletools 8.48 supports this data type. ----- Original Message ---- From: Warren Van Wyck To: sqr Sent: Monday, March 19, 2007 7:54:37 AM Subject: [sqr-users] Oracle CLOB support -- simple Hi, Does any current version of SQR have 'simple' support for the Oracle CLOB= =20 datatype? I do not consider this simple: http://www.sqrug.org/sqr-users/sqrusers_04q2/msg00177.html If not, now that Oracle is purchasing Hyperion, could support be far away= =20 (if anyone has a crystal ball)? I'm using Hyperion SQR Server 8.3.1 and the program yields the error: (SQR 1305) CMPSQL: Unknown data type in database: 112. -- Warren Van Wyck University of Vermont _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20 ___________________________________________________________________________= _________ Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=3Dlist&sid=3D396546091 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Mar 19 11:35:20 2007 Date: Mon, 19 Mar 2007 11:33:09 -0400 From: Warren Van Wyck Subject: RE: [sqr-users] Oracle CLOB support -- simple Hi Peter, Thanks -- that's the word from Hyperion. Time for an upgrade here. -- Warren At 11:00 AM 3/19/2007, you wrote: >Warren, > >Hyperion SQR 9.0.1 or higher supports Oracle CLOBs > >Peter > >-----Original Message----- >From: sqr-users-bounces+peter_burton=hyperion.com@sqrug.org >[mailto:sqr-users-bounces+peter_burton=hyperion.com@sqrug.org] On Behalf >Of Warren Van Wyck >Sent: Monday, March 19, 2007 10:55 AM >To: sqr >Subject: [sqr-users] Oracle CLOB support -- simple > >Hi, > >Does any current version of SQR have 'simple' support for the Oracle >CLOB >datatype? > >I do not consider this simple: > >http://www.sqrug.org/sqr-users/sqrusers_04q2/msg00177.html > >If not, now that Oracle is purchasing Hyperion, could support be far >away >(if anyone has a crystal ball)? > >I'm using > >Hyperion SQR Server 8.3.1 > >and the program yields the error: > >(SQR 1305) CMPSQL: Unknown data type in database: 112. > >-- Warren Van Wyck > University of Vermont > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > > >If you have received this e-mail in error, please delete it and notify the >sender as soon as possible. The contents of this e-mail may be >confidential and the unauthorized use, copying, or dissemination of it and >any attachments to it, is prohibited. Internet communications are not >secure and Hyperion does not, therefore, accept legal responsibility for >the contents of this message nor for any damage caused by viruses. The >views expressed here do not necessarily represent those of Hyperion. For >more information about Hyperion, please visit our Web site at: www.hyperion.com > > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Mar 20 03:59:09 2007 Date: Tue, 20 Mar 2007 03:54:55 -0400 From: "Nicolas Moscaritolo" Subject: [sqr-users] SQR 9.3 WEBINAR - TUESDAY, MARCH 20, 2007 - 10AM PT - 1PM ET This is a multi-part message in MIME format... ------_=_NextPart_001_01C76AC5.0FDFC6E2 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Hyperion - The future in sight=20=09=20 =20=09 Register Here =20=09 Your data. Your delivery. Your choice. Hyperion Solutions Corporation & PeopleSoft customers have something very important in common - SQR.=20=20 That's right! SQR is the market leading enterprise & production reporting engine that sits beneath every report you've ever run across your various PeopleSoft modules. Please join us for this brief yet highly beneficial webcast. You will learn about what's been happening to SQR in the last five years and why now is the time to start planning your migration to the latest release of SQR; which has been renamed Hyperion Production Reporting 9.3.=20=20 This new release of SQR provides expanded and enhanced reporting and presentation capabilities which build upon its existing unrivaled scalability, performance and stability. It also provides a new GUI report authoring environment to get reports built, edited and distributed in the output of your choice in record time. Best of all, your existing SQRs will work with Hyperion SQR 9.3.=20 This webcast will provide you with the following: * A brief history of SQR including its role within PeopleSoft=20 * SQR Enhancements since V6=20=20 *=09 An introduction to SQR v9.3 and associated benefits including CPU based multi-datasource deployment * A demonstration of new features & graphical capabilities=20=20 *=09 How you can upgrade to SQR 9.3 =09 REGISTER FOR THIS WEBCAST Reserve your seat today! =20=20= =09 WHAT Webcast: The Future of PeopleSoft reporting with SQR=20 DATE Tuesday March 20, 2007 TIME 10:00 am (PT) 1:00 pm (ET) SPEAKERS Nick Moscaritolo,=20 Senior Solutions Consultant, Hyperion Colin Dover,=20 Senior Product Marketing Manager, Hyperion =09 Register today and learn more! =20=09 =20 =20=20 =20 ________________________________ =20=09=20 =20=09=20 Hyperion Logo =20 =20=09 Nick Moscaritolo =20=09 =20=09 SR. SOLUTIONS CONSULTANT=20=09 =20=09 15 Crestwood Drive, Ashland, MA 01721=09 508-309-3099 / 617-823-6783=20=09 =20=09 ________________________________ =20 If you have received this e-mail in error, please delete it and notify the = sender as soon as possible. The contents of this e-mail may be confidential= and the unauthorized use, copying, or dissemination of it and any attachme= nts to it, is prohibited. Internet communications are not secure and Hyperi= on does not, therefore, accept legal responsibility for the contents of thi= s message nor for any damage caused by viruses. The views expressed here do= not necessarily represent those of Hyperion. For more information about Hy= perion, please visit our Web site at: www.hyperion.com ------_=_NextPart_001_01C76AC5.0FDFC6E2 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: AUTOMATIC WARNING Here was a non admissible message part of 'text/html' MIME type. It has been automatically discarded before sending the message to the list. ------_=_NextPart_001_01C76AC5.0FDFC6E2 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ------_=_NextPart_001_01C76AC5.0FDFC6E2-- From sqr-users-bounces@sqrug.org Tue Mar 20 09:46:52 2007 Date: Tue, 20 Mar 2007 09:44:44 -0400 From: "White . Denise" Subject: [sqr-users] RE: SQR 9.3 WEBINAR - TUESDAY, MARCH 20, 2007 - 10AM Interesting, but I don't believe that PeopleSoft customers really have the option of upgrading to whatever version of SQR they want to. SQR comes bundled with PeopleSoft, and my understanding is that since PeopleSoft bought the rights, they are not keeping up with new releases that come out from Hyperion. Right now, the version I am using is labeled "SQR for PeopleSoft 8.45". I do not know exactly which Hyperion release this corresponds to. Now, I do know that Oracle is buying Hyperion, but does that change anything? (I also disagree that SQR "sits beneath every report you've ever run across your various PeopleSoft modules". What about Query, Crystal, and nVision?) Denise M. White EBS Programmer/Analyst III Dynamics Research Corporation ------------------------------ Message: 7 Date: Tue, 20 Mar 2007 03:54:55 -0400 From: "Nicolas Moscaritolo" Subject: [sqr-users] SQR 9.3 WEBINAR - TUESDAY, MARCH 20, 2007 - 10AM PT - 1PM ET To: Message-ID: =09 <8B183F7341D99040AD2E97C0AEF8C18602439B0C@NASTMEXM12.hyperion.com> Content-Type: text/plain; charset=3D"us-ascii" Hyperion - The future in sight Subject: [sqr-users] Brio 6.1.4 report formatting problems Hi,=20 We are on Brio 6.1.4 Our reports have formatting problems i.e. columns are not lining up correctly. Is it a guessing game to format a report or does Brio have a developer program that will allow us to visually see the changes we make before we implement them thou rout our organization. Please help. Ray -----Original Message----- From: sqr-users-bounces+ray=3Dspargertechnology.com@sqrug.org [mailto:sqr-users-bounces+ray=3Dspargertechnology.com@sqrug.org] On Behalf Of sqr-users-request@sqrug.org Sent: Tuesday, March 20, 2007 2:06 AM To: sqr-users@sqrug.org Subject: sqr-users Digest, Vol 37, Issue 13 Send sqr-users mailing list submissions to sqr-users@sqrug.org To subscribe or unsubscribe via the World Wide Web, visit http://www.sqrug.org/mailman/listinfo/sqr-users or, via email, send a message with subject or body 'help' to sqr-users-request@sqrug.org You can reach the person managing the list at sqr-users-owner@sqrug.org When replying, please edit your Subject line so it is more specific than "Re: Contents of sqr-users digest..." Sparger Technology, Inc message center _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Mar 20 12:16:09 2007 From: "the dragon" Subject: RE: [sqr-users] RE: SQR 9.3 WEBINAR - TUESDAY, MARCH 20, 2007 - 10AM Date: Tue, 20 Mar 2007 11:13:32 -0500 "Query, Crystal, and nVision" aren't reports - they're just formatted sql queries. :-p peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- Interesting, but I don't believe that PeopleSoft customers really have the option of upgrading to whatever version of SQR they want to. SQR comes bundled with PeopleSoft, and my understanding is that since PeopleSoft bought the rights, they are not keeping up with new releases that come out from Hyperion. Right now, the version I am using is labeled "SQR for PeopleSoft 8.45". I do not know exactly which Hyperion release this corresponds to. Now, I do know that Oracle is buying Hyperion, but does that change anything? (I also disagree that SQR "sits beneath every report you've ever run across your various PeopleSoft modules". What about Query, Crystal, and nVision?) Denise M. White EBS Programmer/Analyst III Dynamics Research Corporation ------------------------------ Hyperion Solutions Corporation & PeopleSoft customers have something very important in common - SQR. That's right! SQR is the market leading enterprise & production reporting engine that sits beneath every report you've ever run across your various PeopleSoft modules. Please join us for this brief yet highly beneficial webcast. You will learn about what's been happening to SQR in the last five years and why now is the time to start planning your migration to the latest release of SQR; which has been renamed Hyperion Production Reporting 9.3. This new release of SQR provides expanded and enhanced reporting and presentation capabilities which build upon its existing unrivaled scalability, performance and stability. It also provides a new GUI report authoring environment to get reports built, edited and distributed in the output of your choice in record time. Best of all, your existing SQRs will work with Hyperion SQR 9.3. This webcast will provide you with the following: * A brief history of SQR including its role within PeopleSoft * SQR Enhancements since V6 * An introduction to SQR v9.3 and associated benefits including CPU based multi-datasource deployment * A demonstration of new features & graphical capabilities * How you can upgrade to SQR 9.3 _________________________________________________________________ Watch free concerts with Pink, Rod Stewart, Oasis and more. Visit MSN Presents today. http://music.msn.com/presents?icid=ncmsnpresentstagline&ocid=T002MSN03A07001 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Mar 20 12:20:10 2007 From: "the dragon" Subject: RE: [sqr-users] Brio 6.1.4 report formatting problems Date: Tue, 20 Mar 2007 11:17:37 -0500 They used to have something called sqr workbench (I think that was the name) which allowed you to grapically build the report and run it - this was in v 4 I think. The only problem was it did not allow you to modify the report using a text editor and then re-import it. I don't know what happened to that tool after I left SQRibe. A lot of it is creating the report, running it and then making more changes. I know fixed format character sets, such as courier, can be lined up more easily than true type fonts. Have fun; enjoy the experience. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- Hi, We are on Brio 6.1.4 Our reports have formatting problems i.e. columns are not lining up correctly. Is it a guessing game to format a report or does Brio have a developer program that will allow us to visually see the changes we make before we implement them thou rout our organization. Please help. Ray -----Original Message----- _________________________________________________________________ Watch free concerts with Pink, Rod Stewart, Oasis and more. Visit MSN Presents today. http://music.msn.com/presents?icid=ncmsnpresentstagline&ocid=T002MSN03A07001 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Mar 21 09:36:01 2007 Date: Wed, 21 Mar 2007 09:33:10 -0400 From: "White . Denise" Subject: [sqr-users] RE: SQR 9.3 WEBINAR - TUESDAY, MARCH 20, 2007 Tell that to the users! Anything printed that comes out of the system, they consider a report. And here is the first line in the PeopleBooks for nVision: "This book covers the use of PS/nVision, PeopleTools software that you use to design and create Microsoft Excel spreadsheet reports...". And for Crystal: "Crystal Reports for PeopleSoft helps you generate clear and easy-to-read printed reports containing data from your PeopleSoft applications. You can generate standard reports already created and saved in Crystal, or create your own custom reports." (Why do you think the name of the product is Crystal Reports?) And even for Query: "PeopleSoft Query is an end user reporting tool." So there! ;^P Denise M. White EBS Programmer/Analyst III Dynamics Research Corporation ------------------------------ Message: 3 Date: Tue, 20 Mar 2007 11:13:32 -0500 From: "the dragon" Subject: RE: [sqr-users] RE: SQR 9.3 WEBINAR - TUESDAY, MARCH 20, 2007 - 10AM To: sqr-users@sqrug.org Message-ID: Content-Type: text/plain; format=3Dflowed "Query, Crystal, and nVision" aren't reports - they're just formatted sql queries. :-p peace, clark 'the dragon' willis _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Mar 21 10:15:57 2007 From: "the dragon" Subject: RE: [sqr-users] RE: SQR 9.3 WEBINAR - TUESDAY, MARCH 20, 2007 Date: Wed, 21 Mar 2007 09:12:56 -0500 Bah!! Semantics, out right lies, spin and marketing ploys to sell their their product. :-D hee hee hee peace, PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- Tell that to the users! Anything printed that comes out of the system, they consider a report. And here is the first line in the PeopleBooks for nVision: "This book covers the use of PS/nVision, PeopleTools software that you use to design and create Microsoft Excel spreadsheet reports...". And for Crystal: "Crystal Reports for PeopleSoft helps you generate clear and easy-to-read printed reports containing data from your PeopleSoft applications. You can generate standard reports already created and saved in Crystal, or create your own custom reports." (Why do you think the name of the product is Crystal Reports?) And even for Query: "PeopleSoft Query is an end user reporting tool." So there! ;^P Denise M. White EBS Programmer/Analyst III Dynamics Research Corporation ------------------------------ _________________________________________________________________ It’s tax season, make sure to follow these few simple tips http://articles.moneycentral.msn.com/Taxes/PreparationTips/PreparationTips.aspx?icid=HMMartagline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Mar 21 10:21:38 2007 Date: Wed, 21 Mar 2007 10:18:29 -0400 From: "Kaithi, Murali" Subject: [sqr-users] FW: 3 way matching Any ideas or suggestions on this please. Thanks, Murali > ______________________________________________=20 > From: Kaithi, Murali=20=20 > Sent: Monday, March 19, 2007 10:44 AM > To: 'This list is for discussion about the SQR database > reportinglanguage from Hyperion Solutions.' > Subject: 3 way matching >=20 > Hi everyone, > I don't know if this is the right place to ask this question. I > searched the customer connection but did not find any clues on this > below issue. > I am trying to implement 3 way matching in AP.=20 > I need to load PO's and Receipts from other internal system we have in > house. > The only reason I am asking this question here is if anybody wrote any > sqr's on this they might help me in knowing the PO tables and Receipt > tables. > Based on some research what I found was PeopleSoft says to use XML to > load Receipts into staging tables and then run PO_RECVLOAD app engine > program to load into the application tables but I am not very > confident of using XML at this point, so what I am looking for the > Receipts staging table list that PO_RECVLOAD looks so that I can dump > data writing an SQR and then run the app engine program. > And about PO's I did not find any documentation saying a delivered PO > load process so I am hoping that I have to directly load all the PO > application tables.=20 > If anybody has the list of these tables too, I would really appreciate > their help. >=20 > I am ready to take any ideas, suggestions. >=20 > Thanks in advance, >=20 > Murali ________________________________________________________________________ This Email has been scanned for all viruses by PAETEC Email Scanning Servic= es, utilizing MessageLabs proprietary SkyScan infrastructure. For more info= rmation on a proactive anti-virus service working around the clock, around = the globe, visit http://www.paetec.com. ________________________________________________________________________ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Mar 21 10:28:04 2007 Subject: RE: [sqr-users] FW: 3 way matching Date: Wed, 21 Mar 2007 09:25:20 -0500 From: "Bob Stone" PS version? the XML talk makes me think 8.4 or higher. If you want info about 7.53 Matching I can summarize for you...but there have probably been some changes since then. -----Original Message----- From: sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org [mailto:sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org] On Behalf Of Kaithi, Murali Sent: Wednesday, March 21, 2007 9:18 AM To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Subject: [sqr-users] FW: 3 way matching Any ideas or suggestions on this please. Thanks, Murali > ______________________________________________=20 > From: Kaithi, Murali=20=20 > Sent: Monday, March 19, 2007 10:44 AM > To: 'This list is for discussion about the SQR database > reportinglanguage from Hyperion Solutions.' > Subject: 3 way matching >=20 > Hi everyone, > I don't know if this is the right place to ask this question. I > searched the customer connection but did not find any clues on this > below issue. > I am trying to implement 3 way matching in AP.=20 > I need to load PO's and Receipts from other internal system we have in > house. > The only reason I am asking this question here is if anybody wrote any > sqr's on this they might help me in knowing the PO tables and Receipt > tables. > Based on some research what I found was PeopleSoft says to use XML to > load Receipts into staging tables and then run PO_RECVLOAD app engine > program to load into the application tables but I am not very > confident of using XML at this point, so what I am looking for the > Receipts staging table list that PO_RECVLOAD looks so that I can dump > data writing an SQR and then run the app engine program. > And about PO's I did not find any documentation saying a delivered PO > load process so I am hoping that I have to directly load all the PO > application tables.=20 > If anybody has the list of these tables too, I would really appreciate > their help. >=20 > I am ready to take any ideas, suggestions. >=20 > Thanks in advance, >=20 > Murali ________________________________________________________________________ This Email has been scanned for all viruses by PAETEC Email Scanning Services, utilizing MessageLabs proprietary SkyScan infrastructure. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.paetec.com. ________________________________________________________________________ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Mar 21 10:43:24 2007 Subject: RE: [sqr-users] FW: 3 way matching Date: Wed, 21 Mar 2007 10:33:54 -0400 From: "Kaithi, Murali" Thanks Bob, PS version is 8.8 with Tools 8.44 I will take anything you have.=20=20 Thanks, Murali -----Original Message----- From: sqr-users-bounces+murali.kaithi=3Dspencergifts.com@sqrug.org [mailto:sqr-users-bounces+murali.kaithi=3Dspencergifts.com@sqrug.org] On Behalf Of Bob Stone Sent: Wednesday, March 21, 2007 10:25 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] FW: 3 way matching PS version? the XML talk makes me think 8.4 or higher. If you want info about 7.53 Matching I can summarize for you...but there have probably been some changes since then. -----Original Message----- From: sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org [mailto:sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org] On Behalf Of Kaithi, Murali Sent: Wednesday, March 21, 2007 9:18 AM To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Subject: [sqr-users] FW: 3 way matching Any ideas or suggestions on this please. Thanks, Murali > ______________________________________________=20 > From: Kaithi, Murali=20=20 > Sent: Monday, March 19, 2007 10:44 AM > To: 'This list is for discussion about the SQR database > reportinglanguage from Hyperion Solutions.' > Subject: 3 way matching >=20 > Hi everyone, > I don't know if this is the right place to ask this question. I=20 > searched the customer connection but did not find any clues on this=20 > below issue. > I am trying to implement 3 way matching in AP.=20 > I need to load PO's and Receipts from other internal system we have in > house. > The only reason I am asking this question here is if anybody wrote any > sqr's on this they might help me in knowing the PO tables and Receipt=20 > tables. > Based on some research what I found was PeopleSoft says to use XML to=20 > load Receipts into staging tables and then run PO_RECVLOAD app engine=20 > program to load into the application tables but I am not very=20 > confident of using XML at this point, so what I am looking for the=20 > Receipts staging table list that PO_RECVLOAD looks so that I can dump=20 > data writing an SQR and then run the app engine program. > And about PO's I did not find any documentation saying a delivered PO=20 > load process so I am hoping that I have to directly load all the PO=20 > application tables. > If anybody has the list of these tables too, I would really appreciate > their help. >=20 > I am ready to take any ideas, suggestions. >=20 > Thanks in advance, >=20 > Murali ________________________________________________________________________ This Email has been scanned for all viruses by PAETEC Email Scanning Services, utilizing MessageLabs proprietary SkyScan infrastructure. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.paetec.com. ________________________________________________________________________ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ________________________________________________________________________ This Email has been scanned for all viruses by PAETEC Email Scanning Servic= es, utilizing MessageLabs proprietary SkyScan infrastructure. For more info= rmation on a proactive anti-virus service working around the clock, around = the globe, visit http://www.paetec.com. ________________________________________________________________________ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Mar 21 14:38:14 2007 From: "Andalib Yussuf" Date: Wed, 21 Mar 2007 18:35:18 +0000 Subject: [sqr-users] SQR Server Issue Hi, I am having issue with SQR Server and Oracle. I added a data connection and put in the appropriate information but still can't run simple programs. Also how do I compile and run the programs? Where do I generate the sqt files? _________________________________________________________________ 5.5%* 30 year fixed mortgage rate. Good credit refinance. Up to 5 free quotes - *Terms https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2a5d&s=4056&p=5117&disc=y&vers=910 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Mar 21 14:47:58 2007 From: "the dragon" Subject: RE: [sqr-users] SQR Server Issue Date: Wed, 21 Mar 2007 13:45:07 -0500 You need to provide more and better information about the errors/messages you are getting, or at least whet you're doing and experiencing, for anyone here to be able to assist. Your "issue" is way too nebulous to try and help with. You don't need to compile the programs to run them, and you won't be able to until you get sqrw running to start with. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- From: "Andalib Yussuf" Reply-To: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." To: sqr-users@sqrug.org Subject: [sqr-users] SQR Server Issue Date: Wed, 21 Mar 2007 18:35:18 +0000 MIME-Version: 1.0 X-Originating-IP: [208.247.58.25] X-Originating-Email: [andalib786@hotmail.com] X-Sender: andalib786@hotmail.com Received: from seldon.sqrug.org ([199.164.165.113]) by bay0-mc4-f14.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Wed, 21 Mar 2007 11:39:15 -0700 Received: from localhost([127.0.0.1] helo=seldon.sqrug.org ident=list)by seldon.sqrug.org with esmtp (Exim 3.35 #1 (Debian))id 1HU5iL-0008Ek-01for ; Wed, 21 Mar 2007 14:39:13 -0400 Received: from bay0-omc2-s11.bay0.hotmail.com ([65.54.246.147])by seldon.sqrug.org with esmtp (Exim 3.35 #1 (Debian))id 1HU5f4-000852-00for ; Wed, 21 Mar 2007 14:35:50 -0400 Received: from hotmail.com ([64.4.39.83]) by bay0-omc2-s11.bay0.hotmail.comwith Microsoft SMTPSVC(6.0.3790.2668); Wed, 21 Mar 2007 11:35:19 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;Wed, 21 Mar 2007 11:35:19 -0700 Received: from 64.4.39.123 by by140fd.bay140.hotmail.msn.com with HTTP;Wed, 21 Mar 2007 18:35:18 GMT X-Message-Info: txF49lGdW42q5J3Surmryg4ub/VZLdz1QXpyEEZ8XvtwGLo9QYSZXwufPYTpOVfg X-OriginalArrivalTime: 21 Mar 2007 18:35:19.0207 (UTC)FILETIME=[AD46E370:01C76BE7] X-BeenThere: sqr-users@sqrug.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: sqr-users-bounces+ceprn=hotmail.com@sqrug.org Return-Path: sqr-users-bounces+ceprn=hotmail.com@sqrug.org Hi, I am having issue with SQR Server and Oracle. I added a data connection and put in the appropriate information but still can't run simple programs. Also how do I compile and run the programs? Where do I generate the sqt files? _________________________________________________________________ 5.5%* 30 year fixed mortgage rate. Good credit refinance. Up to 5 free quotes - *Terms https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2a5d&s=4056&p=5117&disc=y&vers=910 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Get a FREE Web site, company branded e-mail and more from Microsoft Office Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Mar 24 22:24:13 2007 From: "Andalib Yussuf" Subject: RE: [sqr-users] SQR Server Issue Date: Sun, 25 Mar 2007 02:21:17 +0000 Hi, Thanks for replying. Well I installed the SQR software and server properly. I added a data connection linked to oracle db. When I try to run the sample hello world program using the data connection I get an error that states: "An exception has occurred in SQR Developer.Program state info in file:" Is it an oracle connection problem? I don't know. Thanks for your help! Anne >From: "the dragon" >Reply-To: "This list is for discussion about the SQR database >reportinglanguage from Hyperion Solutions." >To: sqr-users@sqrug.org >Subject: RE: [sqr-users] SQR Server Issue >Date: Wed, 21 Mar 2007 13:45:07 -0500 > >You need to provide more and better information about the errors/messages >you are getting, or at least whet you're doing and experiencing, for anyone >here to be able to assist. Your "issue" is way too nebulous to try and >help with. > >You don't need to compile the programs to run them, and you won't be able >to until you get sqrw running to start with. > >peace, >clark 'the dragon' willis > >PSA: Salary <> Slavery. If you earn a salary, your employer is renting your >services for 40 hours a week, not purchasing your soul. Your time is the >only real finite asset that you have, and once used it can never be >recovered, so don't waste it by giving it away. > >I work to live; I don't live to work. > >"Time is the coin of your life. It is the only coin you have, and only you >can determine how it will be spent. Be careful lest you let other people >spend it for you." -- Carl Sandburg (1878 - 1967) > >It is impossible to defeat an ignorant man in argument. -- William G. >McAdoo > >Religion is regarded by the common people as true, by the wise as false, >and by the rulers as useful. -- Seneca > >"I distrust those people who know so well what God wants them to do because >I notice it always coincides with their own desires." - Susan B. Anthony > > > > >----Original Message Follows---- >From: "Andalib Yussuf" >Reply-To: "This list is for discussion about the SQR database >reportinglanguage from Hyperion Solutions." >To: sqr-users@sqrug.org >Subject: [sqr-users] SQR Server Issue >Date: Wed, 21 Mar 2007 18:35:18 +0000 >MIME-Version: 1.0 >X-Originating-IP: [208.247.58.25] >X-Originating-Email: [andalib786@hotmail.com] >X-Sender: andalib786@hotmail.com >Received: from seldon.sqrug.org ([199.164.165.113]) by >bay0-mc4-f14.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Wed, >21 Mar 2007 11:39:15 -0700 >Received: from localhost([127.0.0.1] helo=seldon.sqrug.org ident=list)by >seldon.sqrug.org with esmtp (Exim 3.35 #1 (Debian))id 1HU5iL-0008Ek-01for >; Wed, 21 Mar 2007 14:39:13 -0400 >Received: from bay0-omc2-s11.bay0.hotmail.com ([65.54.246.147])by >seldon.sqrug.org with esmtp (Exim 3.35 #1 (Debian))id 1HU5f4-000852-00for >; Wed, 21 Mar 2007 14:35:50 -0400 >Received: from hotmail.com ([64.4.39.83]) by >bay0-omc2-s11.bay0.hotmail.comwith Microsoft SMTPSVC(6.0.3790.2668); Wed, >21 Mar 2007 11:35:19 -0700 >Received: from mail pickup service by hotmail.com with Microsoft >SMTPSVC;Wed, 21 Mar 2007 11:35:19 -0700 >Received: from 64.4.39.123 by by140fd.bay140.hotmail.msn.com with HTTP;Wed, >21 Mar 2007 18:35:18 GMT >X-Message-Info: >txF49lGdW42q5J3Surmryg4ub/VZLdz1QXpyEEZ8XvtwGLo9QYSZXwufPYTpOVfg >X-OriginalArrivalTime: 21 Mar 2007 18:35:19.0207 >(UTC)FILETIME=[AD46E370:01C76BE7] >X-BeenThere: sqr-users@sqrug.org >X-Mailman-Version: 2.1.5 >Precedence: list >List-Id: "This list is for discussion about the SQR database >reportinglanguage from Hyperion Solutions." >List-Unsubscribe: >, >List-Post: >List-Help: >List-Subscribe: >, >Errors-To: sqr-users-bounces+ceprn=hotmail.com@sqrug.org >Return-Path: sqr-users-bounces+ceprn=hotmail.com@sqrug.org > >Hi, > >I am having issue with SQR Server and Oracle. I added a data connection >and put in the appropriate information but still can't run simple programs. > Also how do I compile and run the programs? Where do I generate the sqt >files? > >_________________________________________________________________ >5.5%* 30 year fixed mortgage rate. Good credit refinance. Up to 5 free >quotes - *Terms >https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2a5d&s=4056&p=5117&disc=y&vers=910 > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > >_________________________________________________________________ >Get a FREE Web site, company branded e-mail and more from Microsoft Office >Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/ > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ The average US Credit Score is 675. The cost to see yours: $0 by Experian. http://www.freecreditreport.com/pm/default.aspx?sc=660600&bcd=EMAILFOOTERAVERAGE _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sat Mar 24 22:27:43 2007 Date: Sat, 24 Mar 2007 23:23:41 -0300 From: "PeterG Clark" Subject: RE: [sqr-users] SQR Server Issue I am away on vacation until April 23, 2007. Please contact Brian Bolger, Bi= ll Cole or Wayne Peters for any issues related to PeopleSoft. (If your intended recipient was the Peter Clark in Legal Services, please r= etract your message and resend with correct recipient address) _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Mar 26 10:25:24 2007 Subject: RE: [sqr-users] SQR Server Issue Date: Mon, 26 Mar 2007 09:23:06 -0500 From: "Knapp, Richard" I echo Clark's remark: you must supply (and learn to pay attention to) all of the error message information. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Andalib Yussuf Sent: Saturday, March 24, 2007 9:21 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] SQR Server Issue Hi, Thanks for replying. Well I installed the SQR software and server properly.=20 I added a data connection linked to oracle db. When I try to run the=20 sample hello world program using the data connection I get an error that states: "An exception has occurred in SQR Developer.Program state info in=20 file:" Is it an oracle connection problem? I don't know. Thanks for your help! Anne >From: "the dragon" >Reply-To: "This list is for discussion about the SQR database=20 >reportinglanguage from Hyperion Solutions." >To: sqr-users@sqrug.org >Subject: RE: [sqr-users] SQR Server Issue >Date: Wed, 21 Mar 2007 13:45:07 -0500 > >You need to provide more and better information about the errors/messages=20 >you are getting, or at least whet you're doing and experiencing, for anyone=20 >here to be able to assist. Your "issue" is way too nebulous to try and >help with. > >You don't need to compile the programs to run them, and you won't be able=20 >to until you get sqrw running to start with. > >peace, >clark 'the dragon' willis > >PSA: Salary <> Slavery. If you earn a salary, your employer is renting your=20 >services for 40 hours a week, not purchasing your soul. Your time is the=20 >only real finite asset that you have, and once used it can never be=20 >recovered, so don't waste it by giving it away. > >I work to live; I don't live to work. > >"Time is the coin of your life. It is the only coin you have, and only you=20 >can determine how it will be spent. Be careful lest you let other people=20 >spend it for you." -- Carl Sandburg (1878 - 1967) > >It is impossible to defeat an ignorant man in argument. -- William G.=20 >McAdoo > >Religion is regarded by the common people as true, by the wise as false,=20 >and by the rulers as useful. -- Seneca > >"I distrust those people who know so well what God wants them to do because=20 >I notice it always coincides with their own desires." - Susan B. Anthony > > > > >----Original Message Follows---- >From: "Andalib Yussuf" >Reply-To: "This list is for discussion about the SQR database=20 >reportinglanguage from Hyperion Solutions." >To: sqr-users@sqrug.org >Subject: [sqr-users] SQR Server Issue >Date: Wed, 21 Mar 2007 18:35:18 +0000 >MIME-Version: 1.0 >X-Originating-IP: [208.247.58.25] >X-Originating-Email: [andalib786@hotmail.com] >X-Sender: andalib786@hotmail.com >Received: from seldon.sqrug.org ([199.164.165.113]) by=20 >bay0-mc4-f14.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Wed,=20 >21 Mar 2007 11:39:15 -0700 >Received: from localhost([127.0.0.1] helo=3Dseldon.sqrug.org ident=3Dlist)by=20 >seldon.sqrug.org with esmtp (Exim 3.35 #1 (Debian))id 1HU5iL-0008Ek-01for=20 >; Wed, 21 Mar 2007 14:39:13 -0400 >Received: from bay0-omc2-s11.bay0.hotmail.com ([65.54.246.147])by=20 >seldon.sqrug.org with esmtp (Exim 3.35 #1 (Debian))id 1HU5f4-000852-00for=20 >; Wed, 21 Mar 2007 14:35:50 -0400 >Received: from hotmail.com ([64.4.39.83]) by=20 >bay0-omc2-s11.bay0.hotmail.comwith Microsoft SMTPSVC(6.0.3790.2668); Wed,=20 >21 Mar 2007 11:35:19 -0700 >Received: from mail pickup service by hotmail.com with Microsoft=20 >SMTPSVC;Wed, 21 Mar 2007 11:35:19 -0700 >Received: from 64.4.39.123 by by140fd.bay140.hotmail.msn.com with HTTP;Wed,=20 >21 Mar 2007 18:35:18 GMT >X-Message-Info:=20 >txF49lGdW42q5J3Surmryg4ub/VZLdz1QXpyEEZ8XvtwGLo9QYSZXwufPYTpOVfg >X-OriginalArrivalTime: 21 Mar 2007 18:35:19.0207=20 >(UTC)FILETIME=3D[AD46E370:01C76BE7] >X-BeenThere: sqr-users@sqrug.org >X-Mailman-Version: 2.1.5 >Precedence: list >List-Id: "This list is for discussion about the SQR database=20 >reportinglanguage from Hyperion Solutions." >List-Unsubscribe:=20 >, >List-Post: >List-Help: >List-Subscribe:=20 >, >Errors-To: sqr-users-bounces+ceprn=3Dhotmail.com@sqrug.org >Return-Path: sqr-users-bounces+ceprn=3Dhotmail.com@sqrug.org > >Hi, > >I am having issue with SQR Server and Oracle. I added a data connection=20 >and put in the appropriate information but still can't run simple programs.=20 > Also how do I compile and run the programs? Where do I generate the sqt=20 >files? > >_________________________________________________________________ >5.5%* 30 year fixed mortgage rate. Good credit refinance. Up to 5 free=20 >quotes - *Terms=20 >https://www2.nextag.com/goto.jsp?product=3D100000035&url=3D%2fst.jsp&tm=3D= y&s earch=3Dmortgage_text_links_88_h2a5d&s=3D4056&p=3D5117&disc=3Dy&vers=3D910 > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > >_________________________________________________________________ >Get a FREE Web site, company branded e-mail and more from Microsoft Office=20 >Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/ > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ The average US Credit Score is 675. The cost to see yours: $0 by Experian.=20 http://www.freecreditreport.com/pm/default.aspx?sc=3D660600&bcd=3DEMAILFOOTE RAVERAGE _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Mar 27 17:02:40 2007 Date: Tue, 27 Mar 2007 17:00:34 -0400 From: "Anurag Tiwari" Subject: [sqr-users] Pay003 spacing between lines. Hi, I am working on Pay003.sqr These are the problems I am facing 1)I am not able to give spaces between the lines in the check. 2)The Micr code i.e the check number, transit number, Account number is coming above where I want. when I push it down by one position then half of the line is again below actual position where I want. 3) company name and employee address on the back side of the page needs spacing between lines but am not able to do that. Please help me with this.... -- Thanks and Regards Anurag Tiwari _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Mar 28 06:10:12 2007 Date: Wed, 28 Mar 2007 12:08:46 +0200 From: Marius Giepz Subject: [sqr-users] setting the path to an image ressource Hi there! I am currently working on an invoice layout where I have to embed an=20 image. I do it like this: print-image (30,200) type=3Dbmp-file image-size =3D (150,50) source=3D'logo.bmp' When I put the bmp file in the same folder as the .sqt then the=20 imageframe is left blank with a cross. The image is only beeing printed if I put the file in SQR's /bin folder.=20 Is there something I have to consider setting the correct path? regards, Marius Giepz ++++++++++++++++++++++++++++++++++++++++++++ Marius Giepz topsystem Systemhaus GmbH Europark A2 Adenauer Strasse 20 52146 W=FCrselen Germany Phone : +49 2405 4670-0 email : mg@topsystem.de ++++++++++++++++++++++++++++++++++++++++++++=20=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Mar 28 08:15:32 2007 From: "the dragon" Subject: RE: [sqr-users] setting the path to an image ressource Date: Wed, 28 Mar 2007 07:11:57 -0500 Try using the complete explicit path in your definition. Keep in mind, if you do not define a path in your program or the init variables, it has to look *somewhere* for the file, and the most logical place is in the directory for the sqr executable. Also, if you are using Peoplesoft process scheduler to invoke this sqr program, there is probably a path that needs to be defined in the system. peace, clark 'the dragon' willis PSA: Salary <> Slavery. If you earn a salary, your employer is renting your services for 40 hours a week, not purchasing your soul. Your time is the only real finite asset that you have, and once used it can never be recovered, so don't waste it by giving it away. I work to live; I don't live to work. "Time is the coin of your life. It is the only coin you have, and only you can determine how it will be spent. Be careful lest you let other people spend it for you." -- Carl Sandburg (1878 - 1967) It is impossible to defeat an ignorant man in argument. -- William G. McAdoo Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca "I distrust those people who know so well what God wants them to do because I notice it always coincides with their own desires." - Susan B. Anthony ----Original Message Follows---- Hi there! I am currently working on an invoice layout where I have to embed an image. I do it like this: print-image (30,200) type=bmp-file image-size = (150,50) source='logo.bmp' When I put the bmp file in the same folder as the .sqt then the imageframe is left blank with a cross. The image is only beeing printed if I put the file in SQR's /bin folder. Is there something I have to consider setting the correct path? regards, Marius Giepz ++++++++++++++++++++++++++++++++++++++++++++ Marius Giepz _________________________________________________________________ 5.5%* 30 year fixed mortgage rate. Good credit refinance. Up to 5 free quotes - *Terms https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2a5d&s=4056&p=5117&disc=y&vers=910 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Mar 29 08:50:31 2007 From: "Andalib Yussuf" Subject: RE: [sqr-users] setting the path to an image ressource Date: Thu, 29 Mar 2007 12:47:42 +0000 What are the steps of compiling and running sqr programs using SQR Developer, Activation, Viewer, and Server. I am just a beginner and if I could get some help that would be great. I apologize for any inconvenience to anyone. Anne >From: "the dragon" >Reply-To: "This list is for discussion about the SQR database >reportinglanguage from Hyperion Solutions." >To: sqr-users@sqrug.org >Subject: RE: [sqr-users] setting the path to an image ressource >Date: Wed, 28 Mar 2007 07:11:57 -0500 > >Try using the complete explicit path in your definition. Keep in mind, if >you do not define a path in your program or the init variables, it has to >look *somewhere* for the file, and the most logical place is in the >directory for the sqr executable. Also, if you are using Peoplesoft >process scheduler to invoke this sqr program, there is probably a path that >needs to be defined in the system. > >peace, >clark 'the dragon' willis > > > >PSA: Salary <> Slavery. If you earn a salary, your employer is renting your >services for 40 hours a week, not purchasing your soul. Your time is the >only real finite asset that you have, and once used it can never be >recovered, so don't waste it by giving it away. > >I work to live; I don't live to work. > >"Time is the coin of your life. It is the only coin you have, and only you >can determine how it will be spent. Be careful lest you let other people >spend it for you." -- Carl Sandburg (1878 - 1967) > >It is impossible to defeat an ignorant man in argument. -- William G. >McAdoo > >Religion is regarded by the common people as true, by the wise as false, >and by the rulers as useful. -- Seneca > >"I distrust those people who know so well what God wants them to do because >I notice it always coincides with their own desires." - Susan B. Anthony > > > > >----Original Message Follows---- > >Hi there! >I am currently working on an invoice layout where I have to embed an image. >I do it like this: > >print-image (30,200) > type=bmp-file > image-size = (150,50) > source='logo.bmp' > >When I put the bmp file in the same folder as the .sqt then the imageframe >is left blank with a cross. >The image is only beeing printed if I put the file in SQR's /bin folder. Is >there something I have to consider setting the >correct path? > >regards, > >Marius Giepz > >++++++++++++++++++++++++++++++++++++++++++++ >Marius Giepz > >_________________________________________________________________ >5.5%* 30 year fixed mortgage rate. Good credit refinance. Up to 5 free >quotes - *Terms >https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2a5d&s=4056&p=5117&disc=y&vers=910 > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Live Search Maps – find all the local information you need, right when you need it. http://maps.live.com/?icid=hmtag2&FORM=MGAC01 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Mar 29 09:26:43 2007 From: "Steve Cavill" Subject: RE: [sqr-users] setting the path to an image ressource Date: Thu, 29 Mar 2007 23:21:43 +1000 Download the user manual from hyperion: V8 - Hyperion SQR Users Guide, at dev.hyperion.com V9 - Hyperion Productions Rreporting users guide, at Hyperion download centre. Steve -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of Andalib Yussuf Sent: Thursday, 29 March 2007 10:48 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] setting the path to an image ressource What are the steps of compiling and running sqr programs using SQR Developer, Activation, Viewer, and Server. I am just a beginner and if I could get some help that would be great. I apologize for any inconvenience to anyone. Anne >From: "the dragon" >Reply-To: "This list is for discussion about the SQR database >reportinglanguage from Hyperion Solutions." >To: sqr-users@sqrug.org >Subject: RE: [sqr-users] setting the path to an image ressource >Date: Wed, 28 Mar 2007 07:11:57 -0500 > >Try using the complete explicit path in your definition. Keep in mind, >if you do not define a path in your program or the init variables, it >has to look *somewhere* for the file, and the most logical place is in >the directory for the sqr executable. Also, if you are using >Peoplesoft process scheduler to invoke this sqr program, there is >probably a path that needs to be defined in the system. > >peace, >clark 'the dragon' willis > > > >PSA: Salary <> Slavery. If you earn a salary, your employer is renting >your services for 40 hours a week, not purchasing your soul. Your time >is the only real finite asset that you have, and once used it can never >be recovered, so don't waste it by giving it away. > >I work to live; I don't live to work. > >"Time is the coin of your life. It is the only coin you have, and only >you can determine how it will be spent. Be careful lest you let other >people spend it for you." -- Carl Sandburg (1878 - 1967) > >It is impossible to defeat an ignorant man in argument. -- William G. >McAdoo > >Religion is regarded by the common people as true, by the wise as >false, and by the rulers as useful. -- Seneca > >"I distrust those people who know so well what God wants them to do >because I notice it always coincides with their own desires." - Susan >B. Anthony > > > > >----Original Message Follows---- > >Hi there! >I am currently working on an invoice layout where I have to embed an image. >I do it like this: > >print-image (30,200) > type=bmp-file > image-size = (150,50) > source='logo.bmp' > >When I put the bmp file in the same folder as the .sqt then the >imageframe is left blank with a cross. >The image is only beeing printed if I put the file in SQR's /bin >folder. Is there something I have to consider setting the correct path? > >regards, > >Marius Giepz > >++++++++++++++++++++++++++++++++++++++++++++ >Marius Giepz > >_________________________________________________________________ >5.5%* 30 year fixed mortgage rate. Good credit refinance. Up to 5 free >quotes - *Terms >https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&s >earch=mortgage_text_links_88_h2a5d&s=4056&p=5117&disc=y&vers=910 > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ Live Search Maps - find all the local information you need, right when you need it. http://maps.live.com/?icid=hmtag2&FORM=MGAC01 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Mar 29 09:38:25 2007 Date: Thu, 29 Mar 2007 15:37:31 +0200 From: Marius Giepz Subject: Re: [sqr-users] setting the path to an image ressource Andalib Yussuf schrieb: > What are the steps of compiling and running sqr programs using SQR=20 > Developer, Activation, Viewer, and Server. I am just a beginner and=20 > if I could get some help that would be great. I apologize for any=20 > inconvenience to anyone. > > Anne > > >> From: "the dragon" >> Reply-To: "This list is for discussion about the SQR database=20 >> reportinglanguage from Hyperion Solutions." >> To: sqr-users@sqrug.org >> Subject: RE: [sqr-users] setting the path to an image ressource >> Date: Wed, 28 Mar 2007 07:11:57 -0500 >> >> Try using the complete explicit path in your definition. Keep in=20 >> mind, if you do not define a path in your program or the init=20 >> variables, it has to look *somewhere* for the file, and the most=20 >> logical place is in the directory for the sqr executable. Also, if=20 >> you are using Peoplesoft process scheduler to invoke this sqr=20 >> program, there is probably a path that needs to be defined in the=20 >> system. >> >> peace, >> clark 'the dragon' willis >> >> >> >> PSA: Salary <> Slavery. If you earn a salary, your employer is=20 >> renting your services for 40 hours a week, not purchasing your soul.=20 >> Your time is the only real finite asset that you have, and once used=20 >> it can never be recovered, so don't waste it by giving it away. >> >> I work to live; I don't live to work. >> >> "Time is the coin of your life. It is the only coin you have, and=20 >> only you can determine how it will be spent. Be careful lest you let=20 >> other people spend it for you." -- Carl Sandburg (1878 - 1967) >> >> It is impossible to defeat an ignorant man in argument. -- William G.=20 >> McAdoo >> >> Religion is regarded by the common people as true, by the wise as=20 >> false, and by the rulers as useful. -- Seneca >> >> "I distrust those people who know so well what God wants them to do=20 >> because I notice it always coincides with their own desires." - Susan=20 >> B. Anthony >> >> >> >> >> ----Original Message Follows---- >> >> Hi there! >> I am currently working on an invoice layout where I have to embed an=20 >> image. I do it like this: >> >> print-image (30,200) >> type=3Dbmp-file >> image-size =3D (150,50) >> source=3D'logo.bmp' >> >> When I put the bmp file in the same folder as the .sqt then the=20 >> imageframe is left blank with a cross. >> The image is only beeing printed if I put the file in SQR's /bin=20 >> folder. Is there something I have to consider setting the >> correct path? >> >> regards, >> >> Marius Giepz >> >> ++++++++++++++++++++++++++++++++++++++++++++ >> Marius Giepz >> >> _________________________________________________________________ >> 5.5%* 30 year fixed mortgage rate. Good credit refinance. Up to 5=20 >> free quotes - *Terms=20 >> https://www2.nextag.com/goto.jsp?product=3D100000035&url=3D%2fst.jsp&tm= =3Dy&search=3Dmortgage_text_links_88_h2a5d&s=3D4056&p=3D5117&disc=3Dy&vers= =3D910=20 >> >> >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users > > _________________________________________________________________ > Live Search Maps ? find all the local information you need, right when=20 > you need it. http://maps.live.com/?icid=3Dhmtag2&FORM=3DMGAC01 > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users I just use sqr reports with the comandline version of sqr. I call it=20 from a JAVA-App and create a PDF output. For developement I use SQR-Express. For compilation I just use a simple=20 batchfile: set name=3D%1 @echo %1 set user=3D... set pass=3D... set base=3D... sqr %name%.sqr %user%/%pass%@%base% -f%name.sqt% jobnr -KEEP -RS Regarding the image problem, it would not be possible for me to set the=20 complete path as the report is beeing deployed to different locations on=20 different systems. The Hyperion Documentation says: *The file is assumed to reside in the current directory *or in the=20 directory where Production Reporting is installed, but the file can=20 reside in any directory as long a full pathname for the image file is=20 specified... this doesnt work for me. --=20 ++++++++++++++++++++++++++++++++++++++++++++ Marius Giepz topsystem Systemhaus GmbH Europark A2 Adenauer Strasse 20 52146 W=FCrselen Germany Phone : +49 2405 4670-0 email : mg@topsystem.de ++++++++++++++++++++++++++++++++++++++++++++=20=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Mar 29 14:33:05 2007 Date: Thu, 29 Mar 2007 11:30:13 -0700 (PDT) From: Aleksandr Slobodyanik Subject: [sqr-users] Reading from HTML page using SQR. Hello. I need any information how I could read from HTML page using SQR. Thank you very much. --------------------------------- Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Mar 29 17:06:05 2007 From: "Franck Masson" Subject: RE: [sqr-users] setting the path to an image ressource Date: Thu, 29 Mar 2007 23:08:58 +0200 If your image and SQR program are in the same directory . cd my_directory sqr my_report.sqr If not you can specify a relatif path regarding the location you are when you run your report. sample: /usr/my_project/sqr/my_report.sqr /usr/my_project/image/image1.gif cd /usr/my_job sqr ../sqr/my_report.sqr ..... then in your sqr code the path should be ../image/image1.gif another solution will be to pass the "Path" as a parameter of your report. Franck -----Original Message----- From: sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org [mailto:sqr-users-bounces+franck.masson2002=3Dlaposte.net@sqrug.org]On Behalf Of Marius Giepz Sent: jeudi 29 mars 2007 15:38 To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] setting the path to an image ressource Andalib Yussuf schrieb: > What are the steps of compiling and running sqr programs using SQR > Developer, Activation, Viewer, and Server. I am just a beginner and > if I could get some help that would be great. I apologize for any > inconvenience to anyone. > > Anne > > >> From: "the dragon" >> Reply-To: "This list is for discussion about the SQR database >> reportinglanguage from Hyperion Solutions." >> To: sqr-users@sqrug.org >> Subject: RE: [sqr-users] setting the path to an image ressource >> Date: Wed, 28 Mar 2007 07:11:57 -0500 >> >> Try using the complete explicit path in your definition. Keep in >> mind, if you do not define a path in your program or the init >> variables, it has to look *somewhere* for the file, and the most >> logical place is in the directory for the sqr executable. Also, if >> you are using Peoplesoft process scheduler to invoke this sqr >> program, there is probably a path that needs to be defined in the >> system. >> >> peace, >> clark 'the dragon' willis >> >> >> >> PSA: Salary <> Slavery. If you earn a salary, your employer is >> renting your services for 40 hours a week, not purchasing your soul. >> Your time is the only real finite asset that you have, and once used >> it can never be recovered, so don't waste it by giving it away. >> >> I work to live; I don't live to work. >> >> "Time is the coin of your life. It is the only coin you have, and >> only you can determine how it will be spent. Be careful lest you let >> other people spend it for you." -- Carl Sandburg (1878 - 1967) >> >> It is impossible to defeat an ignorant man in argument. -- William G. >> McAdoo >> >> Religion is regarded by the common people as true, by the wise as >> false, and by the rulers as useful. -- Seneca >> >> "I distrust those people who know so well what God wants them to do >> because I notice it always coincides with their own desires." - Susan >> B. Anthony >> >> >> >> >> ----Original Message Follows---- >> >> Hi there! >> I am currently working on an invoice layout where I have to embed an >> image. I do it like this: >> >> print-image (30,200) >> type=3Dbmp-file >> image-size =3D (150,50) >> source=3D'logo.bmp' >> >> When I put the bmp file in the same folder as the .sqt then the >> imageframe is left blank with a cross. >> The image is only beeing printed if I put the file in SQR's /bin >> folder. Is there something I have to consider setting the >> correct path? >> >> regards, >> >> Marius Giepz >> >> ++++++++++++++++++++++++++++++++++++++++++++ >> Marius Giepz >> >> _________________________________________________________________ >> 5.5%* 30 year fixed mortgage rate. Good credit refinance. Up to 5 >> free quotes - *Terms >> https://www2.nextag.com/goto.jsp?product=3D100000035&url=3D%2fst.jsp&tm=3Dy= &search =3Dmortgage_text_links_88_h2a5d&s=3D4056&p=3D5117&disc=3Dy&vers=3D910 >> >> >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> http://www.sqrug.org/mailman/listinfo/sqr-users > > _________________________________________________________________ > Live Search Maps ? find all the local information you need, right when > you need it. http://maps.live.com/?icid=3Dhmtag2&FORM=3DMGAC01 > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users I just use sqr reports with the comandline version of sqr. I call it from a JAVA-App and create a PDF output. For developement I use SQR-Express. For compilation I just use a simple batchfile: set name=3D%1 @echo %1 set user=3D... set pass=3D... set base=3D... sqr %name%.sqr %user%/%pass%@%base% -f%name.sqt% jobnr -KEEP -RS Regarding the image problem, it would not be possible for me to set the complete path as the report is beeing deployed to different locations on different systems. The Hyperion Documentation says: *The file is assumed to reside in the current directory *or in the directory where Production Reporting is installed, but the file can reside in any directory as long a full pathname for the image file is specified... this doesnt work for me. -- ++++++++++++++++++++++++++++++++++++++++++++ Marius Giepz topsystem Systemhaus GmbH Europark A2 Adenauer Strasse 20 52146 W=FCrselen Germany Phone : +49 2405 4670-0 email : mg@topsystem.de ++++++++++++++++++++++++++++++++++++++++++++ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users