From sqr-users-bounces@sqrug.org Tue Apr 01 00:02:46 2008 Date: Tue, 1 Apr 2008 00:00:03 -0400 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.23 $ $Date: 2006/07/27 16:28:24 $ 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 Apr 01 01:50:40 2008 Subject: RE: [sqr-users] Use with-clause in begin-select Statement Date: Tue, 1 Apr 2008 07:47:38 +0200 From: "Hug Marcel (KSFH 344)" Hi, does not work, unfortunately. Will probably put the whole def-clause into a= =20 variable and use this in an inline select. Marcel=20 Marcel Hug Credit Suisse Information Technology Solution Engineering, KSFH 344 Oracle | Hyperion Lead Ing. FN Reports Zollstrasse 20/36 CH-8005 Z=FCrich Tel: +41 1 334 74 20 mailto:marcel.hug@credit-suisse.com http://www.credit-suisse.com -----Original Message----- From: sqr-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org [mailto:sq= r-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org] On Behalf Of fran= ck.masson Sent: Tuesday, April 01, 2008 12:44 AM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: RE: [sqr-users] Use with-clause in begin-select Statement have you tried something like this =20 begin-sql WITH MY_SQL_DEF1 AS (Select From ), MY_SQL_DEF2 AS (Select FROM MY_SQL_DEF1 ); end-sql and then: let $my_select=3D'MY_SQL_DEF1' begin-select SELECT=20 FROM [$my_select] end-select > Message du 01/04/08 00:28 > De : "Paul Hoyte"=20 > A : "'This list is for discussion about the SQR database reportinglanguag= e from Hyperion Solutions.'"=20 > Copie =E0 :=20 > Objet : RE: [sqr-users] Use with-clause in begin-select Statement > > Hyperion SQR 8.5 and earlier does not support this functionality. We want= ed > to use this as well and when we called support they were not even aware of > the Oracle function. Don=92t know about SQR9 yet though. >=20 >=20 > Paul Hoyte > (248) 752-6970 > pa_hoyte@si-proservices.com >=20 > -----Original Message----- > From: sqr-users-bounces+pi_hoyte=3Dsi-proservices.com@sqrug.org > [mailto:sqr-users-bounces+pi_hoyte=3Dsi-proservices.com@sqrug.org] On Beh= alf > Of Hug Marcel (KSFH 344) > Sent: Monday, March 31, 2008 10:56 AM > To: sqr-users@sqrug.org > Subject: [sqr-users] Use with-clause in begin-select Statement >=20 > Hi, >=20 > we want to use the WITH Oracle statement to make reuse of sql definitions. > E.g.: >=20 > begin-select > WITH > MY_SQL_DEF1 AS (Select > From=20 > ), > MY_SQL_DEF2 AS (Select >=20 > FROM > MY_SQL_DEF1 > ) > end-select >=20 > and then: >=20 > begin-select > SELECT=20 >=20 > FROM > MY_SQL_DEF2 > end-select >=20 > How is this possible? Or do we have a begin-sql statement? >=20 > Thx - Marcel >=20 > Marcel Hug > Credit Suisse > Information Technology > Solution Engineering, KSFH 344 > Oracle | Hyperion Lead Ing. FN Reports > Zollstrasse 20/36 > CH-8005 Z=FCrich > Tel: +41 1 334 74 20 > mailto:marcel.hug@credit-suisse.com > http://www.credit-suisse.com >=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 >=20 >=20 Cr=E9ez votre adresse =E9lectronique pr=E9nom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 01 06:29:12 2008 From: "Steve Cavill" Subject: RE: [sqr-users] Use with-clause in begin-select Statement Date: Tue, 1 Apr 2008 21:25:03 +1100 What about: #define my_sql_def (select from ) Begin-select Cola Colb From {my_sql_def}=20 End-select Steve.=20 -----Original Message----- From: sqr-users-bounces+steve.cavill=3Dinfoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=3Dinfoclarity.com.au@sqrug.org] On B= ehalf Of Hug Marcel (KSFH 344) Sent: Tuesday, 1 April 2008 4:48 PM To: This list is for discussion about the SQR database reportinglanguage fr= omHyperion Solutions. Subject: RE: [sqr-users] Use with-clause in begin-select Statement Hi, does not work, unfortunately. Will probably put the whole def-clause into a= variable and use this in an inline select. Marcel=20 Marcel Hug Credit Suisse Information Technology Solution Engineering, KSFH 344 Oracle | Hyperion Lead Ing. FN Reports Zollstrasse 20/36 CH-8005 Z=FCrich Tel: +41 1 334 74 20 mailto:marcel.hug@credit-suisse.com http://www.credit-suisse.com -----Original Message----- From: sqr-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org [mailto:sq= r-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org] On Behalf Of franck.masson Sent: Tuesday, April 01, 2008 12:44 AM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: RE: [sqr-users] Use with-clause in begin-select Statement have you tried something like this =20 begin-sql WITH MY_SQL_DEF1 AS (Select From
), MY_SQL_DEF2 AS (Select FROM MY_SQL_DEF1 ); end-sql and then: let $my_select=3D'MY_SQL_DEF1' begin-select SELECT=20 FROM [$my_select] end-select > Message du 01/04/08 00:28 > De : "Paul Hoyte"=20 > A : "'This list is for discussion about the SQR database reportinglanguag= e from Hyperion Solutions.'"=20 > Copie =E0 :=20 > Objet : RE: [sqr-users] Use with-clause in begin-select Statement > > Hyperion SQR 8.5 and earlier does not support this functionality. We=20 > wanted to use this as well and when we called support they were not=20 > even aware of the Oracle function. Don=92t know about SQR9 yet though. >=20 >=20 > Paul Hoyte > (248) 752-6970 > pa_hoyte@si-proservices.com >=20 > -----Original Message----- > From: sqr-users-bounces+pi_hoyte=3Dsi-proservices.com@sqrug.org > [mailto:sqr-users-bounces+pi_hoyte=3Dsi-proservices.com@sqrug.org] On=20 > Behalf Of Hug Marcel (KSFH 344) > Sent: Monday, March 31, 2008 10:56 AM > To: sqr-users@sqrug.org > Subject: [sqr-users] Use with-clause in begin-select Statement >=20 > Hi, >=20 > we want to use the WITH Oracle statement to make reuse of sql definitions. > E.g.: >=20 > begin-select > WITH > MY_SQL_DEF1 AS (Select > From > ), > MY_SQL_DEF2 AS (Select >=20 > FROM > MY_SQL_DEF1 > ) > end-select >=20 > and then: >=20 > begin-select > SELECT >=20 > FROM > MY_SQL_DEF2 > end-select >=20 > How is this possible? Or do we have a begin-sql statement? >=20 > Thx - Marcel >=20 > Marcel Hug > Credit Suisse > Information Technology > Solution Engineering, KSFH 344 > Oracle | Hyperion Lead Ing. FN Reports Zollstrasse 20/36 > CH-8005 Z=FCrich > Tel: +41 1 334 74 20 > mailto:marcel.hug@credit-suisse.com > http://www.credit-suisse.com >=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 >=20 >=20 Cr=E9ez votre adresse =E9lectronique pr=E9nom.nom@laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 02 14:21:10 2008 Date: Wed, 2 Apr 2008 14:18:27 -0400 From: "Don Mellen" Subject: Re: [sqr-users] Use with-clause in begin-select Statement If you need to use the "WITH" clause, you can try something like... begin-select from (WITH MY_SQL_DEF1 AS (Select /*+ materialize */ From
), MY_SQL_DEF2 AS (Select /*+ materialize */ FROM MY_SQL_DEF1) SELECT FROM MY_SQL_DEF2 ) end-select HTH, Don On Tue, Apr 1, 2008 at 1:47 AM, Hug Marcel (KSFH 344) < marcel.hug@credit-suisse.com> wrote: > Hi, > > does not work, unfortunately. Will probably put the whole def-clause into > a > variable and use this in an inline select. > > Marcel > > > Marcel Hug > Credit Suisse > Information Technology > Solution Engineering, KSFH 344 > Oracle | Hyperion Lead Ing. FN Reports > Zollstrasse 20/36 > CH-8005 Z=FCrich > Tel: +41 1 334 74 20 > mailto:marcel.hug@credit-suisse.com > http://www.credit-suisse.com > > -----Original Message----- > From: sqr-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org [mailto: > sqr-users-bounces+marcel.hug =3D > credit-suisse.com@sqrug.org] On Behalf Of franck.masson > Sent: Tuesday, April 01, 2008 12:44 AM > To: This list is for discussion about the SQR database reporting > languagefrom Hyperion Solutions. > Subject: RE: [sqr-users] Use with-clause in begin-select Statement > > have you tried something like this > > begin-sql > WITH > MY_SQL_DEF1 AS (Select > From
> ), > MY_SQL_DEF2 AS (Select > > FROM > MY_SQL_DEF1 > ); > end-sql > > and then: > let $my_select=3D'MY_SQL_DEF1' > begin-select > SELECT > > FROM > [$my_select] > end-select > > > > > Message du 01/04/08 00:28 > > De : "Paul Hoyte" > > A : "'This list is for discussion about the SQR database > reportinglanguage from Hyperion Solutions.'" > > Copie =E0 : > > Objet : RE: [sqr-users] Use with-clause in begin-select Statement > > > > Hyperion SQR 8.5 and earlier does not support this functionality. We > wanted > > to use this as well and when we called support they were not even aware > of > > the Oracle function. Don't know about SQR9 yet though. > > > > > > Paul Hoyte > > (248) 752-6970 > > pa_hoyte@si-proservices.com > > > > -----Original Message----- > > From: sqr-users-bounces+pi_hoyte=3Dsi-proservices.com@sqrug.org > > [mailto:sqr-users-bounces+pi_hoyte =3D > si-proservices.com@sqrug.org] On Behalf > > Of Hug Marcel (KSFH 344) > > Sent: Monday, March 31, 2008 10:56 AM > > To: sqr-users@sqrug.org > > Subject: [sqr-users] Use with-clause in begin-select Statement > > > > Hi, > > > > we want to use the WITH Oracle statement to make reuse of sql > definitions. > > E.g.: > > > > begin-select > > WITH > > MY_SQL_DEF1 AS (Select > > From > > ), > > MY_SQL_DEF2 AS (Select > > > > FROM > > MY_SQL_DEF1 > > ) > > end-select > > > > and then: > > > > begin-select > > SELECT > > > > FROM > > MY_SQL_DEF2 > > end-select > > > > How is this possible? Or do we have a begin-sql statement? > > > > Thx - Marcel > > > > Marcel Hug > > Credit Suisse > > Information Technology > > Solution Engineering, KSFH 344 > > Oracle | Hyperion Lead Ing. FN Reports > > Zollstrasse 20/36 > > CH-8005 Z=FCrich > > Tel: +41 1 334 74 20 > > mailto:marcel.hug@credit-suisse.com > > http://www.credit-suisse.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 > > > > > > Cr=E9ez votre adresse =E9lectronique pr=E9nom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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 ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ donm@ontko.com | "In the beginning, there was nothing, which exploded" (Terry Pratchett) _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Apr 02 19:56:35 2008 Date: Wed, 2 Apr 2008 16:53:28 -0700 (PDT) From: Les Hancock Subject: Re: [sqr-users] Use with-clause in begin-select Statement Don: I hope this works. That is really neat if it does. Too bad I am now at a place that uses SQL Server. Do you know of any tips or tricks or gotchas in writing SQRs on SQL Server? Thanks, Les Hancock ----- Original Message ---- From: Don Mellen To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Sent: Wednesday, April 2, 2008 2:18:27 PM Subject: Re: [sqr-users] Use with-clause in begin-select Statement If you need to use the "WITH" clause, you can try something like... begin-select from (WITH MY_SQL_DEF1 AS (Select /*+ materialize */ From
), MY_SQL_DEF2 AS (Select /*+ materialize */ FROM MY_SQL_DEF1) SELECT FROM MY_SQL_DEF2 ) end-select HTH, Don On Tue, Apr 1, 2008 at 1:47 AM, Hug Marcel (KSFH 344) < marcel.hug@credit-suisse.com> wrote: > Hi, > > does not work, unfortunately. Will probably put the whole def-clause into > a > variable and use this in an inline select. > > Marcel > > > Marcel Hug > Credit Suisse > Information Technology > Solution Engineering, KSFH 344 > Oracle | Hyperion Lead Ing. FN Reports > Zollstrasse 20/36 > CH-8005 Z=FCrich > Tel: +41 1 334 74 20 > mailto:marcel.hug@credit-suisse.com > http://www.credit-suisse.com > > -----Original Message----- > From: sqr-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org [mailto: > sqr-users-bounces+marcel.hug =3D > credit-suisse.com@sqrug.org] On Behalf Of franck.masson > Sent: Tuesday, April 01, 2008 12:44 AM > To: This list is for discussion about the SQR database reporting > languagefrom Hyperion Solutions. > Subject: RE: [sqr-users] Use with-clause in begin-select Statement > > have you tried something like this > > begin-sql > WITH > MY_SQL_DEF1 AS (Select > From
> ), > MY_SQL_DEF2 AS (Select > > FROM > MY_SQL_DEF1 > ); > end-sql > > and then: > let $my_select=3D'MY_SQL_DEF1' > begin-select > SELECT > > FROM > [$my_select] > end-select > > > > > Message du 01/04/08 00:28 > > De : "Paul Hoyte" > > A : "'This list is for discussion about the SQR database > reportinglanguage from Hyperion Solutions.'" > > Copie =E0 : > > Objet : RE: [sqr-users] Use with-clause in begin-select Statement > > > > Hyperion SQR 8.5 and earlier does not support this functionality. We > wanted > > to use this as well and when we called support they were not even aware > of > > the Oracle function. Don't know about SQR9 yet though. > > > > > > Paul Hoyte > > (248) 752-6970 > > pa_hoyte@si-proservices.com > > > > -----Original Message----- > > From: sqr-users-bounces+pi_hoyte=3Dsi-proservices.com@sqrug.org > > [mailto:sqr-users-bounces+pi_hoyte =3D > si-proservices.com@sqrug.org] On Behalf > > Of Hug Marcel (KSFH 344) > > Sent: Monday, March 31, 2008 10:56 AM > > To: sqr-users@sqrug.org > > Subject: [sqr-users] Use with-clause in begin-select Statement > > > > Hi, > > > > we want to use the WITH Oracle statement to make reuse of sql > definitions. > > E.g.: > > > > begin-select > > WITH > > MY_SQL_DEF1 AS (Select > > From > > ), > > MY_SQL_DEF2 AS (Select > > > > FROM > > MY_SQL_DEF1 > > ) > > end-select > > > > and then: > > > > begin-select > > SELECT > > > > FROM > > MY_SQL_DEF2 > > end-select > > > > How is this possible? Or do we have a begin-sql statement? > > > > Thx - Marcel > > > > Marcel Hug > > Credit Suisse > > Information Technology > > Solution Engineering, KSFH 344 > > Oracle | Hyperion Lead Ing. FN Reports > > Zollstrasse 20/36 > > CH-8005 Z=FCrich > > Tel: +41 1 334 74 20 > > mailto:marcel.hug@credit-suisse.com > > http://www.credit-suisse.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 > > > > > > Cr=E9ez votre adresse =E9lectronique pr=E9nom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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 ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ donm@ontko.com | "In the beginning, there was nothing, which exploded" (Terry Pratchett) _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _____________________________________________________________________= _______________ You rock. That's why Blockbuster's offering you one month of Blockbuster To= tal Access, No Cost.=20=20 http://tc.deals.yahoo.com/tc/blockbuster/text5.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 03 14:17:28 2008 Subject: RE: [sqr-users] Use with-clause in begin-select Statement Date: Thu, 3 Apr 2008 20:14:09 +0200 From: "Hug Marcel (KSFH 344)" oh oh. SQR is so old fashioned. It does not even support hash tables. >From todays point of view - I would be happy to have sql server at my dispo= sition :-) Marcel=20 Marcel Hug Credit Suisse Information Technology Solution Engineering, KSFH 344 Oracle | Hyperion Lead Ing. FN Reports Zollstrasse 20/36 CH-8005 Z=FCrich Tel: +41 1 334 74 20 mailto:marcel.hug@credit-suisse.com http://www.credit-suisse.com -----Original Message----- From: sqr-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org [mailto:sq= r-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org] On Behalf Of Les = Hancock Sent: Thursday, April 03, 2008 1:53 AM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: Re: [sqr-users] Use with-clause in begin-select Statement Don: I hope this works. That is really neat if it does. Too bad I am now at a place that uses SQL Server. Do you know of any tips or tricks or gotchas in writing SQRs on SQL Server? Thanks, Les Hancock ----- Original Message ---- From: Don Mellen To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Sent: Wednesday, April 2, 2008 2:18:27 PM Subject: Re: [sqr-users] Use with-clause in begin-select Statement If you need to use the "WITH" clause, you can try something like... begin-select from (WITH MY_SQL_DEF1 AS (Select /*+ materialize */ From
), MY_SQL_DEF2 AS (Select /*+ materialize */ FROM MY_SQL_DEF1) SELECT FROM MY_SQL_DEF2 ) end-select HTH, Don On Tue, Apr 1, 2008 at 1:47 AM, Hug Marcel (KSFH 344) < marcel.hug@credit-suisse.com> wrote: > Hi, > > does not work, unfortunately. Will probably put the whole def-clause into > a > variable and use this in an inline select. > > Marcel > > > Marcel Hug > Credit Suisse > Information Technology > Solution Engineering, KSFH 344 > Oracle | Hyperion Lead Ing. FN Reports > Zollstrasse 20/36 > CH-8005 Z=FCrich > Tel: +41 1 334 74 20 > mailto:marcel.hug@credit-suisse.com > http://www.credit-suisse.com > > -----Original Message----- > From: sqr-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org [mailto: > sqr-users-bounces+marcel.hug =3D > credit-suisse.com@sqrug.org] On Behalf Of franck.masson > Sent: Tuesday, April 01, 2008 12:44 AM > To: This list is for discussion about the SQR database reporting > languagefrom Hyperion Solutions. > Subject: RE: [sqr-users] Use with-clause in begin-select Statement > > have you tried something like this > > begin-sql > WITH > MY_SQL_DEF1 AS (Select > From
> ), > MY_SQL_DEF2 AS (Select > > FROM > MY_SQL_DEF1 > ); > end-sql > > and then: > let $my_select=3D'MY_SQL_DEF1' > begin-select > SELECT > > FROM > [$my_select] > end-select > > > > > Message du 01/04/08 00:28 > > De : "Paul Hoyte" > > A : "'This list is for discussion about the SQR database > reportinglanguage from Hyperion Solutions.'" > > Copie =E0 : > > Objet : RE: [sqr-users] Use with-clause in begin-select Statement > > > > Hyperion SQR 8.5 and earlier does not support this functionality. We > wanted > > to use this as well and when we called support they were not even aware > of > > the Oracle function. Don't know about SQR9 yet though. > > > > > > Paul Hoyte > > (248) 752-6970 > > pa_hoyte@si-proservices.com > > > > -----Original Message----- > > From: sqr-users-bounces+pi_hoyte=3Dsi-proservices.com@sqrug.org > > [mailto:sqr-users-bounces+pi_hoyte =3D > si-proservices.com@sqrug.org] On Behalf > > Of Hug Marcel (KSFH 344) > > Sent: Monday, March 31, 2008 10:56 AM > > To: sqr-users@sqrug.org > > Subject: [sqr-users] Use with-clause in begin-select Statement > > > > Hi, > > > > we want to use the WITH Oracle statement to make reuse of sql > definitions. > > E.g.: > > > > begin-select > > WITH > > MY_SQL_DEF1 AS (Select > > From > > ), > > MY_SQL_DEF2 AS (Select > > > > FROM > > MY_SQL_DEF1 > > ) > > end-select > > > > and then: > > > > begin-select > > SELECT > > > > FROM > > MY_SQL_DEF2 > > end-select > > > > How is this possible? Or do we have a begin-sql statement? > > > > Thx - Marcel > > > > Marcel Hug > > Credit Suisse > > Information Technology > > Solution Engineering, KSFH 344 > > Oracle | Hyperion Lead Ing. FN Reports > > Zollstrasse 20/36 > > CH-8005 Z=FCrich > > Tel: +41 1 334 74 20 > > mailto:marcel.hug@credit-suisse.com > > http://www.credit-suisse.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 > > > > > > Cr=E9ez votre adresse =E9lectronique pr=E9nom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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 ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ donm@ontko.com | "In the beginning, there was nothing, which exploded" (Terry Pratchett) _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _____________________________________________________________________= _______________ You rock. That's why Blockbuster's offering you one month of Blockbuster To= tal Access, No Cost.=20=20 http://tc.deals.yahoo.com/tc/blockbuster/text5.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 Apr 03 14:26:01 2008 Subject: RE: [sqr-users] Use with-clause in begin-select Statement Date: Thu, 3 Apr 2008 14:22:53 -0400 From: "Rowell, Charles" Now that Oracle has hold of this product, SQR days may be numbered.... Although I truly hope not.=20=20 -----Original Message----- From: sqr-users-bounces+charles.rowell=3Dfmr.com@sqrug.org [mailto:sqr-user= s-bounces+charles.rowell=3Dfmr.com@sqrug.org] On Behalf Of Hug Marcel (KSFH= 344) Sent: Thursday, April 03, 2008 2:14 PM To: This list is for discussion about the SQR database reportinglanguage fr= omHyperion Solutions. Subject: RE: [sqr-users] Use with-clause in begin-select Statement oh oh. SQR is so old fashioned. It does not even support hash tables. >From todays point of view - I would be happy to have sql server at my disp= osition :-) Marcel=20 Marcel Hug Credit Suisse Information Technology Solution Engineering, KSFH 344 Oracle | Hyperion Lead Ing. FN Reports Zollstrasse 20/36 CH-8005 Z=FCrich Tel: +41 1 334 74 20 mailto:marcel.hug@credit-suisse.com http://www.credit-suisse.com -----Original Message----- From: sqr-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org [mailto:sq= r-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org] On Behalf Of Les = Hancock Sent: Thursday, April 03, 2008 1:53 AM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: Re: [sqr-users] Use with-clause in begin-select Statement Don: I hope this works. That is really neat if it does. Too bad I am now at a place that uses SQL Server. Do you know of any tips or tricks or gotchas in writing SQRs on SQL Server? Thanks, Les Hancock ----- Original Message ---- From: Don Mellen To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Sent: Wednesday, April 2, 2008 2:18:27 PM Subject: Re: [sqr-users] Use with-clause in begin-select Statement If you need to use the "WITH" clause, you can try something like... begin-select from (WITH MY_SQL_DEF1 AS (Select /*+ materialize */ From
), MY_SQL_DEF2 AS (Select /*+ materialize */ FROM MY_SQL_DEF1) SELECT FROM MY_SQL_DEF2 ) end-select HTH, Don On Tue, Apr 1, 2008 at 1:47 AM, Hug Marcel (KSFH 344) < marcel.hug@credit-suisse.com> wrote: > Hi, > > does not work, unfortunately. Will probably put the whole def-clause into > a > variable and use this in an inline select. > > Marcel > > > Marcel Hug > Credit Suisse > Information Technology > Solution Engineering, KSFH 344 > Oracle | Hyperion Lead Ing. FN Reports > Zollstrasse 20/36 > CH-8005 Z=FCrich > Tel: +41 1 334 74 20 > mailto:marcel.hug@credit-suisse.com > http://www.credit-suisse.com > > -----Original Message----- > From: sqr-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org [mailto: > sqr-users-bounces+marcel.hug =3D > credit-suisse.com@sqrug.org] On Behalf Of franck.masson > Sent: Tuesday, April 01, 2008 12:44 AM > To: This list is for discussion about the SQR database reporting > languagefrom Hyperion Solutions. > Subject: RE: [sqr-users] Use with-clause in begin-select Statement > > have you tried something like this > > begin-sql > WITH > MY_SQL_DEF1 AS (Select > From
> ), > MY_SQL_DEF2 AS (Select > > FROM > MY_SQL_DEF1 > ); > end-sql > > and then: > let $my_select=3D'MY_SQL_DEF1' > begin-select > SELECT > > FROM > [$my_select] > end-select > > > > > Message du 01/04/08 00:28 > > De : "Paul Hoyte" > > A : "'This list is for discussion about the SQR database > reportinglanguage from Hyperion Solutions.'" > > Copie =E0 : > > Objet : RE: [sqr-users] Use with-clause in begin-select Statement > > > > Hyperion SQR 8.5 and earlier does not support this functionality. We > wanted > > to use this as well and when we called support they were not even aware > of > > the Oracle function. Don't know about SQR9 yet though. > > > > > > Paul Hoyte > > (248) 752-6970 > > pa_hoyte@si-proservices.com > > > > -----Original Message----- > > From: sqr-users-bounces+pi_hoyte=3Dsi-proservices.com@sqrug.org > > [mailto:sqr-users-bounces+pi_hoyte =3D > si-proservices.com@sqrug.org] On Behalf > > Of Hug Marcel (KSFH 344) > > Sent: Monday, March 31, 2008 10:56 AM > > To: sqr-users@sqrug.org > > Subject: [sqr-users] Use with-clause in begin-select Statement > > > > Hi, > > > > we want to use the WITH Oracle statement to make reuse of sql > definitions. > > E.g.: > > > > begin-select > > WITH > > MY_SQL_DEF1 AS (Select > > From > > ), > > MY_SQL_DEF2 AS (Select > > > > FROM > > MY_SQL_DEF1 > > ) > > end-select > > > > and then: > > > > begin-select > > SELECT > > > > FROM > > MY_SQL_DEF2 > > end-select > > > > How is this possible? Or do we have a begin-sql statement? > > > > Thx - Marcel > > > > Marcel Hug > > Credit Suisse > > Information Technology > > Solution Engineering, KSFH 344 > > Oracle | Hyperion Lead Ing. FN Reports > > Zollstrasse 20/36 > > CH-8005 Z=FCrich > > Tel: +41 1 334 74 20 > > mailto:marcel.hug@credit-suisse.com > > http://www.credit-suisse.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 > > > > > > Cr=E9ez votre adresse =E9lectronique pr=E9nom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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 ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ donm@ontko.com | "In the beginning, there was nothing, which exploded" (Terry Pratchett) _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _____________________________________________________________________= _______________ You rock. That's why Blockbuster's offering you one month of Blockbuster To= tal Access, No Cost.=20=20 http://tc.deals.yahoo.com/tc/blockbuster/text5.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 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Apr 03 14:32:24 2008 Subject: RE: [sqr-users] Use with-clause in begin-select Statement Date: Thu, 3 Apr 2008 20:29:13 +0200 From: "Hug Marcel (KSFH 344)" Hi, SQR is no strategic tool for Oracle. Ask the product managers.=20 But as usual, it will be further supported for some years... Marcel=20 Marcel Hug Credit Suisse Information Technology Solution Engineering, KSFH 344 Oracle | Hyperion Lead Ing. FN Reports Zollstrasse 20/36 CH-8005 Z=FCrich Tel: +41 1 334 74 20 mailto:marcel.hug@credit-suisse.com http://www.credit-suisse.com -----Original Message----- From: sqr-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org [mailto:sq= r-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org] On Behalf Of Rowe= ll, Charles Sent: Thursday, April 03, 2008 8:23 PM To: This list is for discussion about the SQR database reportinglanguage fr= omHyperion Solutions. Subject: RE: [sqr-users] Use with-clause in begin-select Statement Now that Oracle has hold of this product, SQR days may be numbered.... Although I truly hope not.=20=20 -----Original Message----- From: sqr-users-bounces+charles.rowell=3Dfmr.com@sqrug.org [mailto:sqr-user= s-bounces+charles.rowell=3Dfmr.com@sqrug.org] On Behalf Of Hug Marcel (KSFH= 344) Sent: Thursday, April 03, 2008 2:14 PM To: This list is for discussion about the SQR database reportinglanguage fr= omHyperion Solutions. Subject: RE: [sqr-users] Use with-clause in begin-select Statement oh oh. SQR is so old fashioned. It does not even support hash tables. >From todays point of view - I would be happy to have sql server at my disp= osition :-) Marcel=20 Marcel Hug Credit Suisse Information Technology Solution Engineering, KSFH 344 Oracle | Hyperion Lead Ing. FN Reports Zollstrasse 20/36 CH-8005 Z=FCrich Tel: +41 1 334 74 20 mailto:marcel.hug@credit-suisse.com http://www.credit-suisse.com -----Original Message----- From: sqr-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org [mailto:sq= r-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org] On Behalf Of Les = Hancock Sent: Thursday, April 03, 2008 1:53 AM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: Re: [sqr-users] Use with-clause in begin-select Statement Don: I hope this works. That is really neat if it does. Too bad I am now at a place that uses SQL Server. Do you know of any tips or tricks or gotchas in writing SQRs on SQL Server? Thanks, Les Hancock ----- Original Message ---- From: Don Mellen To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Sent: Wednesday, April 2, 2008 2:18:27 PM Subject: Re: [sqr-users] Use with-clause in begin-select Statement If you need to use the "WITH" clause, you can try something like... begin-select from (WITH MY_SQL_DEF1 AS (Select /*+ materialize */ From
), MY_SQL_DEF2 AS (Select /*+ materialize */ FROM MY_SQL_DEF1) SELECT FROM MY_SQL_DEF2 ) end-select HTH, Don On Tue, Apr 1, 2008 at 1:47 AM, Hug Marcel (KSFH 344) < marcel.hug@credit-suisse.com> wrote: > Hi, > > does not work, unfortunately. Will probably put the whole def-clause into > a > variable and use this in an inline select. > > Marcel > > > Marcel Hug > Credit Suisse > Information Technology > Solution Engineering, KSFH 344 > Oracle | Hyperion Lead Ing. FN Reports > Zollstrasse 20/36 > CH-8005 Z=FCrich > Tel: +41 1 334 74 20 > mailto:marcel.hug@credit-suisse.com > http://www.credit-suisse.com > > -----Original Message----- > From: sqr-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org [mailto: > sqr-users-bounces+marcel.hug =3D > credit-suisse.com@sqrug.org] On Behalf Of franck.masson > Sent: Tuesday, April 01, 2008 12:44 AM > To: This list is for discussion about the SQR database reporting > languagefrom Hyperion Solutions. > Subject: RE: [sqr-users] Use with-clause in begin-select Statement > > have you tried something like this > > begin-sql > WITH > MY_SQL_DEF1 AS (Select > From
> ), > MY_SQL_DEF2 AS (Select > > FROM > MY_SQL_DEF1 > ); > end-sql > > and then: > let $my_select=3D'MY_SQL_DEF1' > begin-select > SELECT > > FROM > [$my_select] > end-select > > > > > Message du 01/04/08 00:28 > > De : "Paul Hoyte" > > A : "'This list is for discussion about the SQR database > reportinglanguage from Hyperion Solutions.'" > > Copie =E0 : > > Objet : RE: [sqr-users] Use with-clause in begin-select Statement > > > > Hyperion SQR 8.5 and earlier does not support this functionality. We > wanted > > to use this as well and when we called support they were not even aware > of > > the Oracle function. Don't know about SQR9 yet though. > > > > > > Paul Hoyte > > (248) 752-6970 > > pa_hoyte@si-proservices.com > > > > -----Original Message----- > > From: sqr-users-bounces+pi_hoyte=3Dsi-proservices.com@sqrug.org > > [mailto:sqr-users-bounces+pi_hoyte =3D > si-proservices.com@sqrug.org] On Behalf > > Of Hug Marcel (KSFH 344) > > Sent: Monday, March 31, 2008 10:56 AM > > To: sqr-users@sqrug.org > > Subject: [sqr-users] Use with-clause in begin-select Statement > > > > Hi, > > > > we want to use the WITH Oracle statement to make reuse of sql > definitions. > > E.g.: > > > > begin-select > > WITH > > MY_SQL_DEF1 AS (Select > > From > > ), > > MY_SQL_DEF2 AS (Select > > > > FROM > > MY_SQL_DEF1 > > ) > > end-select > > > > and then: > > > > begin-select > > SELECT > > > > FROM > > MY_SQL_DEF2 > > end-select > > > > How is this possible? Or do we have a begin-sql statement? > > > > Thx - Marcel > > > > Marcel Hug > > Credit Suisse > > Information Technology > > Solution Engineering, KSFH 344 > > Oracle | Hyperion Lead Ing. FN Reports > > Zollstrasse 20/36 > > CH-8005 Z=FCrich > > Tel: +41 1 334 74 20 > > mailto:marcel.hug@credit-suisse.com > > http://www.credit-suisse.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 > > > > > > Cr=E9ez votre adresse =E9lectronique pr=E9nom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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 ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ donm@ontko.com | "In the beginning, there was nothing, which exploded" (Terry Pratchett) _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _____________________________________________________________________= _______________ You rock. That's why Blockbuster's offering you one month of Blockbuster To= tal Access, No Cost.=20=20 http://tc.deals.yahoo.com/tc/blockbuster/text5.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 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 03 16:47:48 2008 Subject: RE: [sqr-users] Use with-clause in begin-select Statement Date: Thu, 3 Apr 2008 16:44:50 -0400 From: I sincerely doubt Oracle will kill SQR. I believe they will try to merge t= he PeopleSoft version with the Brio/Hyperion version going forward.=20 -----Original Message----- From: sqr-users-bounces+jones.steven=3Dups-scs.com@sqrug.org [mailto:sqr-us= ers-bounces+jones.steven=3Dups-scs.com@sqrug.org] On Behalf Of Rowell, Char= les Sent: Thursday, April 03, 2008 11:23 AM To: This list is for discussion about the SQR database reportinglanguage fr= omHyperion Solutions. Subject: RE: [sqr-users] Use with-clause in begin-select Statement Now that Oracle has hold of this product, SQR days may be numbered.... Although I truly hope not.=20=20 -----Original Message----- From: sqr-users-bounces+charles.rowell=3Dfmr.com@sqrug.org [mailto:sqr-user= s-bounces+charles.rowell=3Dfmr.com@sqrug.org] On Behalf Of Hug Marcel (KSFH= 344) Sent: Thursday, April 03, 2008 2:14 PM To: This list is for discussion about the SQR database reportinglanguage fr= omHyperion Solutions. Subject: RE: [sqr-users] Use with-clause in begin-select Statement oh oh. SQR is so old fashioned. It does not even support hash tables. >From todays point of view - I would be happy to have sql server at my=20 >disposition :-) Marcel=20 Marcel Hug Credit Suisse Information Technology Solution Engineering, KSFH 344 Oracle | Hyperion Lead Ing. FN Reports Zollstrasse 20/36 CH-8005 Z=FCrich Tel: +41 1 334 74 20 mailto:marcel.hug@credit-suisse.com http://www.credit-suisse.com -----Original Message----- From: sqr-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org [mailto:sq= r-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org] On Behalf Of Les = Hancock Sent: Thursday, April 03, 2008 1:53 AM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: Re: [sqr-users] Use with-clause in begin-select Statement Don: I hope this works. That is really neat if it does. Too bad I am now at a place that uses SQL Server. Do you know of any tips or tricks or gotchas in writing SQRs on SQL Server? Thanks, Les Hancock ----- Original Message ---- From: Don Mellen To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Sent: Wednesday, April 2, 2008 2:18:27 PM Subject: Re: [sqr-users] Use with-clause in begin-select Statement If you need to use the "WITH" clause, you can try something like... begin-select from (WITH MY_SQL_DEF1 AS (Select /*+ materialize */ From
), MY_SQL_DEF2 AS (Select /*+ materialize */ FROM MY_SQL_DEF1) SELECT FROM MY_SQL_DEF2 ) end-select HTH, Don On Tue, Apr 1, 2008 at 1:47 AM, Hug Marcel (KSFH 344) < marcel.hug@credit-s= uisse.com> wrote: > Hi, > > does not work, unfortunately. Will probably put the whole def-clause=20 > into a variable and use this in an inline select. > > Marcel > > > Marcel Hug > Credit Suisse > Information Technology > Solution Engineering, KSFH 344 > Oracle | Hyperion Lead Ing. FN Reports Zollstrasse 20/36 > CH-8005 Z=FCrich > Tel: +41 1 334 74 20 > mailto:marcel.hug@credit-suisse.com > http://www.credit-suisse.com > > -----Original Message----- > From: sqr-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org [mailto: > sqr-users-bounces+marcel.hug =3D > credit-suisse.com@sqrug.org] On Behalf Of franck.masson > Sent: Tuesday, April 01, 2008 12:44 AM > To: This list is for discussion about the SQR database reporting=20 > languagefrom Hyperion Solutions. > Subject: RE: [sqr-users] Use with-clause in begin-select Statement > > have you tried something like this > > begin-sql > WITH > MY_SQL_DEF1 AS (Select > From
> ), > MY_SQL_DEF2 AS (Select > > FROM > MY_SQL_DEF1 > ); > end-sql > > and then: > let $my_select=3D'MY_SQL_DEF1' > begin-select > SELECT > > FROM > [$my_select] > end-select > > > > > Message du 01/04/08 00:28 > > De : "Paul Hoyte" > > A : "'This list is for discussion about the SQR database > reportinglanguage from Hyperion Solutions.'" > > Copie =E0 : > > Objet : RE: [sqr-users] Use with-clause in begin-select Statement > > > > Hyperion SQR 8.5 and earlier does not support this functionality. We > wanted > > to use this as well and when we called support they were not even=20 > > aware > of > > the Oracle function. Don't know about SQR9 yet though. > > > > > > Paul Hoyte > > (248) 752-6970 > > pa_hoyte@si-proservices.com > > > > -----Original Message----- > > From: sqr-users-bounces+pi_hoyte=3Dsi-proservices.com@sqrug.org > > [mailto:sqr-users-bounces+pi_hoyte =3D > si-proservices.com@sqrug.org] On Behalf > > Of Hug Marcel (KSFH 344) > > Sent: Monday, March 31, 2008 10:56 AM > > To: sqr-users@sqrug.org > > Subject: [sqr-users] Use with-clause in begin-select Statement > > > > Hi, > > > > we want to use the WITH Oracle statement to make reuse of sql > definitions. > > E.g.: > > > > begin-select > > WITH > > MY_SQL_DEF1 AS (Select > > From > > ), > > MY_SQL_DEF2 AS (Select > > > > FROM > > MY_SQL_DEF1 > > ) > > end-select > > > > and then: > > > > begin-select > > SELECT > > > > FROM > > MY_SQL_DEF2 > > end-select > > > > How is this possible? Or do we have a begin-sql statement? > > > > Thx - Marcel > > > > Marcel Hug > > Credit Suisse > > Information Technology > > Solution Engineering, KSFH 344 > > Oracle | Hyperion Lead Ing. FN Reports Zollstrasse 20/36 > > CH-8005 Z=FCrich > > Tel: +41 1 334 74 20 > > mailto:marcel.hug@credit-suisse.com > > http://www.credit-suisse.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 > > > > > > Cr=E9ez votre adresse =E9lectronique pr=E9nom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > _______________________________________________ > 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" (Terry Pratchett) _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _____________________________________________________________________= _______________ You rock. That's why Blockbuster's offering you one month of Blockbuster To= tal Access, No Cost.=20=20 http://tc.deals.yahoo.com/tc/blockbuster/text5.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 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 05 03:15:01 2008 Subject: RE: [sqr-users] Use with-clause in begin-select Statement Date: Sat, 5 Apr 2008 09:10:52 +0200 From: "Hug Marcel (KSFH 344)" Hi, unfortunately, use of with clause never seems to work. Well, the #define-way seems to be good enough... Marcel=20 Marcel Hug Credit Suisse Information Technology Solution Engineering, KSFH 344 Oracle | Hyperion Lead Ing. FN Reports Zollstrasse 20/36 CH-8005 Z=FCrich Tel: +41 1 334 74 20 mailto:marcel.hug@credit-suisse.com http://www.credit-suisse.com -----Original Message----- From: sqr-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org [mailto:sq= r-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org] On Behalf Of Les = Hancock Sent: Thursday, April 03, 2008 1:53 AM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: Re: [sqr-users] Use with-clause in begin-select Statement Don: I hope this works. That is really neat if it does. Too bad I am now at a place that uses SQL Server. Do you know of any tips or tricks or gotchas in writing SQRs on SQL Server? Thanks, Les Hancock ----- Original Message ---- From: Don Mellen To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Sent: Wednesday, April 2, 2008 2:18:27 PM Subject: Re: [sqr-users] Use with-clause in begin-select Statement If you need to use the "WITH" clause, you can try something like... begin-select from (WITH MY_SQL_DEF1 AS (Select /*+ materialize */ From
), MY_SQL_DEF2 AS (Select /*+ materialize */ FROM MY_SQL_DEF1) SELECT FROM MY_SQL_DEF2 ) end-select HTH, Don On Tue, Apr 1, 2008 at 1:47 AM, Hug Marcel (KSFH 344) < marcel.hug@credit-suisse.com> wrote: > Hi, > > does not work, unfortunately. Will probably put the whole def-clause into > a > variable and use this in an inline select. > > Marcel > > > Marcel Hug > Credit Suisse > Information Technology > Solution Engineering, KSFH 344 > Oracle | Hyperion Lead Ing. FN Reports > Zollstrasse 20/36 > CH-8005 Z=FCrich > Tel: +41 1 334 74 20 > mailto:marcel.hug@credit-suisse.com > http://www.credit-suisse.com > > -----Original Message----- > From: sqr-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org [mailto: > sqr-users-bounces+marcel.hug =3D > credit-suisse.com@sqrug.org] On Behalf Of franck.masson > Sent: Tuesday, April 01, 2008 12:44 AM > To: This list is for discussion about the SQR database reporting > languagefrom Hyperion Solutions. > Subject: RE: [sqr-users] Use with-clause in begin-select Statement > > have you tried something like this > > begin-sql > WITH > MY_SQL_DEF1 AS (Select > From
> ), > MY_SQL_DEF2 AS (Select > > FROM > MY_SQL_DEF1 > ); > end-sql > > and then: > let $my_select=3D'MY_SQL_DEF1' > begin-select > SELECT > > FROM > [$my_select] > end-select > > > > > Message du 01/04/08 00:28 > > De : "Paul Hoyte" > > A : "'This list is for discussion about the SQR database > reportinglanguage from Hyperion Solutions.'" > > Copie =E0 : > > Objet : RE: [sqr-users] Use with-clause in begin-select Statement > > > > Hyperion SQR 8.5 and earlier does not support this functionality. We > wanted > > to use this as well and when we called support they were not even aware > of > > the Oracle function. Don't know about SQR9 yet though. > > > > > > Paul Hoyte > > (248) 752-6970 > > pa_hoyte@si-proservices.com > > > > -----Original Message----- > > From: sqr-users-bounces+pi_hoyte=3Dsi-proservices.com@sqrug.org > > [mailto:sqr-users-bounces+pi_hoyte =3D > si-proservices.com@sqrug.org] On Behalf > > Of Hug Marcel (KSFH 344) > > Sent: Monday, March 31, 2008 10:56 AM > > To: sqr-users@sqrug.org > > Subject: [sqr-users] Use with-clause in begin-select Statement > > > > Hi, > > > > we want to use the WITH Oracle statement to make reuse of sql > definitions. > > E.g.: > > > > begin-select > > WITH > > MY_SQL_DEF1 AS (Select > > From > > ), > > MY_SQL_DEF2 AS (Select > > > > FROM > > MY_SQL_DEF1 > > ) > > end-select > > > > and then: > > > > begin-select > > SELECT > > > > FROM > > MY_SQL_DEF2 > > end-select > > > > How is this possible? Or do we have a begin-sql statement? > > > > Thx - Marcel > > > > Marcel Hug > > Credit Suisse > > Information Technology > > Solution Engineering, KSFH 344 > > Oracle | Hyperion Lead Ing. FN Reports > > Zollstrasse 20/36 > > CH-8005 Z=FCrich > > Tel: +41 1 334 74 20 > > mailto:marcel.hug@credit-suisse.com > > http://www.credit-suisse.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 > > > > > > Cr=E9ez votre adresse =E9lectronique pr=E9nom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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 ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ donm@ontko.com | "In the beginning, there was nothing, which exploded" (Terry Pratchett) _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _____________________________________________________________________= _______________ You rock. That's why Blockbuster's offering you one month of Blockbuster To= tal Access, No Cost.=20=20 http://tc.deals.yahoo.com/tc/blockbuster/text5.com _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Apr 15 22:07:29 2008 Date: Wed, 16 Apr 2008 02:04:27 +0000 (GMT) From: wayne l Subject: [sqr-users] WRAP.SQR Hi, May I know has anyone tried using the WRAP.SQR code provided? Does it work = correctly?=20 Cheers, ___________________________________________________________=20 Yahoo! For Good helps you make a difference=20=20 http://uk.promotions.yahoo.com/forgood/ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Apr 16 10:40:49 2008 Date: Wed, 16 Apr 2008 10:37:52 -0400 From: "Pactwa, Marissa" Subject: [sqr-users] Check if File Exist Hi All, =20 I need to write a code that would check if any file that begins with a certain word exist in the network folder. Is there any command in SQR to do this? Unfortunately, it will not always be a date stamp that will make the filename variable. =20 For example,=20 Test_file_030108.txt Test_file_031508a.txt =20 Thanks in advance. Marissa =20 =20 =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Apr 16 10:50:30 2008 Subject: RE: [sqr-users] Check if File Exist Date: Wed, 16 Apr 2008 10:47:49 -0400 From: "Putney II, Zynon E" Maybe something like this? Assuming Unix. Replace THING with whatever=0D you're trying to find.=0D Display #status to make sure it's returning 1 or 0 when appropriate.=0D Might be way off with this though.=0D =0D Let $chk_dir =3D 'ls | grep THING'=0D Call system using $chk_dir #status=0D If #status =3D 1 =0D ...=0D End-if=0D If #status =3D 0=0D ....=0D End-if=0D =0D =0D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D Thank you,=0D =0D Zynon E. Putney II=0D Software Developer=0D =0D =0D -----Original Message-----=0D From: sqr-users-bounces+zputney=3Dpaychex.com@sqrug.org=0D [mailto:sqr-users-bounces+zputney=3Dpaychex.com@sqrug.org] On Behalf Of=0D Pactwa, Marissa=0D Sent: Wednesday, April 16, 2008 10:38 AM=0D To: sqr-users@sqrug.org=0D Subject: [sqr-users] Check if File Exist=0D =0D Hi All,=0D =0D =0D =0D I need to write a code that would check if any file that begins with a=0D certain word exist in the network folder. Is there any command in SQR to=0D do this? Unfortunately, it will not always be a date stamp that will=0D make the filename variable.=0D =0D =0D =0D For example, =0D =0D Test_file_030108.txt=0D =0D Test_file_031508a.txt=0D =0D =0D =0D Thanks in advance.=0D =0D Marissa=0D =0D =0D =0D =0D =0D =0D =0D _______________________________________________=0D sqr-users mailing list=0D sqr-users@sqrug.org=0D http://www.sqrug.org/mailman/listinfo/sqr-users=0D =0D =0D -----------------------------------------=0D The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. =0D =0D Thank you. Paychex, Inc. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Apr 16 10:58:19 2008 Subject: RE: [sqr-users] Check if File Exist Date: Wed, 16 Apr 2008 10:55:13 -0400 From: "Pactwa, Marissa" Ok. What if I need to be able to read the file from my SQR program and process? Is there a way to pass back the actual filename. Thanks so much.=20 Marissa -----Original Message----- From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of Putney II, Zynon E Sent: Wednesday, April 16, 2008 10:48 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Check if File Exist Maybe something like this? Assuming Unix. Replace THING with whatever you're trying to find. Display #status to make sure it's returning 1 or 0 when appropriate. Might be way off with this though. Let $chk_dir =3D 'ls | grep THING' Call system using $chk_dir #status If #status =3D 1=20 ... End-if If #status =3D 0 .... End-if =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Thank you, Zynon E. Putney II Software Developer -----Original Message----- From: sqr-users-bounces+zputney=3Dpaychex.com@sqrug.org [mailto:sqr-users-bounces+zputney=3Dpaychex.com@sqrug.org] On Behalf Of Pactwa, Marissa Sent: Wednesday, April 16, 2008 10:38 AM To: sqr-users@sqrug.org Subject: [sqr-users] Check if File Exist Hi All, =20 I need to write a code that would check if any file that begins with a certain word exist in the network folder. Is there any command in SQR to do this? Unfortunately, it will not always be a date stamp that will make the filename variable. =20 For example,=20 Test_file_030108.txt Test_file_031508a.txt =20 Thanks in advance. Marissa =20 =20 =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ----------------------------------------- The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer.=20 Thank you. Paychex, Inc. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 16 11:18:38 2008 Date: Wed, 16 Apr 2008 09:16:10 -0600 From: "Robert Goshko" Subject: Re: [sqr-users] Check if File Exist On Wed, Apr 16, 2008 at 8:55 AM, Pactwa, Marissa wrote: > Ok. What if I need to be able to read the file from my SQR program and > process? Is there a way to pass back the actual filename. No way to pass it back directly, you would have to dump it to a file then read from there: Let $chk_dir = 'ls -1 | grep Test_file*.txt > cat /tmp/sqr_file.txt' Call system using $chk_dir #status If #status = 0 ! read from the file to get file names, 1 file name per line Else show "Error" End-if -- ...Rob -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 ================================================ Robert Goshko Registered Linux User #260513 Want a Gmail account, 6+ GB web mail - anyone can get one! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Apr 16 11:22:28 2008 Subject: RE: [sqr-users] Check if File Exist Date: Wed, 16 Apr 2008 11:18:29 -0400 From: "Pactwa, Marissa" Thanks so much for all your help! -----Original Message----- From: sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org [mailto:sqr-users-bounces+mpactwa=3Dsuburbanpropane.com@sqrug.org] On Behalf Of Robert Goshko Sent: Wednesday, April 16, 2008 11:16 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] Check if File Exist On Wed, Apr 16, 2008 at 8:55 AM, Pactwa, Marissa wrote: > Ok. What if I need to be able to read the file from my SQR program and > process? Is there a way to pass back the actual filename. No way to pass it back directly, you would have to dump it to a file then read from there: Let $chk_dir =3D 'ls -1 | grep Test_file*.txt > cat /tmp/sqr_file.txt' Call system using $chk_dir #status If #status =3D 0 ! read from the file to get file names, 1 file name per line Else show "Error" End-if --=20 ...Rob -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Robert Goshko Registered Linux User #260513 Want a Gmail account, 6+ GB web mail - anyone can get one! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 21 15:40:00 2008 Date: Mon, 21 Apr 2008 15:15:56 -0400 From: "Jolene Osei" Subject: [sqr-users] Electronic mail Hi To cut costs, the college has decided to email letters to students. We hav= e .sqr programs that we run to get the data we need and doing a mail merge = and mailing letters to students through the post office. Is there anyone, = college, university or company sending letters electronically to the studen= ts or to their targeted groups.=20=20 I would appreciate your help and suggestions on this matter. Sibonginkosi Jolene Osei Data Base Analyst Kalamazoo Valley Community College 6767 West 'O' Avenue Kalamazoo, MI 49003-4070 (269) 488-4139 phone=20 (269) 488-4565 fax _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Apr 21 20:50:12 2008 Subject: RE: [sqr-users] Electronic mail Date: Mon, 21 Apr 2008 20:46:27 -0400 From: "Wes Williams" This is a multi-part message in MIME format... ------_=_NextPart_001_01C8A412.69AD6C84 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am using SQR and Blat to distribute emails. =20 Wes ________________________________ From: sqr-users-bounces+wes=3Dprinceton.edu@sqrug.org on behalf of Jolene O= sei Sent: Mon 4/21/2008 3:15 PM To: This list is for discussion about the SQR database reportinglanguagefro= mHyperion Solutions. Subject: [sqr-users] Electronic mail Hi To cut costs, the college has decided to email letters to students. We hav= e .sqr programs that we run to get the data we need and doing a mail merge = and mailing letters to students through the post office. Is there anyone, = college, university or company sending letters electronically to the studen= ts or to their targeted groups.=20 I would appreciate your help and suggestions on this matter. Sibonginkosi Jolene Osei Data Base Analyst Kalamazoo Valley Community College 6767 West 'O' Avenue Kalamazoo, MI 49003-4070 (269) 488-4139 phone (269) 488-4565 fax _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ------_=_NextPart_001_01C8A412.69AD6C84 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: AUTOMATIC WARNING Here was a non admissible message part of 'application/ms-tnef' MIME type. It has been automatically discarded before sending the message to the list. ------_=_NextPart_001_01C8A412.69AD6C84 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ------_=_NextPart_001_01C8A412.69AD6C84-- From sqr-users-bounces@sqrug.org Tue Apr 22 09:16:31 2008 From: Karvin Spurgeon Date: Tue, 22 Apr 2008 08:10:58 -0500 Subject: [sqr-users] RE: sqr-users Digest, Vol 50, Issue 8 This is a multi-part message in MIME format... --_87a6b04d-6c74-4041-beb6-459c48bcce30_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Here is an SQR I wrote to send emails to the managers of company employees = that had been injured on the job. =20 It should work for what you want with a little work. I removed some set up = parameters because it was proprietory=20 to the company it was written for. It worked on Oracle, but I can't guarant= ee it will work on other operating systems.Karvin From: sqr-users-request@sqrug.orgSubject: sqr-users Digest, Vol 50, Issue 8= To: sqr-users@sqrug.orgDate: Tue, 22 Apr 2008 06:01:51 -0400Send sqr-users = mailing list submissions to sqr-users@sqrug.org To subscribe or unsubscribe= via the World Wide Web, visit http://www.sqrug.org/mailman/listinfo/sqr-us= ersor, via email, send a message with subject or body 'help' to sqr-users-r= equest@sqrug.org You can reach the person managing the list at sqr-users-ow= ner@sqrug.org When replying, please edit your Subject line so it is more sp= ecificthan 'Re: Contents of sqr-users digest...' --Forwarded Message Attachment--From: SOSEI@kvcc.eduSubject: [sqr-users] El= ectronic mailDate: Mon, 21 Apr 2008 15:15:56 -0400To: sqr-users@sqrug.orgHi= To cut costs, the college has decided to email letters to students. We ha= ve .sqr programs that we run to get the data we need and doing a mail merge= and mailing letters to students through the post office. Is there anyone,= college, university or company sending letters electronically to the stude= nts or to their targeted groups. I would appreciate your help and suggest= ions on this matter. Sibonginkosi Jolene OseiData Base AnalystKalamazoo V= alley Community College6767 West 'O' AvenueKalamazoo, MI 49003-4070 (269) 4= 88-4139 phone (269) 488-4565 fax=20=20=20 --Forwarded Message Attachment--From: wes@Princeton.EDUSubject: RE: [sqr-us= ers] Electronic mailDate: Mon, 21 Apr 2008 20:46:27 -0400To: sqr-users@sqru= g.orgI am using SQR and Blat to distribute emails. Wes ____________________= ____________ From: sqr-users-bounces+wes=3Dprinceton.edu@sqrug.org on behal= f of Jolene OseiSent: Mon 4/21/2008 3:15 PMTo: This list is for discussion = about the SQR database reportinglanguagefromHyperion Solutions.Subject: [sq= r-users] Electronic mail Hi To cut costs, the college has decided to emai= l letters to students. We have .sqr programs that we run to get the data w= e need and doing a mail merge and mailing letters to students through the p= ost office. Is there anyone, college, university or company sending letter= s electronically to the students or to their targeted groups. I would appr= eciate your help and suggestions on this matter. Sibonginkosi Jolene Osei= Data Base AnalystKalamazoo Valley Community College6767 West 'O' AvenueKala= mazoo, MI 49003-4070 (269) 488-4139 phone(269) 488-4565 fax ______________= _________________________________sqr-users mailing listsqr-users@sqrug.orgh= ttp://www.sqrug.org/mailman/listinfo/sqr-users=20=20 _________________________________________________________________ Express yourself wherever you are. Mobilize! http://www.gowindowslive.com/Mobile/Landing/Messenger/Default.aspx?Locale= =3Den-US?ocid=3DTAG_APRIL --_87a6b04d-6c74-4041-beb6-459c48bcce30_ Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: AUTOMATIC WARNING Here was a non admissible message part of 'application/octet-stream' MIME type. It has been automatically discarded before sending the message to the list. --_87a6b04d-6c74-4041-beb6-459c48bcce30_ 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 --_87a6b04d-6c74-4041-beb6-459c48bcce30_-- From sqr-users-bounces@sqrug.org Tue Apr 22 16:10:28 2008 Date: Tue, 22 Apr 2008 10:41:48 -0400 From: "Jolene Osei" Subject: RE: [sqr-users] Electronic mail What is Blat and how does it work? >>> "Wes Williams" 4/21/2008 8:46 PM >>> I am using SQR and Blat to distribute emails. =20 Wes ________________________________ From: sqr-users-bounces+wes=3Dprinceton.edu@sqrug.org on behalf of Jolene O= sei Sent: Mon 4/21/2008 3:15 PM To: This list is for discussion about the SQR database reportinglanguagefro= mHyperion Solutions. Subject: [sqr-users] Electronic mail Hi To cut costs, the college has decided to email letters to students. We hav= e .sqr programs that we run to get the data we need and doing a mail merge = and mailing letters to students through the post office. Is there anyone, = college, university or company sending letters electronically to the studen= ts or to their targeted groups.=20 I would appreciate your help and suggestions on this matter. Sibonginkosi Jolene Osei Data Base Analyst Kalamazoo Valley Community College 6767 West 'O' Avenue Kalamazoo, MI 49003-4070 (269) 488-4139 phone (269) 488-4565 fax _______________________________________________ sqr-users mailing list sqr-users@sqrug.org=20 http://www.sqrug.org/mailman/listinfo/sqr-users=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Apr 22 16:18:15 2008 Subject: RE: [sqr-users] Electronic mail Date: Tue, 22 Apr 2008 15:15:30 -0500 From: "Bob Stone" http://www.blat.net/?faq/index.html#blat_smtp_mailer__frequently_asked_q uestions=20 -----Original Message----- From: sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org [mailto:sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org] On Behalf Of Jolene Osei Sent: Tuesday, April 22, 2008 9:42 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] Electronic mail What is Blat and how does it work? >>> "Wes Williams" 4/21/2008 8:46 PM >>> I am using SQR and Blat to distribute emails. =20 Wes ________________________________ From: sqr-users-bounces+wes=3Dprinceton.edu@sqrug.org on behalf of Jolene Osei Sent: Mon 4/21/2008 3:15 PM To: This list is for discussion about the SQR database reportinglanguagefromHyperion Solutions. Subject: [sqr-users] Electronic mail Hi To cut costs, the college has decided to email letters to students. We have .sqr programs that we run to get the data we need and doing a mail merge and mailing letters to students through the post office. Is there anyone, college, university or company sending letters electronically to the students or to their targeted groups.=20 I would appreciate your help and suggestions on this matter. Sibonginkosi Jolene Osei Data Base Analyst Kalamazoo Valley Community College 6767 West 'O' Avenue Kalamazoo, MI 49003-4070 (269) 488-4139 phone (269) 488-4565 fax _______________________________________________ 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 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Apr 25 08:30:25 2008 From: christophe.kirch@orange-ftgroup.com Date: Fri, 25 Apr 2008 14:26:30 +0200 Subject: [sqr-users] Call System Using: #status = 0 with HP-UX... but -1 with Linux ! Hi Group, We have several sqr's that calls unix command. We are currently under HP-UX, but are switching to Red Hat Enterprise Linux - with HP-UX: no issue: everything works fine, and #status = 0 - with Linux: the unix command also runs perfectly, but the #status always say -1 ! => any idea why Linux does not return us 0 when the command runs with success ? Did we miss a setting on Linux side or SQR side or even Peoplesoft side ? [We are on Psoft HRMS 8.9 / Ptools 8.47] Thank you Rgds Chris _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Apr 25 10:53:31 2008 Date: Fri, 25 Apr 2008 07:50:13 -0700 (PDT) From: Lalit Chaudhry Subject: Re: [sqr-users] Call System Using: #status = 0 with HP-UX... but -1 with Linux ! Hi Group, Has anybody able to load employee pictures to the database in an automated manner, rather than going manually one at a time, for example, reading a file and uploading to the oracle database ThankYou Lalit Chaudhry christophe.kirch@orange-ftgroup.com wrote: Hi Group, We have several sqr's that calls unix command. We are currently under HP-UX, but are switching to Red Hat Enterprise Linux - with HP-UX: no issue: everything works fine, and #status = 0 - with Linux: the unix command also runs perfectly, but the #status always say -1 ! => any idea why Linux does not return us 0 when the command runs with success ? Did we miss a setting on Linux side or SQR side or even Peoplesoft side ? [We are on Psoft HRMS 8.9 / Ptools 8.47] Thank you Rgds Chris _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Apr 25 11:06:59 2008 From: "Peter Burton" Subject: RE: [sqr-users] Call System Using: #status = 0 with HP-UX... but -1 with Linux ! Date: Fri, 25 Apr 2008 11:03:19 -0400 Lalit, Hyperion SQR v8.3.1 and higher has been able to just that. However I would go with Hyperion SQR 9.3.1 since there is additional functi= onality with regard to the PRINT-IMAGE command and the various formats. Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-use= rs-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Lalit Chaudhry Sent: Friday, April 25, 2008 10:50 AM To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Subject: Re: [sqr-users] Call System Using: #status =3D 0 with HP-UX... but= -1 with Linux ! Hi Group, =20 Has anybody able to load employee pictures to the database in an automate= d manner, rather than going manually one at a time, for example, reading a = file and uploading to the oracle database =20 ThankYou =20 Lalit Chaudhry christophe.kirch@orange-ftgroup.com wrote: Hi Group, We have several sqr's that calls unix command. We are currently under HP-UX, but are switching to Red Hat Enterprise Linux - with HP-UX: no issue: everything works fine, and #status =3D 0 - with Linux: the unix command also runs perfectly, but the #status always say -1 ! =3D> any idea why Linux does not return us 0 when the command runs with success ? Did we miss a setting on Linux side or SQR side or even Peoplesoft side ? [We are on Psoft HRMS 8.9 / Ptools 8.47] Thank you Rgds Chris _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users =20 --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. 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 Fri Apr 25 11:10:19 2008 Subject: Re: [sqr-users] Call System Using: #status = 0 with HP-UX... but -1with Linux ! From: christophe.kirch@orange-ftgroup.com Date: Fri, 25 Apr 2008 17:05:09 +0200 Lalit, If you have a question, please use a new post. Do not reply to my post which has nothing to do with your query. Thank you Rgds Chris Lalit Chaudhry Sent by: sqr-users-bounces+christophe.kirch=orange-ftgroup.com@sqrug.org 04/25/2008 04:50 PM Please respond 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." cc: bcc: Subject: Re: [sqr-users] Call System Using: #status = 0 with HP-UX... but -1with Linux ! Hi Group, Has anybody able to load employee pictures to the database in an automated manner, rather than going manually one at a time, for example, reading a file and uploading to the oracle database ThankYou Lalit Chaudhry christophe.kirch@orange-ftgroup.com wrote: Hi Group, We have several sqr's that calls unix command. We are currently under HP-UX, but are switching to Red Hat Enterprise Linux - with HP-UX: no issue: everything works fine, and #status = 0 - with Linux: the unix command also runs perfectly, but the #status always say -1 ! => any idea why Linux does not return us 0 when the command runs with success ? Did we miss a setting on Linux side or SQR side or even Peoplesoft side ? [We are on Psoft HRMS 8.9 / Ptools 8.47] Thank you Rgds Chris _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. 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 Fri Apr 25 11:25:30 2008 Date: Fri, 25 Apr 2008 08:16:03 -0700 (PDT) From: Lalit Chaudhry Subject: RE: [sqr-users] Call System Using: #status = 0 with HP-UX... but -1 with Linux ! Hi Peter, ThankYou, but print-image would transfer the image from the database to print file, what I was trying to do is the other way around, reading the windows based image file and load it into the sql database Lalit Peter Burton wrote: Lalit, Hyperion SQR v8.3.1 and higher has been able to just that. However I would go with Hyperion SQR 9.3.1 since there is additional functionality with regard to the PRINT-IMAGE command and the various formats. Peter -----Original Message----- From: sqr-users-bounces+peter.burton=oracle.com@sqrug.org [mailto:sqr-users-bounces+peter.burton=oracle.com@sqrug.org] On Behalf Of Lalit Chaudhry Sent: Friday, April 25, 2008 10:50 AM To: This list is for discussion about the SQR database reporting language from Hyperion Solutions. Subject: Re: [sqr-users] Call System Using: #status = 0 with HP-UX... but -1 with Linux ! Hi Group, Has anybody able to load employee pictures to the database in an automated manner, rather than going manually one at a time, for example, reading a file and uploading to the oracle database ThankYou Lalit Chaudhry christophe.kirch@orange-ftgroup.com wrote: Hi Group, We have several sqr's that calls unix command. We are currently under HP-UX, but are switching to Red Hat Enterprise Linux - with HP-UX: no issue: everything works fine, and #status = 0 - with Linux: the unix command also runs perfectly, but the #status always say -1 ! => any idea why Linux does not return us 0 when the command runs with success ? Did we miss a setting on Linux side or SQR side or even Peoplesoft side ? [We are on Psoft HRMS 8.9 / Ptools 8.47] Thank you Rgds Chris _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. 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 --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Apr 25 11:41:59 2008 From: "Peter Burton" Subject: RE: [sqr-users] Call System Using: #status = 0 with HP-UX... but -1 with Linux ! Date: Fri, 25 Apr 2008 11:37:32 -0400 =20 Lalit, Like I said you can do just that using SQR 8.3.1 (though 9.3.1 is better). You can open an external file, read in the contents, and then insert the co= ntents into the database. Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-use= rs-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Lalit Chaudhry Sent: Friday, April 25, 2008 11:16 AM To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Subject: RE: [sqr-users] Call System Using: #status =3D 0 with HP-UX... but= -1 with Linux ! Hi Peter, =20 ThankYou, but print-image would transfer the image from the database to p= rint file, what I was trying to do is the other way around, reading the win= dows based image file and load it into the sql database =20 Lalit Peter Burton wrote: Lalit, Hyperion SQR v8.3.1 and higher has been able to just that. However I would go with Hyperion SQR 9.3.1 since there is additional functi= onality with regard to the PRINT-IMAGE command and the various formats. Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-use= rs-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Lalit Chaudhry Sent: Friday, April 25, 2008 10:50 AM To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Subject: Re: [sqr-users] Call System Using: #status =3D 0 with HP-UX... but= -1 with Linux ! Hi Group, Has anybody able to load employee pictures to the database in an automated = manner, rather than going manually one at a time, for example, reading a fi= le and uploading to the oracle database ThankYou Lalit Chaudhry christophe.kirch@orange-ftgroup.com wrote: Hi Group, We have several sqr's that calls unix command. We are currently under HP-UX, but are switching to Red Hat Enterprise Linux - with HP-UX: no issue: everything works fine, and #status =3D 0 - with Linux: the unix command also runs perfectly, but the #status always say -1 ! =3D> any idea why Linux does not return us 0 when the command runs with success ? Did we miss a setting on Linux side or SQR side or even Peoplesoft side ? [We are on Psoft HRMS 8.9 / Ptools 8.47] Thank you Rgds Chris _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it n= ow. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. 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 Fri Apr 25 11:51:47 2008 Date: Fri, 25 Apr 2008 08:22:23 -0700 (PDT) From: Lalit Chaudhry Subject: [sqr-users] Loading Images(Pictures) to the Oracle Database Hi Group, Please advise, if anybody has been to load the Images (employee photos) to the oracle database via sqr, in an automated manner. I have been able to load it manually one at a time, thru on-line page utilizing PeopleCode Insertimage one at a time, but trying to design a process, where to get a selection of employees, whose Picture is not there on the Employee database, and upload it in an automated way, rather than doing it manually one at a time Lalit Chaudhry --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Apr 25 14:10:04 2008 Date: Fri, 25 Apr 2008 11:07:07 -0700 (PDT) From: Lalit Chaudhry Subject: RE: [sqr-users] Call System Using: #status = 0 with HP-UX... but -1 with Linux ! Hi Peter, Thankyou, I think I could read the file as byte stream and upload to the database in the binary mode lalit Peter Burton wrote: Lalit, Like I said you can do just that using SQR 8.3.1 (though 9.3.1 is better). You can open an external file, read in the contents, and then insert the contents into the database. Peter -----Original Message----- From: sqr-users-bounces+peter.burton=oracle.com@sqrug.org [mailto:sqr-users-bounces+peter.burton=oracle.com@sqrug.org] On Behalf Of Lalit Chaudhry Sent: Friday, April 25, 2008 11:16 AM To: This list is for discussion about the SQR database reporting language from Hyperion Solutions. Subject: RE: [sqr-users] Call System Using: #status = 0 with HP-UX... but -1 with Linux ! Hi Peter, ThankYou, but print-image would transfer the image from the database to print file, what I was trying to do is the other way around, reading the windows based image file and load it into the sql database Lalit Peter Burton wrote: Lalit, Hyperion SQR v8.3.1 and higher has been able to just that. However I would go with Hyperion SQR 9.3.1 since there is additional functionality with regard to the PRINT-IMAGE command and the various formats. Peter -----Original Message----- From: sqr-users-bounces+peter.burton=oracle.com@sqrug.org [mailto:sqr-users-bounces+peter.burton=oracle.com@sqrug.org] On Behalf Of Lalit Chaudhry Sent: Friday, April 25, 2008 10:50 AM To: This list is for discussion about the SQR database reporting language from Hyperion Solutions. Subject: Re: [sqr-users] Call System Using: #status = 0 with HP-UX... but -1 with Linux ! Hi Group, Has anybody able to load employee pictures to the database in an automated manner, rather than going manually one at a time, for example, reading a file and uploading to the oracle database ThankYou Lalit Chaudhry christophe.kirch@orange-ftgroup.com wrote: Hi Group, We have several sqr's that calls unix command. We are currently under HP-UX, but are switching to Red Hat Enterprise Linux - with HP-UX: no issue: everything works fine, and #status = 0 - with Linux: the unix command also runs perfectly, but the #status always say -1 ! => any idea why Linux does not return us 0 when the command runs with success ? Did we miss a setting on Linux side or SQR side or even Peoplesoft side ? [We are on Psoft HRMS 8.9 / Ptools 8.47] Thank you Rgds Chris _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. 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 --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. 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 --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Apr 25 14:27:04 2008 From: "franck.masson" Subject: RE: [sqr-users] Call System Using: #status = 0 with HP-UX... but -1 with Linux ! Date: Fri, 25 Apr 2008 20:24:13 +0200 (CEST) Hi Peter, =20 What should be the encoding definition for this File ? what happen if in this file there are Null character ? =20 Franck, > Message du 25/04/08 17:42 > De : "Peter Burton"=20 > A : "This list is for discussion about the SQR database reporting languag= e from Hyperion Solutions."=20 > Copie =C3=A0 :=20 > Objet : RE: [sqr-users] Call System Using: #status =3D 0 with HP-UX... bu= t -1 with Linux ! > >=20 > Lalit, >=20 > Like I said you can do just that using SQR 8.3.1 (though 9.3.1 is better). >=20 > You can open an external file, read in the contents, and then insert the = contents into the database. >=20 > Peter >=20 > -----Original Message----- > From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-u= sers-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Lalit Chaudh= ry > Sent: Friday, April 25, 2008 11:16 AM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: RE: [sqr-users] Call System Using: #status =3D 0 with HP-UX... b= ut -1 with Linux ! >=20 > Hi Peter, >=20 > ThankYou, but print-image would transfer the image from the database to p= rint file, what I was trying to do is the other way around, reading the win= dows based image file and load it into the sql database >=20 > Lalit >=20 > Peter Burton wrote: > Lalit, >=20 > Hyperion SQR v8.3.1 and higher has been able to just that. >=20 > However I would go with Hyperion SQR 9.3.1 since there is additional func= tionality with regard to the PRINT-IMAGE command and the various formats. >=20 > Peter >=20 > -----Original Message----- > From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-u= sers-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Lalit Chaudh= ry > Sent: Friday, April 25, 2008 10:50 AM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: Re: [sqr-users] Call System Using: #status =3D 0 with HP-UX... b= ut -1 with Linux ! >=20 > Hi Group, >=20 > Has anybody able to load employee pictures to the database in an automate= d manner, rather than going manually one at a time, for example, reading a = file and uploading to the oracle database >=20 > ThankYou >=20 > Lalit Chaudhry >=20 > christophe.kirch@orange-ftgroup.com wrote: > Hi Group, >=20 > We have several sqr's that calls unix command. >=20 > We are currently under HP-UX, but are switching to Red Hat Enterprise > Linux > - with HP-UX: no issue: everything works fine, and #status =3D 0 > - with Linux: the unix command also runs perfectly, but the #status always > say -1 ! >=20 > =3D> any idea why Linux does not return us 0 when the command runs with > success ? > Did we miss a setting on Linux side or SQR side or even Peoplesoft side ? >=20 > [We are on Psoft HRMS 8.9 / Ptools 8.47] >=20 > Thank you > Rgds > Chris >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 >=20 > --------------------------------- > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it= now. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 >=20 > --------------------------------- > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it= now. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique pr=C3=A9nom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Apr 25 14:30:48 2008 From: "Peter Burton" Subject: RE: [sqr-users] Call System Using: #status = 0 with HP-UX... but -1 with Linux ! Date: Fri, 25 Apr 2008 14:26:22 -0400 Lalit, In Hyperion SQR you can do it as easy as Begin-Setup Declare-Variable Binary $Binary End-Declare End-Setup . . . If Exists($Filename) =3D 0 Let #FileSize =3D FileSize($Filename) Open $Filename As 1 For-Reading Record=3D#FileSize:Binary Read 1 Into $Binary:#FileSize Status=3D#Status Close 1 Begin-SQL insert into {table} values ( ..., $Binary, ...) End-SQL=20 End-If . . . Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-use= rs-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Lalit Chaudhry Sent: Friday, April 25, 2008 2:07 PM To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Subject: RE: [sqr-users] Call System Using: #status =3D 0 with HP-UX... but= -1 with Linux ! Hi Peter, =20 Thankyou, I think I could read the file as byte stream and upload to the = database in the binary mode =20 lalit Peter Burton wrote: =20 Lalit, Like I said you can do just that using SQR 8.3.1 (though 9.3.1 is better). You can open an external file, read in the contents, and then insert the co= ntents into the database. Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-use= rs-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Lalit Chaudhry Sent: Friday, April 25, 2008 11:16 AM To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Subject: RE: [sqr-users] Call System Using: #status =3D 0 with HP-UX... but= -1 with Linux ! Hi Peter, ThankYou, but print-image would transfer the image from the database to pri= nt file, what I was trying to do is the other way around, reading the windo= ws based image file and load it into the sql database Lalit Peter Burton wrote: Lalit, Hyperion SQR v8.3.1 and higher has been able to just that. However I would go with Hyperion SQR 9.3.1 since there is additional functi= onality with regard to the PRINT-IMAGE command and the various formats. Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-use= rs-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Lalit Chaudhry Sent: Friday, April 25, 2008 10:50 AM To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Subject: Re: [sqr-users] Call System Using: #status =3D 0 with HP-UX... but= -1 with Linux ! Hi Group, Has anybody able to load employee pictures to the database in an automated = manner, rather than going manually one at a time, for example, reading a fi= le and uploading to the oracle database ThankYou Lalit Chaudhry christophe.kirch@orange-ftgroup.com wrote: Hi Group, We have several sqr's that calls unix command. We are currently under HP-UX, but are switching to Red Hat Enterprise Linux - with HP-UX: no issue: everything works fine, and #status =3D 0 - with Linux: the unix command also runs perfectly, but the #status always say -1 ! =3D> any idea why Linux does not return us 0 when the command runs with success ? Did we miss a setting on Linux side or SQR side or even Peoplesoft side ? [We are on Psoft HRMS 8.9 / Ptools 8.47] Thank you Rgds Chris _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it n= ow. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it n= ow. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. 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 Fri Apr 25 15:32:10 2008 Date: Fri, 25 Apr 2008 12:28:57 -0700 (PDT) From: Amechi Ezeasor Subject: [sqr-users] Printing Verical Text in sqr using GhostScript not working Hi Guys, Somebody please tell me what I am missing here. I installed 1. ghostscript (gs854w32.exe) version 8.54 2. RedMon 3. gsview - gsv49w32.exe I then ran rotate_text.sqr from (http://www.ontko.com/sqr/) but my output d= id not match the output rotate_text.pdf. The word "Vertical" did not print = vertical as show in rotate_text.pdf mine is horinzontal. I viewed it using = both acrobate reader and Gsview with same result. so what else do i have do= . I am trying to do multiplex printing which is working fine but my prblem is= page 2 has to be either portrait or printed vertically. Page 1 is perosnal= info page 2 is address. I tried using PCL code to switch page orientation but it is not working here my code portrait: =A0=A0=A0=A0=A0 encode '<27>' into $Pscape =A0=A0=A0=A0=A0 let $PrtPscape =3D $Pscape || '&l0O' =A0=A0=A0=A0 ![ESC] & l 0O (el zero Oh) =A0=A0=A0=A0=A0 print $PrtPscape=A0=A0=A0=A0=A0=A0=A0=A0 () code-printer=3D= ps landscape:- =A0=A0=A0=A0 encode '<27>' into $Lscape =A0=A0=A0=A0 let $PrtLscape =3D $Lscape || '&l1O' =A0=A0=A0=A0 ![ESC] & l 1O (el one Oh) =A0=A0=A0=A0=A0 print $PrtLscape=A0=A0=A0=A0=A0=A0=A0=A0 () code-printer=3D= ps i also tried the roate command but no luck =A0=A0=A0=A0=A0=A0=A0 encode '<27>&a90P' into $rotatefont =A0=A0=A0=A0=A0=A0=A0 print-direct=A0 printer =3D ps $rotatefont=A0 ! rotat= e text to 90 degrees=20 I will apreciate any help Thanks _____________________________________________________________________= _______________ Be a better friend, newshound, and=20 know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt= =3DAhu06i62sR8HDtDypao8Wcj9tAcJ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Apr 25 17:08:34 2008 Date: Fri, 25 Apr 2008 17:05:59 -0400 From: "Ray Ontko" Subject: Re: [sqr-users] Printing Verical Text in sqr using GhostScript not working You can't use HP escape codes with printer=ps. The sample code below works with Postscript. If you want to use PCL, you'll need to user printer=hp, but I can't vouch for whether that will work. Hope this helps. Ray ! Copyright 2004 Ray Ontko & Co. All rights reserved. begin-program print 'horizontal' (5,5) print-direct printer=ps '270 rotate' ! Rotate 270 degrees print-direct printer=ps '-792 -205 translate' print 'vertical' (3,3) print-direct printer=ps '90 rotate' ! Rotate back to 0 print-direct printer=ps '205 -792 translate' print 'Horizontal again' (6,5) print-direct printer=ps '/Courier findfont [12 0 0 -12 0 0] makefont setfont' print 'Mirror Writing' (7,5) end-program On Fri, Apr 25, 2008 at 3:28 PM, Amechi Ezeasor wrote: > Hi Guys, > Somebody please tell me what I am missing here. I installed > 1. ghostscript (gs854w32.exe) version 8.54 > 2. RedMon > 3. gsview - gsv49w32.exe > I then ran rotate_text.sqr from (http://www.ontko.com/sqr/) but my output > did not match the output rotate_text.pdf. The word "Vertical" did not print > vertical as show in rotate_text.pdf mine is horinzontal. I viewed it using > both acrobate reader and Gsview with same result. so what else do i have do > . > I am trying to do multiplex printing which is working fine but my prblem is > page 2 has to be either portrait or printed vertically. Page 1 is perosnal > info page 2 is address. > I tried using PCL code to switch page orientation but it is not working > here my code > portrait: > encode '<27>' into $Pscape > let $PrtPscape = $Pscape || '&l0O' > ![ESC] & l 0O (el zero Oh) > print $PrtPscape () code-printer=ps > landscape:- > encode '<27>' into $Lscape > let $PrtLscape = $Lscape || '&l1O' > ![ESC] & l 1O (el one Oh) > print $PrtLscape () code-printer=ps > > i also tried the roate command but no luck > encode '<27>&a90P' into $rotatefont > print-direct printer = ps $rotatefont ! rotate text to 90 degrees > > I will apreciate any help > Thanks > > > > > ____________________________________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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 Apr 25 19:47:13 2008 Date: Fri, 25 Apr 2008 16:44:14 -0700 (PDT) From: Amechi Ezeasor Subject: Re: [sqr-users] Printing Verical Text in sqr using GhostScript not working Thanks for quick reply. maybe i mixed things up in my email. let separate them. The program you sent me which i believe is the one in your web site. I ran it as is after installing Ghostscript but it not work. Do I have to do anything to tie the sqr to Ghostscript ? The next thing is HP and the PS codes. Is there PS code to do multiple printing without the HP PCL escape code? Thanks and have a wonderful weekend. Amechi ----- Original Message ---- From: Ray Ontko To: This list is for discussion about the SQR database reporting language from Hyperion Solutions. Sent: Friday, April 25, 2008 5:05:59 PM Subject: Re: [sqr-users] Printing Verical Text in sqr using GhostScript not working You can't use HP escape codes with printer=ps. The sample code below works with Postscript. If you want to use PCL, you'll need to user printer=hp, but I can't vouch for whether that will work. Hope this helps. Ray ! Copyright 2004 Ray Ontko & Co. All rights reserved. begin-program print 'horizontal' (5,5) print-direct printer=ps '270 rotate' ! Rotate 270 degrees print-direct printer=ps '-792 -205 translate' print 'vertical' (3,3) print-direct printer=ps '90 rotate' ! Rotate back to 0 print-direct printer=ps '205 -792 translate' print 'Horizontal again' (6,5) print-direct printer=ps '/Courier findfont [12 0 0 -12 0 0] makefont setfont' print 'Mirror Writing' (7,5) end-program On Fri, Apr 25, 2008 at 3:28 PM, Amechi Ezeasor wrote: > Hi Guys, > Somebody please tell me what I am missing here. I installed > 1. ghostscript (gs854w32.exe) version 8.54 > 2. RedMon > 3. gsview - gsv49w32.exe > I then ran rotate_text.sqr from (http://www.ontko.com/sqr/) but my output > did not match the output rotate_text.pdf. The word "Vertical" did not print > vertical as show in rotate_text.pdf mine is horinzontal. I viewed it using > both acrobate reader and Gsview with same result. so what else do i have do > . > I am trying to do multiplex printing which is working fine but my prblem is > page 2 has to be either portrait or printed vertically. Page 1 is perosnal > info page 2 is address. > I tried using PCL code to switch page orientation but it is not working > here my code > portrait: > encode '<27>' into $Pscape > let $PrtPscape = $Pscape || '&l0O' > ![ESC] & l 0O (el zero Oh) > print $PrtPscape () code-printer=ps > landscape:- > encode '<27>' into $Lscape > let $PrtLscape = $Lscape || '&l1O' > ![ESC] & l 1O (el one Oh) > print $PrtLscape () code-printer=ps > > i also tried the roate command but no luck > encode '<27>&a90P' into $rotatefont > print-direct printer = ps $rotatefont ! rotate text to 90 degrees > > I will apreciate any help > Thanks > > > > > ____________________________________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Apr 25 21:52:55 2008 Date: Fri, 25 Apr 2008 21:50:27 -0400 From: "Ray Ontko" Subject: Re: [sqr-users] Printing Verical Text in sqr using GhostScript not working When you run the sqr program, you'll need to include "-printer:ps" on the command line if you want to generate Postscript output. Then, the output file can be given to Ghostscript. If you want to generate PCL output, be sure to use "-printer:hp" on the command line. Ray On Fri, Apr 25, 2008 at 7:44 PM, Amechi Ezeasor wrote: > Thanks for quick reply. > > maybe i mixed things up in my email. let separate them. > > The program you sent me which i believe is the one in your web site. I ran > it as is after installing Ghostscript but it not work. Do I have to do > anything to tie the sqr to Ghostscript ? > > The next thing is HP and the PS codes. > Is there PS code to do multiple printing without the HP PCL escape code? > > Thanks and have a wonderful weekend. > > Amechi > > ----- Original Message ---- > From: Ray Ontko > To: This list is for discussion about the SQR database reporting language > from Hyperion Solutions. > Sent: Friday, April 25, 2008 5:05:59 PM > Subject: Re: [sqr-users] Printing Verical Text in sqr using GhostScript not > working > > You can't use HP escape codes with printer=ps. The sample code below works > with Postscript. If you want to use PCL, you'll need to user printer=hp, > but > I can't vouch for whether that will work. > > Hope this helps. > > Ray > > ! Copyright 2004 Ray Ontko & Co. All rights reserved. > > begin-program > print 'horizontal' (5,5) > print-direct printer=ps '270 rotate' ! Rotate 270 degrees > print-direct printer=ps '-792 -205 translate' > > > print 'vertical' (3,3) > print-direct printer=ps '90 rotate' ! Rotate back to 0 > print-direct printer=ps '205 -792 translate' > > print 'Horizontal again' (6,5) > print-direct printer=ps '/Courier findfont [12 0 0 -12 0 0] makefont > setfont' > print 'Mirror Writing' (7,5) > end-program > > > > On Fri, Apr 25, 2008 at 3:28 PM, Amechi Ezeasor > wrote: > > > Hi Guys, > > Somebody please tell me what I am missing here. I installed > > 1. ghostscript (gs854w32.exe) version 8.54 > > 2. RedMon > > 3. gsview - gsv49w32.exe > > I then ran rotate_text.sqr from (http://www.ontko.com/sqr/) but my > output > > did not match the output rotate_text.pdf. The word "Vertical" did not > print > > vertical as show in rotate_text.pdf mine is horinzontal. I viewed it > using > > both acrobate reader and Gsview with same result. so what else do i have > do > > . > > I am trying to do multiplex printing which is working fine but my prblem > is > > page 2 has to be either portrait or printed vertically. Page 1 is > perosnal > > info page 2 is address. > > I tried using PCL code to switch page orientation but it is not working > > here my code > > portrait: > > encode '<27>' into $Pscape > > let $PrtPscape = $Pscape || '&l0O' > > ![ESC] & l 0O (el zero Oh) > > print $PrtPscape () code-printer=ps > > landscape:- > > encode '<27>' into $Lscape > > let $PrtLscape = $Lscape || '&l1O' > > ![ESC] & l 1O (el one Oh) > > print $PrtLscape () code-printer=ps > > > > i also tried the roate command but no luck > > encode '<27>&a90P' into $rotatefont > > print-direct printer = ps $rotatefont ! rotate text to 90 > degrees > > > > I will apreciate any help > > Thanks > > > > > > > > > > > ____________________________________________________________________________________ > > Be a better friend, newshound, and > > know-it-all with Yahoo! Mobile. Try it now. > > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > ____________________________________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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 Apr 26 10:24:43 2008 Date: Sat, 26 Apr 2008 07:21:47 -0700 (PDT) From: Amechi Subject: Re: [sqr-users] Printing Verical Text in sqr using GhostScript not working Thanks, i will try this on Monday and let u know the result Sent from my iPhone On Apr 25, 2008, at 21:50, "Ray Ontko" wrote: When you run the sqr program, you'll need to include "-printer:ps" on the command line if you want to generate Postscript output. Then, the output file can be given to Ghostscript. If you want to generate PCL output, be sure to use "-printer:hp" on the command line. Ray On Fri, Apr 25, 2008 at 7:44 PM, Amechi Ezeasor wrote: Thanks for quick reply. maybe i mixed things up in my email. let separate them. The program you sent me which i believe is the one in your web site. I ran it as is after installing Ghostscript but it not work. Do I have to do anything to tie the sqr to Ghostscript ? The next thing is HP and the PS codes. Is there PS code to do multiple printing without the HP PCL escape code? Thanks and have a wonderful weekend. Amechi ----- Original Message ---- From: Ray Ontko To: This list is for discussion about the SQR database reporting language from Hyperion Solutions. Sent: Friday, April 25, 2008 5:05:59 PM Subject: Re: [sqr-users] Printing Verical Text in sqr using GhostScript not working You can't use HP escape codes with printer=ps. The sample code below works with Postscript. If you want to use PCL, you'll need to user printer=hp, but I can't vouch for whether that will work. Hope this helps. Ray ! Copyright 2004 Ray Ontko & Co. All rights reserved. begin-program print 'horizontal' (5,5) print-direct printer=ps '270 rotate' ! Rotate 270 degrees print-direct printer=ps '-792 -205 translate' print 'vertical' (3,3) print-direct printer=ps '90 rotate' ! Rotate back to 0 print-direct printer=ps '205 -792 translate' print 'Horizontal again' (6,5) print-direct printer=ps '/Courier findfont [12 0 0 -12 0 0] makefont setfont' print 'Mirror Writing' (7,5) end-program On Fri, Apr 25, 2008 at 3:28 PM, Amechi Ezeasor wrote: Hi Guys, Somebody please tell me what I am missing here. I installed 1. ghostscript (gs854w32.exe) version 8.54 2. RedMon 3. gsview - gsv49w32.exe I then ran rotate_text.sqr from (http://www.ontko.com/sqr/) but my output did not match the output rotate_text.pdf. The word "Vertical" did not print vertical as show in rotate_text.pdf mine is horinzontal. I viewed it using both acrobate reader and Gsview with same result. so what else do i have do . I am trying to do multiplex printing which is working fine but my prblem is page 2 has to be either portrait or printed vertically. Page 1 is perosnal info page 2 is address. I tried using PCL code to switch page orientation but it is not working here my code portrait: encode '<27>' into $Pscape let $PrtPscape = $Pscape || '&l0O' ![ESC] & l 0O (el zero Oh) print $PrtPscape () code-printer=ps landscape:- encode '<27>' into $Lscape let $PrtLscape = $Lscape || '&l1O' ![ESC] & l 1O (el one Oh) print $PrtLscape () code-printer=ps i also tried the roate command but no luck encode '<27>&a90P' into $rotatefont print-direct printer = ps $rotatefont ! rotate text to 90 degrees I will apreciate any help Thanks ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Apr 28 16:47:06 2008 From: "franck.masson" Date: Mon, 28 Apr 2008 22:43:59 +0200 (CEST) Subject: [sqr-users] Line Printer with Zero Footing hi, =20 Using SQR 9.3 on windows/Oracle. printer type : lp =20 How can i define the Report to use a Heading section and no footing section= =20 =20 Franck, Cr=C3=A9ez votre adresse =C3=A9lectronique pr=C3=A9nom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Apr 28 17:45:19 2008 Date: Mon, 28 Apr 2008 14:42:20 -0700 (PDT) From: Amechi Ezeasor Subject: Re: [sqr-users] Printing Verical Text in sqr using GhostScript not working Thanks, it works with -printer:ps in command line. ----- Original Message ---- From: Ray Ontko To: This list is for discussion about the SQR database reporting language from Hyperion Solutions. Sent: Friday, April 25, 2008 9:50:27 PM Subject: Re: [sqr-users] Printing Verical Text in sqr using GhostScript not working When you run the sqr program, you'll need to include "-printer:ps" on the command line if you want to generate Postscript output. Then, the output file can be given to Ghostscript. If you want to generate PCL output, be sure to use "-printer:hp" on the command line. Ray On Fri, Apr 25, 2008 at 7:44 PM, Amechi Ezeasor wrote: > Thanks for quick reply. > > maybe i mixed things up in my email. let separate them. > > The program you sent me which i believe is the one in your web site. I ran > it as is after installing Ghostscript but it not work. Do I have to do > anything to tie the sqr to Ghostscript ? > > The next thing is HP and the PS codes. > Is there PS code to do multiple printing without the HP PCL escape code? > > Thanks and have a wonderful weekend. > > Amechi > > ----- Original Message ---- > From: Ray Ontko > To: This list is for discussion about the SQR database reporting language > from Hyperion Solutions. > Sent: Friday, April 25, 2008 5:05:59 PM > Subject: Re: [sqr-users] Printing Verical Text in sqr using GhostScript not > working > > You can't use HP escape codes with printer=ps. The sample code below works > with Postscript. If you want to use PCL, you'll need to user printer=hp, > but > I can't vouch for whether that will work. > > Hope this helps. > > Ray > > ! Copyright 2004 Ray Ontko & Co. All rights reserved. > > begin-program > print 'horizontal' (5,5) > print-direct printer=ps '270 rotate' ! Rotate 270 degrees > print-direct printer=ps '-792 -205 translate' > > > print 'vertical' (3,3) > print-direct printer=ps '90 rotate' ! Rotate back to 0 > print-direct printer=ps '205 -792 translate' > > print 'Horizontal again' (6,5) > print-direct printer=ps '/Courier findfont [12 0 0 -12 0 0] makefont > setfont' > print 'Mirror Writing' (7,5) > end-program > > > > On Fri, Apr 25, 2008 at 3:28 PM, Amechi Ezeasor > wrote: > > > Hi Guys, > > Somebody please tell me what I am missing here. I installed > > 1. ghostscript (gs854w32.exe) version 8.54 > > 2. RedMon > > 3. gsview - gsv49w32.exe > > I then ran rotate_text.sqr from (http://www.ontko.com/sqr/) but my > output > > did not match the output rotate_text.pdf. The word "Vertical" did not > print > > vertical as show in rotate_text.pdf mine is horinzontal. I viewed it > using > > both acrobate reader and Gsview with same result. so what else do i have > do > > . > > I am trying to do multiplex printing which is working fine but my prblem > is > > page 2 has to be either portrait or printed vertically. Page 1 is > perosnal > > info page 2 is address. > > I tried using PCL code to switch page orientation but it is not working > > here my code > > portrait: > > encode '<27>' into $Pscape > > let $PrtPscape = $Pscape || '&l0O' > > ![ESC] & l 0O (el zero Oh) > > print $PrtPscape () code-printer=ps > > landscape:- > > encode '<27>' into $Lscape > > let $PrtLscape = $Lscape || '&l1O' > > ![ESC] & l 1O (el one Oh) > > print $PrtLscape () code-printer=ps > > > > i also tried the roate command but no luck > > encode '<27>&a90P' into $rotatefont > > print-direct printer = ps $rotatefont ! rotate text to 90 > degrees > > > > I will apreciate any help > > Thanks > > > > > > > > > > > ____________________________________________________________________________________ > > Be a better friend, newshound, and > > know-it-all with Yahoo! Mobile. Try it now. > > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > > > _______________________________________________ > > sqr-users mailing list > > sqr-users@sqrug.org > > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > > > > > > > ____________________________________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon Apr 28 19:55:00 2008 Subject: RE: [sqr-users] Line Printer with Zero Footing Date: Mon, 28 Apr 2008 19:47:59 -0400 From: "Bencke, Gina" =20 This is accomplished by NOT including a begin-footing section in the progra= m. The only section required in an SQR program is begin-program. All othe= r sections are optional. Gina Bencke | President, Bencke Consulting Corporation 35096 Cannon Rd. | Cleveland, OH 44022 Home Office 440-519-0060 | Mobile 440-479-9961 =20 =20 -----Original Message----- From: sqr-users-bounces+gbencke=3Dkichler.com@sqrug.org [mailto:sqr-users-b= ounces+gbencke=3Dkichler.com@sqrug.org] On Behalf Of franck.masson Sent: Monday, April 28, 2008 4:44 PM To: sqr-users@sqrug.org Subject: [sqr-users] Line Printer with Zero Footing hi, =20 Using SQR 9.3 on windows/Oracle. printer type : lp =20 How can i define the Report to use a Heading section and no footing section= =20 =20 Franck, Cr=E9ez votre adresse =E9lectronique pr=E9nom.nom@laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 29 04:53:15 2008 Date: Tue, 29 Apr 2008 14:19:39 +0530 From: "Thejus Giri" Subject: [sqr-users] Dynamic Hint Hi I am have the below statements for Dynamic hint in SQR begin-select /*+ ordered use_nl(t inv c) index_ffs(c i_charge_invoice) parallel_index(c, i_charge_invoice, #HLINE) */ customer_node &c . . . end-select #HLINE is fetch through another SQL sttement When i compile, i am getting the error (SQR 5528) ORACLE OCIBindByName error 1036 in cursor 2: ORA-01036: illegal variable name/number (SQR 1308) BNDCUR: Could not bind column 1. Do anyone have any clue on this Thanks in advance Thejus _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Apr 29 05:13:06 2008 Date: Tue, 29 Apr 2008 14:40:03 +0530 From: "Thejus Giri" Subject: [sqr-users] Dynamic Hint Hi I am have the below statements for Dynamic hint in SQR begin-select /*+ ordered use_nl(t inv c) index_ffs(c i_charge_invoice) parallel_index(c, i_charge_invoice, #HLINE) */ customer_node &c . . . end-select #HLINE is fetch through another SQL sttement When i compile, i am getting the error (SQR 5528) ORACLE OCIBindByName error 1036 in cursor 2: ORA-01036: illegal variable name/number (SQR 1308) BNDCUR: Could not bind column 1. Do anyone have any clue on this Thanks in advance Thejus _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Apr 29 07:19:34 2008 From: "Gaurav Singh" Subject: RE: [sqr-users] Line Printer with Zero Footing Date: Tue, 29 Apr 2008 16:43:24 +0530 Hi, Can please any one help me out for working on sqr workbench 4.5 ,anyb= ody tell me about right documentation For this version; Regards gaurav -----Original Message----- From: sqr-users-bounces+gauravs2=3Dchetu.com@sqrug.org [mailto:sqr-users-bo= unces+gauravs2=3Dchetu.com@sqrug.org] On Behalf Of franck.masson Sent: Tuesday, April 29, 2008 2:14 AM To: sqr-users@sqrug.org Subject: [sqr-users] Line Printer with Zero Footing hi, =20 Using SQR 9.3 on windows/Oracle. printer type : lp =20 How can i define the Report to use a Heading section and no footing section= =20 =20 Franck, Cr=C3=A9ez votre adresse =C3=A9lectronique pr=C3=A9nom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 29 08:14:17 2008 From: "franck.masson" Subject: RE: [sqr-users] Line Printer with Zero Footing Date: Tue, 29 Apr 2008 14:10:21 +0200 (CEST) Thanks Gina, =20 but we have to deliver an SQR program that produce many report files each report file have the first page that have a different heading/footing = regarding the core of the report. using alter-report we can switch from one heading to another=20 but the alter-report do not authorise us to set the number of line of the f= ooting to zero and we can not define a footing section with zero line. =20 any workaround to avoid this blank line at the end of the first page. =20 Franck, =20 > Message du 29/04/08 01:55 > De : "Bencke, Gina"=20 > A : "This list is for discussion about the SQR database reporting languag= e from Hyperion Solutions."=20 > Copie =C3=A0 :=20 > Objet : RE: [sqr-users] Line Printer with Zero Footing > >=20 >=20 > This is accomplished by NOT including a begin-footing section in the prog= ram. The only section required in an SQR program is begin-program. All othe= r sections are optional. >=20 > Gina Bencke | President, Bencke Consulting Corporation > 35096 Cannon Rd. | Cleveland, OH 44022 > Home Office 440-519-0060 | Mobile 440-479-9961 >=20 >=20 >=20 > -----Original Message----- > From: sqr-users-bounces+gbencke=3Dkichler.com@sqrug.org [mailto:sqr-users= -bounces+gbencke=3Dkichler.com@sqrug.org] On Behalf Of franck.masson > Sent: Monday, April 28, 2008 4:44 PM > To: sqr-users@sqrug.org > Subject: [sqr-users] Line Printer with Zero Footing >=20 > hi, >=20 > Using SQR 9.3 on windows/Oracle. > printer type : lp >=20 > How can i define the Report to use a Heading section and no footing secti= on=20 >=20 > Franck, >=20 > Cr=C3=A9ez votre adresse =C3=A9lectronique pr=C3=A9nom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. >=20 > _______________________________________________ > 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 >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique pr=C3=A9nom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Apr 29 08:45:13 2008 From: "Peter Burton" Subject: RE: [sqr-users] Line Printer with Zero Footing Date: Tue, 29 Apr 2008 08:40:39 -0400 Franck, Alter-Report Heading=3D'None' to disable the heading entirely Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-use= rs-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of franck.masson Sent: Tuesday, April 29, 2008 8:10 AM To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Subject: RE: [sqr-users] Line Printer with Zero Footing Thanks Gina, =20 but we have to deliver an SQR program that produce many report files each report file have the first page that have a different heading/footing = regarding the core of the report. using alter-report we can switch from one heading to another=20 but the alter-report do not authorise us to set the number of line of the f= ooting to zero and we can not define a footing section with zero line. =20 any workaround to avoid this blank line at the end of the first page. =20 Franck, =20 > Message du 29/04/08 01:55 > De : "Bencke, Gina"=20 > A : "This list is for discussion about the SQR database reporting languag= e from Hyperion Solutions."=20 > Copie =E0 :=20 > Objet : RE: [sqr-users] Line Printer with Zero Footing > >=20 >=20 > This is accomplished by NOT including a begin-footing section in the prog= ram. The only section required in an SQR program is begin-program. All othe= r sections are optional. >=20 > Gina Bencke | President, Bencke Consulting Corporation > 35096 Cannon Rd. | Cleveland, OH 44022 > Home Office 440-519-0060 | Mobile 440-479-9961 >=20 >=20 >=20 > -----Original Message----- > From: sqr-users-bounces+gbencke=3Dkichler.com@sqrug.org [mailto:sqr-users= -bounces+gbencke=3Dkichler.com@sqrug.org] On Behalf Of franck.masson > Sent: Monday, April 28, 2008 4:44 PM > To: sqr-users@sqrug.org > Subject: [sqr-users] Line Printer with Zero Footing >=20 > hi, >=20 > Using SQR 9.3 on windows/Oracle. > printer type : lp >=20 > How can i define the Report to use a Heading section and no footing secti= on=20 >=20 > Franck, >=20 > Cr=E9ez votre adresse =E9lectronique pr=E9nom.nom@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. >=20 > _______________________________________________ > 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 >=20 >=20 Cr=E9ez votre adresse =E9lectronique pr=E9nom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=E9gr=E9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 29 09:19:11 2008 From: "franck.masson" Subject: RE: [sqr-users] Line Printer with Zero Footing Date: Tue, 29 Apr 2008 15:15:07 +0200 (CEST) =20 Thanks Very much Peter=20 =20 > Message du 29/04/08 14:45 > De : "Peter Burton"=20 > A : "This list is for discussion about the SQR database reporting languag= e from Hyperion Solutions."=20 > Copie =C3=A0 :=20 > Objet : RE: [sqr-users] Line Printer with Zero Footing > > Franck, >=20 > Alter-Report Heading=3D'None' to disable the heading entirely >=20 > Peter >=20 > -----Original Message----- > From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-u= sers-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of franck.masson > Sent: Tuesday, April 29, 2008 8:10 AM > To: This list is for discussion about the SQR database reporting language= from Hyperion Solutions. > Subject: RE: [sqr-users] Line Printer with Zero Footing >=20 > Thanks Gina, >=20 > but we have to deliver an SQR program that produce many report files > each report file have the first page that have a different heading/footin= g regarding the core of the report. > using alter-report we can switch from one heading to another=20 > but the alter-report do not authorise us to set the number of line of the= footing to zero and we can not define a footing section with zero line. >=20 > any workaround to avoid this blank line at the end of the first page. >=20 > Franck, >=20 >=20 >=20 >=20 >=20 > > Message du 29/04/08 01:55 > > De : "Bencke, Gina"=20 > > A : "This list is for discussion about the SQR database reporting langu= age from Hyperion Solutions."=20 > > Copie =C3=A0 :=20 > > Objet : RE: [sqr-users] Line Printer with Zero Footing > > > >=20 > >=20 > > This is accomplished by NOT including a begin-footing section in the pr= ogram. The only section required in an SQR program is begin-program. All ot= her sections are optional. > >=20 > > Gina Bencke | President, Bencke Consulting Corporation > > 35096 Cannon Rd. | Cleveland, OH 44022 > > Home Office 440-519-0060 | Mobile 440-479-9961 > >=20 > >=20 > >=20 > > -----Original Message----- > > From: sqr-users-bounces+gbencke=3Dkichler.com@sqrug.org [mailto:sqr-use= rs-bounces+gbencke=3Dkichler.com@sqrug.org] On Behalf Of franck.masson > > Sent: Monday, April 28, 2008 4:44 PM > > To: sqr-users@sqrug.org > > Subject: [sqr-users] Line Printer with Zero Footing > >=20 > > hi, > >=20 > > Using SQR 9.3 on windows/Oracle. > > printer type : lp > >=20 > > How can i define the Report to use a Heading section and no footing sec= tion=20 > >=20 > > Franck, > >=20 > > Cr=C3=A9ez votre adresse =C3=A9lectronique pr=C3=A9nom.nom@laposte.net > > 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. > >=20 > > _______________________________________________ > > 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 > >=20 > >=20 >=20 > Cr=C3=A9ez votre adresse =C3=A9lectronique pr=C3=A9nom.nom@laposte.net=20 > 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > http://www.sqrug.org/mailman/listinfo/sqr-users >=20 >=20 Cr=C3=A9ez votre adresse =C3=A9lectronique pr=C3=A9nom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Apr 29 10:05:46 2008 Date: Tue, 29 Apr 2008 09:02:58 -0500 From: "Ott, Justin" Subject: [sqr-users] Create-Array size? Hello, =20 I was wondering if when you create and array, do you have to give a static size or is there a way to make it dynamically grow with the data? =20 thanks =20 --------------------------------------- Justin Ott Systems Analyst/Programmer Intermediate=20 Drummond Company, Inc.=20 1000 Urban Center Drive, Suite 300=20=20 Vestavia Hills, AL 35242=20=20 Phone: 205.945.6437=20=20 Fax: 205.944.7516 =20 =20 =20 =20 =20 Confidentiality Notice: This e-mail message, including any attachments, is= for the sole use of the intended recipient(s) and may contain material tha= t is confidential, privileged and/or attorney work product. Any unauthoriz= ed review; usage, reliance, disclosure or distribution by others or forward= ing without express permission is strictly prohibited. If you are not the = intended recipient, please contact the sender by reply e-mail and delete an= d destroy all copies of the original message. Thank You. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Apr 29 10:42:00 2008 From: "Peter Burton" Subject: RE: [sqr-users] Create-Array size? Date: Tue, 29 Apr 2008 10:37:54 -0400 Justin, Starting with Hyperion SQR 8.0 the CREATE-ARRAY command can automatically e= xtend the array when the EXTENT=3D qualifier is specified (# of rows per ex= tent). Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-use= rs-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Ott, Justin Sent: Tuesday, April 29, 2008 10:03 AM To: sqr-users@sqrug.org Subject: [sqr-users] Create-Array size? Hello, =20 I was wondering if when you create and array, do you have to give a static size or is there a way to make it dynamically grow with the data? =20 thanks =20 --------------------------------------- Justin Ott Systems Analyst/Programmer Intermediate=20 Drummond Company, Inc.=20 1000 Urban Center Drive, Suite 300=20=20 Vestavia Hills, AL 35242=20=20 Phone: 205.945.6437=20=20 Fax: 205.944.7516 =20 =20 =20 =20 =20 Confidentiality Notice: This e-mail message, including any attachments, is= for the sole use of the intended recipient(s) and may contain material tha= t is confidential, privileged and/or attorney work product. Any unauthoriz= ed review; usage, reliance, disclosure or distribution by others or forward= ing without express permission is strictly prohibited. If you are not the = intended recipient, please contact the sender by reply e-mail and delete an= d destroy all copies of the original message. Thank You. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 29 10:51:07 2008 Subject: RE: [sqr-users] Create-Array size? Date: Tue, 29 Apr 2008 16:47:31 +0200 From: "Hug Marcel (KSFH 344)" Hi, thx. And what is the FASTEST way to search for a value in an ARRAY? Do we a= lways have to loop trough all array indexes, in order to find a certain value? Or is t= his possible: let #index =3D autonumberhash128($the_value) let array(#index) =3D $the_value where autonumberhash128 returns an automatic unique number, based on a hash built upon $the_value (e.g. $the_value =3D 'prqpe' would return #= index =3D 1) Thx - Marcel Marcel Hug Credit Suisse Information Technology Solution Engineering, KSFH 344 Oracle | Hyperion Lead Ing. FN Reports Zollstrasse 20/36 CH-8005 Z=FCrich Tel: +41 1 334 74 20 mailto:marcel.hug@credit-suisse.com http://www.credit-suisse.com -----Original Message----- From: sqr-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org [mailto:sq= r-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org] On Behalf Of Pete= r Burton Sent: Tuesday, April 29, 2008 4:38 PM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: RE: [sqr-users] Create-Array size? Justin, Starting with Hyperion SQR 8.0 the CREATE-ARRAY command can automatically e= xtend the array when the EXTENT=3D qualifier is specified (# of rows per ex= tent). Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-use= rs-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Ott, Justin Sent: Tuesday, April 29, 2008 10:03 AM To: sqr-users@sqrug.org Subject: [sqr-users] Create-Array size? Hello, =20 I was wondering if when you create and array, do you have to give a static size or is there a way to make it dynamically grow with the data? =20 thanks =20 --------------------------------------- Justin Ott Systems Analyst/Programmer Intermediate=20 Drummond Company, Inc.=20 1000 Urban Center Drive, Suite 300=20=20 Vestavia Hills, AL 35242=20=20 Phone: 205.945.6437=20=20 Fax: 205.944.7516 =20 =20 =20 =20 =20 Confidentiality Notice: This e-mail message, including any attachments, is= for the sole use of the intended recipient(s) and may contain material tha= t is confidential, privileged and/or attorney work product. Any unauthoriz= ed review; usage, reliance, disclosure or distribution by others or forward= ing without express permission is strictly prohibited. If you are not the = intended recipient, please contact the sender by reply e-mail and delete an= d destroy all copies of the original message. Thank You. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 29 12:12:10 2008 Subject: RE: [sqr-users] Create-Array size? Date: Tue, 29 Apr 2008 11:09:35 -0500 From: "Knapp, Richard" Marcel, It is only necessary to process enough of the array to find the value you a= re looking for. Then you can 'break' out of the loop that was generating t= he index. There is also some overhead in generating the hash value which "= feels" like it should be less than the loop method. I say this is a worthy= experiment. Richard Knapp EAS - Data Warehouse Group University of Missouri 615 Locust Street #200 Columbia, MO 65201 573-882-8856 knappr@umsystem.edu -----Original Message----- From: sqr-users-bounces+knappr=3Dumsystem.edu@sqrug.org [mailto:sqr-users-b= ounces+knappr=3Dumsystem.edu@sqrug.org] On Behalf Of Hug Marcel (KSFH 344) Sent: Tuesday, April 29, 2008 9:48 AM To: This list is for discussion about the SQR database reportinglanguage fr= omHyperion Solutions. Subject: RE: [sqr-users] Create-Array size? Hi, thx. And what is the FASTEST way to search for a value in an ARRAY? Do we a= lways have to loop trough all array indexes, in order to find a certain value? Or is t= his possible: let #index =3D autonumberhash128($the_value) let array(#index) =3D $the_value where autonumberhash128 returns an automatic unique number, based on a hash built upon $the_value (e.g. $the_value =3D 'prqpe' would return #= index =3D 1) Thx - Marcel Marcel Hug Credit Suisse Information Technology Solution Engineering, KSFH 344 Oracle | Hyperion Lead Ing. FN Reports Zollstrasse 20/36 CH-8005 Z=FCrich Tel: +41 1 334 74 20 mailto:marcel.hug@credit-suisse.com http://www.credit-suisse.com -----Original Message----- From: sqr-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org [mailto:sq= r-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org] On Behalf Of Pete= r Burton Sent: Tuesday, April 29, 2008 4:38 PM To: This list is for discussion about the SQR database reporting languagefr= om Hyperion Solutions. Subject: RE: [sqr-users] Create-Array size? Justin, Starting with Hyperion SQR 8.0 the CREATE-ARRAY command can automatically e= xtend the array when the EXTENT=3D qualifier is specified (# of rows per ex= tent). Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-use= rs-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Ott, Justin Sent: Tuesday, April 29, 2008 10:03 AM To: sqr-users@sqrug.org Subject: [sqr-users] Create-Array size? Hello, =20 I was wondering if when you create and array, do you have to give a static size or is there a way to make it dynamically grow with the data? =20 thanks =20 --------------------------------------- Justin Ott Systems Analyst/Programmer Intermediate=20 Drummond Company, Inc.=20 1000 Urban Center Drive, Suite 300=20=20 Vestavia Hills, AL 35242=20=20 Phone: 205.945.6437=20=20 Fax: 205.944.7516 =20 =20 =20 =20 =20 Confidentiality Notice: This e-mail message, including any attachments, is= for the sole use of the intended recipient(s) and may contain material tha= t is confidential, privileged and/or attorney work product. Any unauthoriz= ed review; usage, reliance, disclosure or distribution by others or forward= ing without express permission is strictly prohibited. If you are not the = intended recipient, please contact the sender by reply e-mail and delete an= d destroy all copies of the original message. Thank You. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 29 12:56:35 2008 From: "Alexander, Steven" Subject: RE: [sqr-users] Create-Array size? Date: Tue, 29 Apr 2008 09:53:28 -0700 In some situations, I can use a load-lookup to map a database field to rownum, and then use rownum as the index of the array. This approach uses the binary search of the lookup command. -----Original Message----- From: sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org [mailto:sqr-users-bounces+steven.alexander=3Dsanjoseca.gov@sqrug.org] On Behalf Of Knapp, Richard Sent: Tuesday, April 29, 2008 9:10 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Create-Array size? Marcel, It is only necessary to process enough of the array to find the value you are looking for. Then you can 'break' out of the loop that was generating the index. There is also some overhead in generating the hash value which "feels" like it should be less than the loop method. I say this is a worthy experiment. 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 Hug Marcel (KSFH 344) Sent: Tuesday, April 29, 2008 9:48 AM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Create-Array size? Hi, thx. And what is the FASTEST way to search for a value in an ARRAY? Do we always have to loop trough all array indexes, in order to find a certain value? Or is this possible: let #index =3D autonumberhash128($the_value) let array(#index) =3D $the_value where autonumberhash128 returns an automatic unique number, based on a hash built upon $the_value (e.g. $the_value =3D 'prqpe' would return #index =3D 1) Thx - Marcel Marcel Hug Credit Suisse Information Technology Solution Engineering, KSFH 344 Oracle | Hyperion Lead Ing. FN Reports Zollstrasse 20/36 CH-8005 Z=FCrich Tel: +41 1 334 74 20 mailto:marcel.hug@credit-suisse.com http://www.credit-suisse.com -----Original Message----- From: sqr-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org [mailto:sqr-users-bounces+marcel.hug=3Dcredit-suisse.com@sqrug.org] On Beha= lf Of Peter Burton Sent: Tuesday, April 29, 2008 4:38 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] Create-Array size? Justin, Starting with Hyperion SQR 8.0 the CREATE-ARRAY command can automatically extend the array when the EXTENT=3D qualifier is specified (# of rows per extent). Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Ott, Justin Sent: Tuesday, April 29, 2008 10:03 AM To: sqr-users@sqrug.org Subject: [sqr-users] Create-Array size? Hello, =20 I was wondering if when you create and array, do you have to give a static size or is there a way to make it dynamically grow with the data? =20 thanks =20 --------------------------------------- Justin Ott Systems Analyst/Programmer Intermediate=20 Drummond Company, Inc.=20 1000 Urban Center Drive, Suite 300=20=20 Vestavia Hills, AL 35242=20=20 Phone: 205.945.6437=20=20 Fax: 205.944.7516 =20 =20 =20 =20 =20 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain material that is confidential, privileged and/or attorney work product. Any unauthorized review; usage, reliance, disclosure or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and delete and destroy all copies of the original message. Thank You. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 29 14:16:55 2008 From: "Penny Ginn" Date: Tue, 29 Apr 2008 14:14:19 -0400 Subject: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null I've got an odd problem with SQR and Oracle. We've been running SQR 8.2 with Oracle 9.2.0.6. We are upgrading to Oracle 10.2.0.3, which requires SQR 8.5. We are on Sun Solaris 5.9. When I reference an sqr variable within pl/sql inside of begin-sql/end-sql, it is setting that variable to null just by referencing it. If I use the same code inside of begin-sql/end-sql that has only sql (not pl/sql) inside of it, the sqr variable keeps its value. I've got an open service request with oracle/hyperion support, but it's gone nowhere since April 23 - so I thought I'd try this list. Here's the sample script I've got: ********* begin test5.sqr *************************************************** ! test5.sqr - test problems with variables begin-report let $sqr_pidm=210 let $sqr_pidm2=90088896 display 'sqr_pidm and sqr_pidm2 at start: ' display $sqr_pidm display $sqr_pidm2 !****************************************** BEGIN-SQL DECLARE BEGIN update spriden set spriden_activity_date = SYSDATE where spriden_pidm = $sqr_pidm and spriden_change_ind is null;; END;; end-sql !****************************************** BEGIN-SQL update spriden set spriden_activity_date = SYSDATE where spriden_pidm = $sqr_pidm2 and spriden_change_ind is null end-sql display ' ' display 'sqr_pidm and sqr_pidm2 after plsql: ' display $sqr_pidm display $sqr_pidm2 end-report ********* end test5.sqr *************************************************** When I run it, here's the output I get: Hyperion SQR Server - 8.5.0.0.0.566 Copyright (c) 1994-2006 Hyperion Solutions Corporation. All Rights Reserved. sqr_pidm and sqr_pidm2 at start: 210.000000000000000 90088896.000000000000000 sqr_pidm and sqr_pidm2 after plsql: 90088896.000000000000000 SQR: End of Run. You can see that sqr_pidm is getting set to null, and sqr_pidm2 is keeping its value. Any ideas? Thanks! Mrs. Penny M. Ginn Associate Director of Information Technology Presbyterian College Clinton, SC 29325 864-833-8212 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Apr 29 14:26:51 2008 Date: Tue, 29 Apr 2008 14:24:00 -0400 From: Jason Grubb Subject: Re: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null I had the same issue. The fix is to change the following 2 lines to false in your sqr.ini configuration file: UseUnicodeInternal = False AutoDetectUnicodeFiles = False This worked for our institution. Thanks, Jason Grubb Appalachian State University Penny Ginn wrote: > I've got an odd problem with SQR and Oracle. > > We've been running SQR 8.2 with Oracle 9.2.0.6. We are upgrading to Oracle > 10.2.0.3, which requires SQR 8.5. We are on Sun Solaris 5.9. > > When I reference an sqr variable within pl/sql inside of begin-sql/end-sql, > it is setting that variable to null just by referencing it. If I use the > same code inside of begin-sql/end-sql that has only sql (not pl/sql) inside > of it, the sqr variable keeps its value. > > I've got an open service request with oracle/hyperion support, but it's gone > nowhere since April 23 - so I thought I'd try this list. > > Here's the sample script I've got: > > ********* begin test5.sqr > *************************************************** > ! test5.sqr - test problems with variables > > begin-report > > let $sqr_pidm=210 > let $sqr_pidm2=90088896 > > display 'sqr_pidm and sqr_pidm2 at start: ' > display $sqr_pidm > display $sqr_pidm2 > > !****************************************** > BEGIN-SQL > DECLARE > BEGIN > update spriden set spriden_activity_date = SYSDATE > where spriden_pidm = $sqr_pidm > and spriden_change_ind is null;; > END;; > end-sql > !****************************************** > BEGIN-SQL > update spriden set spriden_activity_date = SYSDATE > where spriden_pidm = $sqr_pidm2 > and spriden_change_ind is null > end-sql > > display ' ' > display 'sqr_pidm and sqr_pidm2 after plsql: ' > display $sqr_pidm > display $sqr_pidm2 > > end-report > ********* end test5.sqr *************************************************** > > When I run it, here's the output I get: > > Hyperion SQR Server - 8.5.0.0.0.566 > Copyright (c) 1994-2006 Hyperion Solutions Corporation. All Rights > Reserved. > > sqr_pidm and sqr_pidm2 at start: > 210.000000000000000 > 90088896.000000000000000 > > sqr_pidm and sqr_pidm2 after plsql: > > 90088896.000000000000000 > > SQR: End of Run. > > > You can see that sqr_pidm is getting set to null, and sqr_pidm2 is keeping > its value. Any ideas? > > Thanks! > > Mrs. Penny M. Ginn > Associate Director of Information Technology > Presbyterian College > Clinton, SC 29325 864-833-8212 > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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 Apr 29 14:33:15 2008 Subject: RE: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null Date: Tue, 29 Apr 2008 14:30:08 -0400 From: "Rowell, Charles" I was an SQR programmer for 8 years... switch to OBI...=20 -----Original Message----- From: sqr-users-bounces+charles.rowell=3Dfmr.com@sqrug.org [mailto:sqr-users-bounces+charles.rowell=3Dfmr.com@sqrug.org] On Behalf Of Penny Ginn Sent: Tuesday, April 29, 2008 2:14 PM To: sqr-users@sqrug.org Subject: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null I've got an odd problem with SQR and Oracle. We've been running SQR 8.2 with Oracle 9.2.0.6. We are upgrading to Oracle 10.2.0.3, which requires SQR 8.5. We are on Sun Solaris 5.9. When I reference an sqr variable within pl/sql inside of begin-sql/end-sql, it is setting that variable to null just by referencing it. If I use the same code inside of begin-sql/end-sql that has only sql (not pl/sql) inside of it, the sqr variable keeps its value. I've got an open service request with oracle/hyperion support, but it's gone nowhere since April 23 - so I thought I'd try this list. Here's the sample script I've got: ********* begin test5.sqr *************************************************** ! test5.sqr - test problems with variables =20 begin-report =20 let $sqr_pidm=3D210 let $sqr_pidm2=3D90088896 =20 display 'sqr_pidm and sqr_pidm2 at start: ' display $sqr_pidm display $sqr_pidm2 =20 !****************************************** BEGIN-SQL DECLARE BEGIN update spriden set spriden_activity_date =3D SYSDATE where spriden_pidm =3D $sqr_pidm and spriden_change_ind is null;; END;; end-sql !****************************************** BEGIN-SQL update spriden set spriden_activity_date =3D SYSDATE where spriden_pidm =3D $sqr_pidm2 and spriden_change_ind is null end-sql =20 display ' ' display 'sqr_pidm and sqr_pidm2 after plsql: ' display $sqr_pidm display $sqr_pidm2 =20 end-report ********* end test5.sqr *************************************************** When I run it, here's the output I get: Hyperion SQR Server - 8.5.0.0.0.566 Copyright (c) 1994-2006 Hyperion Solutions Corporation. All Rights Reserved. =20 sqr_pidm and sqr_pidm2 at start: 210.000000000000000 90088896.000000000000000 =20 sqr_pidm and sqr_pidm2 after plsql: =20 90088896.000000000000000 =20 SQR: End of Run. You can see that sqr_pidm is getting set to null, and sqr_pidm2 is keeping its value. Any ideas? Thanks! Mrs. Penny M. Ginn Associate Director of Information Technology Presbyterian College Clinton, SC 29325 864-833-8212=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 Apr 29 14:39:24 2008 Subject: RE: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null Date: Tue, 29 Apr 2008 14:36:58 -0400 From: "Larry Roux" =46rom the examples you give, why are you doing the whole PL/SQL thing anyways? Why not just do=20 BEGIN-SQL update spriden set spriden_activity_date =3D SYSDATE where spriden_pidm =3D $sqr_pidm and spriden_change_ind is null end-sql -----Original Message----- From: sqr-users-bounces+lroux=3Dsyr.edu@sqrug.org [mailto:sqr-users-bounces+lroux=3Dsyr.edu@sqrug.org] On Behalf Of Rowell, Charles Sent: Tuesday, April 29, 2008 2:30 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null I was an SQR programmer for 8 years... switch to OBI...=20 -----Original Message----- From: sqr-users-bounces+charles.rowell=3Dfmr.com@sqrug.org [mailto:sqr-users-bounces+charles.rowell=3Dfmr.com@sqrug.org] On Behalf Of Penny Ginn Sent: Tuesday, April 29, 2008 2:14 PM To: sqr-users@sqrug.org Subject: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null I've got an odd problem with SQR and Oracle. We've been running SQR 8.2 with Oracle 9.2.0.6. We are upgrading to Oracle 10.2.0.3, which requires SQR 8.5. We are on Sun Solaris 5.9. When I reference an sqr variable within pl/sql inside of begin-sql/end-sql, it is setting that variable to null just by referencing it. If I use the same code inside of begin-sql/end-sql that has only sql (not pl/sql) inside of it, the sqr variable keeps its value. I've got an open service request with oracle/hyperion support, but it's gone nowhere since April 23 - so I thought I'd try this list. Here's the sample script I've got: ********* begin test5.sqr *************************************************** ! test5.sqr - test problems with variables =20 begin-report =20 let $sqr_pidm=3D210 let $sqr_pidm2=3D90088896 =20 display 'sqr_pidm and sqr_pidm2 at start: ' display $sqr_pidm display $sqr_pidm2 =20 !****************************************** BEGIN-SQL DECLARE BEGIN update spriden set spriden_activity_date =3D SYSDATE where spriden_pidm =3D $sqr_pidm and spriden_change_ind is null;; END;; end-sql !****************************************** BEGIN-SQL update spriden set spriden_activity_date =3D SYSDATE where spriden_pidm =3D $sqr_pidm2 and spriden_change_ind is null end-sql =20 display ' ' display 'sqr_pidm and sqr_pidm2 after plsql: ' display $sqr_pidm display $sqr_pidm2 =20 end-report ********* end test5.sqr *************************************************** When I run it, here's the output I get: Hyperion SQR Server - 8.5.0.0.0.566 Copyright (c) 1994-2006 Hyperion Solutions Corporation. All Rights Reserved. =20 sqr_pidm and sqr_pidm2 at start: 210.000000000000000 90088896.000000000000000 =20 sqr_pidm and sqr_pidm2 after plsql: =20 90088896.000000000000000 =20 SQR: End of Run. You can see that sqr_pidm is getting set to null, and sqr_pidm2 is keeping its value. Any ideas? Thanks! Mrs. Penny M. Ginn Associate Director of Information Technology Presbyterian College Clinton, SC 29325 864-833-8212=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue Apr 29 14:49:30 2008 From: "Penny Ginn" Subject: RE: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null Date: Tue, 29 Apr 2008 14:46:49 -0400 Because the actual script I'm using has MUCH more in it. As I tracked through trying to find the error, I narrowed it down to only the essential stuff to see what caused an error and what did not. I tried to make my example as straightforward as possible. At first glance, Jason Grubb from App State seems to have the correct solution!!! :) Penny -----Original Message----- From: sqr-users-bounces+pmginn=presby.edu@sqrug.org [mailto:sqr-users-bounces+pmginn=presby.edu@sqrug.org] On Behalf Of Larry Roux Sent: Tuesday, April 29, 2008 2:37 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null >From the examples you give, why are you doing the whole PL/SQL thing anyways? Why not just do BEGIN-SQL update spriden set spriden_activity_date = SYSDATE where spriden_pidm = $sqr_pidm and spriden_change_ind is null end-sql -----Original Message----- From: sqr-users-bounces+lroux=syr.edu@sqrug.org [mailto:sqr-users-bounces+lroux=syr.edu@sqrug.org] On Behalf Of Rowell, Charles Sent: Tuesday, April 29, 2008 2:30 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null I was an SQR programmer for 8 years... switch to OBI... -----Original Message----- From: sqr-users-bounces+charles.rowell=fmr.com@sqrug.org [mailto:sqr-users-bounces+charles.rowell=fmr.com@sqrug.org] On Behalf Of Penny Ginn Sent: Tuesday, April 29, 2008 2:14 PM To: sqr-users@sqrug.org Subject: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null I've got an odd problem with SQR and Oracle. We've been running SQR 8.2 with Oracle 9.2.0.6. We are upgrading to Oracle 10.2.0.3, which requires SQR 8.5. We are on Sun Solaris 5.9. When I reference an sqr variable within pl/sql inside of begin-sql/end-sql, it is setting that variable to null just by referencing it. If I use the same code inside of begin-sql/end-sql that has only sql (not pl/sql) inside of it, the sqr variable keeps its value. I've got an open service request with oracle/hyperion support, but it's gone nowhere since April 23 - so I thought I'd try this list. Here's the sample script I've got: ********* begin test5.sqr *************************************************** ! test5.sqr - test problems with variables begin-report let $sqr_pidm=210 let $sqr_pidm2=90088896 display 'sqr_pidm and sqr_pidm2 at start: ' display $sqr_pidm display $sqr_pidm2 !****************************************** BEGIN-SQL DECLARE BEGIN update spriden set spriden_activity_date = SYSDATE where spriden_pidm = $sqr_pidm and spriden_change_ind is null;; END;; end-sql !****************************************** BEGIN-SQL update spriden set spriden_activity_date = SYSDATE where spriden_pidm = $sqr_pidm2 and spriden_change_ind is null end-sql display ' ' display 'sqr_pidm and sqr_pidm2 after plsql: ' display $sqr_pidm display $sqr_pidm2 end-report ********* end test5.sqr *************************************************** When I run it, here's the output I get: Hyperion SQR Server - 8.5.0.0.0.566 Copyright (c) 1994-2006 Hyperion Solutions Corporation. All Rights Reserved. sqr_pidm and sqr_pidm2 at start: 210.000000000000000 90088896.000000000000000 sqr_pidm and sqr_pidm2 after plsql: 90088896.000000000000000 SQR: End of Run. You can see that sqr_pidm is getting set to null, and sqr_pidm2 is keeping its value. Any ideas? Thanks! Mrs. Penny M. Ginn Associate Director of Information Technology Presbyterian College Clinton, SC 29325 864-833-8212 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 29 15:10:22 2008 From: "Peter Burton" Subject: RE: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null Date: Tue, 29 Apr 2008 15:07:01 -0400 All, This issue was corrected in SQR Server 8.5.0.3 Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-use= rs-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Penny Ginn Sent: Tuesday, April 29, 2008 2:47 PM To: 'This list is for discussion about the SQR database reportinglanguage f= rom Hyperion Solutions.' Subject: RE: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null Because the actual script I'm using has MUCH more in it. As I tracked through trying to find the error, I narrowed it down to only the essential stuff to see what caused an error and what did not. I tried to make my example as straightforward as possible. At first glance, Jason Grubb from App State seems to have the correct solution!!! :) Penny =20 -----Original Message----- From: sqr-users-bounces+pmginn=3Dpresby.edu@sqrug.org [mailto:sqr-users-bounces+pmginn=3Dpresby.edu@sqrug.org] On Behalf Of Larry Roux Sent: Tuesday, April 29, 2008 2:37 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null >From the examples you give, why are you doing the whole PL/SQL thing anyways? Why not just do BEGIN-SQL update spriden set spriden_activity_date =3D SYSDATE where spriden_pidm =3D $sqr_pidm and spriden_change_ind is null end-sql -----Original Message----- From: sqr-users-bounces+lroux=3Dsyr.edu@sqrug.org [mailto:sqr-users-bounces+lroux=3Dsyr.edu@sqrug.org] On Behalf Of Rowell, Charles Sent: Tuesday, April 29, 2008 2:30 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null I was an SQR programmer for 8 years... switch to OBI... -----Original Message----- From: sqr-users-bounces+charles.rowell=3Dfmr.com@sqrug.org [mailto:sqr-users-bounces+charles.rowell=3Dfmr.com@sqrug.org] On Behalf Of Penny Ginn Sent: Tuesday, April 29, 2008 2:14 PM To: sqr-users@sqrug.org Subject: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null I've got an odd problem with SQR and Oracle. We've been running SQR 8.2 with Oracle 9.2.0.6. We are upgrading to Oracle 10.2.0.3, which requires SQR 8.5. We are on Sun Solaris 5.9. When I reference an sqr variable within pl/sql inside of begin-sql/end-sql, it is setting that variable to null just by referencing it. If I use the same code inside of begin-sql/end-sql that has only sql (not pl/sql) inside of it, the sqr variable keeps its value. I've got an open service request with oracle/hyperion support, but it's gone nowhere since April 23 - so I thought I'd try this list. Here's the sample script I've got: ********* begin test5.sqr *************************************************** ! test5.sqr - test problems with variables =20 begin-report =20 let $sqr_pidm=3D210 let $sqr_pidm2=3D90088896 =20 display 'sqr_pidm and sqr_pidm2 at start: ' display $sqr_pidm display $sqr_pidm2 =20 !****************************************** BEGIN-SQL DECLARE BEGIN update spriden set spriden_activity_date =3D SYSDATE where spriden_pidm =3D $sqr_pidm and spriden_change_ind is null;; END;; end-sql !****************************************** BEGIN-SQL update spriden set spriden_activity_date =3D SYSDATE where spriden_pidm =3D $sqr_pidm2 and spriden_change_ind is null end-sql =20 display ' ' display 'sqr_pidm and sqr_pidm2 after plsql: ' display $sqr_pidm display $sqr_pidm2 =20 end-report ********* end test5.sqr *************************************************** When I run it, here's the output I get: Hyperion SQR Server - 8.5.0.0.0.566 Copyright (c) 1994-2006 Hyperion Solutions Corporation. All Rights Reserved. =20 sqr_pidm and sqr_pidm2 at start: 210.000000000000000 90088896.000000000000000 =20 sqr_pidm and sqr_pidm2 after plsql: =20 90088896.000000000000000 =20 SQR: End of Run. You can see that sqr_pidm is getting set to null, and sqr_pidm2 is keeping its value. Any ideas? Thanks! Mrs. Penny M. Ginn Associate Director of Information Technology Presbyterian College Clinton, SC 29325 864-833-8212 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 29 15:25:04 2008 From: "Penny Ginn" Subject: RE: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null Date: Tue, 29 Apr 2008 15:22:07 -0400 How do you get that version? When I went to the support website to download SQR, it only gave me one option - 8.5.0.0. Oh - I'm on Sun Solaris - maybe there's an 8.5.0.3 for a different operating system? -----Original Message----- From: sqr-users-bounces+pmginn=presby.edu@sqrug.org [mailto:sqr-users-bounces+pmginn=presby.edu@sqrug.org] On Behalf Of Peter Burton Sent: Tuesday, April 29, 2008 3:07 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null All, This issue was corrected in SQR Server 8.5.0.3 Peter -----Original Message----- From: sqr-users-bounces+peter.burton=oracle.com@sqrug.org [mailto:sqr-users-bounces+peter.burton=oracle.com@sqrug.org] On Behalf Of Penny Ginn Sent: Tuesday, April 29, 2008 2:47 PM To: 'This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions.' Subject: RE: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null Because the actual script I'm using has MUCH more in it. As I tracked through trying to find the error, I narrowed it down to only the essential stuff to see what caused an error and what did not. I tried to make my example as straightforward as possible. At first glance, Jason Grubb from App State seems to have the correct solution!!! :) Penny -----Original Message----- From: sqr-users-bounces+pmginn=presby.edu@sqrug.org [mailto:sqr-users-bounces+pmginn=presby.edu@sqrug.org] On Behalf Of Larry Roux Sent: Tuesday, April 29, 2008 2:37 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null >From the examples you give, why are you doing the whole PL/SQL thing anyways? Why not just do BEGIN-SQL update spriden set spriden_activity_date = SYSDATE where spriden_pidm = $sqr_pidm and spriden_change_ind is null end-sql -----Original Message----- From: sqr-users-bounces+lroux=syr.edu@sqrug.org [mailto:sqr-users-bounces+lroux=syr.edu@sqrug.org] On Behalf Of Rowell, Charles Sent: Tuesday, April 29, 2008 2:30 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null I was an SQR programmer for 8 years... switch to OBI... -----Original Message----- From: sqr-users-bounces+charles.rowell=fmr.com@sqrug.org [mailto:sqr-users-bounces+charles.rowell=fmr.com@sqrug.org] On Behalf Of Penny Ginn Sent: Tuesday, April 29, 2008 2:14 PM To: sqr-users@sqrug.org Subject: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null I've got an odd problem with SQR and Oracle. We've been running SQR 8.2 with Oracle 9.2.0.6. We are upgrading to Oracle 10.2.0.3, which requires SQR 8.5. We are on Sun Solaris 5.9. When I reference an sqr variable within pl/sql inside of begin-sql/end-sql, it is setting that variable to null just by referencing it. If I use the same code inside of begin-sql/end-sql that has only sql (not pl/sql) inside of it, the sqr variable keeps its value. I've got an open service request with oracle/hyperion support, but it's gone nowhere since April 23 - so I thought I'd try this list. Here's the sample script I've got: ********* begin test5.sqr *************************************************** ! test5.sqr - test problems with variables begin-report let $sqr_pidm=210 let $sqr_pidm2=90088896 display 'sqr_pidm and sqr_pidm2 at start: ' display $sqr_pidm display $sqr_pidm2 !****************************************** BEGIN-SQL DECLARE BEGIN update spriden set spriden_activity_date = SYSDATE where spriden_pidm = $sqr_pidm and spriden_change_ind is null;; END;; end-sql !****************************************** BEGIN-SQL update spriden set spriden_activity_date = SYSDATE where spriden_pidm = $sqr_pidm2 and spriden_change_ind is null end-sql display ' ' display 'sqr_pidm and sqr_pidm2 after plsql: ' display $sqr_pidm display $sqr_pidm2 end-report ********* end test5.sqr *************************************************** When I run it, here's the output I get: Hyperion SQR Server - 8.5.0.0.0.566 Copyright (c) 1994-2006 Hyperion Solutions Corporation. All Rights Reserved. sqr_pidm and sqr_pidm2 at start: 210.000000000000000 90088896.000000000000000 sqr_pidm and sqr_pidm2 after plsql: 90088896.000000000000000 SQR: End of Run. You can see that sqr_pidm is getting set to null, and sqr_pidm2 is keeping its value. Any ideas? Thanks! Mrs. Penny M. Ginn Associate Director of Information Technology Presbyterian College Clinton, SC 29325 864-833-8212 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Tue Apr 29 16:03:21 2008 From: "Peter Burton" Subject: RE: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null Date: Tue, 29 Apr 2008 15:59:23 -0400 Peny, Contact your support representative ... 8.5.0.3 is supposed to be available= on all platforms. Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-use= rs-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Penny Ginn Sent: Tuesday, April 29, 2008 3:22 PM To: 'This list is for discussion about the SQR database reportinglanguage f= rom Hyperion Solutions.' Subject: RE: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null How do you get that version? When I went to the support website to download SQR, it only gave me one option - 8.5.0.0. Oh - I'm on Sun Solaris - maybe there's an 8.5.0.3 for a different operating system? =20 -----Original Message----- From: sqr-users-bounces+pmginn=3Dpresby.edu@sqrug.org [mailto:sqr-users-bounces+pmginn=3Dpresby.edu@sqrug.org] On Behalf Of Peter Burton Sent: Tuesday, April 29, 2008 3:07 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null All, This issue was corrected in SQR Server 8.5.0.3 Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Penny Ginn Sent: Tuesday, April 29, 2008 2:47 PM To: 'This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions.' Subject: RE: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null Because the actual script I'm using has MUCH more in it. As I tracked through trying to find the error, I narrowed it down to only the essential stuff to see what caused an error and what did not. I tried to make my example as straightforward as possible. At first glance, Jason Grubb from App State seems to have the correct solution!!! :) Penny =20 -----Original Message----- From: sqr-users-bounces+pmginn=3Dpresby.edu@sqrug.org [mailto:sqr-users-bounces+pmginn=3Dpresby.edu@sqrug.org] On Behalf Of Larry Roux Sent: Tuesday, April 29, 2008 2:37 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null >From the examples you give, why are you doing the whole PL/SQL thing anyways? Why not just do BEGIN-SQL update spriden set spriden_activity_date =3D SYSDATE where spriden_pidm =3D $sqr_pidm and spriden_change_ind is null end-sql -----Original Message----- From: sqr-users-bounces+lroux=3Dsyr.edu@sqrug.org [mailto:sqr-users-bounces+lroux=3Dsyr.edu@sqrug.org] On Behalf Of Rowell, Charles Sent: Tuesday, April 29, 2008 2:30 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null I was an SQR programmer for 8 years... switch to OBI... -----Original Message----- From: sqr-users-bounces+charles.rowell=3Dfmr.com@sqrug.org [mailto:sqr-users-bounces+charles.rowell=3Dfmr.com@sqrug.org] On Behalf Of Penny Ginn Sent: Tuesday, April 29, 2008 2:14 PM To: sqr-users@sqrug.org Subject: [sqr-users] SQR 8.5 and Oracle 10 - variables changing to null I've got an odd problem with SQR and Oracle. We've been running SQR 8.2 with Oracle 9.2.0.6. We are upgrading to Oracle 10.2.0.3, which requires SQR 8.5. We are on Sun Solaris 5.9. When I reference an sqr variable within pl/sql inside of begin-sql/end-sql, it is setting that variable to null just by referencing it. If I use the same code inside of begin-sql/end-sql that has only sql (not pl/sql) inside of it, the sqr variable keeps its value. I've got an open service request with oracle/hyperion support, but it's gone nowhere since April 23 - so I thought I'd try this list. Here's the sample script I've got: ********* begin test5.sqr *************************************************** ! test5.sqr - test problems with variables =20 begin-report =20 let $sqr_pidm=3D210 let $sqr_pidm2=3D90088896 =20 display 'sqr_pidm and sqr_pidm2 at start: ' display $sqr_pidm display $sqr_pidm2 =20 !****************************************** BEGIN-SQL DECLARE BEGIN update spriden set spriden_activity_date =3D SYSDATE where spriden_pidm =3D $sqr_pidm and spriden_change_ind is null;; END;; end-sql !****************************************** BEGIN-SQL update spriden set spriden_activity_date =3D SYSDATE where spriden_pidm =3D $sqr_pidm2 and spriden_change_ind is null end-sql =20 display ' ' display 'sqr_pidm and sqr_pidm2 after plsql: ' display $sqr_pidm display $sqr_pidm2 =20 end-report ********* end test5.sqr *************************************************** When I run it, here's the output I get: Hyperion SQR Server - 8.5.0.0.0.566 Copyright (c) 1994-2006 Hyperion Solutions Corporation. All Rights Reserved. =20 sqr_pidm and sqr_pidm2 at start: 210.000000000000000 90088896.000000000000000 =20 sqr_pidm and sqr_pidm2 after plsql: =20 90088896.000000000000000 =20 SQR: End of Run. You can see that sqr_pidm is getting set to null, and sqr_pidm2 is keeping its value. Any ideas? Thanks! Mrs. Penny M. Ginn Associate Director of Information Technology Presbyterian College Clinton, SC 29325 864-833-8212 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Apr 30 08:17:15 2008 Subject: RE: [sqr-users] Create-Array size? Date: Wed, 30 Apr 2008 07:13:12 -0500 From: "Ott, Justin" Thanks Peter=20 So is this instantiated at anytime or is it static from the creation of the array? And what would the call for EXTENT=3D Look like syntactically? Justin -----Original Message----- From: Peter Burton [mailto:peter.burton@oracle.com]=20 Sent: Tuesday, April 29, 2008 9:38 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] Create-Array size? Justin, Starting with Hyperion SQR 8.0 the CREATE-ARRAY command can automatically extend the array when the EXTENT=3D qualifier is specified (# of rows per extent). Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Ott, Justin Sent: Tuesday, April 29, 2008 10:03 AM To: sqr-users@sqrug.org Subject: [sqr-users] Create-Array size? Hello, =20 I was wondering if when you create and array, do you have to give a static size or is there a way to make it dynamically grow with the data? =20 thanks =20 --------------------------------------- Justin Ott Systems Analyst/Programmer Intermediate=20 Drummond Company, Inc.=20 1000 Urban Center Drive, Suite 300=20=20 Vestavia Hills, AL 35242=20=20 Phone: 205.945.6437=20=20 Fax: 205.944.7516 =20 =20 =20 =20 =20 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain material that is confidential, privileged and/or attorney work product. Any unauthorized review; usage, reliance, disclosure or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and delete and destroy all copies of the original message. Thank You. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 30 08:33:03 2008 From: "Peter Burton" Subject: RE: [sqr-users] Create-Array size? Date: Wed, 30 Apr 2008 08:28:09 -0400 =20 Justin, CREATE-ARRAY NAME=3DREPORT_0016_ARRAY SIZE=3D1000 EXTENT=3D1000 FIELD=3DBRANCH_AE:CHAR FIELD=3DAGENT_AE:CHAR FIELD=3DTOT_CNT_AE:NUMBER FIELD=3DCAP_CNT_PER_BRANCH_AE:NUMBER:20=3D0 FIELD=3DCAP_TOT_CNT_AE:NUMBER FIELD=3DLOSS_CNT_AE:NUMBER FIELD=3DCAP_RATE_AE:NUMBER FIELD=3DLOSS_RATE_AE:NUMBER The CREATE-ARRAY creates the array for the initial size (i.e. number of rec= ords) specified. If you try to reference an element outside the current bo= unds of the array then the array is extended to allow the referenced elemen= t to be legal. The extent value, specified in number of records, dictates h= ow much the array is extended. If you start with 1000 rows and try to access row 1001 then the array will = be extended such that rows 1001 to 2000 are legal. Attempting to access ro= w 2001 will causes the array to extend itself again such that rows 2001 to = 3000 are legal. Judicial usage of SIZE and EXTENT will help keep your memory footprint down= and also time spent expanding the array. Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-use= rs-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Ott, Justin Sent: Wednesday, April 30, 2008 8:13 AM To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Subject: RE: [sqr-users] Create-Array size? Thanks Peter=20 So is this instantiated at anytime or is it static from the creation of the array? And what would the call for EXTENT=3D Look like syntactically? Justin -----Original Message----- From: Peter Burton [mailto:peter.burton@oracle.com]=20 Sent: Tuesday, April 29, 2008 9:38 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] Create-Array size? Justin, Starting with Hyperion SQR 8.0 the CREATE-ARRAY command can automatically extend the array when the EXTENT=3D qualifier is specified (# of rows per extent). Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Ott, Justin Sent: Tuesday, April 29, 2008 10:03 AM To: sqr-users@sqrug.org Subject: [sqr-users] Create-Array size? Hello, =20 I was wondering if when you create and array, do you have to give a static size or is there a way to make it dynamically grow with the data? =20 thanks =20 --------------------------------------- Justin Ott Systems Analyst/Programmer Intermediate=20 Drummond Company, Inc.=20 1000 Urban Center Drive, Suite 300=20=20 Vestavia Hills, AL 35242=20=20 Phone: 205.945.6437=20=20 Fax: 205.944.7516 =20 =20 =20 =20 =20 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain material that is confidential, privileged and/or attorney work product. Any unauthorized review; usage, reliance, disclosure or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and delete and destroy all copies of the original message. Thank You. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Apr 30 09:37:01 2008 Date: Wed, 30 Apr 2008 09:34:39 -0400 From: Nathan Stratton Treadway Subject: [sqr-users] Re: SQR 8.5 and Oracle 10 - variables changing to null On Tue, Apr 29, 2008 at 03:22:07PM -0400, Penny Ginn wrote: > How do you get that version? When I went to the support website to download > SQR, it only gave me one option - 8.5.0.0. > > Oh - I'm on Sun Solaris - maybe there's an 8.5.0.3 for a different operating > system? I looked around a bit on both the old hyperion.subscribenet.com and the new edelivery.oracle.com download sites, but I didn't see any version of SQR 8.5 other than 8.5.0.0 available for any of the hardware platforms I checked. It may be that 8.5.0.3 was never generally released, and they are just distributing it via manual download to people who specifically need it.... Nathan ---------------------------------------------------------------------------- Nathan Stratton Treadway - nathanst@ontko.com - Mid-Atlantic region Ray Ontko & Co. - Software consulting services - http://www.ontko.com/ GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt ID: 1023D/ECFB6239 Key fingerprint = 6AD8 485E 20B9 5C71 231C 0C32 15F3 ADCD ECFB 6239 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed Apr 30 10:39:25 2008 From: "Peter Burton" Subject: RE: [sqr-users] Re: SQR 8.5 and Oracle 10 - variables changing to null Date: Wed, 30 Apr 2008 10:35:31 -0400 All, It is on eDelivery.oracle.com Hyperion Performance Management and BI (Pre-Version 9.x) Localized Media Pa= ck for Solaris Operating System (SPARC 32-bit)=20=20 Hyperion SQR Release 8.5.0.3 Installer Solaris English|Japanese|Simplified = Chinese V11859-01 141M=20 Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-use= rs-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Nathan Stratto= n Treadway Sent: Wednesday, April 30, 2008 9:35 AM To: This list is for discussion about the SQR database reporting language f= rom Hyperion Solutions. Subject: [sqr-users] Re: SQR 8.5 and Oracle 10 - variables changing to null On Tue, Apr 29, 2008 at 03:22:07PM -0400, Penny Ginn wrote: > How do you get that version? When I went to the support website to downl= oad > SQR, it only gave me one option - 8.5.0.0. > > Oh - I'm on Sun Solaris - maybe there's an 8.5.0.3 for a different operat= ing > system? I looked around a bit on both the old hyperion.subscribenet.com and the new edelivery.oracle.com download sites, but I didn't see any version of SQR 8.5 other than 8.5.0.0 available for any of the hardware platforms I checked. It may be that 8.5.0.3 was never generally released, and they are just distributing it via manual download to people who specifically need it.... Nathan ---------------------------------------------------------------------------- Nathan Stratton Treadway - nathanst@ontko.com - Mid-Atlantic region Ray Ontko & Co. - Software consulting services - http://www.ontko.com/ GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt ID: 1023D/ECFB6239 Key fingerprint =3D 6AD8 485E 20B9 5C71 231C 0C32 15F3 ADCD ECFB 6239 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 01 00:02:49 2008 Date: Thu, 1 May 2008 00:00:04 -0400 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.23 $ $Date: 2006/07/27 16:28:24 $ This document gathers in one location information about the sqr-users mail list. It includes instructions for changing your subscription settings (including unsubscribing), as well are guidelines for using the list. ______________________________________________________________________ Table of Contents 1. Changes Since Previous Version 2. Introduction 2.1 sqr-users Mailing List 2.2 sqr-users Hints and Guidelines Document 2.3 Related Mailing Lists 3. Interacting with the list server 3.1 Subscribing to the list 3.2 Unsubscribing from the list 3.3 When your email address changes 3.4 Digests 3.5 Obtaining your password 3.6 Problems 4. Posting to the sqr-users List 4.1 General Guidelines 4.2 Posting a Message 4.3 Replying to a Message 5. Job Announcements ______________________________________________________________________ 1. Changes Since Previous Version Changes since the version dated 2005/08/19: o Added note about spam filtering and sender verification systems blocking subscription confirmation messages. 2. Introduction 2.1. sqr-users Mailing List The sqr-users mailing list was created to enable discussion related to the SQR database language from Hyperion (and to other products in the SQR product suite). Note: SQR used to be published by SQRIBE Technologies, which was merged into Brio Technology on August 3, 1999. Brio Technology changed its name to Brio Software in October 2001. On October 16, 2003, Hyperion acquired Brio Software. SQR and related applications have also been called "Brio.Report" and "Brio Reports". The mailing list is provided as a service of Ray Ontko & Co. A searchable archive of past postings to the mailing list is available from the SQR Users Group web site . 2.2. sqr-users Hints and Guidelines Document This document gives various hints and guidelines about the sqr-users mailing list. It will be posted approximately monthly to the mailing list so that new users can see it (and existing users can find it easily). An HTML version of the document is always available at http://www.sqrug.org/sqr-users/sqr-users-hints.html. If you have comments or suggestions about this document, please contact me directly at the address listed in the title section. This document is Copyright (C) 1999-2004 by Ray Ontko & Co. It may be freely copied and distributed provided it is not modified in any way and it retains the original copyright notice. 2.3. Related Mailing Lists Here are some mailing lists that cover topics relating to SQR in some way. sqr-jobs : SQR Jobs This list may be used for posting SQR-related resumes, recruitments, job announcements, project announcments, help- wanted, work-wanted ads, etc. To join, follow the link above, or send any message to "sqr-jobs-subscribe@yahoogroups.com". peoplesoft-fans : PeopleSoft Fans Moderated list covering technical and functional aspects of PeopleSoft. To join, follow the link above, or send any message to "peoplesoft-fans-subscribe@yahoogroups.com". psusers : PeopleSoft Users For questions related to any aspect of PeopleSoft (including PeopleSoft-specific SQR issues). This list has merged with the Peoplesoft Fans mailing list and is no longer active, but the message achive can still be found at the link above. HyperionSQR : Hyperion- SQR List for discussion of SQR, SQR Developer (formerly called Brio.Report and Report Builder), and SQR iServer. To join, follow the link above, or send any message to "HyperionSQR- subscribe@yahoogroups.com". rm-users : Report- Mart Users List for discussion of Brio Portal (previously called ReportMart). To join, follow the link above, or send a message containing the word "subscribe" in the body to "rm-users- request@sqrug.org". brioportalusersgroup : Brio Portal Users Group list List for discussion of Brio Portal. To join, follow the link above, or send any message to "brioportalusersgroup- subscribe@yahoogroups.com". brio-l : OpenITx Brio List List for technical and functional discussion of all Brio products (but most messages are currently about Brio Intelligence). To join, follow the link above. briousers : Brio.Enter- prise Users List for discussion of the Brio.Enterprise (now called Intelligence) product. To join, follow the link above, or send any message to "briousers-subscribe@yahoogroups.com". briolist : Brio List List for discussion of Brio Intelligence. To join, follow the link above, or send any message to "briolist- subscribe@yahoogroups.com". 3. Interacting with the list server The sqr-users mailing list is hosted using the Mailman list server package. All of the Mailman functions described below are accessed from the sqr-users List Info page, "http://www.sqrug.org/mailman/listinfo/sqr-users". 3.1. Subscribing to the list To subscribe to the mailing list, enter your e-mail address in the box at the top of the "Subscribing to sqr-users" section on the sqr-users List Info page, then choose a password to assign to your subscription and enter it in both "Password" boxes. This password is used to allow you to securely make changes to your subscription over the web. This password will be e-mailed back to you at varous times, so you should not use the same password as you are using elsewhere. Once you have filled in the password, click the "Subscribe" button. You should soon receive an e-mail message from the list server requesting confirmation of your subscription request. Once you have replied to this message and your subscription has been processed, you will receive a "welcome" message giving you more information on the list server, and as well as a reminder of the subscription password you chose. Many sites are now implementing spam filtering and/or sender verification systems, which can prevent your confirmation message from getting delivered to you. You may need check for a message from "sqr- users-request[-AT-]sqrug.org" caught in the filter, or add that address to your list of authorized senders, in order to complete the confirmation process. 3.2. Unsubscribing from the list To unsubscribe from the list, go to the sqr-users List Info page, enter your e-mail address in the "sqr-users Subscribers" section near the bottom of the page, and click the "Unsubscribe or edit options" button. You will then see the "member options" page; fill in your password at the top of the page and click "Log in". (If you have forgotton your password, see the ``Obtaining your Password'' section, below). This will take you to the "membership configuration" page. In the middle of that page, there will be an "Unsubscribing from sqr- users" section; simply turn on the "Yes, I really want to unsubscribe" checkbox and click the "Unsubscribe" button. You should get a page back saying that the removal was successful (as well as a confirmation email message). The removal will take effect immediately; there is no need to send in a confirmation e-mail message. If you don't know your password, you can choose to unsubscribe using e-mail confirmation. Instead of entering the password on the "member options" page, just click the "Unsubscribe" button found just below the "Log In" button. You will then see a page noting that a confirmation e-mail has been sent; once you follow the confirmation instructions in that e-mail your removal will be complete. 3.3. When your email address changes If your e-mail address changes -- for example, if your company changes names, or if your mail administrator changes the way your name is spelled out or abbreviated -- you will need to update your subscription to match your new address before you can post to the list (see the ``Posting'' section, below). To do this, simply log in to your "membership configuration" page (see the directions for logging in to this page in the ``Unsubscribing'' section, above). At the top of that page you'll see a "Changing your membership information" section. Fill out the text boxes and click the "Change My Address and Name" button. You will be sent a confirmation e-mail, and once you have responded to that e-mail your subscription will be updated and you can begin posting from your new address. 3.4. Digests You can request to get your messages in digest form (one large message containing all of the posts made each day). To do this, log in to your "membership configuration" page (see the directions on doing this in the ``Unsubscribing'' section, above). At the bottom of the page, you will see a section titled "Your sqr-users Subscription Options". Change the "Set Digest Mode" option (the second option in the list) to "On" and click the "Submit My Changes" button at the bottom of the page. You actually have a choice of two different digest formats, "MIME" or "Plain Text". The MIME format sends each individual list message as a separate MIME attachment to the digest; the plain text format consists of one large text message, with all of the individual messages run together. Which format you will want to use depends on your mail- reading software (and personal preference). If you are not sure which format will work best, you can just leave the default setting of "MIME" and see if the next morning's digest is easy to read in your mail reader -- you can change to the other format at any time using that same web page. If you use digests, you should not just "reply" to the digest mailing. Instead, be sure your message's subject header matches the subject in the original posting to which you are replying, and that you don't include a quoted copy of the entire digest in your post. To restore normal distribution, simply follow the above instructions choosing the "Off" setting for the Digest option. 3.5. Obtaining your password You will not be able to change your subscription options without your password. If you have forgotten your password, simply click the "Email My Password to Me" button on the "member options" page and your password will be emailed to you. You will also be e-mailed a copy of your password at the beginning of each month, as part of a "mailing list memberships reminder" message from the Mailman software. 3.6. Problems If the above instructions do not work, please contact the list manager at "sqr-users-manager@sqrug.org". (Do not send a message to the list itself -- no one there can help you with your problem!) Please include a description of what you were trying to do and what exactly happened when you made the attempt. 4. Posting to the sqr-users List In order to post to the mailing list, you must be subscribed to it (see directions above). More specifically, in order for Mailman to recognize that this message was sent by a subscriber, the return address on your message much exactly match the addresss you used to subscribe -- if you have more than one address you will need to be sure that you are sending from the correct one. (See the ``When you email address changes'' section, above, if your e-mail address has changed since you subscribed.) 4.1. General Guidelines For any message you send to the list, please: o make sure your mail software is not requesting a "Return Receipt". (If a "Return Receipt Requested" message is sent to the list, several dozen receipt messages will be sent out to the mailing list as other subscribers' mail systems repond....) o do not send messages in HTML or other special formats. (These are not usable by many subscribers, especially those who receive their messages in digest format.) The list server will delete these special attachments from your message and send you a warning notice. Also, if you are trying to send (for example) SQR source code files, make sure your mail-reader software is assigning proper MIME types to your attachments or they may not be distributed. o keep in mind that over 500 people will receive your message, and that it will appear in the list archives. Try to keep your messages on-topic and relatively short. Consider sending your message directly to particular people if it won't interest many of the list's subscribers. o ignore abusive and inappropriate messages that get sent to the list, rather than getting drawn into a debate. The very nature of these messages will cause most subscribers to automatically discredit them -- no "response" is necessary. To the contrary, any response will only "add fuel to the fire," prolonging the controversy and further interupting the normal conversation on the list. 4.2. Posting a Message Once you are subscribed, you can post to the list by sending a message to "sqr-users@sqrug.org". Be sure your subject heading describes your specific problem or question (i.e. don't just use "SQR Question"). In the body of your message, please include the following information: o SQR product name and version number (see notes below) o Operating system name and version number o Database name and version number o Application name (i.e. PeopleSoft) and a version number, if any Also, include a short code sample whenever possible. It's much easier for other people to understand what you are trying to do when they can see the actual code. (At the same time, be careful not to post confidential or proprietary code, since the posting will be placed in a public web archive.) Note that your question should relate to SQR or other Brio Report product in some way. Don't ask questions about PeopleSoft, for example, unless you are having SQR-related issues. (For PeopleSoft- specific questions, see other lists mentioned in the ``Related Mailing Lists'' section.) In 2001, PeopleSoft purchased from Brio the rights to the source code for SQR and began releasing its own line of SQR. PeopleSoft's SQR version numbering is different from Brio/Hyperion's, so it's very important to mention whether you are using Hyperion's "SQR" or "SQR for PeopleSoft". (This info is included automatically if you include the full SQR version-id string as described below.) To get the version-id string for your copy of SQR, you can run the following program: begin-program show $sqr-ver end-program This will produce a line that looks something like this: SQR/3.0.15/Intel/SCO Unix R3.2 V5.0/Oracle 7.2.2.3/Sep 25 1996 Include the full line of output in your message. Note that the oper- ating system and database version numbers listed here are the ones under which this copy of SQR was compiled, so you'll still need to include this information for your own environment. In a command-line environment (Unix, etc.), you can also get this version-id string by saying sqr -id 4.3. Replying to a Message Messages sent out on the list have a Reply-To header pointing to the list. This means that you should be able to simply use your mail reader's "reply" function to send a reply to the list. Generally, all answers to questions sent out on the list should be public replies, so that other subscribers can benefit. In those cases where a private reply is appropriate, be sure to over-ride the default Reply-To address. If your message is not actually a reply to the earlier message, please do not use the "reply" function. Instead, address a new e-mail message to the list as described in the previous section. (This is because the list archives will incorrectly show the new message in the original thread if you use "reply".) You should quote enough lines from the original message that later readers can understand your answer even if they missed the original question. At the same time, you should remove any unnecessary lines from the quote in order to make your message shorter and easier to understand. (Remember that some people read the mailing list in digest form, and the digests become much larger if unnecessary lines are quoted.) 5. Job Announcements Please do not post job announcements on the sqr-users list, but use the sqr-jobs list instead. (See ``Related Mailing Lists'' for more information on this list.) A large number of sqr-users subscribers do not want to receive job announcements (for various reasons) and such posts tend to cause a lot of disruption of the discussion on the list. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu May 01 07:59:53 2008 Date: Thu, 1 May 2008 13:56:01 +0200 From: Subject: [sqr-users] SQRW, Ultraedit and Sybase I am trying to set up SQRW to test forms locally;=20 =20 I want to use SQRW instead of Unix command line SQR. Saves me having to ftp the form across every time I make a change in ultra edit. =20 The command line I am using at the moment is =20 sqr umg_dsp_nt.sqr dbname/password -XL -KEEP .spf @/PARI/users/username/ =20 This seems to find the Sybase database automatically within the environment. Although I checked the sqr.ini file on the unix box and it doesn't specify a database. =20 Export shows a couple of variables=20 =20 SQR_VERSION=3D8.3 ;export SQR_VERSION SQR_ODS_ENV=3D${ENV} ;export SQR_ODS_ENV ODS_SQR_ENV=3D${ENV} ;export ODS_SQR_ENV ODS_ENVIRON=3D${ENV} ;export ODS_ENVIRON SQRHOME=3D/DBA/sybase/SQR/${SQR_VERSION}/syb ;export SQRHOME BRIO_HOME=3D/DBA/sybase/SQR/${SQR_VERSION} ;export BRIO_HOME SQRDIR=3D${SQRHOME}/bin ;export SQRDIR SQR=3D${SQRDIR}/sqr ;export SQR SQRT=3D${SQRDIR}/sqrt ;export SQRT PATH=3D${SQRDIR}:${PATH} ;export PATH =20 Basically I have never set up any DB connections from scratch except in SQL programs which seem to handle the domain name and a port happily, then go off and retrieve a list of database servers and databases. =20 =20 What I am asking guys is what do I need to do to set up the connection of SQRW via Ultra edit to a Sybase database located on a UNIX server off site? =20 Any help would be appreciated. =20 =20 =20 Regards Matthew Olliver ODS Team, Arvato Systems Ltd =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu May 01 11:15:11 2008 Date: Thu, 1 May 2008 11:12:33 -0400 From: Nathan Stratton Treadway Subject: [sqr-users] Re: SQR 8.5 and Oracle 10 - variables changing to null -- SQR 8.5.0.3 download On Wed, Apr 30, 2008 at 10:35:31AM -0400, Peter Burton wrote: > It is on eDelivery.oracle.com > > Hyperion Performance Management and BI (Pre-Version 9.x) Localized > Media Pack for Solaris Operating System (SPARC 32-bit) Ah! Thanks, Peter, now it makes sense. It didn't occur to me to look in the "Localized" media pack after finding SQR 8.5.0 in the "plain" one. But now that I browse through the two packs, I see that the Localized one has many more versions of all the different Hyperion products than the non-localized one (both latest patches, as well as earlier/archive versions). Nathan ---------------------------------------------------------------------------- Nathan Stratton Treadway - nathanst@ontko.com - Mid-Atlantic region Ray Ontko & Co. - Software consulting services - http://www.ontko.com/ GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt ID: 1023D/ECFB6239 Key fingerprint = 6AD8 485E 20B9 5C71 231C 0C32 15F3 ADCD ECFB 6239 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu May 01 13:55:03 2008 Subject: RE: [sqr-users] Create-Array size? Date: Thu, 1 May 2008 12:51:46 -0500 From: "Ott, Justin" Cool got is this new functionality with SQR because I am not sure at the version I am on but for some reason extent does not work... Error on line 79: (SQR 5303) Invalid qualifier 'extent'. Valid qualifiers are: field name size=20 size =3D 100000 EXTENT =3D 100 Error on line 79: (SQR 5303) Invalid qualifier ''. Valid qualifiers are: field name size=20 size =3D 100000 EXTENT =3D 100 Error on line 79: (SQR 5303) Invalid qualifier '100'. Valid qualifiers are: field name size=20 size =3D 100000 EXTENT =3D 100 Justin Ott Systems Analyst/Programmer Intermediate Drummond Company, Inc. 1000 Urban Center Drive, Suite 300 Vestavia Hills, AL 35242 Phone: 205.945.6437 Fax: 205.944.7516 -----Original Message----- From: Peter Burton [mailto:peter.burton@oracle.com]=20 Sent: Wednesday, April 30, 2008 7:28 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] Create-Array size? =20 Justin, CREATE-ARRAY NAME=3DREPORT_0016_ARRAY SIZE=3D1000 EXTENT=3D1000 FIELD=3DBRANCH_AE:CHAR FIELD=3DAGENT_AE:CHAR FIELD=3DTOT_CNT_AE:NUMBER FIELD=3DCAP_CNT_PER_BRANCH_AE:NUMBER:20=3D0 FIELD=3DCAP_TOT_CNT_AE:NUMBER FIELD=3DLOSS_CNT_AE:NUMBER FIELD=3DCAP_RATE_AE:NUMBER FIELD=3DLOSS_RATE_AE:NUMBER The CREATE-ARRAY creates the array for the initial size (i.e. number of records) specified. If you try to reference an element outside the current bounds of the array then the array is extended to allow the referenced element to be legal. The extent value, specified in number of records, dictates how much the array is extended. If you start with 1000 rows and try to access row 1001 then the array will be extended such that rows 1001 to 2000 are legal. Attempting to access row 2001 will causes the array to extend itself again such that rows 2001 to 3000 are legal. Judicial usage of SIZE and EXTENT will help keep your memory footprint down and also time spent expanding the array. Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Ott, Justin Sent: Wednesday, April 30, 2008 8:13 AM To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Subject: RE: [sqr-users] Create-Array size? Thanks Peter=20 So is this instantiated at anytime or is it static from the creation of the array? And what would the call for EXTENT=3D Look like syntactically? Justin -----Original Message----- From: Peter Burton [mailto:peter.burton@oracle.com]=20 Sent: Tuesday, April 29, 2008 9:38 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] Create-Array size? Justin, Starting with Hyperion SQR 8.0 the CREATE-ARRAY command can automatically extend the array when the EXTENT=3D qualifier is specified (# of rows per extent). Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Ott, Justin Sent: Tuesday, April 29, 2008 10:03 AM To: sqr-users@sqrug.org Subject: [sqr-users] Create-Array size? Hello, =20 I was wondering if when you create and array, do you have to give a static size or is there a way to make it dynamically grow with the data? =20 thanks =20 --------------------------------------- Justin Ott Systems Analyst/Programmer Intermediate=20 Drummond Company, Inc.=20 1000 Urban Center Drive, Suite 300=20=20 Vestavia Hills, AL 35242=20=20 Phone: 205.945.6437=20=20 Fax: 205.944.7516 =20 =20 =20 =20 =20 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain material that is confidential, privileged and/or attorney work product. Any unauthorized review; usage, reliance, disclosure or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and delete and destroy all copies of the original message. Thank You. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 01 14:06:20 2008 From: "Peter Burton" Subject: RE: [sqr-users] Create-Array size? Date: Thu, 1 May 2008 14:03:02 -0400 Justin, This functionaly has been available in SQR (non-PeopleSoft) since version 8= .0. Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-use= rs-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Ott, Justin Sent: Thursday, May 01, 2008 1:52 PM To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Subject: RE: [sqr-users] Create-Array size? Cool got is this new functionality with SQR because I am not sure at the version I am on but for some reason extent does not work... Error on line 79: (SQR 5303) Invalid qualifier 'extent'. Valid qualifiers are: field name size=20 size =3D 100000 EXTENT =3D 100 Error on line 79: (SQR 5303) Invalid qualifier ''. Valid qualifiers are: field name size=20 size =3D 100000 EXTENT =3D 100 Error on line 79: (SQR 5303) Invalid qualifier '100'. Valid qualifiers are: field name size=20 size =3D 100000 EXTENT =3D 100 Justin Ott Systems Analyst/Programmer Intermediate Drummond Company, Inc. 1000 Urban Center Drive, Suite 300 Vestavia Hills, AL 35242 Phone: 205.945.6437 Fax: 205.944.7516 -----Original Message----- From: Peter Burton [mailto:peter.burton@oracle.com]=20 Sent: Wednesday, April 30, 2008 7:28 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] Create-Array size? =20 Justin, CREATE-ARRAY NAME=3DREPORT_0016_ARRAY SIZE=3D1000 EXTENT=3D1000 FIELD=3DBRANCH_AE:CHAR FIELD=3DAGENT_AE:CHAR FIELD=3DTOT_CNT_AE:NUMBER FIELD=3DCAP_CNT_PER_BRANCH_AE:NUMBER:20=3D0 FIELD=3DCAP_TOT_CNT_AE:NUMBER FIELD=3DLOSS_CNT_AE:NUMBER FIELD=3DCAP_RATE_AE:NUMBER FIELD=3DLOSS_RATE_AE:NUMBER The CREATE-ARRAY creates the array for the initial size (i.e. number of records) specified. If you try to reference an element outside the current bounds of the array then the array is extended to allow the referenced element to be legal. The extent value, specified in number of records, dictates how much the array is extended. If you start with 1000 rows and try to access row 1001 then the array will be extended such that rows 1001 to 2000 are legal. Attempting to access row 2001 will causes the array to extend itself again such that rows 2001 to 3000 are legal. Judicial usage of SIZE and EXTENT will help keep your memory footprint down and also time spent expanding the array. Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Ott, Justin Sent: Wednesday, April 30, 2008 8:13 AM To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Subject: RE: [sqr-users] Create-Array size? Thanks Peter=20 So is this instantiated at anytime or is it static from the creation of the array? And what would the call for EXTENT=3D Look like syntactically? Justin -----Original Message----- From: Peter Burton [mailto:peter.burton@oracle.com]=20 Sent: Tuesday, April 29, 2008 9:38 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] Create-Array size? Justin, Starting with Hyperion SQR 8.0 the CREATE-ARRAY command can automatically extend the array when the EXTENT=3D qualifier is specified (# of rows per extent). Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Ott, Justin Sent: Tuesday, April 29, 2008 10:03 AM To: sqr-users@sqrug.org Subject: [sqr-users] Create-Array size? Hello, =20 I was wondering if when you create and array, do you have to give a static size or is there a way to make it dynamically grow with the data? =20 thanks =20 --------------------------------------- Justin Ott Systems Analyst/Programmer Intermediate=20 Drummond Company, Inc.=20 1000 Urban Center Drive, Suite 300=20=20 Vestavia Hills, AL 35242=20=20 Phone: 205.945.6437=20=20 Fax: 205.944.7516 =20 =20 =20 =20 =20 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain material that is confidential, privileged and/or attorney work product. Any unauthorized review; usage, reliance, disclosure or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and delete and destroy all copies of the original message. Thank You. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri May 02 08:25:11 2008 Subject: RE: [sqr-users] Create-Array size? Date: Fri, 2 May 2008 07:21:03 -0500 From: "Ott, Justin" Ahhhh ok. There lies the problem :) PeopleSoft needs to get their act together. That is very valuable functionality. Thanks for your help Peter Justin Ott Systems Analyst/Programmer Intermediate Drummond Company, Inc. 1000 Urban Center Drive, Suite 300 Vestavia Hills, AL 35242 Phone: 205.945.6437 Fax: 205.944.7516 -----Original Message----- From: Peter Burton [mailto:peter.burton@oracle.com]=20 Sent: Thursday, May 01, 2008 1:03 PM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] Create-Array size? Justin, This functionaly has been available in SQR (non-PeopleSoft) since version 8.0. Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Ott, Justin Sent: Thursday, May 01, 2008 1:52 PM To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Subject: RE: [sqr-users] Create-Array size? Cool got is this new functionality with SQR because I am not sure at the version I am on but for some reason extent does not work... Error on line 79: (SQR 5303) Invalid qualifier 'extent'. Valid qualifiers are: field name size=20 size =3D 100000 EXTENT =3D 100 Error on line 79: (SQR 5303) Invalid qualifier ''. Valid qualifiers are: field name size=20 size =3D 100000 EXTENT =3D 100 Error on line 79: (SQR 5303) Invalid qualifier '100'. Valid qualifiers are: field name size=20 size =3D 100000 EXTENT =3D 100 Justin Ott Systems Analyst/Programmer Intermediate Drummond Company, Inc. 1000 Urban Center Drive, Suite 300 Vestavia Hills, AL 35242 Phone: 205.945.6437 Fax: 205.944.7516 -----Original Message----- From: Peter Burton [mailto:peter.burton@oracle.com]=20 Sent: Wednesday, April 30, 2008 7:28 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] Create-Array size? =20 Justin, CREATE-ARRAY NAME=3DREPORT_0016_ARRAY SIZE=3D1000 EXTENT=3D1000 FIELD=3DBRANCH_AE:CHAR FIELD=3DAGENT_AE:CHAR FIELD=3DTOT_CNT_AE:NUMBER FIELD=3DCAP_CNT_PER_BRANCH_AE:NUMBER:20=3D0 FIELD=3DCAP_TOT_CNT_AE:NUMBER FIELD=3DLOSS_CNT_AE:NUMBER FIELD=3DCAP_RATE_AE:NUMBER FIELD=3DLOSS_RATE_AE:NUMBER The CREATE-ARRAY creates the array for the initial size (i.e. number of records) specified. If you try to reference an element outside the current bounds of the array then the array is extended to allow the referenced element to be legal. The extent value, specified in number of records, dictates how much the array is extended. If you start with 1000 rows and try to access row 1001 then the array will be extended such that rows 1001 to 2000 are legal. Attempting to access row 2001 will causes the array to extend itself again such that rows 2001 to 3000 are legal. Judicial usage of SIZE and EXTENT will help keep your memory footprint down and also time spent expanding the array. Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Ott, Justin Sent: Wednesday, April 30, 2008 8:13 AM To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Subject: RE: [sqr-users] Create-Array size? Thanks Peter=20 So is this instantiated at anytime or is it static from the creation of the array? And what would the call for EXTENT=3D Look like syntactically? Justin -----Original Message----- From: Peter Burton [mailto:peter.burton@oracle.com]=20 Sent: Tuesday, April 29, 2008 9:38 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: RE: [sqr-users] Create-Array size? Justin, Starting with Hyperion SQR 8.0 the CREATE-ARRAY command can automatically extend the array when the EXTENT=3D qualifier is specified (# of rows per extent). Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Ott, Justin Sent: Tuesday, April 29, 2008 10:03 AM To: sqr-users@sqrug.org Subject: [sqr-users] Create-Array size? Hello, =20 I was wondering if when you create and array, do you have to give a static size or is there a way to make it dynamically grow with the data? =20 thanks =20 --------------------------------------- Justin Ott Systems Analyst/Programmer Intermediate=20 Drummond Company, Inc.=20 1000 Urban Center Drive, Suite 300=20=20 Vestavia Hills, AL 35242=20=20 Phone: 205.945.6437=20=20 Fax: 205.944.7516 =20 =20 =20 =20 =20 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain material that is confidential, privileged and/or attorney work product. Any unauthorized review; usage, reliance, disclosure or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and delete and destroy all copies of the original message. Thank You. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 08 18:43:59 2008 From: "Ray Peck" Date: Thu, 8 May 2008 15:31:58 -0700 Subject: [sqr-users] SQR Version 2.26a - License Expired We've been running a 1992 version of SQR (version 2.26a) on an old SunOS 4.1.4 system. After running it with no problems for 16 years, yesterday it suddenly started giving us the message "Your license key has expired." Oracle now owns SQR via Hyperion and their policy is to unlock all Hyperion product licenses. However, their master license keys published on the web site only goes back to version 6. Hyperion tech support thus far refuses any support earlier than version 6, and says they have no data on license keys for earlier products. Our SQR_KEY is '48K03F59 905172B4 043F9F8'. Does anyone have any clues on how to unlock this license? Anyone work with SQR back in the early/mid-90s who might know what could work or have a lead to somewhere that might help? We've been able to keep working by turning our system date to any date before yesterday, but that messes with dates across the system--so if anyone has some clues on solving this, it would be much appreciated. Thanks very much for any help or suggestions. Ray Peck IT Manager Building Industry Credit Association 213-251-1106 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu May 08 19:36:08 2008 From: the dragon Subject: RE: [sqr-users] SQR Version 2.26a - License Expired Date: Thu, 8 May 2008 18:33:17 -0500 Heh - good luck with that! Might be time to upgrade. :-p =20 peace, clark 'the dragon' willisPSA: 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. McAd= oo 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 s= o well what God wants them to do because I notice it always coincides with = their own desires." - Susan B. Anthony> From: rpeck@bicanet.com> To: sqr-us= ers@sqrug.org> Date: Thu, 8 May 2008 15:31:58 -0700> Subject: [sqr-users] S= QR Version 2.26a - License Expired> > > We've been running a 1992 version o= f SQR (version 2.26a) on an old SunOS> 4.1.4 system. After running it with = no problems for 16 years, yesterday it> suddenly started giving us the mess= age "Your license key has expired."> > Oracle now owns SQR via Hyperion and= their policy is to unlock all Hyperion> product licenses. However, their m= aster license keys published on the web> site only goes back to version 6. = Hyperion tech support thus far refuses> any support earlier than version 6,= and says they have no data on license> keys for earlier products.> > Our S= QR_KEY is '48K03F59 905172B4 043F9F8'.> > Does anyone have any clues on how= to unlock this license?> > Anyone work with SQR back in the early/mid-90s = who might know what could> work or> have a lead to somewhere that might hel= p?> > We've been able to keep working by turning our system date to any dat= e> before yesterday, but that messes with dates across the system--so if an= yone> has some clues on solving this, it would be much appreciated.> > Than= ks very much for any help or suggestions.> > Ray Peck> IT Manager> Building= Industry Credit Association> 213-251-1106> > > > > > > ___________________= ____________________________> sqr-users mailing list> sqr-users@sqrug.org> = http://www.sqrug.org/mailman/listinfo/sqr-users _________________________________________________________________ With Windows Live for mobile, your contacts travel with you. http://www.windowslive.com/mobile/overview.html?ocid=3DTXT_TAGLM_WL_Refresh= _mobile_052008 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu May 08 20:04:34 2008 From: "Peter Burton" Subject: RE: [sqr-users] SQR Version 2.26a - License Expired Date: Thu, 8 May 2008 20:01:15 -0400 Ray, Gad zooks ... I am suprised that it is working at all. ******** BACK UP YOUR SQR BINARIES AND SCRIPTS ******** ******* THIS IS UNTESTED SO TRY AT YOUR OWN RISK ****** Create a file (wrdconv.c) which contains the following int sq327 (void); int sq327 (void) { return 0; } Compile the module (cc -c wrdconv.c) You then need to modify the make script and reference "wrdconv.o" before th= e "sqr.a" reference. Relink SQR and you should be okay. Peter -----Original Message----- From: sqr-users-bounces+peter.burton=3Doracle.com@sqrug.org [mailto:sqr-use= rs-bounces+peter.burton=3Doracle.com@sqrug.org] On Behalf Of Ray Peck Sent: Thursday, May 08, 2008 6:32 PM To: sqr-users@sqrug.org Subject: [sqr-users] SQR Version 2.26a - License Expired We've been running a 1992 version of SQR (version 2.26a) on an old SunOS 4.1.4 system. After running it with no problems for 16 years, yesterday it suddenly started giving us the message "Your license key has expired." Oracle now owns SQR via Hyperion and their policy is to unlock all Hyperion product licenses. However, their master license keys published on the web site only goes back to version 6. Hyperion tech support thus far refuses any support earlier than version 6, and says they have no data on license keys for earlier products. Our SQR_KEY is '48K03F59 905172B4 043F9F8'. Does anyone have any clues on how to unlock this license? Anyone work with SQR back in the early/mid-90s who might know what could work or have a lead to somewhere that might help? We've been able to keep working by turning our system date to any date before yesterday, but that messes with dates across the system--so if anyone has some clues on solving this, it would be much appreciated. Thanks very much for any help or suggestions. Ray Peck IT Manager Building Industry Credit Association 213-251-1106 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 13 13:32:19 2008 Date: Tue, 13 May 2008 10:29:17 -0700 (PDT) From: prashanth reddy Subject: [sqr-users] PGP encryption How can we Encrypt(using PGP) a file and FTP the same using sqr.I have a script that FTP the file and I am calling this in sqr using call system command. I am not sure how to Encrypt the file. We use Window NT. Thanks, Prashanth _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue May 13 13:39:03 2008 Subject: RE: [sqr-users] PGP encryption Date: Tue, 13 May 2008 13:34:47 -0400 From: "Putney II, Zynon E" =0D I'd consider writing a script that does the encryption and using call=0D system in the same way you're using call system to FTP the file.=0D =0D -----Original Message-----=0D From: sqr-users-bounces+zputney=3Dpaychex.com@sqrug.org=0D [mailto:sqr-users-bounces+zputney=3Dpaychex.com@sqrug.org] On Behalf Of=0D prashanth reddy=0D Sent: Tuesday, May 13, 2008 1:29 PM=0D To: sqr-users@sqrug.org=0D Subject: [sqr-users] PGP encryption=0D =0D How can we Encrypt(using PGP) a file and FTP the same=0D using sqr.I have a script that FTP the file =0D and I am calling this in sqr using call system=0D command. I am not sure how to Encrypt the file. =0D We use Window NT.=0D =0D Thanks,=0D Prashanth=0D =0D =0D =0D =0D _______________________________________________=0D sqr-users mailing list=0D sqr-users@sqrug.org=0D http://www.sqrug.org/mailman/listinfo/sqr-users=0D =0D =0D -----------------------------------------=0D The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. =0D =0D Thank you. Paychex, Inc. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue May 13 13:58:15 2008 Date: Tue, 13 May 2008 11:55:56 -0600 From: "Robert Goshko" Subject: Re: [sqr-users] PGP encryption On Tue, May 13, 2008 at 11:29 AM, prashanth reddy wrote: > How can we Encrypt(using PGP) a file and FTP the same > using sqr.I have a script that FTP the file > and I am calling this in sqr using call system > command. I am not sure how to Encrypt the file. > We use Window NT. You can get GNUPG (www.gnupg.org), the open PGP program that does run on NT, then you can use a script in the same way as you FTP call to do the encryption. Typically: gpg -e -r -- ...Rob -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 ================================================ Robert Goshko Registered Linux User #260513 Want a Gmail account, 6+ GB web mail - anyone can get one! _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Tue May 13 17:31:34 2008 Date: Tue, 13 May 2008 16:47:26 -0400 From: "Everett Carr" Subject: Re: [sqr-users] PGP encryption why are you using windows?.... UNIX is a far better choice. =20 =20 we do this frequently across several different processes.=20 =20 We use unix. =20 But you should be able to get away with doing the same on windows, if you m= ust. Just write a script to run pgp activities. we have one pgp script that will= =20 encrypt or decrypt and accepts input file output file and key identifier pa= rameters _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed May 14 13:33:49 2008 From: "Ray Peck" Subject: RE: [sqr-users] SQR Version 2.26a - License Expired Date: Wed, 14 May 2008 10:32:01 -0700 Thanks to some truly impressive help from members of this user group, we tracked down what appears to be a master license key for SQR Version 2.26a. Since Oracle's public policy is to open up the licenses on these historical products, here is the SQR_KEY that works for this version of SQR should anyone else run into this situation where their software, after 16, 18, 20 years suddenly stops working: SQR_KEY = "1N703559 801077B4 043FFF6" While the official tech support lines were a dead end, this user group was tremendous and the Oracle employees who helped are a genuine asset to Oracle. Thanks very much to those of you who responded. Ray Peck IT Manager Building Industry Credit Association 213-251-1106 ---------------------------------------------------------------------------- ---------- ORIGINAL POSTING: We've been running a 1992 version of SQR (version 2.26a) on an old SunOS 4.1.4 system. After running it with no problems for 16 years, yesterday it suddenly started giving us the message "Your license key has expired." Oracle now owns SQR via Hyperion and their policy is to unlock all Hyperion product licenses. However, their master license keys published on the web site only goes back to version 6. Hyperion tech support thus far refuses any support earlier than version 6, and says they have no data on license keys for earlier products. Our SQR_KEY is '48K03F59 905172B4 043F9F8'. Does anyone have any clues on how to unlock this license? Anyone work with SQR back in the early/mid-90s who might know what could work or have a lead to somewhere that might help? We've been able to keep working by turning our system date to any date before yesterday, but that messes with dates across the system--so if anyone has some clues on solving this, it would be much appreciated. Thanks very much for any help or suggestions. Ray Peck IT Manager Building Industry Credit Association 213-251-1106 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 14 16:13:57 2008 From: "Lynne Lindh" Date: Wed, 14 May 2008 16:09:11 -0400 Subject: [sqr-users] sqr program output truncated in pdf, not truncated in .lis This is a multi-part message in MIME format... ---------3028343b3028343b Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Hi, We are having a problem with output from an sqr program, in a pdf format ve= rses a .lis format.=20 We would like to use the .pdf format. =20 The .pdf truncates off a column of information containing the phone extensi= ons, where we can see this column in the .lis file. If I put ruler on and look at each file I see that the 11 inches in the .li= s file has all the data, but the 11 inches in the pdf does not. The print does look bigger to me in the pdf, but so far I have no= t been able to reduce the size with anything that I have tried. =20 I am actually running it from ISE Enterprise Schedule tool, but that just m= eans it is basically a script that executes on linux. It looks like this: sqr $BANNER_LINKS/szrcsdl -rt $USER/$BPSWD $TDATE -f$HOME/szrcsdl.pdf -o$= HOME/szrcsdl.log -printer:pd=20=20 =20 First I was renaming the output via the -f option to be .pdf and using -pri= nter:pd option. =20 Then we tried making changes in the program: Originally a lineprinter was defined, then we tried with HPLASERJET so we c= ould try to setting the font and pitch, then we tried setting TYPE=3DHP FONT=3D3, POINT-SIZE=3D8, and SYMBOL-SET=3DOU, none of this changed the= way the output displayed in the pdf. =20 I did check the pdf fonts defined in the sqr.ini file and the first one def= ined was 3 for courier, so that seemed ok. =20 I have made sure that in DECLARE-LAYOUT we have LANDSCAPE and 11,8.5: declare-layout standard PAPER-SIZE =3D (11,8.5) FORMFEED =3D YES ORIENTATION =3D LANDSCAPE LEFT-MARGIN =3D 0 TOP-MARGIN =3D 0 MAX-LINES =3D 50 MAX-COLUMNS =3D 132 end-declare declare-report szrcsdl layout =3D standard printer-type=3Dpd - I also tried setting it to pdf from the program and t= his did not change anything either. end-declare =20 I have tried changing the size of the font via the PCL printer commands, by= upping the number of characters per inch from 13 all the way up to 30, jus= t to see if I could change anything and it didn't. =20 We have MAX-COLUMNS set to 132 and the heading and print statement for phon= e ext is at 114, So it should fit as far as we can tell... begin-heading 8 print 'Activity_Date' (7,1) print 'Bldg' (,15)=20=20 print 'Room' (,22)=20 print 'Activity' (,29)=20 print 'Start Time' (,40)=20=20 print 'End Time' (,52)=20=20 print 'Title' (,64)=20=20 print 'Cat' (,90)=20=20 print 'Contact Faculty' (,94)=20=20 print 'Telephone Ext' (,114) end-heading =20 print $start_date (+1,1) edit 'MM/DD/YYYY' print &ssrmeet_bldg_code (,15) print &ssrmeet_room_code (,22) print &ssrmeet_crn (,29)=20 print $begin_time (,40)=20 print $end_time (,52)=20=20 print &slbevnt_desc (,64,25) print &slbevnt_etyp_code (,90) print &slbevnt_contact_name (,95) print &slbevnt_phone_ext (,114) =20 Strange that nothing affects the pdf output and it is always truncated in t= he same spot no matter what we change inside or outside the program. Does anyone have any ideas how to get the data to display properly in the .= pdf? Any thoughts would be greatly appreciated!=20 Thanks, =20 Lynne Lindh Systems Analyst SUNY Orange 845-341-4741 lynne.lindh@sunyorange.edu =20 ---------3028343b3028343b Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: AUTOMATIC WARNING Here was a non admissible message part of 'application/pdf' MIME type. It has been automatically discarded before sending the message to the list. ---------3028343b3028343b Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Description: AUTOMATIC WARNING Here was a non admissible message part of 'application/octet-stream' MIME type. It has been automatically discarded before sending the message to the list. ---------3028343b3028343b 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 ---------3028343b3028343b-- From sqr-users-bounces@sqrug.org Wed May 14 16:18:23 2008 Subject: RE: [sqr-users] sqr program output truncated in pdf, not truncated in .lis Date: Wed, 14 May 2008 16:15:17 -0400 From: "Rowell, Charles" =20 Try reducing your font size and increasing max-columns to say 170 -----Original Message----- From: sqr-users-bounces+charles.rowell=3Dfmr.com@sqrug.org [mailto:sqr-users-bounces+charles.rowell=3Dfmr.com@sqrug.org] On Behalf Of Lynne Lindh Sent: Wednesday, May 14, 2008 4:09 PM To: sqr-users@sqrug.org Subject: [sqr-users] sqr program output truncated in pdf,not truncated in .lis Hi, We are having a problem with output from an sqr program, in a pdf format verses a .lis format.=20 We would like to use the .pdf format. =20 The .pdf truncates off a column of information containing the phone extensions, where we can see this column in the .lis file. If I put ruler on and look at each file I see that the 11 inches in the .lis file has all the data, but the 11 inches in the pdf does not. The print does look bigger to me in the pdf, but so far I have not been able to reduce the size with anything that I have tried. =20 I am actually running it from ISE Enterprise Schedule tool, but that just means it is basically a script that executes on linux. It looks like this: sqr $BANNER_LINKS/szrcsdl -rt $USER/$BPSWD $TDATE -f$HOME/szrcsdl.pdf -o$HOME/szrcsdl.log -printer:pd=20=20 =20 First I was renaming the output via the -f option to be .pdf and using -printer:pd option. =20 Then we tried making changes in the program: Originally a lineprinter was defined, then we tried with HPLASERJET so we could try to setting the font and pitch, then we tried setting TYPE=3DHP FONT=3D3, POINT-SIZE=3D8, and SYMBOL-SET=3DOU, none of this changed the way the output displayed in the pdf. =20 I did check the pdf fonts defined in the sqr.ini file and the first one defined was 3 for courier, so that seemed ok. =20 I have made sure that in DECLARE-LAYOUT we have LANDSCAPE and 11,8.5: declare-layout standard PAPER-SIZE =3D (11,8.5) FORMFEED =3D YES ORIENTATION =3D LANDSCAPE LEFT-MARGIN =3D 0 TOP-MARGIN =3D 0 MAX-LINES =3D 50 MAX-COLUMNS =3D 132 end-declare declare-report szrcsdl layout =3D standard printer-type=3Dpd - I also tried setting it to pdf from the program and this did not change anything either. end-declare =20 I have tried changing the size of the font via the PCL printer commands, by upping the number of characters per inch from 13 all the way up to 30, just to see if I could change anything and it didn't. =20 We have MAX-COLUMNS set to 132 and the heading and print statement for phone ext is at 114, So it should fit as far as we can tell... begin-heading 8 print 'Activity_Date' (7,1) print 'Bldg' (,15)=20=20 print 'Room' (,22)=20 print 'Activity' (,29)=20 print 'Start Time' (,40)=20=20 print 'End Time' (,52)=20=20 print 'Title' (,64)=20=20 print 'Cat' (,90)=20=20 print 'Contact Faculty' (,94)=20=20 print 'Telephone Ext' (,114) end-heading =20 print $start_date (+1,1) edit 'MM/DD/YYYY' print &ssrmeet_bldg_code (,15) print &ssrmeet_room_code (,22) print &ssrmeet_crn (,29)=20 print $begin_time (,40)=20 print $end_time (,52)=20=20 print &slbevnt_desc (,64,25) print &slbevnt_etyp_code (,90) print &slbevnt_contact_name (,95) print &slbevnt_phone_ext (,114) =20 Strange that nothing affects the pdf output and it is always truncated in the same spot no matter what we change inside or outside the program. Does anyone have any ideas how to get the data to display properly in the .pdf? Any thoughts would be greatly appreciated!=20 Thanks, =20 Lynne Lindh Systems Analyst SUNY Orange 845-341-4741 lynne.lindh@sunyorange.edu =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed May 14 16:25:29 2008 Date: Wed, 14 May 2008 13:22:37 -0700 (PDT) From: Lalit Chaudhry Subject: Re: [sqr-users] sqr program output truncated in pdf, not truncated in .lis Hi Lynne, On issue of the print line, you are going over the number of positions allowed in one line, anything over the limit will be truncated lalit Lynne Lindh wrote: Hi, We are having a problem with output from an sqr program, in a pdf format verses a .lis format. We would like to use the .pdf format. The .pdf truncates off a column of information containing the phone extensions, where we can see this column in the .lis file. If I put ruler on and look at each file I see that the 11 inches in the .lis file has all the data, but the 11 inches in the pdf does not. The print does look bigger to me in the pdf, but so far I have not been able to reduce the size with anything that I have tried. I am actually running it from ISE Enterprise Schedule tool, but that just means it is basically a script that executes on linux. It looks like this: sqr $BANNER_LINKS/szrcsdl -rt $USER/$BPSWD $TDATE -f$HOME/szrcsdl.pdf -o$HOME/szrcsdl.log -printer:pd First I was renaming the output via the -f option to be .pdf and using -printer:pd option. Then we tried making changes in the program: Originally a lineprinter was defined, then we tried with HPLASERJET so we could try to setting the font and pitch, then we tried setting TYPE=HP FONT=3, POINT-SIZE=8, and SYMBOL-SET=OU, none of this changed the way the output displayed in the pdf. I did check the pdf fonts defined in the sqr.ini file and the first one defined was 3 for courier, so that seemed ok. I have made sure that in DECLARE-LAYOUT we have LANDSCAPE and 11,8.5: declare-layout standard PAPER-SIZE = (11,8.5) FORMFEED = YES ORIENTATION = LANDSCAPE LEFT-MARGIN = 0 TOP-MARGIN = 0 MAX-LINES = 50 MAX-COLUMNS = 132 end-declare declare-report szrcsdl layout = standard printer-type=pd - I also tried setting it to pdf from the program and this did not change anything either. end-declare I have tried changing the size of the font via the PCL printer commands, by upping the number of characters per inch from 13 all the way up to 30, just to see if I could change anything and it didn't. We have MAX-COLUMNS set to 132 and the heading and print statement for phone ext is at 114, So it should fit as far as we can tell... begin-heading 8 print 'Activity_Date' (7,1) print 'Bldg' (,15) print 'Room' (,22) print 'Activity' (,29) print 'Start Time' (,40) print 'End Time' (,52) print 'Title' (,64) print 'Cat' (,90) print 'Contact Faculty' (,94) print 'Telephone Ext' (,114) end-heading print $start_date (+1,1) edit 'MM/DD/YYYY' print &ssrmeet_bldg_code (,15) print &ssrmeet_room_code (,22) print &ssrmeet_crn (,29) print $begin_time (,40) print $end_time (,52) print &slbevnt_desc (,64,25) print &slbevnt_etyp_code (,90) print &slbevnt_contact_name (,95) print &slbevnt_phone_ext (,114) Strange that nothing affects the pdf output and it is always truncated in the same spot no matter what we change inside or outside the program. Does anyone have any ideas how to get the data to display properly in the .pdf? Any thoughts would be greatly appreciated! Thanks, Lynne Lindh Systems Analyst SUNY Orange 845-341-4741 lynne.lindh@sunyorange.edu Here was a non admissible message part of 'application/pdf' MIME type. It has been automatically discarded before sending the message to the list. Here was a non admissible message part of 'application/octet-stream' 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 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Wed May 14 16:47:00 2008 Date: Wed, 14 May 2008 16:44:23 -0400 From: "Ray Ontko" Subject: Re: [sqr-users] sqr program output truncated in pdf, not truncated in .lis Look in the print options for your PDF viewer. I'm guessing that you're printing beyond the margins of your printer. There may be a setting for scaling the page to fit in the printable region for your printer. Hope this helps. Ray On Wed, May 14, 2008 at 4:22 PM, Lalit Chaudhry wrote: > Hi Lynne, > > On issue of the print line, you are going over the number of positions > allowed in one line, anything over the limit will be truncated > > lalit > > Lynne Lindh wrote: > Hi, > > We are having a problem with output from an sqr program, in a pdf format > verses a .lis format. > > We would like to use the .pdf format. > > > > The .pdf truncates off a column of information containing the phone > extensions, where we can see this column in the .lis file. > > If I put ruler on and look at each file I see that the 11 inches in the > .lis file has all the data, but the 11 inches in the pdf > > does not. The print does look bigger to me in the pdf, but so far I have > not been able to reduce the size with anything that I have tried. > > > > I am actually running it from ISE Enterprise Schedule tool, but that just > means it is basically a script that executes on linux. It looks like this: > > sqr $BANNER_LINKS/szrcsdl -rt $USER/$BPSWD $TDATE -f$HOME/szrcsdl.pdf > -o$HOME/szrcsdl.log -printer:pd > > > > First I was renaming the output via the -f option to be .pdf and using > -printer:pd option. > > > > Then we tried making changes in the program: > > Originally a lineprinter was defined, then we tried with HPLASERJET so we > could try to setting the font and pitch, then we tried setting TYPE=HP > > FONT=3, POINT-SIZE=8, and SYMBOL-SET=OU, none of this changed the way the > output displayed in the pdf. > > > > I did check the pdf fonts defined in the sqr.ini file and the first one > defined was 3 for courier, so that seemed ok. > > > > I have made sure that in DECLARE-LAYOUT we have LANDSCAPE and 11,8.5: > > declare-layout standard > > PAPER-SIZE = (11,8.5) > > FORMFEED = YES > > ORIENTATION = LANDSCAPE > > LEFT-MARGIN = 0 > > TOP-MARGIN = 0 > > MAX-LINES = 50 > > MAX-COLUMNS = 132 > > end-declare > > declare-report szrcsdl > > layout = standard > > printer-type=pd - I also tried setting it to pdf from the program and this > did not change anything either. > > end-declare > > > > I have tried changing the size of the font via the PCL printer commands, by > upping the number of characters per inch from 13 all the way up to 30, just > to see if I could change anything and it didn't. > > > > We have MAX-COLUMNS set to 132 and the heading and print statement for > phone ext is at 114, So it should fit as far as we can tell... > > begin-heading 8 > > print 'Activity_Date' (7,1) > > print 'Bldg' (,15) > > print 'Room' (,22) > > print 'Activity' (,29) > > print 'Start Time' (,40) > > print 'End Time' (,52) > > print 'Title' (,64) > > print 'Cat' (,90) > > print 'Contact Faculty' (,94) > > print 'Telephone Ext' (,114) > > end-heading > > > > print $start_date (+1,1) edit 'MM/DD/YYYY' > > print &ssrmeet_bldg_code (,15) > > print &ssrmeet_room_code (,22) > > print &ssrmeet_crn (,29) > > print $begin_time (,40) > > print $end_time (,52) > > print &slbevnt_desc (,64,25) > > print &slbevnt_etyp_code (,90) > > print &slbevnt_contact_name (,95) > > print &slbevnt_phone_ext (,114) > > > > Strange that nothing affects the pdf output and it is always truncated in > the same spot no matter what we change inside or outside the program. > > Does anyone have any ideas how to get the data to display properly in the > .pdf? > > Any thoughts would be greatly appreciated! > > Thanks, > > > > Lynne Lindh > > Systems Analyst > > SUNY Orange > > 845-341-4741 > > lynne.lindh@sunyorange.edu > > > > Here was a non admissible message part of 'application/pdf' MIME type. > It has been automatically discarded before sending the message to the > list. > Here was a non admissible message part of 'application/octet-stream' > 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 > > > > > _______________________________________________ > sqr-users mailing list > sqr-users@sqrug.org > 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 May 15 05:00:45 2008 Date: Thu, 15 May 2008 10:56:44 +0200 From: Subject: [sqr-users] Dynamic table using SQR and new pages Firstly Hi people, =20 I am really new to SQR and have been flung into a project which requires the use of a dynamic table which I create by repeating the graphic (xx,xx,xx) box x x xxx command. Y amount of times. Y being the amount of lines extracted from the database.=20=20 =20 The only problem is how do I move it on to a new page when there is too many records to fit on one page. I am drawing the boxes first then printing the data after because some of the boxes are shaded 15% =20 Also when I create the new page does the amount of lines that are in bounds increase, or does it reset to line 1??? E.g. would I print to line 20 or line 1 if the last line of page 1 was 19? =20 Any help would be appreciated.=20=20 =20 Regards Matthew Olliver =20 My training consisted of 'here you go learn this language' and I have 3 reference books to utilise;=20 SQRIBE SQR SERVER User's Guide SQRIBE SQR SERVER Language Reference SQR in Peoplesoft and Other applications (although we use Brio SQR on Linux running machines with Sybase databases) =20 =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu May 15 07:25:46 2008 From: "Steve Cavill" Subject: RE: [sqr-users] Dynamic table using SQR and new pages Date: Thu, 15 May 2008 21:21:48 +1000 Matthew, If you use relative line positions, then the program will take care of pages by itself. E.g. Graphic (+1,xx,xx) box x x xxx This will print every box on a new line. When it gets to the last line of the page, sqr will close off the current page and start a new page back at line 1. There's a good tutorial on printing in the manual: Hyperion SQR Production Reporting Developer's Guide, Volume 1: Designing Reports with the SQR Production Reporting Language which you can find at http://download.oracle.com/docs/cd/E10530_01/doc/nav/portal_4.htm Cheers, Steve -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of matthew.olliver@arvato-systems.co.uk Sent: Thursday, 15 May 2008 6:57 PM To: sqr-users@sqrug.org Subject: [sqr-users] Dynamic table using SQR and new pages Firstly Hi people, I am really new to SQR and have been flung into a project which requires the use of a dynamic table which I create by repeating the graphic (xx,xx,xx) box x x xxx command. Y amount of times. Y being the amount of lines extracted from the database. The only problem is how do I move it on to a new page when there is too many records to fit on one page. I am drawing the boxes first then printing the data after because some of the boxes are shaded 15% Also when I create the new page does the amount of lines that are in bounds increase, or does it reset to line 1??? E.g. would I print to line 20 or line 1 if the last line of page 1 was 19? Any help would be appreciated. Regards Matthew Olliver My training consisted of 'here you go learn this language' and I have 3 reference books to utilise; SQRIBE SQR SERVER User's Guide SQRIBE SQR SERVER Language Reference SQR in Peoplesoft and Other applications (although we use Brio SQR on Linux running machines with Sybase databases) _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 15 08:19:32 2008 Subject: RE: [sqr-users] Dynamic table using SQR and new pages Date: Thu, 15 May 2008 14:15:37 +0200 From: I'm using mm because I don't know any better. I use a variable called #vertical_pos1 and increment this by 7 every time I add a new box.=20=20 e.g. let #desp_run =3D 1 let #desp_line_length =3D (#desp_rows + 1) * 7 let #vertical_pos1 =3D 64 let #header_pos1 =3D #vertical_pos1 + 4 let #line_start =3D #vertical_pos1 + 6 let #count =3D 0 let #shade =3D 0 =09=09 !create the title box, shaded=09 graphic (#vertical_pos1,1,197) box 7 7 015 add 7 to #vertical_pos1 !create the heading box, shaded=09 graphic (#vertical_pos1,1,197) box 7 7 015 =09=09 !while the count is less than amount of despatch lines create boxes while #count < #desp_rows !if the last box was not shaded then the next box needs to be shaded if #shade =3D 1=20=20 !add 7 to pos to make the next line add 7 to #vertical_pos1 graphic (#vertical_pos1,1,197) box 7 7 015 !set shade variable for next box let #shade =3D 0 !if the last box was shaded then the next box needs to be not shaded else add 7 to #vertical_pos1 graphic (#vertical_pos1,1,197) box 7 7 000 let #shade =3D 1 end-if add 1 to #count end-while when I reach my margin I get an error, not a new page... :( Regards Matthew Olliver -----Original Message----- From: sqr-users-bounces+matthew.olliver=3Darvato-systems.co.uk@sqrug.org [mailto:sqr-users-bounces+matthew.olliver=3Darvato-systems.co.uk@sqrug.org ] On Behalf Of Steve Cavill Sent: 15 May 2008 12:22 To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] Dynamic table using SQR and new pages Matthew, If you use relative line positions, then the program will take care of pages by itself. E.g.=20 Graphic (+1,xx,xx) box x x xxx This will print every box on a new line. When it gets to the last line of the page, sqr will close off the current page and start a new page back at line 1.=20=20 There's a good tutorial on printing in the manual: Hyperion SQR Production Reporting Developer's Guide, Volume 1: Designing Reports with the SQR Production Reporting Language which you can find at http://download.oracle.com/docs/cd/E10530_01/doc/nav/portal_4.htm Cheers, Steve =20 -----Original Message----- From: sqr-users-bounces+steve.cavill=3Dinfoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=3Dinfoclarity.com.au@sqrug.org] On Behalf Of matthew.olliver@arvato-systems.co.uk Sent: Thursday, 15 May 2008 6:57 PM To: sqr-users@sqrug.org Subject: [sqr-users] Dynamic table using SQR and new pages Firstly Hi people, =20 I am really new to SQR and have been flung into a project which requires the use of a dynamic table which I create by repeating the graphic (xx,xx,xx) box x x xxx command. Y amount of times. Y being the amount of lines extracted from the database.=20=20 =20 The only problem is how do I move it on to a new page when there is too many records to fit on one page. I am drawing the boxes first then printing the data after because some of the boxes are shaded 15% =20 Also when I create the new page does the amount of lines that are in bounds increase, or does it reset to line 1??? E.g. would I print to line 20 or line 1 if the last line of page 1 was 19? =20 Any help would be appreciated.=20=20 =20 Regards Matthew Olliver =20 My training consisted of 'here you go learn this language' and I have 3 reference books to utilise;=20 SQRIBE SQR SERVER User's Guide SQRIBE SQR SERVER Language Reference SQR in Peoplesoft and Other applications (although we use Brio SQR on Linux running machines with Sybase databases) =20 =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu May 15 08:41:36 2008 Subject: RE: [sqr-users] Dynamic table using SQR and new pages Date: Thu, 15 May 2008 08:37:00 -0400 From: "Putney II, Zynon E" As Steve said, if you use the relative line positions instead of using a=0D variable and incrementing it yourself, the new-page will happen=0D automatically. When #vertical_pos1 is greater than the amount of=0D printable lines on the page, #vertical_pos1 needs to reset to 0 on the=0D next page. The way you currently have it, #vertical_pos1 continues to=0D increment on page 1, with no reset. And when #vertical_pos1 > total=0D printable lines, you will see no output.=0D =0D Instead of add 7 to #vertical_pos1=0D Just make the next line =0D graphic (+7,1,197) box 7 7 015=0D =0D And see where that takes you.=0D =0D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D Thank you,=0D =0D Zynon E. Putney II=0D Software Developer=0D =0D =0D -----Original Message-----=0D From: sqr-users-bounces+zputney=3Dpaychex.com@sqrug.org=0D [mailto:sqr-users-bounces+zputney=3Dpaychex.com@sqrug.org] On Behalf Of=0D matthew.olliver@arvato-systems.co.uk=0D Sent: Thursday, May 15, 2008 8:16 AM=0D To: sqr-users@sqrug.org=0D Subject: RE: [sqr-users] Dynamic table using SQR and new pages=0D =0D I'm using mm because I don't know any better.=0D =0D I use a variable called #vertical_pos1 and increment this by 7 every=0D time I add a new box. =0D =0D e.g.=0D =0D let #desp_run =3D 1=0D let #desp_line_length =3D (#desp_rows + 1) * 7=0D let #vertical_pos1 =3D 64=0D let #header_pos1 =3D #vertical_pos1 + 4=0D let #line_start =3D #vertical_pos1 + 6=0D let #count =3D 0=0D let #shade =3D 0=0D =0D !create the title box, shaded =0D graphic (#vertical_pos1,1,197) box 7 7 015=0D add 7 to #vertical_pos1=0D !create the heading box, shaded =0D graphic (#vertical_pos1,1,197) box 7 7 015=0D =0D !while the count is less than amount of despatch lines create=0D boxes=0D while #count < #desp_rows=0D !if the last box was not shaded then the next box needs to be=0D shaded=0D if #shade =3D 1 =0D !add 7 to pos to make the next line=0D add 7 to #vertical_pos1=0D graphic (#vertical_pos1,1,197) box 7 7 015=0D !set shade variable for next box=0D let #shade =3D 0=0D !if the last box was shaded then the next box needs to be not=0D shaded=0D else=0D add 7 to #vertical_pos1=0D graphic (#vertical_pos1,1,197) box 7 7 000=0D let #shade =3D 1=0D end-if=0D add 1 to #count=0D end-while=0D =0D when I reach my margin I get an error, not a new page... :(=0D =0D =0D =0D Regards=0D Matthew Olliver=0D =0D =0D =0D -----Original Message-----=0D From: sqr-users-bounces+matthew.olliver=3Darvato-systems.co.uk@sqrug.org=0D [mailto:sqr-users-bounces+matthew.olliver=3Darvato-systems.co.uk@sqrug.org= =0D ] On Behalf Of Steve Cavill=0D Sent: 15 May 2008 12:22=0D To: 'This list is for discussion about the SQR database=0D reportinglanguagefrom Hyperion Solutions.'=0D Subject: RE: [sqr-users] Dynamic table using SQR and new pages=0D =0D Matthew,=0D If you use relative line positions, then the program will take care of=0D pages by itself.=0D =0D E.g. =0D Graphic (+1,xx,xx) box x x xxx=0D =0D This will print every box on a new line. When it gets to the last line=0D of the page, sqr will close off the current page and start a=0D new page back at line 1. =0D =0D There's a good tutorial on printing in the manual: Hyperion SQR=0D Production Reporting Developer's Guide, Volume 1: Designing Reports=0D with the SQR Production Reporting Language=0D which you can find at=0D http://download.oracle.com/docs/cd/E10530_01/doc/nav/portal_4.htm=0D Cheers, Steve=0D =0D =0D -----Original Message-----=0D From: sqr-users-bounces+steve.cavill=3Dinfoclarity.com.au@sqrug.org=0D [mailto:sqr-users-bounces+steve.cavill=3Dinfoclarity.com.au@sqrug.org] On= =0D Behalf Of matthew.olliver@arvato-systems.co.uk=0D Sent: Thursday, 15 May 2008 6:57 PM=0D To: sqr-users@sqrug.org=0D Subject: [sqr-users] Dynamic table using SQR and new pages=0D =0D Firstly Hi people,=0D =0D =0D =0D I am really new to SQR and have been flung into a project which requires=0D the use of a dynamic table which I create by repeating the=0D graphic=0D (xx,xx,xx) box x x xxx command. Y amount of times. Y being the amount=0D of lines extracted from the database. =0D =0D =0D =0D The only problem is how do I move it on to a new page when there is too=0D many records to fit on one page. I am drawing the boxes=0D first then printing the data after because some of the boxes are shaded=0D 15%=0D =0D =0D =0D Also when I create the new page does the amount of lines that are in=0D bounds increase, or does it reset to line 1??? E.g. would I=0D print to line 20 or line 1 if the last line of page 1 was 19?=0D =0D =0D =0D Any help would be appreciated. =0D =0D =0D =0D Regards=0D =0D Matthew Olliver=0D =0D =0D =0D My training consisted of 'here you go learn this language' and I have 3=0D reference books to utilise; =0D =0D SQRIBE SQR SERVER User's Guide=0D =0D SQRIBE SQR SERVER Language Reference=0D =0D SQR in Peoplesoft and Other applications (although we use Brio SQR on=0D Linux running machines with Sybase databases)=0D =0D =0D =0D =0D =0D _______________________________________________=0D sqr-users mailing list=0D sqr-users@sqrug.org=0D http://www.sqrug.org/mailman/listinfo/sqr-users=0D =0D =0D =0D _______________________________________________=0D sqr-users mailing list=0D sqr-users@sqrug.org=0D http://www.sqrug.org/mailman/listinfo/sqr-users=0D =0D _______________________________________________=0D sqr-users mailing list=0D sqr-users@sqrug.org=0D http://www.sqrug.org/mailman/listinfo/sqr-users=0D =0D =0D -----------------------------------------=0D The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. =0D =0D Thank you. Paychex, Inc. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu May 15 09:40:41 2008 Subject: RE: [sqr-users] Dynamic table using SQR and new pages Date: Thu, 15 May 2008 15:37:25 +0200 From: Okay, that works I thought it would be a bit strange for a reporting tool to require a new-page command when the maximum number of line is reached. The only problem now is can I get back to the first page if it does create a new page?? Because it seems to keep me in page 2 now. -----Original Message----- From: sqr-users-bounces+matthew.olliver=3Darvato-systems.co.uk@sqrug.org [mailto:sqr-users-bounces+matthew.olliver=3Darvato-systems.co.uk@sqrug.org ] On Behalf Of Putney II, Zynon E Sent: 15 May 2008 13:37 To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Dynamic table using SQR and new pages As Steve said, if you use the relative line positions instead of using a variable and incrementing it yourself, the new-page will happen automatically. When #vertical_pos1 is greater than the amount of printable lines on the page, #vertical_pos1 needs to reset to 0 on the next page. The way you currently have it, #vertical_pos1 continues to increment on page 1, with no reset. And when #vertical_pos1 > total printable lines, you will see no output. Instead of add 7 to #vertical_pos1 Just make the next line=20 graphic (+7,1,197) box 7 7 015 And see where that takes you. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Thank you, Zynon E. Putney II Software Developer -----Original Message----- From: sqr-users-bounces+zputney=3Dpaychex.com@sqrug.org [mailto:sqr-users-bounces+zputney=3Dpaychex.com@sqrug.org] On Behalf Of matthew.olliver@arvato-systems.co.uk Sent: Thursday, May 15, 2008 8:16 AM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Dynamic table using SQR and new pages I'm using mm because I don't know any better. I use a variable called #vertical_pos1 and increment this by 7 every time I add a new box.=20=20 e.g. let #desp_run =3D 1 let #desp_line_length =3D (#desp_rows + 1) * 7 let #vertical_pos1 =3D 64 let #header_pos1 =3D #vertical_pos1 + 4 let #line_start =3D #vertical_pos1 + 6 let #count =3D 0 let #shade =3D 0 =09=09 !create the title box, shaded=09 graphic (#vertical_pos1,1,197) box 7 7 015 add 7 to #vertical_pos1 !create the heading box, shaded=09 graphic (#vertical_pos1,1,197) box 7 7 015 =09=09 !while the count is less than amount of despatch lines create boxes while #count < #desp_rows !if the last box was not shaded then the next box needs to be shaded if #shade =3D 1=20=20 !add 7 to pos to make the next line add 7 to #vertical_pos1 graphic (#vertical_pos1,1,197) box 7 7 015 !set shade variable for next box let #shade =3D 0 !if the last box was shaded then the next box needs to be not shaded else add 7 to #vertical_pos1 graphic (#vertical_pos1,1,197) box 7 7 000 let #shade =3D 1 end-if add 1 to #count end-while when I reach my margin I get an error, not a new page... :( Regards Matthew Olliver -----Original Message----- From: sqr-users-bounces+matthew.olliver=3Darvato-systems.co.uk@sqrug.org [mailto:sqr-users-bounces+matthew.olliver=3Darvato-systems.co.uk@sqrug.org ] On Behalf Of Steve Cavill Sent: 15 May 2008 12:22 To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] Dynamic table using SQR and new pages Matthew, If you use relative line positions, then the program will take care of pages by itself. E.g.=20 Graphic (+1,xx,xx) box x x xxx This will print every box on a new line. When it gets to the last line of the page, sqr will close off the current page and start a new page back at line 1.=20=20 There's a good tutorial on printing in the manual: Hyperion SQR Production Reporting Developer's Guide, Volume 1: Designing Reports with the SQR Production Reporting Language which you can find at http://download.oracle.com/docs/cd/E10530_01/doc/nav/portal_4.htm Cheers, Steve =20 -----Original Message----- From: sqr-users-bounces+steve.cavill=3Dinfoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=3Dinfoclarity.com.au@sqrug.org] On Behalf Of matthew.olliver@arvato-systems.co.uk Sent: Thursday, 15 May 2008 6:57 PM To: sqr-users@sqrug.org Subject: [sqr-users] Dynamic table using SQR and new pages Firstly Hi people, =20 I am really new to SQR and have been flung into a project which requires the use of a dynamic table which I create by repeating the graphic (xx,xx,xx) box x x xxx command. Y amount of times. Y being the amount of lines extracted from the database.=20=20 =20 The only problem is how do I move it on to a new page when there is too many records to fit on one page. I am drawing the boxes first then printing the data after because some of the boxes are shaded 15% =20 Also when I create the new page does the amount of lines that are in bounds increase, or does it reset to line 1??? E.g. would I print to line 20 or line 1 if the last line of page 1 was 19? =20 Any help would be appreciated.=20=20 =20 Regards Matthew Olliver =20 My training consisted of 'here you go learn this language' and I have 3 reference books to utilise;=20 SQRIBE SQR SERVER User's Guide SQRIBE SQR SERVER Language Reference SQR in Peoplesoft and Other applications (although we use Brio SQR on Linux running machines with Sybase databases) =20 =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users ----------------------------------------- The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer.=20 Thank you. Paychex, Inc. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 May 15 19:22:12 2008 From: "Steve Cavill" Subject: RE: [sqr-users] Dynamic table using SQR and new pages Date: Fri, 16 May 2008 09:18:45 +1000 No you can't get back to page 1. the basic unit of control is the page. This is the order of processing. Write lines until an attempt is made to write past the end of the page (e.g. position (+1)) Write the page header Write the page footer Commit the page to the .spf output file Flush the page buffer Start a new page -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of matthew.olliver@arvato-systems.co.uk Sent: Thursday, 15 May 2008 11:37 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Dynamic table using SQR and new pages Okay, that works I thought it would be a bit strange for a reporting tool to require a new-page command when the maximum number of line is reached. The only problem now is can I get back to the first page if it does create a new page?? Because it seems to keep me in page 2 now. -----Original Message----- From: sqr-users-bounces+matthew.olliver=arvato-systems.co.uk@sqrug.org [mailto:sqr-users-bounces+matthew.olliver=arvato-systems.co.uk@sqrug.org ] On Behalf Of Putney II, Zynon E Sent: 15 May 2008 13:37 To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: RE: [sqr-users] Dynamic table using SQR and new pages As Steve said, if you use the relative line positions instead of using a variable and incrementing it yourself, the new-page will happen automatically. When #vertical_pos1 is greater than the amount of printable lines on the page, #vertical_pos1 needs to reset to 0 on the next page. The way you currently have it, #vertical_pos1 continues to increment on page 1, with no reset. And when #vertical_pos1 > total printable lines, you will see no output. Instead of add 7 to #vertical_pos1 Just make the next line graphic (+7,1,197) box 7 7 015 And see where that takes you. ====================== Thank you, Zynon E. Putney II Software Developer -----Original Message----- From: sqr-users-bounces+zputney=paychex.com@sqrug.org [mailto:sqr-users-bounces+zputney=paychex.com@sqrug.org] On Behalf Of matthew.olliver@arvato-systems.co.uk Sent: Thursday, May 15, 2008 8:16 AM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Dynamic table using SQR and new pages I'm using mm because I don't know any better. I use a variable called #vertical_pos1 and increment this by 7 every time I add a new box. e.g. let #desp_run = 1 let #desp_line_length = (#desp_rows + 1) * 7 let #vertical_pos1 = 64 let #header_pos1 = #vertical_pos1 + 4 let #line_start = #vertical_pos1 + 6 let #count = 0 let #shade = 0 !create the title box, shaded graphic (#vertical_pos1,1,197) box 7 7 015 add 7 to #vertical_pos1 !create the heading box, shaded graphic (#vertical_pos1,1,197) box 7 7 015 !while the count is less than amount of despatch lines create boxes while #count < #desp_rows !if the last box was not shaded then the next box needs to be shaded if #shade = 1 !add 7 to pos to make the next line add 7 to #vertical_pos1 graphic (#vertical_pos1,1,197) box 7 7 015 !set shade variable for next box let #shade = 0 !if the last box was shaded then the next box needs to be not shaded else add 7 to #vertical_pos1 graphic (#vertical_pos1,1,197) box 7 7 000 let #shade = 1 end-if add 1 to #count end-while when I reach my margin I get an error, not a new page... :( Regards Matthew Olliver -----Original Message----- From: sqr-users-bounces+matthew.olliver=arvato-systems.co.uk@sqrug.org [mailto:sqr-users-bounces+matthew.olliver=arvato-systems.co.uk@sqrug.org ] On Behalf Of Steve Cavill Sent: 15 May 2008 12:22 To: 'This list is for discussion about the SQR database reportinglanguagefrom Hyperion Solutions.' Subject: RE: [sqr-users] Dynamic table using SQR and new pages Matthew, If you use relative line positions, then the program will take care of pages by itself. E.g. Graphic (+1,xx,xx) box x x xxx This will print every box on a new line. When it gets to the last line of the page, sqr will close off the current page and start a new page back at line 1. There's a good tutorial on printing in the manual: Hyperion SQR Production Reporting Developer's Guide, Volume 1: Designing Reports with the SQR Production Reporting Language which you can find at http://download.oracle.com/docs/cd/E10530_01/doc/nav/portal_4.htm Cheers, Steve -----Original Message----- From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org [mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On Behalf Of matthew.olliver@arvato-systems.co.uk Sent: Thursday, 15 May 2008 6:57 PM To: sqr-users@sqrug.org Subject: [sqr-users] Dynamic table using SQR and new pages Firstly Hi people, I am really new to SQR and have been flung into a project which requires the use of a dynamic table which I create by repeating the graphic (xx,xx,xx) box x x xxx command. Y amount of times. Y being the amount of lines extracted from the database. The only problem is how do I move it on to a new page when there is too many records to fit on one page. I am drawing the boxes first then printing the data after because some of the boxes are shaded 15% Also when I create the new page does the amount of lines that are in bounds increase, or does it reset to line 1??? E.g. would I print to line 20 or line 1 if the last line of page 1 was 19? Any help would be appreciated. Regards Matthew Olliver My training consisted of 'here you go learn this language' and I have 3 reference books to utilise; SQRIBE SQR SERVER User's Guide SQRIBE SQR SERVER Language Reference SQR in Peoplesoft and Other applications (although we use Brio SQR on Linux running machines with Sybase databases) _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 ----------------------------------------- The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Paychex, Inc. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri May 16 16:50:14 2008 Date: Fri, 16 May 2008 15:47:03 -0500 From: "Aguirre, Jose" Subject: [sqr-users] Outer joints (left and right) Does SQR supports left or right outer joints? I could not find any note on= my reference on line book. =20 Here is my syntax that works against a SQLserver database: =20 SELECT A.SETID, A.VENDOR_ID, A.NAME1, A.NAME2, A.VENDOR_STATUS, A.WTHD_SW, = B.STD_ID_NUM FROM PS_VENDOR A LEFT OUTER JOIN PS_VENDOR_ID_NBRS B ON A.SETID =3D B.SETID AND A.VENDOR_ID =3D B.VENDOR_ID =20 Thanks, =20 Jos=E9 A. Aguirre =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri May 16 17:36:07 2008 Subject: RE: [sqr-users] Outer joints (left and right) Date: Fri, 16 May 2008 17:33:12 -0400 From: SQR supports left outer, right outer, and inner joins. Just use the ansi s= tandard syntax. -Steve=20 -----Original Message----- From: sqr-users-bounces+jones.steven=3Dups-scs.com@sqrug.org [mailto:sqr-us= ers-bounces+jones.steven=3Dups-scs.com@sqrug.org] On Behalf Of Aguirre, Jose Sent: Friday, May 16, 2008 1:47 PM To: This list is for discussion about the SQR database reportinglanguage fr= omHyperion Solutions. Subject: [sqr-users] Outer joints (left and right) Does SQR supports left or right outer joints? I could not find any note on= my reference on line book. =20 Here is my syntax that works against a SQLserver database: =20 SELECT A.SETID, A.VENDOR_ID, A.NAME1, A.NAME2, A.VENDOR_STATUS, A.WTHD_SW, = B.STD_ID_NUM FROM PS_VENDOR A LEFT OUTER JOIN PS_VENDOR_ID_NBRS B ON A.SETID =3D B.SETID AND A.VENDOR_ID =3D B.VENDOR_ID =20 Thanks, =20 Jos=E9 A. Aguirre =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 Sat May 17 05:29:55 2008 From: "Gauravs Singh" Subject: RE: [sqr-users] Outer joints (left and right) Date: Sat, 17 May 2008 14:53:44 +0530 Hi,please help me out for returing a value into an sqr function....if code is available than please post ......sqr 4.1=20=20=20 Thanks and Regards Gaurav Singh Chetu Inc. Ph: +91-120-4251340 Outside US Ph: +1 305-704-3689 x-422 Within US Fax:+1 305-832-5987 =20=20 -----Original Message----- From: sqr-users-bounces+gauravs2=3Dchetu.com@sqrug.org [mailto:sqr-users-bounces+gauravs2=3Dchetu.com@sqrug.org] On Behalf Of Jones.Steven@ups-scs.com Sent: Saturday, May 17, 2008 3:03 AM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Outer joints (left and right) SQR supports left outer, right outer, and inner joins. Just use the ansi standard syntax. -Steve=20 -----Original Message----- From: sqr-users-bounces+jones.steven=3Dups-scs.com@sqrug.org [mailto:sqr-users-bounces+jones.steven=3Dups-scs.com@sqrug.org] On Behalf Of Aguirre, Jose Sent: Friday, May 16, 2008 1:47 PM To: This list is for discussion about the SQR database reportinglanguage fromHyperion Solutions. Subject: [sqr-users] Outer joints (left and right) Does SQR supports left or right outer joints? I could not find any note on my reference on line book. =20 Here is my syntax that works against a SQLserver database: =20 SELECT A.SETID, A.VENDOR_ID, A.NAME1, A.NAME2, A.VENDOR_STATUS, A.WTHD_SW, B.STD_ID_NUM FROM PS_VENDOR A LEFT OUTER JOIN PS_VENDOR_ID_NBRS B ON A.SETID =3D B.SETID AND A.VENDOR_ID =3D B.VENDOR_ID =20 Thanks, =20 Jos=E9 A. Aguirre =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon May 19 08:25:45 2008 Subject: RE: [sqr-users] Outer joints (left and right) Date: Mon, 19 May 2008 08:22:08 -0400 From: "Putney II, Zynon E" Use this syntax, depending on which field your outer join is depending on.= =0D =0D Begin-select=0D A.setid &setid_a=0D A.vendor_id &vendor_id=0D ...=0D =0D Let $setid =3D &setid_a=0D ....=0D =0D From=0D Ps_vendor A,=0D Ps_vendor_id_nbrs b=0D =0D Where A.setid =3D B.setid=0D And a.vendor_id =3D b.vendor_id(+)=0D End-select=0D =0D You'll use (+) wherever you need the outer join. I know this works with Ora= cle, I don't have another database type to test it against. I'm guessing th= at the b.vendor_id where you're doing the outer join, but you should be abl= e to get the idea.=0D =0D =0D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D Thank you,=0D =0D Zynon E. Putney II=0D Software Developer=0D =0D =0D -----Original Message-----=0D From: sqr-users-bounces+zputney=3Dpaychex.com@sqrug.org [mailto:sqr-users-b= ounces+zputney=3Dpaychex.com@sqrug.org] On Behalf Of Aguirre, Jose=0D Sent: Friday, May 16, 2008 4:47 PM=0D To: This list is for discussion about the SQR database reportinglanguage fr= omHyperion Solutions.=0D Subject: [sqr-users] Outer joints (left and right)=0D =0D Does SQR supports left or right outer joints? I could not find any note on= my reference on line book.=0D =0D =0D =0D Here is my syntax that works against a SQLserver database:=0D =0D =0D =0D SELECT A.SETID, A.VENDOR_ID, A.NAME1, A.NAME2, A.VENDOR_STATUS, A.WTHD_SW, = B.STD_ID_NUM=0D =0D FROM PS_VENDOR A LEFT OUTER JOIN PS_VENDOR_ID_NBRS B=0D =0D ON A.SETID =3D B.SETID=0D =0D AND A.VENDOR_ID =3D B.VENDOR_ID=0D =0D =0D =0D Thanks,=0D =0D =0D =0D Jos=E9 A. Aguirre=0D =0D =0D =0D _______________________________________________=0D sqr-users mailing list=0D sqr-users@sqrug.org=0D http://www.sqrug.org/mailman/listinfo/sqr-users=0D =0D =0D -----------------------------------------=0D The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. =0D =0D Thank you. Paychex, Inc. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon May 19 15:25:15 2008 Subject: RE: [sqr-users] Outer joints (left and right) Date: Mon, 19 May 2008 14:21:48 -0500 From: "Aguirre, Jose" Steve, Would you mind sending some sample syntax? I looked at some articles on l= ine and tried without any success. Thanks, Jos=E9 A. Aguirre -----Original Message----- From: sqr-users-bounces+jaguir=3Dlsuhsc.edu@sqrug.org [mailto:sqr-users-bou= nces+jaguir=3Dlsuhsc.edu@sqrug.org] On Behalf Of Jones.Steven@ups-scs.com Sent: Friday, May 16, 2008 4:33 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Outer joints (left and right) SQR supports left outer, right outer, and inner joins. Just use the ansi s= tandard syntax. -Steve=20 -----Original Message----- From: sqr-users-bounces+jones.steven=3Dups-scs.com@sqrug.org [mailto:sqr-us= ers-bounces+jones.steven=3Dups-scs.com@sqrug.org] On Behalf Of Aguirre, Jose Sent: Friday, May 16, 2008 1:47 PM To: This list is for discussion about the SQR database reportinglanguage fr= omHyperion Solutions. Subject: [sqr-users] Outer joints (left and right) Does SQR supports left or right outer joints? I could not find any note on= my reference on line book. =20 Here is my syntax that works against a SQLserver database: =20 SELECT A.SETID, A.VENDOR_ID, A.NAME1, A.NAME2, A.VENDOR_STATUS, A.WTHD_SW, = B.STD_ID_NUM FROM PS_VENDOR A LEFT OUTER JOIN PS_VENDOR_ID_NBRS B ON A.SETID =3D B.SETID AND A.VENDOR_ID =3D B.VENDOR_ID =20 Thanks, =20 Jos=E9 A. Aguirre =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Mon May 19 15:50:18 2008 Subject: RE: [sqr-users] Outer joints (left and right) Date: Mon, 19 May 2008 15:47:25 -0400 From: Here is a very simple sample. You can change the INNER to LEFT OUTER or RI= GHT OUTER as needed. -Steve begin-program begin-select count(b.func_loc_key) (+1,1) from dim.shipment_fact a inner join func_loc_dim b on a.orig_tarf_pt_fk =3D b.func_loc_key where a.rcvd_at_date_fk =3D 4440 end-select end-program=20 -----Original Message----- From: sqr-users-bounces+jones.steven=3Dups-scs.com@sqrug.org [mailto:sqr-us= ers-bounces+jones.steven=3Dups-scs.com@sqrug.org] On Behalf Of Aguirre, Jose Sent: Monday, May 19, 2008 12:22 PM To: This list is for discussion about the SQR database reportinglanguage fr= omHyperion Solutions. Subject: RE: [sqr-users] Outer joints (left and right) Steve, Would you mind sending some sample syntax? I looked at some articles on l= ine and tried without any success. Thanks, Jos=E9 A. Aguirre -----Original Message----- From: sqr-users-bounces+jaguir=3Dlsuhsc.edu@sqrug.org [mailto:sqr-users-bou= nces+jaguir=3Dlsuhsc.edu@sqrug.org] On Behalf Of Jones.Steven@ups-scs.com Sent: Friday, May 16, 2008 4:33 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Outer joints (left and right) SQR supports left outer, right outer, and inner joins. Just use the ansi s= tandard syntax. -Steve=20 -----Original Message----- From: sqr-users-bounces+jones.steven=3Dups-scs.com@sqrug.org [mailto:sqr-us= ers-bounces+jones.steven=3Dups-scs.com@sqrug.org] On Behalf Of Aguirre, Jose Sent: Friday, May 16, 2008 1:47 PM To: This list is for discussion about the SQR database reportinglanguage fr= omHyperion Solutions. Subject: [sqr-users] Outer joints (left and right) Does SQR supports left or right outer joints? I could not find any note on= my reference on line book. =20 Here is my syntax that works against a SQLserver database: =20 SELECT A.SETID, A.VENDOR_ID, A.NAME1, A.NAME2, A.VENDOR_STATUS, A.WTHD_SW, = B.STD_ID_NUM FROM PS_VENDOR A LEFT OUTER JOIN PS_VENDOR_ID_NBRS B ON A.SETID =3D B.SETID AND A.VENDOR_ID =3D B.VENDOR_ID =20 Thanks, =20 Jos=E9 A. Aguirre =20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sun Jun 01 09:11:41 2008 Date: Wed, 28 May 2008 14:11:36 -0500 From: "Raghvendra Dharwada" Subject: [sqr-users] AP Crystal Check to SQR Has anyone written the Accounts Payable Crystal Check (Paycycle APY2021- ) into an SQR program? If so , please share your tips, suggestions and the approach. Thank you _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sun Jun 01 09:15:58 2008 Date: Fri, 30 May 2008 01:38:45 -0400 From: "jp guptha" Subject: [sqr-users] How to connect to multiple DBs in a single Query Hi, Can we have multiple database server connections in a single Query because I am having the data in ORACLE DB Server and I need to load this into Sybase DB Server. Actually in my query some fields are coming from Oracle DB Server and some fields are coming from Sybase DB Server so I am planning to pull the data from Oracle DB and merge into Sybase DB. *SYBASE IS DEFAULT CONNECTION THROUGH OUT THE SQR PROGRAM* Begin-Procedure Create_Adj_Contract_Type Begin-sql =96DB ORACLE CONNECTION INSERT INTO Temp_Table (Table from Sybase Database Server) SELECT a.SBSB_CK, b.DCOTY_CD, b.DSBCV_FC_COUNT, From WDM_DSBSB_SUBSC a, (Table from ORACLE Database Server) WDM_DSBCV_FAM_COVERAGE b, (Table from ORACLE Database Server) Where b.DSBSB_SK=3Da.DSBSB_SK END-SQL End-Procedure !Create_Adj_Contract_Type _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Sun Jun 01 09:19:53 2008 Date: Sun, 1 Jun 2008 00:00:04 -0400 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.23 $ $Date: 2006/07/27 16:28:24 $ 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 Mon Jun 02 11:34:45 2008 Date: Mon, 02 Jun 2008 11:31:40 -0400 From: "Everett Carr" Subject: Re: [sqr-users] AP Crystal Check to SQR Absolutely we have done that many years ago..... (only the uninformed or a = fool would use crystal to print checks). =20 1. use hard font installed to a dedicated / locked / secure printer in your= finance department that stores the signature and any logos. DO NOT embed images in sqr. Otherwise you'll= run into one of the problems crystal has and that is imbedded images, signatures can be = sniffed off the data trasmission and nefariously used. =20 2. recommend custom process job, run on unix is preferable to ms-winblows a= nyplatform. Also peoplesoft=20 DOES NOT physically delete output - even if you specify that action on the = job. Therefore use the executing operating system native commands to actually send the output to a print que= ue for printing using the DELETE qualifier to ensure print data file is actually deleted. =20 Regards >>> "Raghvendra Dharwada" 5/28/2008 3:11 PM >>> Has anyone written the Accounts Payable Crystal Check (Paycycle APY2021- ) into an SQR program? If so , please share your tips, suggestions and the approach. Thank you _______________________________________________ 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 Jun 02 11:49:38 2008 From: the dragon Subject: RE: [sqr-users] AP Crystal Check to SQR Date: Mon, 2 Jun 2008 10:46:40 -0500 I think you can make this blanket statement "only the uninformed or a fool = would use crystal"; and crystal is interchangable with application engine. = :-p =20 And the statement made in item two is also accurate. =20 peace, clark 'the dragon' willisPSA: 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. McAd= oo 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 s= o well what God wants them to do because I notice it always coincides with = their own desires." - Susan B. Anthony> > Absolutely we have done that many= years ago..... (only the uninformed or a fool would use crystal to print c= hecks).> > 1. use hard font installed to a dedicated / locked / secure prin= ter in your finance department that stores> the signature and any logos. DO= NOT embed images in sqr. Otherwise you'll run into one> of the problems cr= ystal has and that is imbedded images, signatures can be sniffed off the da= ta trasmission> and nefariously used.> > 2. recommend custom process job, r= un on unix is preferable to ms-winblows any platform. Also peoplesoft > DOE= S NOT physically delete output - even if you specify that action on the job= . Therefore use the executing> operating system native commands to actually= send the output to a print queue for printing using the> DELETE qualifier = to ensure print data file is actually deleted.> > Regards> > >>> "Raghvendr= a Dharwada" 5/28/2008 3:11 PM >>>> Has anyone written = the Accounts Payable Crystal Check (Paycycle APY2021- )> into an SQR progra= m? If so , please share your tips, suggestions and the> approach.> > Thank = you>=20 _________________________________________________________________ Give to a good cause with every e-mail. Join the i=92m Initiative from Micr= osoft. http://im.live.com/Messenger/IM/Join/Default.aspx?souce=3DEML_WL_ GoodCause _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jun 05 10:54:40 2008 Date: Thu, 5 Jun 2008 07:51:11 -0700 (PDT) From: Kiran Madam Subject: [sqr-users] (SQR 4500) Out of Print positions; use -Mfile to increase POSITIONS. Hello, =A0I received an error message as "(SQR 4500) Out of Print positions; use -= Mfile to increase POSITIONS". Can you tell me how to increase the M file si= ze for Positions. I did a search in peoplebooks and in the SQRUG community,= but I couldnt find a solution. We are on Unix, Peoplesoft 8.9, Tool 8.46. Thanks, Kiran Madam =20=20=20=20=20=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jun 05 11:00:03 2008 Subject: RE: [sqr-users] (SQR 4500) Out of Print positions; use -Mfile to increase POSITIONS. Date: Thu, 5 Jun 2008 10:56:33 -0400 From: "Rowell, Charles" it is a command line parameter file or you can just increase the value in sqr.ini file.=20 Charles=20=20 -----Original Message----- From: sqr-users-bounces+charles.rowell=3Dfmr.com@sqrug.org [mailto:sqr-user= s-bounces+charles.rowell=3Dfmr.com@sqrug.org] On Behalf Of Kiran Madam Sent: Thursday, June 05, 2008 10:51 AM To: sqr-users@sqrug.org Subject: [sqr-users] (SQR 4500) Out of Print positions;use -Mfile to increa= se POSITIONS. Hello, =A0I received an error message as "(SQR 4500) Out of Print positions; use -= Mfile to increase POSITIONS". Can you tell me how to increase the M file si= ze for Positions. I did a search in peoplebooks and in the SQRUG community,= but I couldnt find a solution. We are on Unix, Peoplesoft 8.9, Tool 8.46. Thanks, Kiran Madam =20=20=20=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 Thu Jun 05 11:03:37 2008 Subject: RE: [sqr-users] (SQR 4500) Out of Print positions; use -Mfile to increase POSITION Date: Thu, 5 Jun 2008 10:57:42 -0400 From: "Bencke, Gina" In the PeopleSoft environment, you will need to check one of two paces. Ei= ther in your sqr.ini file (which in you case may be called pssqr.ini or the= file referenced on you command line -m...\sqr\allmaxes.max. http://www.kichler.com/ Gina Bencke Work 216-573-1005 X6805 | Mobile 440-479-9961 | Fax 216-573-1070 Home Office 440-519-0060=20=20 =20 -----Original Message----- From: sqr-users-bounces+gbencke=3Dkichler.com@sqrug.org [mailto:sqr-users-b= ounces+gbencke=3Dkichler.com@sqrug.org] On Behalf Of Kiran Madam Sent: Thursday, June 05, 2008 10:51 AM To: sqr-users@sqrug.org Subject: [sqr-users] (SQR 4500) Out of Print positions;use -Mfile to increa= se POSITIONS. Hello, =A0I received an error message as "(SQR 4500) Out of Print positions; use -= Mfile to increase POSITIONS". Can you tell me how to increase the M file si= ze for Positions. I did a search in peoplebooks and in the SQRUG community,= but I couldnt find a solution. We are on Unix, Peoplesoft 8.9, Tool 8.46. Thanks, Kiran Madam =20=20=20=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 Thu Jun 05 11:11:34 2008 Date: Thu, 5 Jun 2008 11:08:58 -0400 From: "Don Mellen" Subject: Re: [sqr-users] (SQR 4500) Out of Print positions; use -Mfile to increase POSITIONS. Either create a file (for this example, assume a name for this file of "newvals.sqm") with a new value in it, such as.... POSITIONS=1800 ... (1800 is the default, up it an appropriate number from that) then add the flag "-Mnewvals.sqm" to your sqr command line. If you want to change it globally for every sqr that is run, look for the "[Processing-Limits]" section of the sqr.ini and uncomment the POSITIONS line and up it from the default. On Thu, Jun 5, 2008 at 10:51 AM, Kiran Madam wrote: > Hello, > I received an error message as "(SQR 4500) Out of Print positions; use > -Mfile to increase POSITIONS". Can you tell me how to increase the M file > size for Positions. I did a search in peoplebooks and in the SQRUG > community, but I couldnt find a solution. > We are on Unix, Peoplesoft 8.9, Tool 8.46. > Thanks, > Kiran Madam > > > > > _______________________________________________ > 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" (Terry Pratchett) _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jun 05 11:36:13 2008 Date: Thu, 5 Jun 2008 08:33:27 -0700 (PDT) From: Kiran Madam Subject: Re: [sqr-users] (SQR 4500) Out of Print positions; use -Mfile to increase POSITIONS. Thank you Charles. It resolved the issue ----- Original Message ---- From: "Rowell, Charles" To: This list is for discussion about the SQR database reportinglanguage fr= om Hyperion Solutions. Sent: Thursday, June 5, 2008 10:56:33 AM Subject: RE: [sqr-users] (SQR 4500) Out of Print positions; use -Mfile to i= ncrease POSITIONS. it is a command line parameter file or you can just increase the value in sqr.ini file.=20 Charles=A0=20 -----Original Message----- From: sqr-users-bounces+charles.rowell=3Dfmr.com@sqrug.org [mailto:sqr-user= s-bounces+charles.rowell=3Dfmr.com@sqrug.org] On Behalf Of Kiran Madam Sent: Thursday, June 05, 2008 10:51 AM To: sqr-users@sqrug.org Subject: [sqr-users] (SQR 4500) Out of Print positions;use -Mfile to increa= se POSITIONS. Hello, =A0I received an error message as "(SQR 4500) Out of Print positions; use -= Mfile to increase POSITIONS". Can you tell me how to increase the M file si= ze for Positions. I did a search in peoplebooks and in the SQRUG community,= but I couldnt find a solution. We are on Unix, Peoplesoft 8.9, Tool 8.46. Thanks, Kiran Madam =A0 =A0 =A0=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 =20=20=20=20=20=20 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Thu Jun 05 11:56:49 2008 From: the dragon Subject: RE: [sqr-users] (SQR 4500) Out of Print positions; use -Mfile to increase POSITIONS. Date: Thu, 5 Jun 2008 10:53:48 -0500 I'd like to recommend the following: =20 http://www.amazon.com/SQR-PeopleSoft-Other-Applications-Second/dp/193239400= 1/ref=3Dpd_bbs_sr_1?ie=3DUTF8&s=3Dbooks&qid=3D1212680856&sr=3D8-1 (revenge = of the Landres's) http://www.amazon.com/8-4-Cheat-Sheet-Joseph-Weessies/dp/193288002X/ref=3Dp= d_bbs_sr_2?ie=3DUTF8&s=3Dbooks&qid=3D1212680856&sr=3D8-2 =20 http://www.amazon.com/SQR-Programmer-Reference-Second-Don-Mellen/dp/0967773= 016/ref=3Dpd_bbs_3?ie=3DUTF8&s=3Dbooks&qid=3D1212680856&sr=3D8-3 (who is th= is Don Mellen guy, anyway??) =20 Also, there is a search function at http://www.sqrug.org/sqr-users/ =20 peace, clark 'the dragon' willis =20 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 o= nly real finite asset that you have, and once used it can never be recovere= d, so don't waste it by giving it away. I work to live; I don't live to wor= k. "Time is the coin of your life. It is the only coin you have, and only y= ou 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 defe= at an ignorant man in argument. -- William G. McAdoo Religion is regarded b= y the common people as true, by the wise as false, and by the rulers as use= ful. -- Seneca "I distrust those people who know so well what God wants the= m to do because I notice it always coincides with their own desires." - Sus= an B. Anthony> > Hello,> I received an error message as "(SQR 4500) Out of= Print positions; use -Mfile to increase POSITIONS". Can you tell me how to= increase the M file size for Positions. I did a search in peoplebooks and = in the SQRUG community, but I couldnt find a solution.> We are on Unix, Peo= plesoft 8.9, Tool 8.46.> Thanks,> Kiran Madam>=20 _________________________________________________________________ It=92s easy to add contacts from Facebook and other social sites through Wi= ndows Live=99 Messenger. Learn how. https://www.invite2messenger.net/im/?source=3DTXT_EML_WLH_LearnHow _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jun 06 11:42:07 2008 Date: Fri, 06 Jun 2008 11:39:18 -0400 From: Marina Piatibratov Subject: [sqr-users] Calling system command fails Hello, Just FYI: I posted "(SQR 1303) Error in SQL (perhaps missing &name after expression)" error in March 08 and it was resolved. It turned out that when users reinstalled Oracle in their test environment they didn't install Oracle Client properly (some settings were missing). Now they're having another problem, again in test (in production the same sqr does work), namely, calling of MS_DOS command fails. They work in Windows-XP. The main sqr calls report (also sqr) using Ms-dos and return status is not zero. The piece of code: CALL SYSTEM USING $sqr_line #status WAIT if (#status != 0) print 'Report run failed' (+1,1) print $sqr_line (+1,1) end-if; In lis it prints out: Report run failed D:\Training\V13.2\RepServ\bin\sqr7w D:\Training\V13.2\RepServ\sqr\LPICKLST testdb/testdb@testsr -rt -s -eD:\Training\V13.2\RepServ\work\ok\PL393685.err -fD:\Training\V13.2\RepServ\work\ok\PL393685.lis 'LPICKLST' 'SA' '05 JUN 2008 12:25:22' EST I asked the users to run this command directly from the Command Prompt and it ran without problems creating a report. What can cause it? Memory issue?... The command is long. Thanks, Marina _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jun 06 11:49:39 2008 Subject: RE: [sqr-users] Calling system command fails Date: Fri, 6 Jun 2008 10:46:38 -0500 From: "Bob Stone" Have you checked that the automated call knows what the D:\ drive is?=20=20 If D:\ is a network drive, sometimes you need to put the full path in instead. (not that D:\ is usually a network drive...) -----Original Message----- From: sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org [mailto:sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org] On Behalf Of Marina Piatibratov Sent: Friday, June 06, 2008 10:39 AM To: sqr-users@sqrug.org Subject: [sqr-users] Calling system command fails Hello, Just FYI: I posted "(SQR 1303) Error in SQL (perhaps missing &name after=20 expression)" error in March 08 and it was resolved. It turned out that=20 when users reinstalled Oracle in their test environment they didn't=20=20 install Oracle Client properly (some settings were missing). Now they're having another problem, again in test (in production the=20 same sqr does work), namely, calling of MS_DOS command fails. They work=20 in Windows-XP. The main sqr calls report (also sqr) using Ms-dos and=20 return status is not zero. The piece of code: CALL SYSTEM USING $sqr_line #status WAIT if (#status !=3D 0) print 'Report run failed' (+1,1) print $sqr_line (+1,1)=20=20=20=20 end-if; In lis it prints out: Report run failed D:\Training\V13.2\RepServ\bin\sqr7w=20 D:\Training\V13.2\RepServ\sqr\LPICKLST testdb/testdb@testsr -rt -s=20 -eD:\Training\V13.2\RepServ\work\ok\PL393685.err=20 -fD:\Training\V13.2\RepServ\work\ok\PL393685.lis 'LPICKLST' 'SA' '05 JUN 2008 12:25:22' EST I asked the users to run this command directly from the Command Prompt=20 and it ran without problems creating a report. What can cause it? Memory issue?... The command is long. Thanks, Marina _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Jun 06 12:13:58 2008 Date: Fri, 06 Jun 2008 12:11:08 -0400 From: Marina Piatibratov Subject: Re: [sqr-users] Calling system command fails It's a local drive on the server. --- Bob Stone wrote: >Have you checked that the automated call knows what the D:\ drive is? > >If D:\ is a network drive, sometimes you need to put the full path in >instead. (not that D:\ is usually a network drive...) > > >-----Original Message----- >From: sqr-users-bounces+bstone=fastenal.com@sqrug.org >[mailto:sqr-users-bounces+bstone=fastenal.com@sqrug.org] On Behalf Of >Marina Piatibratov >Sent: Friday, June 06, 2008 10:39 AM >To: sqr-users@sqrug.org >Subject: [sqr-users] Calling system command fails > > Hello, > >Just FYI: >I posted "(SQR 1303) Error in SQL (perhaps missing &name after >expression)" error in March 08 and it was resolved. It turned out that >when users reinstalled Oracle in their test environment they didn't >install Oracle Client properly (some settings were missing). > >Now they're having another problem, again in test (in production the >same sqr does work), namely, calling of MS_DOS command fails. They work >in Windows-XP. The main sqr calls report (also sqr) using Ms-dos and >return status is not zero. >The piece of code: > >CALL SYSTEM USING $sqr_line #status WAIT >if (#status != 0) > print 'Report run failed' (+1,1) > print $sqr_line (+1,1) >end-if; > >In lis it prints out: > >Report run failed >D:\Training\V13.2\RepServ\bin\sqr7w >D:\Training\V13.2\RepServ\sqr\LPICKLST testdb/testdb@testsr -rt -s >-eD:\Training\V13.2\RepServ\work\ok\PL393685.err >-fD:\Training\V13.2\RepServ\work\ok\PL393685.lis 'LPICKLST' 'SA' '05 JUN > >2008 12:25:22' EST > >I asked the users to run this command directly from the Command Prompt >and it ran without problems creating a report. > >What can cause it? Memory issue?... The command is long. > > >Thanks, >Marina > > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > >_______________________________________________ >sqr-users mailing list >sqr-users@sqrug.org >http://www.sqrug.org/mailman/listinfo/sqr-users > > > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jun 06 12:36:53 2008 Date: Fri, 6 Jun 2008 12:34:24 -0400 From: "Don Mellen" Subject: Re: [sqr-users] Calling system command fails Have you checked if it makes an err file? If so, what's in it? Have you checked the value of #status? The OS error number could also help in pointing out the problem. On Fri, Jun 6, 2008 at 12:11 PM, Marina Piatibratov wrote: > It's a local drive on the server. > --- > > > Bob Stone wrote: > > Have you checked that the automated call knows what the D:\ drive is? >> If D:\ is a network drive, sometimes you need to put the full path in >> instead. (not that D:\ is usually a network drive...) >> >> >> -----Original Message----- >> From: sqr-users-bounces+bstone=fastenal.com@sqrug.org >> [mailto:sqr-users-bounces+bstone = >> fastenal.com@sqrug.org] On Behalf Of >> Marina Piatibratov >> Sent: Friday, June 06, 2008 10:39 AM >> To: sqr-users@sqrug.org >> Subject: [sqr-users] Calling system command fails >> >> Hello, >> >> Just FYI: >> I posted "(SQR 1303) Error in SQL (perhaps missing &name after >> expression)" error in March 08 and it was resolved. It turned out that when >> users reinstalled Oracle in their test environment they didn't install >> Oracle Client properly (some settings were missing). >> >> Now they're having another problem, again in test (in production the >> same sqr does work), namely, calling of MS_DOS command fails. They work in >> Windows-XP. The main sqr calls report (also sqr) using Ms-dos and return >> status is not zero. >> The piece of code: >> >> CALL SYSTEM USING $sqr_line #status WAIT >> if (#status != 0) >> print 'Report run failed' (+1,1) >> print $sqr_line (+1,1) end-if; >> >> In lis it prints out: >> >> Report run failed >> D:\Training\V13.2\RepServ\bin\sqr7w D:\Training\V13.2\RepServ\sqr\LPICKLST >> testdb/testdb@testsr -rt -s >> -eD:\Training\V13.2\RepServ\work\ok\PL393685.err >> -fD:\Training\V13.2\RepServ\work\ok\PL393685.lis 'LPICKLST' 'SA' '05 JUN >> >> 2008 12:25:22' EST >> >> I asked the users to run this command directly from the Command Prompt and >> it ran without problems creating a report. >> >> What can cause it? Memory issue?... The command is long. >> >> >> Thanks, >> Marina >> >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> 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 > -- ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ donm@ontko.com | "In the beginning, there was nothing, which exploded" (Terry Pratchett) _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jun 06 12:59:27 2008 Subject: RE: [sqr-users] Calling system command fails Date: Fri, 6 Jun 2008 11:57:01 -0500 From: "Knapp, Richard" Is this the server that is executing the SQR? 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 Don Mellen Sent: Friday, June 06, 2008 11:34 AM To: This list is for discussion about the SQR database reporting languagefrom Hyperion Solutions. Subject: Re: [sqr-users] Calling system command fails Have you checked if it makes an err file? If so, what's in it? Have you checked the value of #status? The OS error number could also help in pointing out the problem. On Fri, Jun 6, 2008 at 12:11 PM, Marina Piatibratov wrote: > It's a local drive on the server. > --- > > > Bob Stone wrote: > > Have you checked that the automated call knows what the D:\ drive is? >> If D:\ is a network drive, sometimes you need to put the full path in >> instead. (not that D:\ is usually a network drive...) >> >> >> -----Original Message----- >> From: sqr-users-bounces+bstone=3Dfastenal.com@sqrug.org >> [mailto:sqr-users-bounces+bstone =3D >> fastenal.com@sqrug.org] On Behalf Of >> Marina Piatibratov >> Sent: Friday, June 06, 2008 10:39 AM >> To: sqr-users@sqrug.org >> Subject: [sqr-users] Calling system command fails >> >> Hello, >> >> Just FYI: >> I posted "(SQR 1303) Error in SQL (perhaps missing &name after >> expression)" error in March 08 and it was resolved. It turned out that when >> users reinstalled Oracle in their test environment they didn't install >> Oracle Client properly (some settings were missing). >> >> Now they're having another problem, again in test (in production the >> same sqr does work), namely, calling of MS_DOS command fails. They work in >> Windows-XP. The main sqr calls report (also sqr) using Ms-dos and return >> status is not zero. >> The piece of code: >> >> CALL SYSTEM USING $sqr_line #status WAIT >> if (#status !=3D 0) >> print 'Report run failed' (+1,1) >> print $sqr_line (+1,1) end-if; >> >> In lis it prints out: >> >> Report run failed >> D:\Training\V13.2\RepServ\bin\sqr7w D:\Training\V13.2\RepServ\sqr\LPICKLST >> testdb/testdb@testsr -rt -s >> -eD:\Training\V13.2\RepServ\work\ok\PL393685.err >> -fD:\Training\V13.2\RepServ\work\ok\PL393685.lis 'LPICKLST' 'SA' '05 JUN >> >> 2008 12:25:22' EST >> >> I asked the users to run this command directly from the Command Prompt and >> it ran without problems creating a report. >> >> What can cause it? Memory issue?... The command is long. >> >> >> Thanks, >> Marina >> >> >> _______________________________________________ >> sqr-users mailing list >> sqr-users@sqrug.org >> 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 > --=20 ----------------------------------------------------------------------- Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/ donm@ontko.com | "In the beginning, there was nothing, which exploded" (Terry Pratchett) _______________________________________________ sqr-users mailing list sqr-users@sqrug.org 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 Jun 06 13:36:27 2008 Date: Fri, 06 Jun 2008 13:32:19 -0400 From: Marina Piatibratov Subject: Re: [Bulk] RE: [sqr-users] Calling system command fails Yes, it's the same server. --- Knapp, Richard wrote: >Is this the server that is executing the SQR? > >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 >Don Mellen >Sent: Friday, June 06, 2008 11:34 AM >To: This list is for discussion about the SQR database reporting >languagefrom Hyperion Solutions. >Subject: Re: [sqr-users] Calling system command fails > >Have you checked if it makes an err file? If so, what's in it? > >Have you checked the value of #status? The OS error number could also >help >in pointing out the problem. > >On Fri, Jun 6, 2008 at 12:11 PM, Marina Piatibratov >wrote: > > > >>It's a local drive on the server. >>--- >> >> >>Bob Stone wrote: >> >>Have you checked that the automated call knows what the D:\ drive is? >> >> >>>If D:\ is a network drive, sometimes you need to put the full path in >>>instead. (not that D:\ is usually a network drive...) >>> >>> >>>-----Original Message----- >>>From: sqr-users-bounces+bstone=fastenal.com@sqrug.org >>>[mailto:sqr-users-bounces+bstone = >>>fastenal.com@sqrug.org] On Behalf Of >>>Marina Piatibratov >>>Sent: Friday, June 06, 2008 10:39 AM >>>To: sqr-users@sqrug.org >>>Subject: [sqr-users] Calling system command fails >>> >>> Hello, >>> >>>Just FYI: >>>I posted "(SQR 1303) Error in SQL (perhaps missing &name after >>>expression)" error in March 08 and it was resolved. It turned out >>> >>> >that when > > >>>users reinstalled Oracle in their test environment they didn't >>> >>> >install > > >>>Oracle Client properly (some settings were missing). >>> >>>Now they're having another problem, again in test (in production >>> >>> >the > > >>>same sqr does work), namely, calling of MS_DOS command fails. They >>> >>> >work in > > >>>Windows-XP. The main sqr calls report (also sqr) using Ms-dos and >>> >>> >return > > >>>status is not zero. >>>The piece of code: >>> >>>CALL SYSTEM USING $sqr_line #status WAIT >>>if (#status != 0) >>> print 'Report run failed' (+1,1) >>> print $sqr_line (+1,1) end-if; >>> >>>In lis it prints out: >>> >>>Report run failed >>>D:\Training\V13.2\RepServ\bin\sqr7w >>> >>> >D:\Training\V13.2\RepServ\sqr\LPICKLST > > >>>testdb/testdb@testsr -rt -s >>>-eD:\Training\V13.2\RepServ\work\ok\PL393685.err >>>-fD:\Training\V13.2\RepServ\work\ok\PL393685.lis 'LPICKLST' 'SA' '05 >>> >>> >JUN > > >>>2008 12:25:22' EST >>> >>>I asked the users to run this command directly from the Command >>> >>> >Prompt and > > >>>it ran without problems creating a report. >>> >>>What can cause it? Memory issue?... The command is long. >>> >>> >>>Thanks, >>>Marina >>> >>> >>>_______________________________________________ >>>sqr-users mailing list >>>sqr-users@sqrug.org >>>http://www.sqrug.org/mailman/listinfo/sqr-users >>> >>>_______________________________________________ >>>sqr-users mailing list >>>sqr-users@sqrug.org >>>http://www.sqrug.org/mailman/listinfo/sqr-users >>> >>> >>> >>> >>> >> >>_______________________________________________ >>sqr-users mailing list >>sqr-users@sqrug.org >>http://www.sqrug.org/mailman/listinfo/sqr-users >> >> >> > > > > > _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jun 06 15:21:05 2008 From: Date: Fri, 6 Jun 2008 15:18:22 -0400 Subject: [sqr-users] Using html select multiple with sqr I am building an html parameter collection page with an sqr program posted = in hyperion portal 7. I have used dynamic drop-downs before, using the por= tal to retrieve the option values from a data base table. What is differen= t this time is I want to allow the user to select multiple values in the . So far I have the html outputting this when I select two rows, AD-= Andorra and BB-Barbados. Param_2=3DAD-ANDORRA Param_2=3DBB-BARBADOS Where "Param_2" is the select parameter name from the html form and that wh= ich follows the =3D is the value. Now, how do I get SQR to input more than just the first value? I tried a w= here loop, but perhaps I didn't do it right. Can anyone help? -Steve Jones UPS Freight 2701 NW Vaughn St, Suite 600 Portland, OR 97210 503-484-1614 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jun 06 15:52:51 2008 From: "franck.masson" Subject: Re:[sqr-users] Using html select multiple with sqr Date: Fri, 6 Jun 2008 21:49:44 +0200 (CEST) try to use some javascript to concatenate the Param_2 values and in your SQR you will have to split the Param_2 value > Message du 06/06/08 21:21 > De : Jones.Steven@ups.com > A : sqr-users@sqrug.org > Copie =C3=A0 :=20 > Objet : [sqr-users] Using html select multiple with sqr > > I am building an html parameter collection page with an sqr program poste= d in hyperion portal 7. I have used dynamic drop-downs before, using the po= rtal to retrieve the option values from a data base table. What is differen= t this time is I want to allow the user to select multiple values in the . = So far I have the html outputting this when I select two rows, AD-Andorra a= nd BB-Barbados.> > Param_2=3DAD-ANDORRA> Param_2=3DBB-BARBADOS> > Where "Pa= ram_2" is the select parameter name from the html form and that which follo= ws the =3D is the value.> > Now, how do I get SQR to input more than just t= he first value? I tried a where loop, but perhaps I didn't do it right.> > = Can anyone help?> > -Steve Jones> UPS Freight> 2701 NW Vaughn St, Suite 600= > Portland, OR 97210> 503-484-1614> > > ___________________________________= ____________> sqr-users mailing list> sqr-users@sqrug.org> http://www.sqrug= .org/mailman/listinfo/sqr-users> > Cr=C3=A9ez votre adresse =C3=A9lectronique pr=C3=A9nom.nom@laposte.net=20 1 Go d'espace de stockage, anti-spam et anti-virus int=C3=A9gr=C3=A9s. _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jun 06 15:56:27 2008 Subject: RE: [sqr-users] Using html select multiple with sqr Date: Fri, 6 Jun 2008 14:50:31 -0500 From: "Lu, Clint" Steve, I have a similar program that selects more than one parameters.=20 This procedure should work for you. Beg-Procedure Get-Parameters Let $Comma =3D ',' Let $Quote =3D '''' Let $LBracket =3D '(' Let $RBracket =3D ')' Begin-Select Fieldname Let $Fieldname =3D &Fieldname If rtrim($DynamicFieldname,' ') =3D '' Let $DynamicFieldname =3D $LBracket || $Quote || $Fieldname || $Quote Else Let $DynamicFieldname =3D $DynamicFieldname || $Comma || $Quote || $Fieldname || $Quote End-If =46rom table End-Select If rtrim($DynamicFieldname,' ') <> '' Let $DynamicFieldname =3D $DynamicFieldname || $RBracket=20 End-If End-Proceduer ! Get-Parameters =20 Clint Lu Corporate System - PeopleSoft CVS Caremark | Caremark=20 2211 Sanders Rd Northbrook, IL 60062 Phone: 847/559-4717 Fax : 847/559-4840 Email: Clint.Lu@Caremark.com >_______________________________________________________________________ _____________________________________________ > This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify the sender immediately and destroy all copies of this communication and any attachments. >_______________________________________________________________________ _____________________________________________ > -----Original Message----- From: sqr-users-bounces+clint.lu=3Dcaremark.com@sqrug.org [mailto:sqr-users-bounces+clint.lu=3Dcaremark.com@sqrug.org] On Behalf Of Jones.Steven@ups.com Sent: Friday, June 06, 2008 2:18 PM To: sqr-users@sqrug.org Subject: [sqr-users] Using html select multiple with sqr I am building an html parameter collection page with an sqr program posted in hyperion portal 7. I have used dynamic drop-downs before, using the portal to retrieve the option values from a data base table. What is different this time is I want to allow the user to select multiple values in the . So far I have the html outputting this when I sele= ct two rows, AD-Andorra and BB-Barbados. Param_2=3DAD-ANDORRA Param_2=3DBB-BARBADOS Where "Param_2" is the select parameter name from the html form and that wh= ich follows the =3D is the value. Now, how do I get SQR to input more than just the first value? I tried a w= here loop, but perhaps I didn't do it right. Can anyone help? -Steve Jones UPS Freight 2701 NW Vaughn St, Suite 600 Portland, OR 97210 503-484-1614 _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users _______________________________________________ sqr-users mailing list sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users From sqr-users-bounces@sqrug.org Fri Jun 06 16:16:56 2008 Subject: RE: [sqr-users] Using html select multiple with sqr Date: Fri, 6 Jun 2008 15:13:48 -0500 From: "Lu, Clint" Yes, user is selecting values from the drop-down in the html form. Of course the values will be stored in the table. Correct?=20 Clint Lu Corporate System - PeopleSoft CVS Caremark | Caremark=20 2211 Sanders Rd Northbrook, IL 60062 Phone: 847/559-4717 Fax : 847/559-4840 Email: Clint.Lu@Caremark.com >_______________________________________________________________________ _____________________________________________ > This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify the sender immediately and destroy all copies of this communication and any attachments. >_______________________________________________________________________ _____________________________________________ > -----Original Message----- From: sqr-users-bounces+clint.lu=3Dcaremark.com@sqrug.org [mailto:sqr-users-bounces+clint.lu=3Dcaremark.com@sqrug.org] On Behalf Of Jones.Steven@ups.com Sent: Friday, June 06, 2008 3:09 PM To: sqr-users@sqrug.org Subject: RE: [sqr-users] Using html select multiple with sqr Tnx for the response, but where is the input from the user? The user is selecting values from the drop-down in the html form, not directly from the data base. I use the user's selection as part of a WHERE clause in a much bigger SQL. -Steve -----Original Message----- From: sqr-users-bounces+jones.steven=3Dups.com@sqrug.org [mailto:sqr-users-bounces+jones.steven=3Dups.com@sqrug.org] On Behalf Of Lu, Clint Sent: Friday, June 06, 2008 12:51 PM To: This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions. Subject: RE: [sqr-users] Using html select multiple with sqr Steve, I have a similar program that selects more than one parameters. This procedure should work for you. Beg-Procedure Get-Parameters Let $Comma =3D ',' Let $Quote =3D '''' Let $LBracket =3D '(' Let $RBracket =3D ')' Begin-Select Fieldname Let $Fieldname =3D &Fieldname If rtrim($DynamicFieldname,' ') =3D '' Let $DynamicFieldname =3D $LBracket || $Quote || $Fieldname || $Quote Else Let $DynamicFieldname =3D $DynamicFieldname || $Comma || $Quote || $Fieldname || $Quote End-If =46rom table End-Select If rtrim($DynamicFieldname,' ') <> '' Let $DynamicFieldname =3D $DynamicFieldname || $RBracket End-If End-Proceduer ! Get-Parameters Clint Lu Corporate System - PeopleSoft CVS Caremark | Caremark 2211 Sanders Rd Northbrook, IL 60062 Phone: 847/559-4717 Fax : 847/559-4840 Email: Clint.Lu@Caremark.com >_______________________________________________________________________ _____________________________________________ > This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify the sender immediately and destroy all copies of this communication and any attachments. >_______________________________________________________________________ _____________________________________________ > -----Original Message----- From: sqr-users-bounces+clint.lu=3Dcaremark.com@sqrug.org [mailto:sqr-users-bounces+clint.lu=3Dcaremark.com@sqrug.org] On Behalf Of Jones.Steven@ups.com Sent: Friday, June 06, 2008 2:18 PM To: sqr-users@sqrug.org Subject: [sqr-users] Using html select multiple with sqr I am building an html parameter collection page with an sqr program posted in hyperion portal 7. I have used dynamic drop-downs before, using the portal to retrieve the option values from a data base table. What is different this time is I want to allow the user to select multiple values in the