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