From owner-sqr-users@list.iex.net Sun Apr 1 00:05:23 2001
Date: Sun, 1 Apr 2001 00:00:01 -0500
From: Nathan Stratton Treadway
Subject: Monthly sqr-users Hints Posting
sqr-users Mailing List Hints and Guidelines
Nathan Stratton Treadway, Ray Ontko & Co.
(nathant@ontko.com)
$Revision: 1.8 $ $Date: 2001-01-26 18:09:09-05 $
This document gathers in one location information about the sqr-users
mail list. Directions for common list-server commands (including
unsubscribing) are given, as are guidelines for list usage.
______________________________________________________________________
Table of Contents
1. Changes Since Previous Version
2. Introduction
2.1 sqr-users Mailing List
2.2 sqr-users Hints and Guidelines Document
2.3 Related Mailing Lists
3. Basic List Server Commands
3.1 Subscribing to the List
3.2 Unsubscribing from the List
3.3 Digests
3.4 Problems
4. Posting to the sqr-users List
4.1 General Guidelines
4.2 Posting a Message
4.3 Replying to a Message
5. Job Announcements
______________________________________________________________________
1. Changes Since Previous Version
Changes since the version dated 2000/11/05:
o Egroups has become Yahoo! Groups; changed the psusers and
PeopleSoft Fans mailing lists links in the Related Mailing Lists
section.
2. Introduction
2.1. sqr-users Mailing List
The sqr-users mailing list was created to enable discussion related to
the SQR database language from Brio Technology
(and to other products in the Brio.Report line).
Note: SQR used to be published by SQRIBE Technologies, which was
merged into Brio Technology on August 3, 1999.
The mailing list is provided as a service of Ray Ontko & Co.
A searchable archive of past postings to the
mailing list is available from the SQR Users Group web site
.
2.2. sqr-users Hints and Guidelines Document
This document gives various hints and guidelines about the sqr-users
mailing list. It will be posted approximately monthly to the mailing
list so that new users can see it (and existing users can find it
easily).
An HTML version of the document is always available at
http://www.sqrug.com/sqr-users/sqr-users-hints.html.
If you have comments or suggestions about this document, please
contact me directly at the address listed in the title section.
This document is Copyright (C) 1999-2001 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
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.
rm-users :
ReportMart Users
List for discussion of Brio.Portal (previously called
ReportMart). To join, follow the link above, or send a message
containing the word "subscribe" in the body to "rm-users-
request@sqrug.com".
3. Basic List Server Commands
Note: The list used to be hosted on usa.net , but the list-hosting
service was moved to list.iex.net . The old addresses for the list,
list server, and list owner no longer work.
A few basic list server commands are listed below. Send these
commands as the only line in the body (not the subject line) of an e-
mail message sent to "listserv@list.iex.net".
3.1. Subscribing to the List
To subscribe to the mailing list, the command is
subscribe sqr-users Your Name
Note that you do not need to provide your e-mail address as it is
taken from your message's header.
You will be e-mailed a confirmation number, which you must then send
back to the list server software before the command goes into effect.
3.2. Unsubscribing from the List
To unsubscribe, the command is simply
unsubscribe sqr-users
Once again, you will need to confirm your command before it goes into
effect.
3.3. Digests
Once you are subscribed, you can request to get your messages in
digest form (one large message containing all of the posts made each
day) by sending the command
set sqr-users digests
If you use digests you should not just "reply" to the digest mailing.
Instead, be sure your message's subject header matches the subject in
the original posting to which you are replying, and that you don't
include a quoted copy of the entire digest in your post.
Use "nodigests" instead of "digests" to restore normal distribution.
3.4. Problems
If the above commands do not work, please contact the list manager at
"sqr-users-request@list.iex.net". (Do not send a message to the list
itself -- no one there can help you with your problem!) Please
include a copy of the error message you received from the list server.
4. Posting to the sqr-users List
In order to post to the mailing list, you must be subscribed to it
(see directions above).
4.1. General Guidelines
For any message you send to the list, please:
o make sure your mail software is not requesting a "Return Receipt".
(If a "Return Receipt Requested" message is sent to the list,
several dozen receipt messages will be sent out to the mailing list
in reply from other subscribers.)
o do not send messages in HTML or other special formats. (These are
not usable by many subscribers, especially those who receive their
messages in digest format.)
o keep in mind that over 500 people will receive your message, and
that it will appear in the list archives. Try to keep your
messages on-topic and relatively short. Consider sending your
message directly to particular people if it won't interest many of
the list's subscribers.
4.2. Posting a Message
Once you are subscribed, you can post to the list by sending a message
to "sqr-users@list.iex.net". Be sure your subject heading describes
your specific problem or question (i.e. don't just use "SQR
Question").
In the body of your message, please include the following information:
o Brio product and version number
o Operating system and version number
o Database name and version number
o Application name (i.e. PeopleSoft) and a version number, if any
Also, include a short code sample whenever possible. It's much easier
for other people to understand what you are trying to do when they can
see the actual code. (At the same time, be careful not to post
confidential or proprietary code, since the posting will be placed in
a public web archive.)
Note that your question should relate to SQR or other Brio Report
product in some way. Don't ask questions about PeopleSoft, for
example, unless you are having SQR-related issues.
To find out your version of SQR, you can run the following program:
begin-program
show $sqr-ver
end-program
This will produce a line that looks something like this:
SQR/3.0.15/Intel/SCO Unix R3.2 V5.0/Oracle 7.2.2.3/Sep 25 1996
Include the full line of output in your message. Note that the oper-
ating system version number listed here is the one under which this
copy of SQR was compiled, so you'll still need to include your own
information.
4.3. Replying to a Message
Messages sent out on the list have a Reply-To header pointing to the
list. This means that you should be able to simply use your mail
reader's "reply" function to send a reply to the list.
Generally, all answers to questions sent out on the list should be
public replies, so that other subscribers can benefit. In those cases
where a private reply is appropriate, be sure to over-ride the default
Reply-To address.
If your message is not actually a reply to the earlier message, please
do not use the "reply" function. Instead, address a new e-mail
message to the list as described in the previous section. (This is
because the list archives will incorrectly show the new message in the
original thread if you use "reply".)
You should quote enough lines from the original message that later
readers can understand your answer even if they missed the original
question. At the same time, you should remove any unnecessary lines
from the quote in order to make your message shorter and easier to
understand. (Remember that some people read the mailing list in
digest form, and the digests become much larger if unnecessary lines
are quoted.)
In particular, in order to prevent mail loops, the list server will
not accept messages that contain From:, Sender:, etc. lines pointing
back to the sqr-users list, even if these lines are quoted (i.e. with
">" characters). Be sure to delete these from your reply message
before sending it.
5. Job Announcements
SQR-related job announcements are currently allowed on the list,
subject to the following restrictions:
o The subject line must begin with the words "JOB ANNOUNCEMENT:".
o The message should be very short (fewer than 20 lines), giving
brief details of the job and a way for those interested to get more
information directly (i.e. web page or phone number).
o The message should specifically remind people interested in the job
to respond directly to the message author (and not to use their
mailer's "reply" function, since that would send the reply out on
the list).
o Post job announcements as infrequently as possible.
From owner-sqr-users@list.iex.net Mon Apr 2 09:22:48 2001
Date: Mon, 2 Apr 2001 10:14:38 -0700
From: Chuck Harkness
Subject: new sqr book?
Hello SQR Gurus,
I own a copy of the "SQR in PeopleSoft and Other Applications" book and I
was wondering if there are any other SQR reference books available.
I use SQR in combination with MAXIMO and not peoplesoft. I have used
this book extensively, but would love to see another good SQR reference.
Chuck
From owner-sqr-users@list.iex.net Mon Apr 2 14:58:29 2001
Date: Mon, 2 Apr 2001 14:47:53 -0500
From: Yuri Hunter
Subject: Printing to HP - Trouble changing point-size in courier font
Greetings to the group -
I've written an SQR report that uses Times-Roman font (different sizes with some bold and limited use of boxes). There are some header and footer fields (e.g., Contact Person) that I pass as parameters to the program that I want to print in Courier to make it plain what fields have been entered by appearing they were "typed in."
The problem I'm having is that when I issue the alter-printer command to change the font to Courier 10-pt, the font changes from Times-Roman to Courier, but the size is super small (like 5-pt or less!).
I can't make the Courier point-size increase in size on the report output no matter what value I specify in the alter-printer point-size parameter. A sample of my code follows:
#include 'setenv.sqc'
begin-setup
#include 'setup02b.sqc' !Printer specifications for HPLASERJET
end-setup
begin-footing
alter-printer font=5 point-size=6
print 'Contact Person:' (,90) bold
alter-printer font=3 point-size=10
print $name (,107) underline
end-footing
Platform information:
$sqr-platform : WINDOWS-NT
$sqr-ver : SQR/4.3.4/PC/Windows NT 4.0/Oracle 7.3.4/Jun 03 1999
Thanks in advance for any assistance!
Get your FREE download of MSN Explorer at http://explorer.msn.com
From owner-sqr-users@list.iex.net Tue Apr 3 09:18:43 2001
Date: Tue, 3 Apr 2001 08:15:22 -0600
From: Jon Alsager
Subject: Re: Printing to HP - Trouble changing point-size in courier font
Try specifiying pitch instead of point-size for Courier.
HTH
Jon
-----Original Message-----
From: Yuri Hunter [mailto:lakef250@HOTMAIL.COM]
Sent: Monday, April 02, 2001 1:48 PM
To: SQR-USERS@list.iex.net
Subject: Printing to HP - Trouble changing point-size in courier font
Greetings to the group -
I've written an SQR report that uses Times-Roman font (different sizes with
some bold and limited use of boxes). There are some header and footer
fields (e.g., Contact Person) that I pass as parameters to the program that
I want to print in Courier to make it plain what fields have been entered by
appearing they were "typed in."
The problem I'm having is that when I issue the alter-printer command to
change the font to Courier 10-pt, the font changes from Times-Roman to
Courier, but the size is super small (like 5-pt or less!).
I can't make the Courier point-size increase in size on the report output no
matter what value I specify in the alter-printer point-size parameter. A
sample of my code follows:
#include 'setenv.sqc'
begin-setup
#include 'setup02b.sqc' !Printer specifications for HPLASERJET
end-setup
begin-footing
alter-printer font=5 point-size=6
print 'Contact Person:' (,90) bold
alter-printer font=3 point-size=10
print $name (,107) underline
end-footing
Platform information:
$sqr-platform : WINDOWS-NT
$sqr-ver : SQR/4.3.4/PC/Windows NT 4.0/Oracle 7.3.4/Jun 03 1999
Thanks in advance for any assistance!
_____
Get your FREE download of MSN Explorer at http://explorer.msn.com
From owner-sqr-users@list.iex.net Tue Apr 3 14:50:00 2001
Date: Tue, 3 Apr 2001 14:44:22 -0500
From: Yuri Hunter
Subject: Re: Printing to HP - Trouble changing point-size in courier font
Thanks, Jon. That did the trick.
However, instead of replacing point-size, I added pitch as follows:
alter-printer font=3 point-size=8 pitch=15
I found a calculation for pitch on the archive as follows: 120/pitch=point-size
Does this seem appropriate?
FINAL QUESTION: Adding the pitch to just the one alter-printer stmt above affected all other 26 alter-printer stmts that changed font to courier. The pitch was not impacted for other alter-printer stmts where font was Times-Roman but the alter-printer stmts that changed font to Courier were changed as if the pitch parm were used. Why would only adding pitch parm to the one alter-printer stmt affect all the other courier stmts? Is this expected?
>From: Jon Alsager
>Reply-To: sqr-users@list.iex.net
>To: SQR-USERS@list.iex.net
>Subject: Re: Printing to HP - Trouble changing point-size in courier font
>Date: Tue, 3 Apr 2001 08:15:22 -0600
>
>Try specifiying pitch instead of point-size for Courier.
>
>HTH
>
>Jon
>-----Original Message-----
>From: Yuri Hunter [mailto:lakef250@HOTMAIL.COM]
>Sent: Monday, April 02, 2001 1:48 PM
>To: SQR-USERS@list.iex.net
>Subject: Printing to HP - Trouble changing point-size in courier font
>
>
>Greetings to the group -
>
>I've written an SQR report that uses Times-Roman font (different sizes with
>some bold and limited use of boxes). There are some header and footer
>fields (e.g., Contact Person) that I pass as parameters to the program that
>I want to print in Courier to make it plain what fields have been entered by
>appearing they were "typed in."
>
>The problem I'm having is that when I issue the alter-printer command to
>change the font to Courier 10-pt, the font changes from Times-Roman to
>Courier, but the size is super small (like 5-pt or less!).
>
>I can't make the Courier point-size increase in size on the report output no
>matter what value I specify in the alter-printer point-size parameter. A
>sample of my code follows:
>
>#include 'setenv.sqc'
>
>begin-setup
> #include 'setup02b.sqc' !Printer specifications for HPLASERJET
>end-setup
>
>begin-footing
> alter-printer font=5 point-size=6
> print 'Contact Person:' (,90) bold
> alter-printer font=3 point-size=10
> print $name (,107) underline
>end-footing
>
>
>Platform information:
>
> $sqr-platform : WINDOWS-NT
> $sqr-ver : SQR/4.3.4/PC/Windows NT 4.0/Oracle 7.3.4/Jun 03 1999
>
>
>Thanks in advance for any assistance!
>
> _____
>
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
Get your FREE download of MSN Explorer at http://explorer.msn.com
From owner-sqr-users@list.iex.net Tue Apr 3 15:12:27 2001
Date: Tue, 3 Apr 2001 14:09:27 -0600
From: Jon Alsager
Subject: Re: Printing to HP - Trouble changing point-size in courier font
Yuri --
Yes, the formula does seem appropriate
While I'm still fairly new at SQR, my suspicion is that when pitch is
defined, it holds that value until its changed. In nearly all of the
programs that I have worked on where the alter-printer command is used, both
the font and pitch/point-size are stated each time. So I have not
necessarily seen what you are experiencing. But it does not suprise me.
Jon
-----Original Message-----
From: Yuri Hunter [mailto:lakef250@HOTMAIL.COM]
Sent: Tuesday, April 03, 2001 1:44 PM
To: SQR-USERS@list.iex.net
Subject: Re: Printing to HP - Trouble changing point-size in courier font
Thanks, Jon. That did the trick.
However, instead of replacing point-size, I added pitch as follows:
alter-printer font=3 point-size=8 pitch=15
I found a calculation for pitch on the archive as follows:
120/pitch=point-size
Does this seem appropriate?
FINAL QUESTION: Adding the pitch to just the one alter-printer stmt above
affected all other 26 alter-printer stmts that changed font to courier. The
pitch was not impacted for other alter-printer stmts where font was
Times-Roman but the alter-printer stmts that changed font to Courier were
changed as if the pitch parm were used. Why would only adding pitch parm to
the one alter-printer stmt affect all the other courier stmts? Is this
expected?
>From: Jon Alsager
>Reply-To: sqr-users@list.iex.net
>To: SQR-USERS@list.iex.net
>Subject: Re: Printing to HP - Trouble changing point-size in courier font
>Date: Tue, 3 Apr 2001 08:15:22 -0600
>
>Try specifiying pitch instead of point-size for Courier.
>
>HTH
>
>Jon
>-----Original Message-----
>From: Yuri Hunter [mailto:lakef250@HOTMAIL.COM]
>Sent: Monday, April 02, 2001 1:48 PM
>To: SQR-USERS@list.iex.net
>Subject: Printing to HP - Trouble changing point-size in courier font
>
>
>Greetings to the group -
>
>I've written an SQR report that uses Times-Roman font (different sizes with
>some bold and limited use of boxes). There are some header and footer
>fields (e.g., Contact Person) that I pass as parameters to the program that
>I want to print in Courier to make it plain what fields have been entered
by
>appearing they were "typed in."
>
>The problem I'm having is that when I issue the alter-printer command to
>change the font to Courier 10-pt, the font changes from Times-Roman to
>Courier, but the size is super small (like 5-pt or less!).
>
>I can't make the Courier point-size increase in size on the report output
no
>matter what value I specify in the alter-printer point-size parameter. A
>sample of my code follows:
>
>#include 'setenv.sqc'
>
>begin-setup
> #include 'setup02b.sqc' !Printer specifications for HPLASERJET
>end-setup
>
>begin-footing
> alter-printer font=5 point-size=6
> print 'Contact Person:' (,90) bold
> alter-printer font=3 point-size=10
> print $name (,107) underline
>end-footing
>
>
>Platform information:
>
> $sqr-platform : WINDOWS-NT
> $sqr-ver : SQR/4.3.4/PC/Windows NT 4.0/Oracle 7.3.4/Jun 03 1999
>
>
>Thanks in advance for any assistance!
>
> _____
>
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
_____
Get your FREE download of MSN Explorer at http://explorer.msn.com
From owner-sqr-users@list.iex.net Mon Apr 2 17:06:59 2001
Date: Mon, 2 Apr 2001 14:58:28 -0700
From: Chris Campbell
Subject: SQR - Source Control - Endevor ?
Hello everyone,
Just wondering what everyone was using for source control / change
management for their SQR programs. I'm particularly interested in the MVS
environment. We currently have Endevor on our mainframe, and I was
wondering if anyone else was using Endevor for their PeopleSoft SQR's (or
COBOLs for that matter).
Thanks, Chris
_______________________________________________________
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/
From owner-sqr-users@list.iex.net Tue Apr 3 08:56:59 2001
Date: Tue, 3 Apr 2001 09:52:50 -0400
From: "Schelske, Steve K."
Subject: Re: SQR - Source Control - Endevor ?
Yes, we use Endevor for version management and change control on the
mainframe platform.
We have not experienced any significant *new* problems using Endevor for
PeopleSoft elements.
The biggest issue we face currently with Endevor is that it just takes a
long time to migrate elements through for a large implementation. I just
put through a new release of PeopleTools and it was taking between 10 and 12
hours to move 600 elements from one environment to another.
Let me know if you have any specific things you'd like to discuss.
-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Chris Campbell
Sent: Monday, April 02, 2001 5:58 PM
To: SQR-USERS@list.iex.net
Subject: SQR - Source Control - Endevor ?
Hello everyone,
Just wondering what everyone was using for source control / change
management for their SQR programs. I'm particularly interested in the MVS
environment. We currently have Endevor on our mainframe, and I was
wondering if anyone else was using Endevor for their PeopleSoft SQR's (or
COBOLs for that matter).
Thanks, Chris
_______________________________________________________
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/
From owner-sqr-users@list.iex.net Mon Apr 2 22:56:50 2001
Date: Mon, 2 Apr 2001 21:45:56 -0600
From: Ed Kelly
Subject: image in report
Don, and others:
I have found a great utility call ImageConverter Plus from FCoderSoft. If
converts 20 different formats including GIF to JPEG.
http://www.fcodersoft.com/products/imgconv.htm
Supported formats:
• reads 20 graphic formats (BMP, DIB, RLE, TIFF, GIF, JPEG, PNG, PCX,
DCX, TGA, DXF, EPSF, WMF, WPG, IMG, PCD, ICO, CUR, ANI and FMF);
• converts into 12 formats (TIFF, GIF, BMP, PCX, DCX, EPS, TGA, JPEG,
PNG, WMF, EMF, FMF).
Hope this helps.
Ed Kelly
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
From owner-sqr-users@list.iex.net Tue Apr 3 08:49:32 2001
Date: Tue, 3 Apr 2001 09:33:44 -0400
From: "Nemes, Deanna"
Subject: Job Announcement
Company: Idea Integration (www.idea.com)
Location: Philadelphia
Status: Fulltime/Hourly/Contract (any will do)
Timeframe: ASAP thru July 24, 2001
Title: SQR Reporting Architect
Respond to deanna.nemes@idea.com
SQR Reporting architect that can analyze Business requirements, create
report specifications and required templates, understand relational
databases, and data warehousing, and can code, test, and publish reports in
SQR.
********For more information please respond DIRECTLY to
deanna.nemes@idea.com**********
Deanna M. Nemes
Idea Integration
E-mail: deanna.nemes@idea.com
From owner-sqr-users@list.iex.net Tue Apr 3 09:34:21 2001
Date: Tue, 3 Apr 2001 10:31:23 -0400
From: "Nemes, Deanna"
Subject: Re: Job Announcement
Hi Nicholas,
Thanks for the response - but this position is pretty visible and work needs
to be done on site!
Deanna M. Nemes
Idea Integration
E-mail: deanna.nemes@idea.com
-----Original Message-----
From: Nicolas Moscaritolo [mailto:Nicolas.Moscaritolo@brio.com]
Sent: Tuesday, April 03, 2001 10:09 AM
To: 'Nemes, Deanna '
Subject: RE: Job Announcement
Deanna,
If they are interested in part time off-site programming, I am available. I
have been programming in SQR for 12 years.
-----Original Message-----
From: Nemes, Deanna
To: SQR-USERS@list.iex.net
Sent: 4/3/01 6:33 AM
Subject: Job Announcement
Company: Idea Integration (www.idea.com)
Location: Philadelphia
Status: Fulltime/Hourly/Contract (any will do)
Timeframe: ASAP thru July 24, 2001
Title: SQR Reporting Architect
Respond to deanna.nemes@idea.com
SQR Reporting architect that can analyze Business requirements, create
report specifications and required templates, understand relational
databases, and data warehousing, and can code, test, and publish reports
in
SQR.
********For more information please respond DIRECTLY to
deanna.nemes@idea.com**********
Deanna M. Nemes
Idea Integration
E-mail: deanna.nemes@idea.com
From owner-sqr-users@list.iex.net Tue Apr 3 10:03:33 2001
Date: Tue, 3 Apr 2001 10:51:18 -0400
From: "Hood Louise (app1lxh)"
Subject: Re: Job Announcement
Now EVERYBODY IN THIS LISTING KNOWS that Deanna is a headhunter AND DOES NOT
EXERCISE DISCRETION in dealing with individuals. Better find a new line of
work. . . .
-----Original Message-----
From: Nemes, Deanna [mailto:Deanna.Nemes@IDEA.COM]
Sent: Tuesday, April 03, 2001 10:31 AM
To: SQR-USERS@list.iex.net
Subject: Re: Job Announcement
Hi Nicholas,
Thanks for the response - but this position is pretty visible and work needs
to be done on site!
Deanna M. Nemes
Idea Integration
E-mail: deanna.nemes@idea.com
-----Original Message-----
From: Nicolas Moscaritolo [mailto:Nicolas.Moscaritolo@brio.com]
Sent: Tuesday, April 03, 2001 10:09 AM
To: 'Nemes, Deanna '
Subject: RE: Job Announcement
Deanna,
If they are interested in part time off-site programming, I am available. I
have been programming in SQR for 12 years.
-----Original Message-----
From: Nemes, Deanna
To: SQR-USERS@list.iex.net
Sent: 4/3/01 6:33 AM
Subject: Job Announcement
Company: Idea Integration (www.idea.com)
Location: Philadelphia
Status: Fulltime/Hourly/Contract (any will do)
Timeframe: ASAP thru July 24, 2001
Title: SQR Reporting Architect
Respond to deanna.nemes@idea.com
SQR Reporting architect that can analyze Business requirements, create
report specifications and required templates, understand relational
databases, and data warehousing, and can code, test, and publish reports
in
SQR.
********For more information please respond DIRECTLY to
deanna.nemes@idea.com**********
Deanna M. Nemes
Idea Integration
E-mail: deanna.nemes@idea.com
From owner-sqr-users@list.iex.net Fri Apr 13 16:26:38 2001
Date: Fri, 13 Apr 2001 17:22:22 -0400
From: Kenneth Lawrence Gartman
Subject: Re: Job Announcement
Hi, Deanna!
Is this opening still active?
Ken Gartman
"Nemes, Deanna" wrote:
> Company: Idea Integration (www.idea.com)
> Location: Philadelphia
> Status: Fulltime/Hourly/Contract (any will do)
> Timeframe: ASAP thru July 24, 2001
> Title: SQR Reporting Architect
> Respond to deanna.nemes@idea.com
>
> SQR Reporting architect that can analyze Business requirements, create
> report specifications and required templates, understand relational
> databases, and data warehousing, and can code, test, and publish reports in
> SQR.
>
> ********For more information please respond DIRECTLY to
> deanna.nemes@idea.com**********
>
> Deanna M. Nemes
> Idea Integration
>
> E-mail: deanna.nemes@idea.com
From owner-sqr-users@list.iex.net Tue Apr 3 11:11:29 2001
Date: Tue, 3 Apr 2001 15:57:40 -0000
From: Tejus Shah
Subject: Multi server architecture in Brio
Hi,
I am trying to configure mulit server architecture for load balancing in
Brio.
I have a manager server and a node server.
I am not able to syncronize both the servers.
Also I am not too sure of the configuration paramateres which needs to be
set up in both the servers.
When ever I register a new document or a OCE file on the manager node it is
not getting replicated on the node server.
Can anyone tell me what configuration parameters needs to be set up .
Also if there is any documentation available please send me across.
Any help is highly appreciated
Thanks and Regards
Tejus Shah
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From owner-sqr-users@list.iex.net Tue Apr 3 16:02:31 2001
Date: Tue, 3 Apr 2001 16:44:52 -0400
From: Mike Wheeler
Subject: SQR for PowerBuilder and iPlanet
Hi,
I am researching what it will take to use SQR in a PowerBuilder 5.04
application. The application will be running on a windows NT machine. Is
it possible to trigger the SQR from the PowerBuilder app, and if so, how
would I do this.
I also am investigating how to use SQR with an iPlanet web-server. I am
developing using Java 1.3. Does anyone know how I can incorporate SQR in
my java code? Or at least point me in a direction where I can read how to
do this.
Thanks,
Mike
From owner-sqr-users@list.iex.net Wed Apr 4 08:26:41 2001
Date: Wed, 4 Apr 2001 09:25:44 -0400
From: Scott Eubank
Subject: Re: SQR for PowerBuilder and iPlanet
Mike ,
We successfully called an SQR from VB in the client server mode. You
will have to have SQR availiable to the Client machine, you cant bundle it
with VB or PB , I think.
But we simply used the command line statements , putting each part into a
variable then kicking of the API to run a shell commmand. I dont know how
to do this in PB but I bet you can find out. TRY www.planetsourcecode.com
for code on how to execute shell commands from PB. GOOD Luck .. Let us know
your results
$A = "P:\FDM753\sqrbinw\SQRW.EXE"
$B = "C:\TEMP\USER\SQR\gls9002a.sqr"
$C = "FSRPT/fsrpt/fsrpt"
$D = "-ip:\FDM753\sqr\;"
$E = "C:\SCOTTs_DOCs\SQR's\GL_SQRs\"
$F = "-mp:\FDM753\sqr\allmaxes.max"
$G = "-fC:\Temp\"
$H = "-ZIFp:\FDM753\sqr\pssqr.ini"
runsqr = $A + $B + $C + $D + $E + $F + $G + $H
EXECUTE_SHELL_COMMAND (runsqr & sqrparameter)
-----Original Message-----
From: Mike Wheeler [mailto:Michael_Wheeler@PUTNAMINV.COM]
Sent: Tuesday, April 03, 2001 4:45 PM
To: SQR-USERS@list.iex.net
Subject: SQR for PowerBuilder and iPlanet
Hi,
I am researching what it will take to use SQR in a PowerBuilder 5.04
application. The application will be running on a windows NT machine. Is
it possible to trigger the SQR from the PowerBuilder app, and if so, how
would I do this.
I also am investigating how to use SQR with an iPlanet web-server. I am
developing using Java 1.3. Does anyone know how I can incorporate SQR in
my java code? Or at least point me in a direction where I can read how to
do this.
Thanks,
Mike
From owner-sqr-users@list.iex.net Wed Apr 4 08:24:42 2001
Date: Wed, 4 Apr 2001 09:20:33 -0400
From: "Schelske, Steve K."
Subject: SQRW not a valid Windows NT application
I'm trying to run SQRW from Windows Explorer and I get the following message
in an error dialog:
q:\fsdev\ifs\sqrbinw\sqrw.exe is not a valid Windows NT application.
I can copy sqrw.exe to a different directory and it works fine. I can copy
a working sqrw.exe into q:\fsdev\ifs\sqrbinw and it fails with the same
error. I tried reinstalling SQR into the "bad" directory and I get the same
error.
I have full permissions on all of the directories on this box.
Any ideas as to what might be the problem?
tia
From owner-sqr-users@list.iex.net Wed Apr 4 09:16:02 2001
Date: Wed, 4 Apr 2001 10:08:55 -0400
From: Joan Keith
Subject: Can SQR be invoked from Powerbuilder? from IPlanet
I have a powerbuilder application (version 5.04) that needs to create some
reports. I was hoping to use SQR, but I'm not sure if I can. Do you know
of anyone who I can talk to about this? If it can be done, I'm not sure
how it can be triggered from within the application. I also have the same
questions for an iPlanet application using Java 1.3.
From owner-sqr-users@list.iex.net Wed Apr 4 09:42:25 2001
Date: Wed, 4 Apr 2001 10:38:47 -0400
From: Mario Mendoza
Subject: Re: Can SQR be invoked from Powerbuilder? from IPlanet
The (very) short answer is that yes, you can generate SQR reports from PB.
Set up a table with Report_id, sqr_path, output_path, user_lookup, args ....
The front end application should connect PB to the location of the SQR (in
our case a Unix box) and the SQR will take in the args passed in from PB.
> -----Original Message-----
> From: Joan Keith [SMTP:Joan_Keith@PUTNAMINV.COM]
> Sent: April 04, 2001 10:09 AM
> To: SQR-USERS@list.iex.net
> Subject: Can SQR be invoked from Powerbuilder? from IPlanet
>
> I have a powerbuilder application (version 5.04) that needs to create some
> reports. I was hoping to use SQR, but I'm not sure if I can. Do you know
> of anyone who I can talk to about this? If it can be done, I'm not sure
> how it can be triggered from within the application. I also have the same
> questions for an iPlanet application using Java 1.3.
From owner-sqr-users@list.iex.net Wed Apr 4 18:12:38 2001
Date: Thu, 5 Apr 2001 01:07:45 +0200
From: Franck Masson
Subject: Re: Can SQR be invoked from Powerbuilder? from IPlanet
This is a multi-part message in MIME format.
--------------B76B1500C7AD01F1135158B0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Joan,
1) Java
>From java you can either call the executable sqr
or
you can call the C code of SQR
Look to the documentation of SQR there is a chapter that explain this
not for java but for a C code or a Perl code
2) Powerbuilder
with SQR/Brio.report we provide an activex call Brio.Report Activator
Brio.Report Activator is a set of ActiveX controls that allow you to run
SQR programs launched from within your application, and to view and
print the output within the same application. These ActiveX Controls
are:
SQR ActiveX Control
For running SQR programs on the local PC or remote servers.
Brio.Report Viewer ActiveX Control
For viewing the report output. The report can also be printed, or sent
to other people via e-mail.
SQR Print ActiveX Control
For printing the report output.
Other software components include:
· A Visual Basic Sample Application
· Online help
Look to your CD or call your BRIO sales REP
Franck,
Joan Keith wrote:
>
> I have a powerbuilder application (version 5.04) that needs to create some
> reports. I was hoping to use SQR, but I'm not sure if I can. Do you know
> of anyone who I can talk to about this? If it can be done, I'm not sure
> how it can be triggered from within the application. I also have the same
> questions for an iPlanet application using Java 1.3.
--------------B76B1500C7AD01F1135158B0
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Franck Masson
Content-Disposition: attachment; filename="vcard.vcf"
begin: vcard
fn: Franck Masson
n: ;Franck Masson
org: Brio Technology EMEA
adr;dom: Le capitol;;55 av. des champs Pierreux;Nanterre;92000;;
email;internet: franck.masson@brio.com
title: Sales Manager Northern Europe
tel;work: 33 1 55 69 36 00
tel;fax: 33 1 47 25 02 59
tel;home: Mobile : 33 6 84 80 17 05
x-mozilla-cpt: ;0
x-mozilla-html: FALSE
version: 2.1
end: vcard
--------------B76B1500C7AD01F1135158B0--
From owner-sqr-users@list.iex.net Wed Apr 4 09:24:02 2001
Date: Wed, 4 Apr 2001 10:20:06 -0400
From: "Weinstein, Bruce"
Subject: SQL statement issue
Can anyone tell me if it is OK to end a SQL statement with a ;(semi-colon).
We have following code...
BEGIN-SQL
COMMIT;
END-SQL
Is this OK to do in SQR?
Thanks..
.Bruce
Bruce Weinstein
E-Mail: bruceweinstein@canada.com
From owner-sqr-users@list.iex.net Wed Apr 4 09:31:28 2001
Date: Wed, 4 Apr 2001 10:28:01 -0400
From: Paul Hoyte
Subject: Re: SQL statement issue
Yes that will work just fine. It is used to actually trigger the execution
of the sql statement but is only needed if you have more that one sql
statement in a sql paragraph.....
Regards,
Paul Hoyte
Sharidionne, Inc.
(248) 559-6868
www.sharidionne.com
phoyte@sharidionne.com
-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Weinstein, Bruce
Sent: Wednesday, April 04, 2001 10:20 AM
To: SQR-USERS@list.iex.net
Subject: SQL statement issue
Can anyone tell me if it is OK to end a SQL statement with a ;(semi-colon).
We have following code...
BEGIN-SQL
COMMIT;
END-SQL
Is this OK to do in SQR?
Thanks..
.Bruce
Bruce Weinstein
E-Mail: bruceweinstein@canada.com
From owner-sqr-users@list.iex.net Wed Apr 4 09:36:05 2001
Date: Wed, 4 Apr 2001 10:28:29 -0400
From: "Johnson, Dan"
Subject: Re: SQL statement issue
You may actually need to semi-colons (not sure). However, if all you are
doing is a commit there is an SQR keyword that you can use anywhere outside
of a SQL block. The keyword is commit.
>>>>>>>>>Bruce sent
Sent: Wednesday, April 04, 2001 10:20 AM
To: SQR-USERS@list.iex.net
Subject: SQL statement issue
Can anyone tell me if it is OK to end a SQL statement with a ;(semi-colon).
We have following code...
BEGIN-SQL
COMMIT;
END-SQL
Is this OK to do in SQR?
Thanks..
.Bruce
Bruce Weinstein
E-Mail: bruceweinstein@canada.com
From owner-sqr-users@list.iex.net Wed Apr 4 09:33:13 2001
Date: Wed, 4 Apr 2001 09:30:50 -0500
From: "Cook, Andy"
Subject: Re: SQL statement issue
I have used the semicolon without any error, but I took it out and it seemed
to make no difference. I have only used it when inserting or selecting, not
when doing a commit. I do not know if this makes a difference. Hope this
helps.
-----Original Message-----
From: Weinstein, Bruce [mailto:bweinste@NRCAN.GC.CA]
Sent: Wednesday, April 04, 2001 9:20 AM
To: SQR-USERS@list.iex.net
Subject: SQL statement issue
Can anyone tell me if it is OK to end a SQL statement with a ;(semi-colon).
We have following code...
BEGIN-SQL
COMMIT;
END-SQL
Is this OK to do in SQR?
Thanks..
.Bruce
Bruce Weinstein
E-Mail: bruceweinstein@canada.com
************************************************************
Omaha World-Herald Company computer systems are for business use only.
This e-mail was scanned by MailSweeper
************************************************************
From owner-sqr-users@list.iex.net Wed Apr 4 09:39:46 2001
Date: Wed, 4 Apr 2001 10:34:32 -0400
From: Mike Morgan
Subject: Re: SQL statement issue
You would use this if you are 'stacking' SQL statements, i.e.; putting 2 or
more SQL statements in the same BEGIN-SQL procedure.
-----Original Message-----
From: Weinstein, Bruce [mailto:bweinste@NRCAN.GC.CA]
Sent: Wednesday, April 04, 2001 10:20 AM
To: SQR-USERS@list.iex.net
Subject: SQL statement issue
Can anyone tell me if it is OK to end a SQL statement with a ;(semi-colon).
We have following code...
BEGIN-SQL
COMMIT;
END-SQL
Is this OK to do in SQR?
Thanks..
.Bruce
Bruce Weinstein
E-Mail: bruceweinstein@canada.com
**************************************************************
NOTICE: The information contained in this e-mail is confidential and may be
privileged or otherwise protected from disclosure. This e-mail is intended
solely for the use of the named addressee. Please be aware that any other
use, printing, copying, disclosure or dissemination may be subject to legal
restriction. If you are not the intended recipient, please notify us
immediately by return e-mail to the sender.
From owner-sqr-users@list.iex.net Wed Apr 4 09:45:22 2001
Date: Wed, 4 Apr 2001 11:39:27 -0300
From: Peter Clark
Subject: Re: SQL statement issue
Hi Bruce,
>From the manual: "If a single paragraph contains more than one SQL statement, each statement *except the last* must be terminated by a semicolon." (emphasis mine)
This would seem to imply that your single line paragraph does not need a semicolon.
According the the last Cluster Departmental Technical Survey, you are an Oracle shop, so you could also get away with using a double semicolon ("For Oracle, PL/SQL is supported in a BEGIN-SQL paragraph. This requires an additional semicolon at the end of each PL/SQL statement.")
e.g.
BEGIN-SQL
COMMIT; ;
END-SQL
HTH,
Peter
>>> "Weinstein, Bruce" 2001/04/04 11:20:06 am >>>
Can anyone tell me if it is OK to end a SQL statement with a ;(semi-colon).
We have following code...
BEGIN-SQL
COMMIT;
END-SQL
Is this OK to do in SQR?
Thanks..
.Bruce
Bruce Weinstein
E-Mail: bruceweinstein@canada.com
From owner-sqr-users@list.iex.net Wed Apr 4 10:16:19 2001
Date: Wed, 4 Apr 2001 11:12:58 -0400
From: "Jamadagni, Rajendra"
Subject: Re: SQL statement issue
Me thinks that (at-least for oracle) if you enclose something in begin-sql
... end-sql one has to use TWO semicolons.
begin-sql
commit;;
end-sql
HTH
Raj
______________________________________________________
Rajendra Jamadagni MIS, ESPN Inc.
Rajendra dot Jamadagni at ESPN dot com
Any opinion expressed here is personal and doesn't reflect that of ESPN Inc.
QOTD: Any clod can have facts, but having an opinion is an art !
*********************************************************************
This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify ESPN at (860) 766-2000 and delete this e-mail message from your computer, Thank you.
*********************************************************************
From owner-sqr-users@list.iex.net Wed Apr 4 12:39:39 2001
Date: Wed, 4 Apr 2001 10:33:10 -0700
From: David Donnelly
Subject: Re: SQL statement issue
In some earlier versions of SQR (I don't remember how early, maybe v3), under Oracle,
using the COMMIT command within BEGIN-SQL would blow up. You had to use the separate SQR COMMIT command outside BEGIN-SQL. If you are having a problem with commit within begin-sql, try SQR command instead.
At 10:20 AM 4/4/2001 -0400, you wrote:
>Can anyone tell me if it is OK to end a SQL statement with a ;(semi-colon).
>
>We have following code...
>
>BEGIN-SQL
> COMMIT;
>END-SQL
>
>Is this OK to do in SQR?
>
>Thanks..
>
> .Bruce
>
>Bruce Weinstein
>E-Mail: bruceweinstein@canada.com
Dave Donnelly
ISIS BioComp phone (909) 677-2446 fax (781) 207-5533
From owner-sqr-users@list.iex.net Wed Apr 4 09:42:25 2001
Date: Wed, 4 Apr 2001 10:40:00 -0700
From: "Charles A. Harkness"
Subject: Re: SQL statement issue
Bruce,
Yes, you should use the semicolon as you would normally do with sql.
Chuck
At 10:20 AM 4/4/01 -0400, you wrote:
>Can anyone tell me if it is OK to end a SQL statement with a ;(semi-colon).
>
>We have following code...
>
>BEGIN-SQL
> COMMIT;
>END-SQL
>
>Is this OK to do in SQR?
>
>Thanks..
>
> .Bruce
>
>Bruce Weinstein
>E-Mail: bruceweinstein@canada.com
>
>
From owner-sqr-users@list.iex.net Wed Apr 4 10:01:53 2001
Date: Wed, 4 Apr 2001 16:51:00 +0200
From: LEBLANC Philippe FTC
Subject: =?ISO-8859-1?Q?R=E9p.=20:=20SQL=20statement=20issue?=
yes, it is. But you have also a commit command under SQR !
Cordialement, Philippe.
>>> "Weinstein, Bruce" 04/04/01 16h20 >>>
Can anyone tell me if it is OK to end a SQL statement with a ;(semi-colon).
We have following code...
BEGIN-SQL
COMMIT;
END-SQL
Is this OK to do in SQR?
Thanks..
.Bruce
Bruce Weinstein
E-Mail: bruceweinstein@canada.com
From owner-sqr-users@list.iex.net Wed Apr 4 22:26:45 2001
Date: Thu, 5 Apr 2001 13:22:32 +1000
From: Daniel Archibald
Subject: Selecting EMPLOYEE_PHOTO column of type LONG RAW using SQR
Hi,
I was just wondering if anyone has ever tried selecting a LONG RAW column
from an Oracle database using SQR.
The field EMPLOYEE_PHOTO is storing a BMP-File image, the image is displayed
on a PeopleSoft panel. When executing the SQL against the database to
select this column the following error is displayed:
ORA-00932: inconsistent datatypes
What I am trying to do is select the image from the database in the SQR and
then print it on a report. Any assistance on overcoming this problem would
be greatly appreciated.
Thanks in advance.
Regards,
Dan Archibald.
Environment:
Oracle 8.0.5.0.0
SQR V4.3.4
PeopleSoft 7.6
From owner-sqr-users@list.iex.net Thu Apr 5 06:05:08 2001
Date: Thu, 5 Apr 2001 12:56:52 +0200
From: Arnon Oppenheimer
Subject: From OpenIngres to Oracle
Hi,
I need to make a list of issues for a site that plan to move from =
CA-OpenIngres to Oracle.
Do you have some tips for us ? (about SQR of course ;-)
Thanks in advance.
Regards,
Arnon Oppenheimer
-------------------------------------------------------------------
SEMECH SOFTWARE MARKETING LTD.
TEL : (972) - 3 - 5333144
FAX : (972) - 3 - 5333132
Email: arnono@semech.co.il
-------------------------------------------------------------------
From owner-sqr-users@list.iex.net Thu Apr 5 13:46:28 2001
Date: Thu, 5 Apr 2001 09:58:57 -0700
From: David Donnelly
Subject: Re: From OpenIngres to Oracle
Hi Aaron,
First of all, be happy you don't have to go from Oracle to Ingres!
I have an extensive application that had to run both in Oracle and Ingres, but it evolved in the early 1990s. I generally found Ingres (version 2.28f) more restrictive than Oracle, and of course there are the semantic differences to be addressed, but in general there weren't any SQR issues. There were some things that did not work correctly with Ingres, notably determining the correct type when functions were used in selects, but since you are going FROM Ingres these issues should have already been ironed out.
Here are some of my notes:
Since Oracle converts datatypes more automatically than Ingres, you may find many type conversions you no longer need, but they are fine to keep.
The date processing in Ingres is much cleaner than Oracle; basically if it looks like a date, Ingres will convert it from char to date type. One odd thing: dates stored with times of midnight in Ingres are converted to character as if there were no time; Oracle will return a time of 00:00:00.
In Ingres, "where not exists" performs very poorly, but this is not true in Oracle.
In Ingres, there can be zero-length character strings. These are different from NULL. In Oracle, these would appear to be NULL. I'm not sure if this is true any more.
In Ingres, there is a maximum length of a line in a begin-select; I think it was 255, and SQR used to blow up if you exceeded it. I don't think this happens in Oracle.
Semantics:
char vs to_char
date vs to_date
date('now') or date('today') vs sysdate
lower vs lowercase
pad vs rpad
locate vs instr
+ vs ||
date_trunc vs date
INT4 (etc) vs floor
"as" in column aliasing vs none (doesn't affect SQR)
COPY from/to table not in Oracle
system catalog differences
updates with coordinated subqueries have vastly different syntax
Hardly anyone seems to use Ingres anymore; please feel free to email me if you have any questions.
Dave
At 12:56 PM 4/5/2001 +0200, you wrote:
>Hi,
>
>I need to make a list of issues for a site that plan to move from CA-OpenIngres to Oracle.
>Do you have some tips for us ? (about SQR of course ;-)
>
>Thanks in advance.
>
>Regards,
>Arnon Oppenheimer
> -------------------------------------------------------------------
>SEMECH SOFTWARE MARKETING LTD.
>TEL : (972) - 3 - 5333144
>FAX : (972) - 3 - 5333132
>Email: arnono@semech.co.il
>-------------------------------------------------------------------
Dave Donnelly
ISIS BioComp phone (909) 677-2446 fax (781) 207-5533
From owner-sqr-users@list.iex.net Thu Apr 5 08:58:12 2001
Date: Thu, 5 Apr 2001 09:55:41 -0400
From: "Wagner, Jennifer A"
Subject: SQL in SQR
I'm trying to create temp tables in my SQR program. It will allow me to
create one, but I can't seem to get it to create more than one. My ultimate
goal would be to have a a multi-module program where I select different
things from different tables and then insert them into the various temp
tables.
Do you know if you can create more than one temp table in a SQL paragraph in
SQR?
My temp table create statement looks like this:
begin-setup
page-size 56 132
BEGIN-SQL ON-ERROR=SKIP
CREATE TABLE PMCGEN_TEMP (GENERIC_NAME VARCHAR2(40))
TABLESPACE USER_ACCOUNTS
STORAGE
(INITIAL 5000K
NEXT 500K);
end-sql
end-setup
and the insert statement looks like this:
begin-procedure INSERT_TEMP
BEGIN-SQL
INSERT INTO PMCGEN_TEMP (GENERIC_NAME)
values (&GEN);
END-SQL
COMMIT
end-procedure
That works fine. But, I've tried to add another create table... and insert
into... and I get the message: "table for view does not exist" for the
second table.
Thanks,
Jenny
From owner-sqr-users@list.iex.net Thu Apr 5 09:45:26 2001
Date: Thu, 5 Apr 2001 09:41:59 -0500
From: the dragon
Subject: Re: SQL in SQR
show us the code you're attempting to use to create multiple tables.
clark 'the dragon' willis
dragon enterprises, consulting services
----Original Message Follows----
I'm trying to create temp tables in my SQR program. It will allow me to
create one, but I can't seem to get it to create more than one. My ultimate
goal would be to have a a multi-module program where I select different
things from different tables and then insert them into the various temp
tables.
Do you know if you can create more than one temp table in a SQL paragraph in
SQR?
My temp table create statement looks like this:
begin-setup
page-size 56 132
BEGIN-SQL ON-ERROR=SKIP
CREATE TABLE PMCGEN_TEMP (GENERIC_NAME VARCHAR2(40))
TABLESPACE USER_ACCOUNTS
STORAGE
(INITIAL 5000K
NEXT 500K);
end-sql
end-setup
and the insert statement looks like this:
begin-procedure INSERT_TEMP
BEGIN-SQL
INSERT INTO PMCGEN_TEMP (GENERIC_NAME)
values (&GEN);
END-SQL
COMMIT
end-procedure
That works fine. But, I've tried to add another create table... and insert
into... and I get the message: "table for view does not exist" for the
second table.
Thanks,
Jenny
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
From owner-sqr-users@list.iex.net Thu Apr 5 09:47:47 2001
Date: Thu, 5 Apr 2001 10:47:34 -0400
From: "Wagner, Jennifer A"
Subject: Re: SQL in SQR
Well, I've tried various and assorted things... this is the most recent one
I tried:
BEGIN-SQL ON-ERROR=SKIP
CREATE TABLE PMCGEN_TEMP (GENERIC_NAME VARCHAR2(40)),
create table pmcapp_temp (appl_type varchar2(1),
appl_no varchar2(6))
TABLESPACE USER_ACCOUNTS
STORAGE
(INITIAL 5000K
NEXT 500K);
end-sql
end-setup
I also tried it without the comma separating the two create tables and I
tried it with the semi-colon after the first table. Also I tried this:
BEGIN-SQL ON-ERROR=SKIP
CREATE TABLE PMCGEN_TEMP (GENERIC_NAME VARCHAR2(40))
TABLESPACE USER_ACCOUNTS
STORAGE
(INITIAL 5000K
NEXT 500K);
create table pmcapp_temp (appl_type varchar2(1),
appl_no varchar2(6))
TABLESPACE USER_ACCOUNTS
STORAGE
(INITIAL 5000K
NEXT 500K);
end-sql
Each time it seems to create the first but the second comes up with the
error: table or view does not exist when it goes to do the insert.
Thanks,
Jenny
> -----Original Message-----
> From: the dragon [mailto:ceprn@hotmail.com]
> Sent: Thursday, April 05, 2001 10:42 AM
> To: sqr-users@list.iex.net
> Cc: WAGNERJ@CDER.FDA.GOV
> Subject: Re: SQL in SQR
>
>
> show us the code you're attempting to use to create multiple tables.
>
> clark 'the dragon' willis
> dragon enterprises, consulting services
>
>
> ----Original Message Follows----
>
> I'm trying to create temp tables in my SQR program. It will
> allow me to
> create one, but I can't seem to get it to create more than
> one. My ultimate
> goal would be to have a a multi-module program where I select
> different
> things from different tables and then insert them into the
> various temp
> tables.
>
> Do you know if you can create more than one temp table in a
> SQL paragraph in
> SQR?
>
> My temp table create statement looks like this:
>
> begin-setup
> page-size 56 132
>
> BEGIN-SQL ON-ERROR=SKIP
>
> CREATE TABLE PMCGEN_TEMP (GENERIC_NAME VARCHAR2(40))
> TABLESPACE USER_ACCOUNTS
> STORAGE
> (INITIAL 5000K
> NEXT 500K);
> end-sql
> end-setup
>
> and the insert statement looks like this:
>
> begin-procedure INSERT_TEMP
> BEGIN-SQL
> INSERT INTO PMCGEN_TEMP (GENERIC_NAME)
> values (&GEN);
> END-SQL
> COMMIT
> end-procedure
>
>
> That works fine. But, I've tried to add another create
> table... and insert
> into... and I get the message: "table for view does not
> exist" for the
> second table.
>
>
> Thanks,
>
>
> Jenny
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
From owner-sqr-users@list.iex.net Thu Apr 5 09:54:10 2001
Date: Thu, 5 Apr 2001 10:50:34 -0400
From: "Jamadagni, Rajendra"
Subject: Re: SQL in SQR
Jennifer,
remove on-error=skip and see if second (and next one) create table throws
any error. I assume that you have sufficient space in the specified
tablespace.
HTH
Raj
______________________________________________________
Rajendra Jamadagni MIS, ESPN Inc.
Rajendra dot Jamadagni at ESPN dot com
Any opinion expressed here is personal and doesn't reflect that of ESPN Inc.
QOTD: Any clod can have facts, but having an opinion is an art !
*********************************************************************
This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify ESPN at (860) 766-2000 and delete this e-mail message from your computer, Thank you.
*********************************************************************
From owner-sqr-users@list.iex.net Thu Apr 5 09:56:38 2001
Date: Thu, 5 Apr 2001 10:56:17 -0400
From: "Wagner, Jennifer A"
Subject: Re: SQL in SQR
Thanks, Raj... No, I don't have sufficient space in the tablespace, as
that is the error I get! Hmmm... not sure how to do that. Thing is, I
don't even have those create writes...I'm using someone else's account to
run the program and was using her initial program (just tweaking it). I'll
have to see about that.
Thanks again
Jenny
> -----Original Message-----
> From: Jamadagni, Rajendra [mailto:rajendra.jamadagni@espn.com]
> Sent: Thursday, April 05, 2001 10:51 AM
> To: 'sqr-users@list.iex.net'; 'WAGNERJ@CDER.FDA.GOV'
> Subject: RE: SQL in SQR
>
>
> Jennifer,
>
> remove on-error=skip and see if second (and next one) create
> table throws
> any error. I assume that you have sufficient space in the specified
> tablespace.
>
> HTH
> Raj
> ______________________________________________________
> Rajendra Jamadagni MIS, ESPN Inc.
> Rajendra dot Jamadagni at ESPN dot com
> Any opinion expressed here is personal and doesn't reflect
> that of ESPN Inc.
>
> QOTD: Any clod can have facts, but having an opinion is an art !
>
> *********************************************************************
>
> This e-mail message is confidential, intended only for the
> named recipient(s) above and may contain information that is
> privileged, attorney work product or exempt from disclosure
> under applicable law. If you have received this message in
> error, or are not the named recipient(s), please immediately
> notify ESPN at (860) 766-2000 and delete this e-mail message
> from your computer, Thank you.
>
> *********************************************************************
>
>
From owner-sqr-users@list.iex.net Thu Apr 5 10:02:35 2001
Date: Thu, 5 Apr 2001 11:01:19 -0400
From: "Wagner, Jennifer A"
Subject: Re: SQL in SQR
It's working now... I cut the space requirements in half... I just don't
know if it will be enough space for all the temp tables I need to create...
so I may have to ask for more space or something. Thanks!!!
> -----Original Message-----
> From: Jamadagni, Rajendra [mailto:rajendra.jamadagni@espn.com]
> Sent: Thursday, April 05, 2001 10:51 AM
> To: 'sqr-users@list.iex.net'; 'WAGNERJ@CDER.FDA.GOV'
> Subject: RE: SQL in SQR
>
>
> Jennifer,
>
> remove on-error=skip and see if second (and next one) create
> table throws
> any error. I assume that you have sufficient space in the specified
> tablespace.
>
> HTH
> Raj
> ______________________________________________________
> Rajendra Jamadagni MIS, ESPN Inc.
> Rajendra dot Jamadagni at ESPN dot com
> Any opinion expressed here is personal and doesn't reflect
> that of ESPN Inc.
>
> QOTD: Any clod can have facts, but having an opinion is an art !
>
> *********************************************************************
>
> This e-mail message is confidential, intended only for the
> named recipient(s) above and may contain information that is
> privileged, attorney work product or exempt from disclosure
> under applicable law. If you have received this message in
> error, or are not the named recipient(s), please immediately
> notify ESPN at (860) 766-2000 and delete this e-mail message
> from your computer, Thank you.
>
> *********************************************************************
>
>
From owner-sqr-users@list.iex.net Thu Apr 5 10:40:31 2001
Date: Thu, 5 Apr 2001 11:35:49 -0400
From: ANDERSD2
Subject: Re: SQL in SQR
Are you sure you need to create TEMP tables? Would ARRAYS work with your
scenario?? ARRAYS are generally quicker than tables, require no
DBA/security clearance, and are temporary by nature.
-----Original Message-----
From: Wagner, Jennifer A [mailto:WAGNERJ@CDER.FDA.GOV]
Sent: Thursday, April 05, 2001 11:01 AM
To: SQR-USERS@list.iex.net
Subject: Re: SQL in SQR
It's working now... I cut the space requirements in half... I just don't
know if it will be enough space for all the temp tables I need to create...
so I may have to ask for more space or something. Thanks!!!
> -----Original Message-----
> From: Jamadagni, Rajendra [mailto:rajendra.jamadagni@espn.com]
> Sent: Thursday, April 05, 2001 10:51 AM
> To: 'sqr-users@list.iex.net'; 'WAGNERJ@CDER.FDA.GOV'
> Subject: RE: SQL in SQR
>
>
> Jennifer,
>
> remove on-error=skip and see if second (and next one) create
> table throws
> any error. I assume that you have sufficient space in the specified
> tablespace.
>
> HTH
> Raj
> ______________________________________________________
> Rajendra Jamadagni MIS, ESPN Inc.
> Rajendra dot Jamadagni at ESPN dot com
> Any opinion expressed here is personal and doesn't reflect
> that of ESPN Inc.
>
> QOTD: Any clod can have facts, but having an opinion is an art !
>
> *********************************************************************
>
> This e-mail message is confidential, intended only for the
> named recipient(s) above and may contain information that is
> privileged, attorney work product or exempt from disclosure
> under applicable law. If you have received this message in
> error, or are not the named recipient(s), please immediately
> notify ESPN at (860) 766-2000 and delete this e-mail message
> from your computer, Thank you.
>
> *********************************************************************
>
>
From owner-sqr-users@list.iex.net Thu Apr 5 10:49:30 2001
Date: Thu, 5 Apr 2001 11:42:01 -0400
From: "Jamadagni, Rajendra"
Subject: Re: SQL in SQR
IMHO
The drawback of arrays is also that you hace to specify an upper bound limit
and SQR will allocate that much of memory. So, arrays don't turn out to be
dynamically extendable and also I loose the wonderful DMLs facility on
arrays. I do believe arrays have their own place, but the flexibility
offered by TEMP tables is much much more to overlook the required
maintenance. Another drawback, arrays are linear ...
Cheers
Raj
______________________________________________________
Rajendra Jamadagni MIS, ESPN Inc.
Rajendra dot Jamadagni at ESPN dot com
Any opinion expressed here is personal and doesn't reflect that of ESPN Inc.
QOTD: Any clod can have facts, but having an opinion is an art !
-----Original Message-----
From: ANDERSD2 [mailto:ANDERSD2@OAKWOOD.ORG]
Sent: Thursday, April 05, 2001 11:36 AM
To: SQR-USERS@list.iex.net
Subject: Re: SQL in SQR
Are you sure you need to create TEMP tables? Would ARRAYS work with your
scenario?? ARRAYS are generally quicker than tables, require no
DBA/security clearance, and are temporary by nature.
*********************************************************************
This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify ESPN at (860) 766-2000 and delete this e-mail message from your computer, Thank you.
*********************************************************************
From owner-sqr-users@list.iex.net Thu Apr 5 09:14:24 2001
Date: Thu, 5 Apr 2001 16:08:48 +0200
From: LEBLANC Philippe FTC
Subject: =?ISO-8859-1?Q?R=E9p.=20:=20SQL=20in=20SQR?=
You can create several temp table by using several 'create table' orders
in a paragraph begin-select with ;; order separator like 'commit;;'.
Cordialement, Philippe.
>>> "Wagner, Jennifer A" 05/04/01 15h55 >>>
I'm trying to create temp tables in my SQR program. It will allow me to
create one, but I can't seem to get it to create more than one. My ultimate
goal would be to have a a multi-module program where I select different
things from different tables and then insert them into the various temp
tables.
Do you know if you can create more than one temp table in a SQL paragraph in
SQR?
My temp table create statement looks like this:
begin-setup
page-size 56 132
BEGIN-SQL ON-ERROR=SKIP
CREATE TABLE PMCGEN_TEMP (GENERIC_NAME VARCHAR2(40))
TABLESPACE USER_ACCOUNTS
STORAGE
(INITIAL 5000K
NEXT 500K);
end-sql
end-setup
and the insert statement looks like this:
begin-procedure INSERT_TEMP
BEGIN-SQL
INSERT INTO PMCGEN_TEMP (GENERIC_NAME)
values (&GEN);
END-SQL
COMMIT
end-procedure
That works fine. But, I've tried to add another create table... and insert
into... and I get the message: "table for view does not exist" for the
second table.
Thanks,
Jenny
From owner-sqr-users@list.iex.net Thu Apr 5 10:41:57 2001
Date: Thu, 5 Apr 2001 17:06:35 +0200
From: LEBLANC Philippe FTC
Subject: =?ISO-8859-1?Q?R=E9p.=20:=20Re:=20SQL=20in=20SQR?=
try using this;
BEGIN-SQL ON-ERROR=SKIP
CREATE TABLE PMCGEN_TEMP (GENERIC_NAME VARCHAR2(40))
TABLESPACE USER_ACCOUNTS
STORAGE
(INITIAL 5000K
NEXT 500K);;
create table pmcapp_temp (appl_type varchar2(1),
appl_no varchar2(6))
TABLESPACE USER_ACCOUNTS
STORAGE
(INITIAL 5000K
NEXT 500K);;
commit;;
end-sql
Cordialement, Philippe.
>>> "Wagner, Jennifer A" 05/04/01 16h47 >>>
Well, I've tried various and assorted things... this is the most recent one
I tried:
BEGIN-SQL ON-ERROR=SKIP
CREATE TABLE PMCGEN_TEMP (GENERIC_NAME VARCHAR2(40)),
create table pmcapp_temp (appl_type varchar2(1),
appl_no varchar2(6))
TABLESPACE USER_ACCOUNTS
STORAGE
(INITIAL 5000K
NEXT 500K);
end-sql
end-setup
I also tried it without the comma separating the two create tables and I
tried it with the semi-colon after the first table. Also I tried this:
BEGIN-SQL ON-ERROR=SKIP
CREATE TABLE PMCGEN_TEMP (GENERIC_NAME VARCHAR2(40))
TABLESPACE USER_ACCOUNTS
STORAGE
(INITIAL 5000K
NEXT 500K);
create table pmcapp_temp (appl_type varchar2(1),
appl_no varchar2(6))
TABLESPACE USER_ACCOUNTS
STORAGE
(INITIAL 5000K
NEXT 500K);
end-sql
Each time it seems to create the first but the second comes up with the
error: table or view does not exist when it goes to do the insert.
Thanks,
Jenny
> -----Original Message-----
> From: the dragon [mailto:ceprn@hotmail.com]
> Sent: Thursday, April 05, 2001 10:42 AM
> To: sqr-users@list.iex.net
> Cc: WAGNERJ@CDER.FDA.GOV
> Subject: Re: SQL in SQR
>
>
> show us the code you're attempting to use to create multiple tables.
>
> clark 'the dragon' willis
> dragon enterprises, consulting services
>
>
> ----Original Message Follows----
>
> I'm trying to create temp tables in my SQR program. It will
> allow me to
> create one, but I can't seem to get it to create more than
> one. My ultimate
> goal would be to have a a multi-module program where I select
> different
> things from different tables and then insert them into the
> various temp
> tables.
>
> Do you know if you can create more than one temp table in a
> SQL paragraph in
> SQR?
>
> My temp table create statement looks like this:
>
> begin-setup
> page-size 56 132
>
> BEGIN-SQL ON-ERROR=SKIP
>
> CREATE TABLE PMCGEN_TEMP (GENERIC_NAME VARCHAR2(40))
> TABLESPACE USER_ACCOUNTS
> STORAGE
> (INITIAL 5000K
> NEXT 500K);
> end-sql
> end-setup
>
> and the insert statement looks like this:
>
> begin-procedure INSERT_TEMP
> BEGIN-SQL
> INSERT INTO PMCGEN_TEMP (GENERIC_NAME)
> values (&GEN);
> END-SQL
> COMMIT
> end-procedure
>
>
> That works fine. But, I've tried to add another create
> table... and insert
> into... and I get the message: "table for view does not
> exist" for the
> second table.
>
>
> Thanks,
>
>
> Jenny
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
From owner-sqr-users@list.iex.net Thu Apr 5 10:56:19 2001
Date: Thu, 5 Apr 2001 11:44:29 -0400
From: "Jamadagni, Rajendra"
Subject: =?iso-8859-1?Q?RE=3A_R=E9p=2E_=3A_Re=3A_SQL_in_SQR?=
Philippe,
CREATE TABLE is a DDL and I believe in most RDBMS, DDL perform an implicit
COMMIT statement, so you don't actually need a commit for CREATE TABLE, and
even if you have, it won't do any good.
HTH
Raj
______________________________________________________
Rajendra Jamadagni MIS, ESPN Inc.
Rajendra dot Jamadagni at ESPN dot com
Any opinion expressed here is personal and doesn't reflect that of ESPN Inc.
QOTD: Any clod can have facts, but having an opinion is an art !
-----Original Message-----
From: LEBLANC Philippe FTC [mailto:p.leblanc@FRANCETELECOM.COM]
Sent: Thursday, April 05, 2001 11:07 AM
To: SQR-USERS@list.iex.net
Subject: Rép. : Re: SQL in SQR
try using this;
BEGIN-SQL ON-ERROR=SKIP
CREATE TABLE PMCGEN_TEMP (GENERIC_NAME VARCHAR2(40))
TABLESPACE USER_ACCOUNTS STORAGE
(INITIAL 5000K NEXT 500K);;
create table pmcapp_temp
(appl_type varchar2(1), appl_no varchar2(6))
TABLESPACE USER_ACCOUNTS STORAGE
(INITIAL 5000K NEXT 500K);;
commit;;
end-sql
*********************************************************************
This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify ESPN at (860) 766-2000 and delete this e-mail message from your computer, Thank you.
*********************************************************************
From owner-sqr-users@list.iex.net Thu Apr 5 10:29:25 2001
Date: Thu, 5 Apr 2001 15:22:54 -0000
From: Tejus Shah
Subject: Running Jobs in sequence in Broadcast server
Hi,
There are 5 jobs in broadcast server which I want to run in sequence one
after the other.
The second job should kick off as soon as the first job completion status
has changed from "RUNNING" to something else.
The Brio Repository is on SQL server and the jobs are connected to Oracle
databases.
Is there any way in Brio to achieve that??
The Data model option in Brio Query seems to be valid only if Repository and
Job databases are same.
Any help would be appreciated!!
Thanks and Regards
Tejus Shah
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From owner-sqr-users@list.iex.net Thu Apr 5 12:57:19 2001
Date: Thu, 5 Apr 2001 17:49:04 -0000
From: Tejus Shah
Subject: Re: Running Jobs in sequence in Broadcast server
Let me know how to unscribe from this list.
Thanks
Tejus Shah
>From: David Lyons
>Reply-To: sqr-users@list.iex.net
>To: "'Tejus Shah '"
>Subject: RE: Running Jobs in sequence in Broadcast server
>Date: Thu, 5 Apr 2001 09:02:02 -0700
>
> This list is an SQR/BrioReport user list. You may want to try joining
>the
>BrioQuery list on Yahoo clubs.
>
>-----Original Message-----
>From: Tejus Shah
>To: SQR-USERS@list.iex.net
>Sent: 4/5/01 8:22 AM
>Subject: Running Jobs in sequence in Broadcast server
>
>Hi,
>There are 5 jobs in broadcast server which I want to run in sequence one
>after the other.
>The second job should kick off as soon as the first job completion
>status
>has changed from "RUNNING" to something else.
>The Brio Repository is on SQL server and the jobs are connected to
>Oracle
>databases.
>Is there any way in Brio to achieve that??
>
>The Data model option in Brio Query seems to be valid only if Repository
>and
>Job databases are same.
>
>Any help would be appreciated!!
>
>Thanks and Regards
>Tejus Shah
>
>
>
>
>
>________________________________________________________________________
>_
>Get Your Private, Free E-mail from MSN Hotmail at
>http://www.hotmail.com.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From owner-sqr-users@list.iex.net Thu Apr 5 13:08:43 2001
Date: Thu, 5 Apr 2001 14:01:58 -0400
From: Rick_Creel@AONCONS.COM
Subject: Re: Running Jobs in sequence in Broadcast server
All you have to do is this:
Send a message to listserv@list.iex.net with the following in the body of
the message:
unsubscribe sqr-users
Tejus Shah on 04/05/2001 01:49:04 PM
Please respond to sqr-users@list.iex.net
To: SQR-USERS@list.iex.net
cc: (bcc: Rick Creel/IT/Aon Consulting)
Subject: Re: Running Jobs in sequence in Broadcast server
Let me know how to unscribe from this list.
Thanks
Tejus Shah
>From: David Lyons
>Reply-To: sqr-users@list.iex.net
>To: "'Tejus Shah '"
>Subject: RE: Running Jobs in sequence in Broadcast server
>Date: Thu, 5 Apr 2001 09:02:02 -0700
>
> This list is an SQR/BrioReport user list. You may want to try joining
>the
>BrioQuery list on Yahoo clubs.
>
>-----Original Message-----
>From: Tejus Shah
>To: SQR-USERS@list.iex.net
>Sent: 4/5/01 8:22 AM
>Subject: Running Jobs in sequence in Broadcast server
>
>Hi,
>There are 5 jobs in broadcast server which I want to run in sequence one
>after the other.
>The second job should kick off as soon as the first job completion
>status
>has changed from "RUNNING" to something else.
>The Brio Repository is on SQL server and the jobs are connected to
>Oracle
>databases.
>Is there any way in Brio to achieve that??
>
>The Data model option in Brio Query seems to be valid only if Repository
>and
>Job databases are same.
>
>Any help would be appreciated!!
>
>Thanks and Regards
>Tejus Shah
>
>
>
>
>
>________________________________________________________________________
>_
>Get Your Private, Free E-mail from MSN Hotmail at
>http://www.hotmail.com.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From owner-sqr-users@list.iex.net Thu Apr 5 10:53:48 2001
Date: Thu, 5 Apr 2001 12:45:48 -0300
From: Peter Clark
Subject: =?ISO-8859-1?Q?R=E9p.=20:=20Re:=20SQL=20in=20SQR?=
remembering, of course, that this (Phillipe's) syntax is only valid on Oracle.
>>> LEBLANC Philippe FTC 2001/04/05 12:06:35 pm >>>
try using this;
BEGIN-SQL ON-ERROR=SKIP
CREATE TABLE PMCGEN_TEMP (GENERIC_NAME VARCHAR2(40))
TABLESPACE USER_ACCOUNTS
STORAGE
(INITIAL 5000K
NEXT 500K);;
create table pmcapp_temp (appl_type varchar2(1),
appl_no varchar2(6))
TABLESPACE USER_ACCOUNTS
STORAGE
(INITIAL 5000K
NEXT 500K);;
commit;;
end-sql
Cordialement, Philippe.
>>> "Wagner, Jennifer A" 05/04/01 16h47 >>>
Well, I've tried various and assorted things... this is the most recent one
I tried:
BEGIN-SQL ON-ERROR=SKIP
CREATE TABLE PMCGEN_TEMP (GENERIC_NAME VARCHAR2(40)),
create table pmcapp_temp (appl_type varchar2(1),
appl_no varchar2(6))
TABLESPACE USER_ACCOUNTS
STORAGE
(INITIAL 5000K
NEXT 500K);
end-sql
end-setup
I also tried it without the comma separating the two create tables and I
tried it with the semi-colon after the first table. Also I tried this:
BEGIN-SQL ON-ERROR=SKIP
CREATE TABLE PMCGEN_TEMP (GENERIC_NAME VARCHAR2(40))
TABLESPACE USER_ACCOUNTS
STORAGE
(INITIAL 5000K
NEXT 500K);
create table pmcapp_temp (appl_type varchar2(1),
appl_no varchar2(6))
TABLESPACE USER_ACCOUNTS
STORAGE
(INITIAL 5000K
NEXT 500K);
end-sql
Each time it seems to create the first but the second comes up with the
error: table or view does not exist when it goes to do the insert.
Thanks,
Jenny
> -----Original Message-----
> From: the dragon [mailto:ceprn@hotmail.com]
> Sent: Thursday, April 05, 2001 10:42 AM
> To: sqr-users@list.iex.net
> Cc: WAGNERJ@CDER.FDA.GOV
> Subject: Re: SQL in SQR
>
>
> show us the code you're attempting to use to create multiple tables.
>
> clark 'the dragon' willis
> dragon enterprises, consulting services
>
>
> ----Original Message Follows----
>
> I'm trying to create temp tables in my SQR program. It will
> allow me to
> create one, but I can't seem to get it to create more than
> one. My ultimate
> goal would be to have a a multi-module program where I select
> different
> things from different tables and then insert them into the
> various temp
> tables.
>
> Do you know if you can create more than one temp table in a
> SQL paragraph in
> SQR?
>
> My temp table create statement looks like this:
>
> begin-setup
> page-size 56 132
>
> BEGIN-SQL ON-ERROR=SKIP
>
> CREATE TABLE PMCGEN_TEMP (GENERIC_NAME VARCHAR2(40))
> TABLESPACE USER_ACCOUNTS
> STORAGE
> (INITIAL 5000K
> NEXT 500K);
> end-sql
> end-setup
>
> and the insert statement looks like this:
>
> begin-procedure INSERT_TEMP
> BEGIN-SQL
> INSERT INTO PMCGEN_TEMP (GENERIC_NAME)
> values (&GEN);
> END-SQL
> COMMIT
> end-procedure
>
>
> That works fine. But, I've tried to add another create
> table... and insert
> into... and I get the message: "table for view does not
> exist" for the
> second table.
>
>
> Thanks,
>
>
> Jenny
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
From owner-sqr-users@list.iex.net Thu Apr 5 11:28:26 2001
Date: Thu, 5 Apr 2001 10:16:46 -0600
From: Richard McComb
Subject: Re: SQRWP printing - version 4.0.1 to version 4.3
I have the reports all specifying the HP printer option. I had tried
LinePrinter, but got even worse print results. It would only print
portrait format. With HP specified it switches based on the report.
THe reports also have alter-printer options in use. The headers are in
16pt, some text in the report is 10pt, most of the report is in 8pt. It
properly changes the font size, but not the font spacing.
Some of the data is numeric, that prints properly. The data that is alpha
is what prints strangely. I have both on the same line, the numbers print
as 8 pt and 16.6 CPI, but the characters (which are really the account
number, etc) print at 8pt and 10CPI. What I need is for the whole thing to
print at 16.6CPI.
The other thing that is weird is that the columns start in the correct
places. Here is the code I have for the printer
begin-setup
declare-printer hp_laser
type=HP
font=3
point-size=8
end-declare
declare-layout hp_default
paper-size=(11,8.5)
formfeed=NO
orientation=LANDSCAPE
left-margin=0.75
right-margin=0.25
top-margin=0.25
bottom-margin=0.25
end-declare
declare-report newmess
layout=hp_default
printer-type=hplaserjet
end-declare
end-setup
Then the page is laid out for where the columns should be:
begin-procedure initialize_vars
move 1 to #col1 !00 Status
move 4 to #col2 !00000 CSN
move 09 to #col3 !9999 Auto#
move 14 to #col4 !999999 SEQ#
move 19 to #col5 !xx-xx-xxxx tran date
move 27 to #col6 !xx:xx:xx tran time
move 35 to #col7 ! Personal
move 50 to #col8 ! Description
move 69 to #col9 !99,999,990.00 Credit
move 82 to #col10 !99,999,990.00 Debit
move 59 to #col11 ! Finish
move 'empty string' to $adj_reason
move 'YES' to $firsttime
end-procedure ! initialize_vars
The alter-printers look like this
alter-printer
point-size=8
The first four columns are properly spaced, columns 9 and 10 are properly
spaced.
All the data in between is spaced much too widely.
The spaces between columns are spaced too widely as well. (Example col1 and
col2 have a single space between them. This space is printing much wider
that a 16.6 CPI space). This is driving me crazy.
From owner-sqr-users@list.iex.net Thu Apr 5 11:49:54 2001
Date: Thu, 5 Apr 2001 11:44:30 -0500
From: Bob Helm
Subject: dateadd problem
I have a problem that should be easy to fix, but I'm stuck.
I simply want to add 2 months to a date. My code is as follows:
let $run_day = edit(Datenow(),'DD')
if $run_day != '05'
let $chart_for_date = dateadd(datenow(),'month',1)
print $chart_for_date (+1,1) edit 'Month YYYY'
else
let $chart_for_date = Datenow()
print $chart_for_date (+1,1) edit 'Month YYYY'
end-if
let $chart_thru_date = dateadd($chart_for_date,'month',2)
print $chart_thru_date (+1,1)
When I try to run I get the following error message:
Error on line 282:
(SQR 4045) Function or operator 'dateadd' requires date argument.
As you can see, if I use Datenow() for the date value, it works. Otherwise,
I get the error
and am having to write unnecessary lines of code.
Thanks a ton,
B
The Programmer formally known as Bob
Mediware Information Systems Inc.
(913) 307-1045
Bob.Helm@Mediware.com
From owner-sqr-users@list.iex.net Thu Apr 5 11:58:05 2001
Date: Thu, 5 Apr 2001 12:57:17 -0400
From: ANDERSD2
Subject: Re: dateadd problem
I'm not sure, but I think this is what is happening. The variable
$Chart_For_Date is set to Month YYYY. This is not a "valid" date format so
the code doesn't see the variable as a date.
-----Original Message-----
From: Bob Helm [mailto:Bob.Helm@MEDIWARE.COM]
Sent: Thursday, April 05, 2001 12:45 PM
To: SQR-USERS@list.iex.net
Subject: dateadd problem
I have a problem that should be easy to fix, but I'm stuck.
I simply want to add 2 months to a date. My code is as follows:
let $run_day = edit(Datenow(),'DD')
if $run_day != '05'
let $chart_for_date = dateadd(datenow(),'month',1)
print $chart_for_date (+1,1) edit 'Month YYYY'
else
let $chart_for_date = Datenow()
print $chart_for_date (+1,1) edit 'Month YYYY'
end-if
let $chart_thru_date = dateadd($chart_for_date,'month',2)
print $chart_thru_date (+1,1)
When I try to run I get the following error message:
Error on line 282:
(SQR 4045) Function or operator 'dateadd' requires date argument.
As you can see, if I use Datenow() for the date value, it works. Otherwise,
I get the error
and am having to write unnecessary lines of code.
Thanks a ton,
B
The Programmer formally known as Bob
Mediware Information Systems Inc.
(913) 307-1045
Bob.Helm@Mediware.com
From owner-sqr-users@list.iex.net Thu Apr 5 12:02:29 2001
Date: Thu, 5 Apr 2001 12:59:37 -0400
From: Rick_Creel@AONCONS.COM
Subject: Re: dateadd problem
You have to explicitly DECLARE your date variable as a date type item, otherwise
SQR assumes your variable to be of type = character and you will get the
"dateadd" error.
Put this at the top of your program and I think it will resolve your problem.
begin-setup
declare-variable
date $chart_for_date $chart_thru_date
end-declare
end-setup
When you do this, you might need to convert the date to a string (DATETOSTR)
before printing it.
Bob Helm on 04/05/2001 12:44:30 PM
Please respond to sqr-users@list.iex.net
To: SQR-USERS@list.iex.net
cc: (bcc: Rick Creel/IT/Aon Consulting)
Subject: dateadd problem
I have a problem that should be easy to fix, but I'm stuck.
I simply want to add 2 months to a date. My code is as follows:
let $run_day = edit(Datenow(),'DD')
if $run_day != '05'
let $chart_for_date = dateadd(datenow(),'month',1)
print $chart_for_date (+1,1) edit 'Month YYYY'
else
let $chart_for_date = Datenow()
print $chart_for_date (+1,1) edit 'Month YYYY'
end-if
let $chart_thru_date = dateadd($chart_for_date,'month',2)
print $chart_thru_date (+1,1)
When I try to run I get the following error message:
Error on line 282:
(SQR 4045) Function or operator 'dateadd' requires date argument.
As you can see, if I use Datenow() for the date value, it works. Otherwise,
I get the error
and am having to write unnecessary lines of code.
Thanks a ton,
B
The Programmer formally known as Bob
Mediware Information Systems Inc.
(913) 307-1045
Bob.Helm@Mediware.com
From owner-sqr-users@list.iex.net Thu Apr 5 12:08:58 2001
Date: Thu, 5 Apr 2001 11:01:57 -0600
From: Alan Lane
Subject: Re: dateadd problem
With release 4 they introduced a 'date' type. Define "$chart_for_date" as a
date and I think the function will probably work OK. Good luck.
Thanks,
Alan Lane
ajlane@carolina.rr.com
(704) 543-7270 or (704) 516-4463
www.AJLaneInc.com
FAX: (877) 877-4878 ext 3540 [follow verbal prompts]
-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Bob Helm
Sent: Thursday, April 05, 2001 10:45 AM
To: SQR-USERS@list.iex.net
Subject: dateadd problem
I have a problem that should be easy to fix, but I'm stuck.
I simply want to add 2 months to a date. My code is as follows:
let $run_day = edit(Datenow(),'DD')
if $run_day != '05'
let $chart_for_date = dateadd(datenow(),'month',1)
print $chart_for_date (+1,1) edit 'Month YYYY'
else
let $chart_for_date = Datenow()
print $chart_for_date (+1,1) edit 'Month YYYY'
end-if
let $chart_thru_date = dateadd($chart_for_date,'month',2)
print $chart_thru_date (+1,1)
When I try to run I get the following error message:
Error on line 282:
(SQR 4045) Function or operator 'dateadd' requires date argument.
As you can see, if I use Datenow() for the date value, it works. Otherwise,
I get the error
and am having to write unnecessary lines of code.
Thanks a ton,
B
The Programmer formally known as Bob
Mediware Information Systems Inc.
(913) 307-1045
Bob.Helm@Mediware.com
From owner-sqr-users@list.iex.net Thu Apr 5 12:37:33 2001
Date: Thu, 5 Apr 2001 12:27:12 -0500
From: Bob Helm
Subject: Re: dateadd problem
That was the problem...Thanks for all your help!
B
The Programmer formally known as Bob
Mediware Information Systems Inc.
(913) 307-1045
Bob.Helm@Mediware.com
-----Original Message-----
From: Joy Hoyte [mailto:JoyHoyte_sqr@hotmail.com]
Sent: Thursday, April 05, 2001 12:09 PM
To: Bob.Helm@MEDIWARE.COM
Subject: Re: dateadd problem
Just checking...you did declare $run_day, $chart_for_date, etc. all as date
variables, yes?
Joy Hoyte
----- Original Message -----
From: "Bob Helm"
To:
Sent: Thursday, April 05, 2001 12:44 PM
Subject: dateadd problem
> I have a problem that should be easy to fix, but I'm stuck.
>
> I simply want to add 2 months to a date. My code is as follows:
>
> let $run_day = edit(Datenow(),'DD')
> if $run_day != '05'
> let $chart_for_date = dateadd(datenow(),'month',1)
> print $chart_for_date (+1,1) edit 'Month YYYY'
> else
> let $chart_for_date = Datenow()
> print $chart_for_date (+1,1) edit 'Month YYYY'
> end-if
>
> let $chart_thru_date = dateadd($chart_for_date,'month',2)
> print $chart_thru_date (+1,1)
>
> When I try to run I get the following error message:
>
> Error on line 282:
> (SQR 4045) Function or operator 'dateadd' requires date argument.
>
> As you can see, if I use Datenow() for the date value, it works.
Otherwise,
> I get the error
> and am having to write unnecessary lines of code.
>
>
> Thanks a ton,
>
> B
> The Programmer formally known as Bob
> Mediware Information Systems Inc.
> (913) 307-1045
> Bob.Helm@Mediware.com
>
From owner-sqr-users@list.iex.net Thu Apr 5 14:35:56 2001
Date: Thu, 5 Apr 2001 15:28:25 -0400
From: Patty Bergin
Subject: Signed Numeric Edit
I am trying to work with a value from a file that I received from an outside source. It is defined as S9(5)v99. The value on the input file is 001158A. This should represent 115.81, however, I cannot figure out a way to edit the signed numeric field. Any advice?
Thanks.
Patty
Patricia Bergin
Information Systems
Syracuse University
(315) 443-9277
From owner-sqr-users@list.iex.net Thu Apr 5 15:34:14 2001
Date: Thu, 5 Apr 2001 16:24:26 -0400
From: Patty Bergin
Subject: Re: Signed Numeric Edit
Thanks...that did the trick!
Patricia Bergin
Information Systems
Syracuse University
(315) 443-9277
>>> tdelia@EROLS.COM 04/05/01 05:01PM >>>
Hi Patty,
I have a routine you can find on my site, www.sqrtools.com, that can
accept signed numeric data. There's also many utilities, techniques and
other functions as well. See the section under TDFUNC for the library of
functions...
let #W_in = '001158A'
do MFI-Func(#W_in, 2, #W_out)
show #W_out
The function returns 115.81
Cheers,
Tony DeLia
Patty Bergin wrote:
>
> I am trying to work with a value from a file that I received from an outside source. It is defined as S9(5)v99. The value on the input file is 001158A. This should represent 115.81, however, I cannot figure out a way to edit the signed numeric field. Any advice?
>
> Thanks.
> Patty
>
> Patricia Bergin
> Information Systems
> Syracuse University
> (315) 443-9277
--
Tony DeLia
AnswerThink Consulting Group
PeopleSoft Solutions Practice - Delphi Partners
tdelia@erols.com
http://www.sqrtools.com
From owner-sqr-users@list.iex.net Thu Apr 5 14:55:34 2001
Date: Thu, 5 Apr 2001 16:01:44 -0500
From: Tony DeLia
Subject: Re: Signed Numeric Edit
Hi Patty,
I have a routine you can find on my site, www.sqrtools.com, that can
accept signed numeric data. There's also many utilities, techniques and
other functions as well. See the section under TDFUNC for the library of
functions...
let #W_in = '001158A'
do MFI-Func(#W_in, 2, #W_out)
show #W_out
The function returns 115.81
Cheers,
Tony DeLia
Patty Bergin wrote:
>
> I am trying to work with a value from a file that I received from an outside source. It is defined as S9(5)v99. The value on the input file is 001158A. This should represent 115.81, however, I cannot figure out a way to edit the signed numeric field. Any advice?
>
> Thanks.
> Patty
>
> Patricia Bergin
> Information Systems
> Syracuse University
> (315) 443-9277
--
Tony DeLia
AnswerThink Consulting Group
PeopleSoft Solutions Practice - Delphi Partners
tdelia@erols.com
http://www.sqrtools.com
From owner-sqr-users@list.iex.net Thu Apr 5 20:42:39 2001
Date: Thu, 5 Apr 2001 21:29:04 -0400
From: a_moosa
Subject: eCRM Survey: Graduate Thesis
Role of Data Integration in eCRM.
I am a graduate student concentrating in Data Warehousing and data
mining. I am currently working on my capstone project which is a
research paper on the role of data integration in eCRM.
If you are a CRM Professional or CIO/CEO/CFO involved in an eCRM
initiative, please take 5 minutes to fill out this short survey. This is
a learning opportunity for me and I sincerely appreciate your time in
filling this out.If interested, I can send you a copy of the results.
Survey can be accessed at the link below:
http://isomnt.uncg.edu/a_moosa/survey/ecrm-survey.htm
Thanks,
Ashfaaq Moosa
ashfaaq@yahoo.com
From owner-sqr-users@list.iex.net Fri Apr 6 09:01:39 2001
Date: Fri, 6 Apr 2001 09:55:11 -0400
From: Scott Eubank
Subject: absolute value : not working whats up with that
code:
***************************************************************
let #Sum-Debits = abs(#Sum-Debits)
let #Sum-Credit = abs(#Sum-Credit)
show 'Sum Debits :' #Sum-Debits edit 9999999999.99
show 'Sum Crdits :' #Sum-Credits edit 9999999999.99
show ' H Debits :' $Debits
show ' H Credits :'$Credits
********************************************************************
end code
yeilds results:
----------------------------------------------------------------------
Sum Debits : 379434039.78
Sum Crdits :-379434039.78
H Debits : 379434039.78
H Credits : 379434039.78
---------------------------------------------------------------------
So whats up with the abs function if it does not work correctly. What am I
doing wrong here?
From owner-sqr-users@list.iex.net Fri Apr 6 09:08:02 2001
Date: Fri, 6 Apr 2001 10:05:05 -0400
From: "Combs, Shawn (Contractor)"
Subject: Re: absolute value : not working whats up with that
I might be missing something but...
Below you are letting #Sum-Credit(Singular) = abs(#Sum-Credit)
But you are Showing #Sum-Credits(Plural)
Check your code and make sure that you are using the same variable name through
out your code.
Thanks!
Shawn Combs, ULIT Soft, Inc.
Bus: 321-674-4683, Cell: 321-960-1008
Email: scombs@ulitsoft.com
-----Original Message-----
From: Scott Eubank [mailto:SEUBANK@advanceautoparts.com]
Sent: Friday, April 06, 2001 9:55 AM
To: SQR-USERS@list.iex.net
Subject: absolute value : not working whats up with that
code:
***************************************************************
let #Sum-Debits = abs(#Sum-Debits)
let #Sum-Credit = abs(#Sum-Credit)
show 'Sum Debits :' #Sum-Debits edit 9999999999.99
show 'Sum Crdits :' #Sum-Credits edit 9999999999.99
show ' H Debits :' $Debits
show ' H Credits :'$Credits
********************************************************************
end code
yeilds results:
----------------------------------------------------------------------
Sum Debits : 379434039.78
Sum Crdits :-379434039.78
H Debits : 379434039.78
H Credits : 379434039.78
---------------------------------------------------------------------
So whats up with the abs function if it does not work correctly. What am I
doing wrong here?
From owner-sqr-users@list.iex.net Fri Apr 6 09:21:12 2001
Date: Fri, 6 Apr 2001 10:16:13 -0400
From: Scott Eubank
Subject: Re: absolute value : not working whats up with that
DOH!!!!!
DAMN IT! I hate it that you dont have ot declare your varialbes
GOOD GREIF!
THANKS SHAWN.... You related to Puffy .. isnt his name Shawn Combs .
:)
Have a nice day floks
-----Original Message-----
From: Combs, Shawn (Contractor) [mailto:scombs@HARRIS.COM]
Sent: Friday, April 06, 2001 10:05 AM
To: SQR-USERS@list.iex.net
Subject: Re: absolute value : not working whats up with that
I might be missing something but...
Below you are letting #Sum-Credit(Singular) = abs(#Sum-Credit)
But you are Showing #Sum-Credits(Plural)
Check your code and make sure that you are using the same variable name
through
out your code.
Thanks!
Shawn Combs, ULIT Soft, Inc.
Bus: 321-674-4683, Cell: 321-960-1008
Email: scombs@ulitsoft.com
-----Original Message-----
From: Scott Eubank [mailto:SEUBANK@advanceautoparts.com]
Sent: Friday, April 06, 2001 9:55 AM
To: SQR-USERS@list.iex.net
Subject: absolute value : not working whats up with that
code:
***************************************************************
let #Sum-Debits = abs(#Sum-Debits)
let #Sum-Credit = abs(#Sum-Credit)
show 'Sum Debits :' #Sum-Debits edit 9999999999.99
show 'Sum Crdits :' #Sum-Credits edit 9999999999.99
show ' H Debits :' $Debits
show ' H Credits :'$Credits
********************************************************************
end code
yeilds results:
----------------------------------------------------------------------
Sum Debits : 379434039.78
Sum Crdits :-379434039.78
H Debits : 379434039.78
H Credits : 379434039.78
---------------------------------------------------------------------
So whats up with the abs function if it does not work correctly. What am I
doing wrong here?
From owner-sqr-users@list.iex.net Fri Apr 6 09:26:30 2001
Date: Fri, 6 Apr 2001 07:01:03 -0700
From: Rachael Beatty
Subject: Re: absolute value : not working whats up with that
--0__=vRMNBpHFHSk8Dg08yBUnZrnwnu6eDFDD4Xra7MuCigqeHH6eHYH5jOln
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Your abs function refers to sum-credit (no ending s), your display
statement refers to sum-credits (with s). Do you have the variable
sum-credits set higher up?
Rachael
> -----Original Message-----
> From: Scott Eubank @INTERNET
> Sent: Friday, April 06, 2001 6:55 AM
> To: SQR-USERS@list.iex.net
> Subject: absolute value : not working whats up with that
>
>
> code:
> ***************************************************************
> let #Sum-Debits = abs(#Sum-Debits)
> let #Sum-Credit = abs(#Sum-Credit)
>
>
>
> show 'Sum Debits :' #Sum-Debits edit 9999999999.99
> show 'Sum Crdits :' #Sum-Credits edit 9999999999.99
>
> show ' H Debits :' $Debits
> show ' H Credits :'$Credits
> ********************************************************************
> end code
>
> yeilds results:
> ----------------------------------------------------------------------
> Sum Debits : 379434039.78
> Sum Crdits :-379434039.78
> H Debits : 379434039.78
> H Credits : 379434039.78
> ---------------------------------------------------------------------
>
> So whats up with the abs function if it does not work correctly. What am
> I
> doing wrong here?
(See attached file: C.DTF)
--0__=vRMNBpHFHSk8Dg08yBUnZrnwnu6eDFDD4Xra7MuCigqeHH6eHYH5jOln
Content-type: application/octet-stream;
name="C.DTF"
Content-Disposition: attachment; filename="C.DTF"
Content-transfer-encoding: base64
eJ8+Ih0OAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQWAAwAOAAAA0QcEAAYABwABAAMABQDyAAEggAMADgAAANEHBAAG
AAcAAwAbAAUADAEBCYABACEAAAA4N0U4M0UxNjE1MjlENTExODg2QjAwMDYyOTE3QkYxOQDqBgEE
gAEANQAAAFJFOiBhYnNvbHV0ZSB2YWx1ZSA6ICBub3Qgd29ya2luZyB3aGF0cyB1cCB3aXRoIHRo
YXQAkhIBDYAEAAIAAAACAAIAAQOQBgDACgAAMwAAAAMAAW4AAAAAAwAAgAggBgAAAAAAwAAAAAAA
AEYAAAAAUoUAAH1uAQAeAAGACCAGAAAAAADAAAAAAAAARgAAAABUhQAAAQAAAAQAAAA5LjAACwAC
gAggBgAAAAAAwAAAAAAAAEYAAAAABoUAAAAAAAADAAOACCAGAAAAAADAAAAAAAAARgAAAAABhQAA
AAAAAAsABIAIIAYAAAAAAMAAAAAAAABGAAAAAAOFAAAAAAAACwAFgAggBgAAAAAAwAAAAAAAAEYA
AAAADoUAAAAAAAADAAaACCAGAAAAAADAAAAAAAAARgAAAAAQhQAAAAAAAAMAB4AIIAYAAAAAAMAA
AAAAAABGAAAAABGFAAAAAAAACwAPgAggBgAAAAAAwAAAAAAAAEYAAAAAFIUAAAAAAAADAAiACCAG
AAAAAADAAAAAAAAARgAAAAAYhQAAAAAAAAsAEYAIIAYAAAAAAMAAAAAAAABGAAAAAIKFAAABAAAA
AgEJEAEAAAC7AwAAtwMAABUHAABMWkZ1m7QUPQMACgByY3BnMTI1PjIA9AH3AqQD4wIAY2jBCsBz
ZXQwIAcTAoNjAFAPpnBycQ5QEBhUPGFoA3ECgxIhA2RUbdEEIFJtbgKDMwRHCFXNAoB9CoAIyCA7
CW8OMF41Fv8KYAKACoF2CJB30msLgGQ0DGBjAFALA5ZjAEELYG4OEDAzFOHVC8QgHDBZCGEgAaAE
IEBmdW5jdGkCICANGGBmBJAEIHRvIHNYdW0tBQAJgGkFQCg+bh4ACfAekBtQHhApLKwgeRxyHpBz
C1F5HhB5AZB0ZQeAAjAdfQogICseZAQhYhCQKAPwdGi1H3EuHDBEHgAfwSAQMNR2ZR3gaCRQdgrA
BzA/AmAkUB4oBCAQYSQQaWfjJIAFwHVwPwqiCoQKgHZSANAQMGUJUCb5CvRseGkzNgFAGvABQBHw
b/cgwB0gC9I0HDAbJSpwETRQMTYgLSvSTwUQZw8LgAdABdAHkHNhZ2U/K9Mm5inkKbELEynmaS0Y
MTQ0AUApMDE4MK8BQAzQL3MiIEYDYToDMBsMkiLRUwWgAkAgRXUCYgBwayA8U0VVAEJBTktAQURW
ATLAQ0VBVVRPUABBUlRTLkNPTQA+QElOVEVSTnxFVCqRJvQiIAZgAjA6szEmMMBpZCBgH6BBEfAZ
AxEwNh+gAdAwMSAsNjoYIBCgTTUHVG9BNddTUVItVTKAUixTQCkwIJAuCJB4Lu5uEHA1CDIQaioR
NdccsV0G8HUgwCShCkEgMQAgux7gBUB3BbAaAR9gdxAw/yKRJrA9wCMiIzAgsCgcLf8zKhIpNHNs
KnBB4m11ZmwuQRs+XG87kCCwdPBwaFwnDAETgiphJuXvGvASIRThK5A4IjAEcTXQ/SbzKkcfSC9J
P0n5JuQcMBslEAVAIztwHkBEZWJVIoI9HKIoS8kpSw9D/x50TIlOtE2VUE9LUR4QEwCdB+AnS9Ej
oEwkOidLu+sfAB6SOVRXLlRQUW9ScP9OsCJzUwZOtAQgVA9VFVUt7CBIUoZS8iRMFFlPVkH7ImRT
ACRXRUa/Xs9f32DvT0qqHxFGUybqeWUDEGTvBCAYYB4gQqBzRqUr02WfH2avZ79orCbkUlogMzco
OTQzL5AzVOA3OOtpuFZWLWrvClpJHDFuov9s323hXKdur2uGaK9zf3SP/3WfLWdp0x4APl4kUBy7
BpBzeZAFQGRvB5E9lkZRctMYYB0gbHkjgVc+YRyg/VJwSSbkegA+EwNgH1EmcRZlJtUWEQB+QAAe
AHAAAQAAADEAAABhYnNvbHV0ZSB2YWx1ZSA6ICBub3Qgd29ya2luZyB3aGF0cyB1cCB3aXRoIHRo
YXQAAAAAAgFxAAEAAAAbAAAAAcC+ooDPF5AgimxrQhG33I8Aa6WN5wAALiZwAAMALgAAAAAACwAC
AAEAAAACATEAAQAAADkBAABQQ0RGRUIwOQABAAIAcwAAAAAAAAA4obsQBeUQGqG7CAArKlbCAABF
TVNNREIuRExMAAAAAAAAAAAbVfogqmYRzZvIAKoAL8RaDAAAAExBU0lTTVhTMDEAL289SGlsdG9u
L291PUxBU0lTL2NuPVJlY2lwaWVudHMvY249cmJlYXR0eQAuAAAAAAAAAL2giI/oQ9QRiF0ABikX
vxkBAO8DZiv9P9QRiFcABKxMcKMAAAAARocAAAAAAAAuAAAAAAAAAL2giI/oQ9QRiF0ABikXvxkB
AO8DZiv9P9QRiFcABKxMcKMAAAAARogAABAAAACH6D4WFSnVEYhrAAYpF78ZNQAAAFJFOiBhYnNv
bHV0ZSB2YWx1ZSA6ICBub3Qgd29ya2luZyB3aGF0cyB1cCB3aXRoIHRoYXQAAAAAAwAJWQMAAAAe
AEIQAQAAAEsAAAA8MTYzRUMzRTA2NEFFNDA0MTkyNDA1RDVGMDQ5RDZGNTMwMUZGOTVDNkBoaGNk
Y214czAyLmhvdGVscy5hZC5oaWx0b24uY29tPgAAAwDeP69vAABAADkAcP6RBKK+wAEDAPE/CQQA
AB4AMUABAAAACAAAAFJCRUFUVFkAAwAaQAAAAAAeADBAAQAAAAgAAABSQkVBVFRZAAMAGUAAAAAA
AwAmAAAAAAADADYAAAAAAAMA/T/kBAAAAwCAEP////8CAUcAAQAAADIAAABjPVVTO2E9IDtwPUhp
bHRvbjtsPUxBU0lTTVhTMDEtMDEwNDA2MTQwMTAzWi0xNzM5AAAAAgH5PwEAAABIAAAAAAAAANyn
QMjAQhAatLkIACsv4YIBAAAAAAAAAC9PPUhJTFRPTi9PVT1MQVNJUy9DTj1SRUNJUElFTlRTL0NO
PVJCRUFUVFkAHgD4PwEAAAAPAAAAUmFjaGFlbCBCZWF0dHkAAB4AOEABAAAACAAAAFJCRUFUVFkA
AgH7PwEAAABIAAAAAAAAANynQMjAQhAatLkIACsv4YIBAAAAAAAAAC9PPUhJTFRPTi9PVT1MQVNJ
Uy9DTj1SRUNJUElFTlRTL0NOPVJCRUFUVFkAHgD6PwEAAAAPAAAAUmFjaGFlbCBCZWF0dHkAAB4A
OUABAAAACAAAAFJCRUFUVFkAQAAHMCZ8ptWhvsABQAAIMGDSbVqivsABHgA9AAEAAAAFAAAAUkU6
IAAAAAAeAB0OAQAAADEAAABhYnNvbHV0ZSB2YWx1ZSA6ICBub3Qgd29ya2luZyB3aGF0cyB1cCB3
aXRoIHRoYXQAAAAAHgA1EAEAAAA/AAAAPEVGMDM2NjJCRkQzRkQ0MTE4ODU3MDAwNEFDNEM3MEEz
M0U0OTg2QGxhc2lzbXhzMDEuaGlsdG9uLmNvbT4AAAsAKQABAAAACwAjAAEAAAADAAYQR247WwMA
BxC7AwAAAwAQEAAAAAADABEQAAAAAB4ACBABAAAAZQAAAFlPVVJBQlNGVU5DVElPTlJFRkVSU1RP
U1VNLUNSRURJVChOT0VORElOR1MpLFlPVVJESVNQTEFZU1RBVEVNRU5UUkVGRVJTVE9TVU0tQ1JF
RElUUyhXSVRIUylET1lPVUhBVkUAAAAAAgF/AAEAAAA/AAAAPEVGMDM2NjJCRkQzRkQ0MTE4ODU3
MDAwNEFDNEM3MEEzM0U0OTg2QGxhc2lzbXhzMDEuaGlsdG9uLmNvbT4AAFuXAgKQBgAOAAAAAgCN
AQAA/////wAAAACMBAIQgAEAFAAAAFVudGl0bGVkIEF0dGFjaG1lbnQAcgcCEoADAA4AAADRBwQA
BgAHAAEAAgAFAPEAAhOAAwAOAAAA0QcEAAYABwABAAIABQDxAAIFkAYAzA4AAA0AAAADACEOAAAA
AAMACzeNAQAAAwAgDk4OAAADAPcPAAAAAAIBEGgBAAAADgAAAAAAAAAAAAAAAAAAAAAAAABAAAcw
AMvvA6K+wAFAAAgwAMvvA6K+wAEDAAU3BgAAAAIBAjcBAAAAAAAAAB4AATABAAAAAQAAAAAAAAAC
AQo3AQAAAAsAAAAqhkiG9xQDCgMCAQACAfkPAQAAABAAAAA387fTkSrVEbqjAASsTKV3DQABNwEA
AAAQDgAACwAAAAAAAADAAAAAAAAARtDPEeChsRrhAAAAAAAAAAAAAAAAAAAAAD4AAwD+/wkABgAA
AAAAAAAAAAAAAQAAAAEAAAAAAAAAABAAAAIAAAABAAAA/v///wAAAAAAAAAA////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
/////////////////////////////f///wQAAAD+////BQAAAP7////+////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
//////////////////////////9SAG8AbwB0ACAARQBuAHQAcgB5AAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFgAFAP//////////AgAAABYDAAAAAAAAwAAAAAAA
AEYAAAAAAAAAAAAAAAAAdLRno77AAQMAAABAAgAAAAAAAAEATwBsAGUAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAIB////////////////
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAQwBPAE4AVABF
AE4AVABTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABIA
AgEBAAAAAwAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAXgEA
AAAAAAADAE0AYQBpAGwAUwB0AHIAZQBhAG0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAGAACAf////8EAAAA/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAcAAAAMAAAAAAAAAP7///8CAAAAAwAAAAQAAAAFAAAABgAAAP7////+/////v//////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////AQAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEJNXgEAAAAAAAAAAAAAKAAAADkCAAAEAAAAAQABAAAA
AAAgAQAAxA4AAMQOAAAAAAAAAAAAAAAAAAD///8A////////////////////////////////////
//////////////////////////////////////////////////////////+AAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAGA////////////////////////////////////////////////////
//////////////////////////////////////////+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAEAAADPOgAAagAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAABSAGkAYwBoAEUAZABpAHQARgBsAGEAZwBzAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAACAP///////////////wAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////////////////AAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/
//////////////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAP///////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAEAAEAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAJ7E=
--0__=vRMNBpHFHSk8Dg08yBUnZrnwnu6eDFDD4Xra7MuCigqeHH6eHYH5jOln--
From owner-sqr-users@list.iex.net Fri Apr 6 09:27:42 2001
Date: Fri, 6 Apr 2001 14:25:14 -0000
From: Elvis Pressly
Subject: Re: absolute value : not working whats up with that
scott,
You are showing two different kind of apples. One is numeric and
the other is character type. Try using the mi mask in $Credits
like.......... SHOW 'Credits ' $Credits 999999999.99mi
If this wont work, then convert $credits into a numeric var.
>From: Scott Eubank
>Reply-To: sqr-users@list.iex.net
>To: SQR-USERS@list.iex.net
>Subject: absolute value : not working whats up with that
>Date: Fri, 6 Apr 2001 09:55:11 -0400
>
>code:
>***************************************************************
> let #Sum-Debits = abs(#Sum-Debits)
> let #Sum-Credit = abs(#Sum-Credit)
>
>
>
> show 'Sum Debits :' #Sum-Debits edit 9999999999.99
> show 'Sum Crdits :' #Sum-Credits edit 9999999999.99
>
> show ' H Debits :' $Debits
> show ' H Credits :'$Credits
>********************************************************************
>end code
>
>yeilds results:
>----------------------------------------------------------------------
>Sum Debits : 379434039.78
>Sum Crdits :-379434039.78
>H Debits : 379434039.78
>H Credits : 379434039.78
>---------------------------------------------------------------------
>
>So whats up with the abs function if it does not work correctly. What am I
>doing wrong here?
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
From owner-sqr-users@list.iex.net Sun Apr 8 20:37:37 2001
Date: Sun, 8 Apr 2001 18:34:18 -0700
From: Nicolas Moscaritolo
Subject: MANY questions about SQR / Portal
If you can point me in the right direction on ANY of these items, that would
be great.
1. How can I hide the SPF file in the Portal. Currently, (by default), when
an SQR job runs, it displays the HTML and the SPF.
2. PDF and fonts. I created an SQR program to produce a simple report. When
I also had the SQR create a PDF, the fonts I had in the HTML did NOT show up
in the PDF. Any ideas.
3. Using SQL Server and SQR 6.0, I could not get the LEFT JOIN to work. The
client said that SQL Server takes ANSI SQL and therefore SQR is expected to.
I am used to Oracle so the only join clause I've seen is Oracle style.
4. I tried to execute a SQL Server Stored Procedure using SQR 6.0. When I
did (either through ReportBuilder or SQR Server), Dr. Watson paid a visit
and it blew up.
5. Essbase and Oracle. What does the code look like. I assume that we would
use DDO. A sample program would be great !!!!!
6. Creating an HTML doc from SQR 6.1.3, I coded links and anchor within SQR.
When I click to link to an anchor and then click another link to go back to
the top (and anchor), the VCR controls in the top HTML frame are gone. How
do I get them back?
7. I would like HTML output. The layout has a number within a box. The
number needs to be centered within the box and the box needs to be a
standard width (not the width of the number). It seems that doing this with
the HTML SQR tags is the only solution. Any other ideas?
8. CHARTS with color. I created a chart in SQR with a legend. Using the
Create Pallete command, I created many colors to represent each bar within
my graph. The legend came out fine with the proper colors but the bars in
the graph all came out red. Any ideas?
Enough question for now. Thanks for your attention to these issues.
I will be working on these issues and would appreciate ANY feedback on ANY
issues and/or SAMPLE CODE. I will re-publish the answers once I solve each
for everyones benefit.
Thanks
Nick Moscaritolo
Brio Technology
Systems Consultant
15 Crestwood Drive
Ashland, MA 01721
(617) 823-6783
From owner-sqr-users@list.iex.net Tue Apr 10 08:27:48 2001
Date: Tue, 10 Apr 2001 09:25:37 -0400
From: Paul Hoyte
Subject: Re: MANY questions about SQR / Portal
Lets give this a shot....
1. I don't know of a way to hide or suppress the production of the SPF file
in the portal. We tried to do this a a class recently and found that the
Portal JF is defaulting to using the -keep parameter which will
automatically produce the spf file. Would have to change portal internally
to keep the spf from being produced.
2. If you do not have the PDF fonts defined in the SQR.ini file with the
same font number as the HTML section, then you will get the default PDF font
which if I remember correctly is Courier.
3. Just completed an assignment using SQL Server7 and Sqr 6 and it worked
fine. Use the *= or =* to indicated the left or right outer joins. EG And
PERSEXTRNL.RELATION_CD *= CODESET.ID. Can't use the same table however in a
join to another.
4. Dr. Watson appearances require a little more research with a lot more
information. One thing to look at is to make sure that you are authorized
to execute the procedure.
5. The DDO interface is the way to connect to Essbase. Don't have a sample
program handy but you might want to check with the developers at your home
office for some pointers....
7. Another idea is to make a gif file for the square and then use the
precision printing to position the square and them print the number inside
of the square.
That's all for now.....
Paul Hoyte
Sharidionne, Inc.
(248) 559-6868
www.sharidionne.com
phoyte@sharidionne.com
-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Nicolas Moscaritolo
Sent: Sunday, April 08, 2001 9:34 PM
To: SQR-USERS@list.iex.net
Subject: MANY questions about SQR / Portal
If you can point me in the right direction on ANY of these items, that would
be great.
1. How can I hide the SPF file in the Portal. Currently, (by default), when
an SQR job runs, it displays the HTML and the SPF.
2. PDF and fonts. I created an SQR program to produce a simple report. When
I also had the SQR create a PDF, the fonts I had in the HTML did NOT show up
in the PDF. Any ideas.
3. Using SQL Server and SQR 6.0, I could not get the LEFT JOIN to work. The
client said that SQL Server takes ANSI SQL and therefore SQR is expected to.
I am used to Oracle so the only join clause I've seen is Oracle style.
4. I tried to execute a SQL Server Stored Procedure using SQR 6.0. When I
did (either through ReportBuilder or SQR Server), Dr. Watson paid a visit
and it blew up.
5. Essbase and Oracle. What does the code look like. I assume that we would
use DDO. A sample program would be great !!!!!
6. Creating an HTML doc from SQR 6.1.3, I coded links and anchor within SQR.
When I click to link to an anchor and then click another link to go back to
the top (and anchor), the VCR controls in the top HTML frame are gone. How
do I get them back?
7. I would like HTML output. The layout has a number within a box. The
number needs to be centered within the box and the box needs to be a
standard width (not the width of the number). It seems that doing this with
the HTML SQR tags is the only solution. Any other ideas?
8. CHARTS with color. I created a chart in SQR with a legend. Using the
Create Pallete command, I created many colors to represent each bar within
my graph. The legend came out fine with the proper colors but the bars in
the graph all came out red. Any ideas?
Enough question for now. Thanks for your attention to these issues.
I will be working on these issues and would appreciate ANY feedback on ANY
issues and/or SAMPLE CODE. I will re-publish the answers once I solve each
for everyones benefit.
Thanks
Nick Moscaritolo
Brio Technology
Systems Consultant
15 Crestwood Drive
Ashland, MA 01721
(617) 823-6783
From owner-sqr-users@list.iex.net Mon Apr 9 08:22:17 2001
Date: Mon, 9 Apr 2001 10:04:11 -0300
From: Peter Clark
Subject: Re: strike through characters
The answer depends on the character set you are using. You might find the answer at this site (I did note that there is a Ř in the MS Windows set which may work for you):
http://www.jimprice.com/jim-asc.htm
HTH,
Peter
>>> "Charles A. Harkness" 2001/04/09 12:48:13 pm >>>
Hello,
I've been searching the SQR database and my book "SQR in Peoplesoft" and
I have not found a way to print strike through characters. I am mainly
interested in having a slash through the number zero, to differentiate it
from the letter O. Does anyone have any ideas on how to do this.
Thank you,
Chuck
From owner-sqr-users@list.iex.net Mon Apr 9 09:06:51 2001
Date: Mon, 9 Apr 2001 09:35:45 -0400
From: Philippe Godin
Subject: Error Management
Good day,
I was wondering if SQR got some sort of error management. I would like
to catch all errors that are produce within the execution of a report. To
give you an example, let's pretend I'm using an input to get a date from the
user. Instead of validating if the date correspond to our edit-mask or if it
is valid, I would like to catch the error it produce on execution and
associate this with a procedure that would do some some of processing.
Giving the wrong date format produces that error:
(SQR 5528) ODBC SQL dbexec: SQLExecute error 317 in cursor 1:
[INTERSOLV][ODBC SQLBase driver][SQLBase]00317 EXE DND Data is not a date
Error on line 242:
(SQR 3723) Problem executing cursor.
SQRT: Program Aborting.
Does anyone can help... (SQR/4.0.3/PC/WINDOWS NT 4.0/ODBC Level1/Jun 11
1997)
Philippe Godin
CiM Maintenance Inc.
Philippe.Godin@videotron.ca
From owner-sqr-users@list.iex.net Mon Apr 9 09:59:36 2001
Date: Mon, 9 Apr 2001 15:52:50 +0100
From: =?iso-8859-1?q?Hari=20Haran?=
Subject: Appln Messg - PT 8.11 - FileLayout & Comp.Intfc
Hi friends,
I need some help.
1. Is it necessary for me to convert a generic xml
into predefined xml format before subscribing from
peoplesoft or can we use an xml file layout for our
specifc xml.
2. Can we use Component Interface to do Inbound Data
Validations or should it be done in PeopleCode.
Thanking you in advance.
Hari.
____________________________________________________________
Do You Yahoo!?
For regular News updates go to http://in.news.yahoo.com
From owner-sqr-users@list.iex.net Mon Apr 9 10:17:31 2001
Date: Mon, 9 Apr 2001 12:12:17 -0300
From: Peter Clark
Subject: Re: Appln Messg - PT 8.11 - FileLayout & Comp.Intfc
Wrong mail list, Hari. Try PeopleSoft-Fans.
>>> Hari Haran 2001/04/09 11:52:50 am >>>
Hi friends,
I need some help.
1. Is it necessary for me to convert a generic xml
into predefined xml format before subscribing from
peoplesoft or can we use an xml file layout for our
specifc xml.
2. Can we use Component Interface to do Inbound Data
Validations or should it be done in PeopleCode.
Thanking you in advance.
Hari.
____________________________________________________________
Do You Yahoo!?
For regular News updates go to http://in.news.yahoo.com
From owner-sqr-users@list.iex.net Mon Apr 9 10:24:48 2001
Date: Mon, 9 Apr 2001 11:22:05 -0400
From: "Love, Kristin"
Subject: Keeping lines together: wrap
Is there an option for WRAP which tells the computer not to split the WRAP
text between lines?
Or do I have to do some sort of math with the maximum wrap depth?
Kristin Love
Management Science Associates
Pittsburgh, PA
From owner-sqr-users@list.iex.net Mon Apr 9 14:02:07 2001
Date: Mon, 9 Apr 2001 13:56:11 -0500
From: Don Mellen
Subject: Re: Keeping lines together: wrap
On Mon, 9 Apr 2001, Love, Kristin wrote:
> Is there an option for WRAP which tells the computer not to split the WRAP
> text between lines?
>
> Or do I have to do some sort of math with the maximum wrap depth?
I'm assuming you meant to ask if their was a way to prevent Wrap from
splitting between *pages*. For that, you do need to use WrapDepth() and
either calc where you are on the page, or (much easier) use "next-listing"
with the "need=nn" option.
HTH,
-----------------------------------------------------------------------
Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/
donm@ontko.com | "In the beginning, there was nothing, which exploded"
From owner-sqr-users@list.iex.net Mon Apr 9 14:22:01 2001
Date: Mon, 9 Apr 2001 15:12:52 -0400
From: "Love, Kristin"
Subject: Re: Keeping lines together: wrap
Yes, sorry about the mistype.
next-listing need=nn is what I was trying to remember.
> -----Original Message-----
> From: Don Mellen [SMTP:donm@ONTKO.COM]
> Sent: Monday, April 09, 2001 2:56 PM
> To: SQR-USERS@list.iex.net
> Subject: Re: Keeping lines together: wrap
>
> On Mon, 9 Apr 2001, Love, Kristin wrote:
>
> > Is there an option for WRAP which tells the computer not to split the
> WRAP
> > text between lines?
> >
> > Or do I have to do some sort of math with the maximum wrap depth?
>
> I'm assuming you meant to ask if their was a way to prevent Wrap from
> splitting between *pages*. For that, you do need to use WrapDepth() and
> either calc where you are on the page, or (much easier) use "next-listing"
> with the "need=nn" option.
>
> HTH,
> -----------------------------------------------------------------------
> Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/
> donm@ontko.com | "In the beginning, there was nothing, which exploded"
From owner-sqr-users@list.iex.net Mon Apr 9 13:42:41 2001
Date: Mon, 9 Apr 2001 14:39:05 -0700
From: "Charles A. Harkness"
Subject: Re: Keeping lines together: wrap
Kristin,
I think the point of the of WRAP, is to wrap a line to another line. The
example in the book is:
Print $Comments (1,1) Wrap 15,3
Which prints the value of $Comments in several lines, 15 character per
line for a maximum of 3 lines.
Chuck
At 11:22 AM 4/9/01 -0400, you wrote:
>Is there an option for WRAP which tells the computer not to split the WRAP
>text between lines?
>
>Or do I have to do some sort of math with the maximum wrap depth?
>
>Kristin Love
>Management Science Associates
>Pittsburgh, PA
>
>
From owner-sqr-users@list.iex.net Mon Apr 9 08:12:49 2001
Date: Mon, 9 Apr 2001 08:48:13 -0700
From: "Charles A. Harkness"
Subject: strike through characters
Hello,
I've been searching the SQR database and my book "SQR in Peoplesoft" and
I have not found a way to print strike through characters. I am mainly
interested in having a slash through the number zero, to differentiate it
from the letter O. Does anyone have any ideas on how to do this.
Thank you,
Chuck
From owner-sqr-users@list.iex.net Mon Apr 9 10:19:10 2001
Date: Mon, 9 Apr 2001 11:13:21 -0700
From: "Charles A. Harkness"
Subject: Re: strike through characters
Peter,
Thanks, I have tried playing with the sqr since you sent me this email.
I was using the ascii function and I am only able to get results on the
first character of the string. I'm still working on it.
Chuck
At 10:04 AM 4/9/01 -0300, you wrote:
>The answer depends on the character set you are using. You might find the
answer at this site (I did note that there is a Ř in the MS Windows set
which may work for you):
>http://www.jimprice.com/jim-asc.htm
>
>HTH,
>Peter
>
>>>> "Charles A. Harkness" 2001/04/09 12:48:13
pm >>>
>Hello,
> I've been searching the SQR database and my book "SQR in Peoplesoft" and
>I have not found a way to print strike through characters. I am mainly
>interested in having a slash through the number zero, to differentiate it
>from the letter O. Does anyone have any ideas on how to do this.
>
>Thank you,
> Chuck
>
>
From owner-sqr-users@list.iex.net Mon Apr 9 17:28:26 2001
Date: Mon, 9 Apr 2001 15:22:25 -0700
From: Carolyn Woods
Subject: Call to a COBOL program from an SQR
We are trying to figure out how to call a COBOL program from inside an SQR,
has anyone done this?
Thanks,
Carolyn Woods
MiraCosta College
Oceanside, CA
From owner-sqr-users@list.iex.net Thu Apr 12 12:50:14 2001
Date: Thu, 12 Apr 2001 13:47:20 -0400
From: "Schelske, Steve K."
Subject: Re: Call to a COBOL program from an SQR
If you know how to start the COBOL program from the command line, you can
use the CALL SYSTEM USING function to execute the COBOL program.
You can search the sqrug.com archives for lots of examples on how to
properly use CALL SYSTEM.
If you don't know how to start the program from the command line, try to run
it that way and you may get prompted for the information that is required at
run time.
-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Carolyn Woods
Sent: Monday, April 09, 2001 6:22 PM
To: SQR-USERS@list.iex.net
Subject: Call to a COBOL program from an SQR
We are trying to figure out how to call a COBOL program from inside an SQR,
has anyone done this?
Thanks,
Carolyn Woods
MiraCosta College
Oceanside, CA
From owner-sqr-users@list.iex.net Thu Apr 12 12:59:17 2001
Date: Thu, 12 Apr 2001 12:54:33 -0500
From: David Thompson-Hall
Subject: Re: Call to a COBOL program from an SQR
At 01:47 PM 4/12/01 -0400, you wrote:
>If you know how to start the COBOL program from the command line, you can
>use the CALL SYSTEM USING function to execute the COBOL program.
>
>You can search the sqrug.com archives for lots of examples on how to
>properly use CALL SYSTEM.
>
>If you don't know how to start the program from the command line, try to run
>it that way and you may get prompted for the information that is required at
>run time.
However, if you're trying to call a COBOL that does DB access, then the
situation is more complex. You need to be able to pass the logon and
password to the database.
I don't think this has been done successfully in PeopleSoft, since in that
case the DB SYSADM password is a closely guarded secret, and you have to
modify the PS process for calling COBOLs to pass along the password. (This
is described but not detailed fully in the "SQR in Peoplesoft and other
applications" book by Landries and Landries. If you can get your DBAs or
Sysadmins to agree to customizing this central piece of PS functionality,
maybe it would work, but ours won't.)
I say I don't think it's been done in PS because I asked about this a few
months ago, and nobody had an answer then either...
I think for non-PeopleSoft, the trick is just calling the COBOL program
correctly, and then CALL SYSTEM USING should do the trick.
DTH
David Thompson-Hall 1210 W. Dayton St.
Programmer/Analyst Madison, WI 53706
Apps Tech/Business Operations Apps 608/265-9571
Div of Info Technology (DoIT)
University of Wisconsin-Madison david.thompson-hall@doit.wisc.edu
From owner-sqr-users@list.iex.net Tue Apr 10 04:17:43 2001
Date: Tue, 10 Apr 2001 09:52:15 +0100
From: John Roddy
Subject: SQR/REPORT BUILDER
Hi All,
I am new to the above products an was hoping somone could advise me on the
following please.
I have installed the above products, and want to create a report that will
pull back 2.65 million rows from an Oracle 8i DB. The server that I have
tried to run this type of report on has a dual processor, 2.75 GB of hard
disk space and .5 GB of RAM. The report crashes as the machine runs out of
memory. Has anybody had experience building such a large report using report
builder, and what time frames could I expect to complete such a report in,
(at the moment the report runs for over 4 hours before crashing) and also
what hardware architecture would you recommend (RAM AND Hard disk space).
Thank you
John Roddy.
From owner-sqr-users@list.iex.net Tue Apr 10 04:27:58 2001
Date: Tue, 10 Apr 2001 10:24:21 +0100
From: Tim Wilkinson
Subject: Re: SQR/REPORT BUILDER
You could try using the -Tnn parameter when running the report to make sure
that it is working at least. SQR has a nasty trick of ignoring any invalid
Where clauses and instead of telling you that you have an error it happily
creates a cartesian, which will take forever.
Also the -S parameter will tell you how many rows the report will bring back
and will show any cursors etc. Looking at this you can get an idea of how
long it might take and how you can get things tuned.
Finally, include a counter in you SQL and o/p this using SHOW. This will
tell you how many rows you have pulled back before it dies.
Hope this helps.
Tim
(Is there no way you can restrict the data further? 2.65 million rows of
information are not going to be too usefull if you are outputting them I
wouldnt have thought)
-----Original Message-----
From: John Roddy [mailto:jroddy@BROMLEYGROUP.IE]
Sent: 10 April 2001 09:52
To: SQR-USERS@list.iex.net
Subject: SQR/REPORT BUILDER
Hi All,
I am new to the above products an was hoping somone could advise me on the
following please.
I have installed the above products, and want to create a report that will
pull back 2.65 million rows from an Oracle 8i DB. The server that I have
tried to run this type of report on has a dual processor, 2.75 GB of hard
disk space and .5 GB of RAM. The report crashes as the machine runs out of
memory. Has anybody had experience building such a large report using report
builder, and what time frames could I expect to complete such a report in,
(at the moment the report runs for over 4 hours before crashing) and also
what hardware architecture would you recommend (RAM AND Hard disk space).
Thank you
John Roddy.
From owner-sqr-users@list.iex.net Tue Apr 10 08:12:50 2001
Date: Tue, 10 Apr 2001 09:10:16 -0400
From: Scott Eubank
Subject: Re: SQR/REPORT BUILDER
BETTER GET MORE MEMORY. We have 600gigs of HD and 6gb of memory on our
boxes. heheheheheee.
What exactly are you doing? There is no way your PRINTING 2.65 million
rows to paper cause you post would have read "MY SQR IS RUNNING OUT OF
PAPER", so are you spinning these off to a flat file to process some other
way. Are you accumulating an ARRAY? How many variables do you have?
SQR keeps all global variables and arrays resident in memory and local
variables are static. SO you could easily eat up .5gb of memory in a heart
beat with 2.5 million rows if your sqr is written incorrectly.
Scott
(who's still trying to figure out how to fill up 6gb of memeory :)
-----Original Message-----
From: John Roddy [mailto:jroddy@BROMLEYGROUP.IE]
Sent: Tuesday, April 10, 2001 4:52 AM
To: SQR-USERS@list.iex.net
Subject: SQR/REPORT BUILDER
Hi All,
I am new to the above products an was hoping somone could advise me on the
following please.
I have installed the above products, and want to create a report that will
pull back 2.65 million rows from an Oracle 8i DB. The server that I have
tried to run this type of report on has a dual processor, 2.75 GB of hard
disk space and .5 GB of RAM. The report crashes as the machine runs out of
memory. Has anybody had experience building such a large report using report
builder, and what time frames could I expect to complete such a report in,
(at the moment the report runs for over 4 hours before crashing) and also
what hardware architecture would you recommend (RAM AND Hard disk space).
Thank you
John Roddy.
From owner-sqr-users@list.iex.net Tue Apr 10 08:22:05 2001
Date: Tue, 10 Apr 2001 14:12:24 +0100
From: John Roddy
Subject: Re: SQR/REPORT BUILDER
Scott,
I am not printing this file, I am creating a HTML File, but report builder
generates a spf file of over 1gig and the HTML file was 1.8 gig before it
crashed. I have about 14 variables in the query from 4 d/b tables. I know
that this type of query seems excessive but I may even need to build larger
queries. Would more memory solve my problem. I estimated that I would need
1gig and 30 gb hard disk space would this be sufficient??
What we would do would be zip the htm file and send it up to the web server.
John
> -----Original Message-----
> From: Scott Eubank [SMTP:SEUBANK@ADVANCEAUTOPARTS.COM]
> Sent: Tuesday, April 10, 2001 2:10 PM
> To: SQR-USERS@LIST.IEX.NET
> Subject: Re: SQR/REPORT BUILDER
>
> BETTER GET MORE MEMORY. We have 600gigs of HD and 6gb of memory on our
> boxes. heheheheheee.
>
> What exactly are you doing? There is no way your PRINTING 2.65 million
> rows to paper cause you post would have read "MY SQR IS RUNNING OUT OF
> PAPER", so are you spinning these off to a flat file to process some other
> way. Are you accumulating an ARRAY? How many variables do you have?
>
> SQR keeps all global variables and arrays resident in memory and local
> variables are static. SO you could easily eat up .5gb of memory in a heart
> beat with 2.5 million rows if your sqr is written incorrectly.
>
>
> Scott
>
> (who's still trying to figure out how to fill up 6gb of memeory :)
>
>
> -----Original Message-----
> From: John Roddy [mailto:jroddy@BROMLEYGROUP.IE]
> Sent: Tuesday, April 10, 2001 4:52 AM
> To: SQR-USERS@list.iex.net
> Subject: SQR/REPORT BUILDER
>
>
> Hi All,
>
> I am new to the above products an was hoping somone could advise me on the
> following please.
>
> I have installed the above products, and want to create a report that will
> pull back 2.65 million rows from an Oracle 8i DB. The server that I have
> tried to run this type of report on has a dual processor, 2.75 GB of hard
> disk space and .5 GB of RAM. The report crashes as the machine runs out of
> memory. Has anybody had experience building such a large report using
> report
> builder, and what time frames could I expect to complete such a report in,
> (at the moment the report runs for over 4 hours before crashing) and also
> what hardware architecture would you recommend (RAM AND Hard disk space).
>
> Thank you
>
> John Roddy.
From owner-sqr-users@list.iex.net Tue Apr 10 08:35:51 2001
Date: Tue, 10 Apr 2001 14:24:36 +0100
From: John Roddy
Subject: Re: SQR/REPORT BUILDER
Thanks 4 that Scott, I think the added h/w will be needed alright.
Thanks again.
John
PS anyone else with any ideas?
> -----Original Message-----
> From: Scott Eubank [SMTP:SEUBANK@ADVANCEAUTOPARTS.COM]
> Sent: Tuesday, April 10, 2001 2:31 PM
> To: SQR-USERS@LIST.IEX.NET
> Subject: Re: SQR/REPORT BUILDER
>
> JOHN,
>
> I dont have any experience with spf files and sqr , SO I wont be of any
> help here. But I sure someone will be able to help you out. But I would
> gander that the added hardware would definately help.
>
> -----Original Message-----
> From: John Roddy [mailto:jroddy@BROMLEYGROUP.IE]
> Sent: Tuesday, April 10, 2001 9:12 AM
> To: SQR-USERS@list.iex.net
> Subject: Re: SQR/REPORT BUILDER
>
>
> Scott,
>
> I am not printing this file, I am creating a HTML File, but report builder
> generates a spf file of over 1gig and the HTML file was 1.8 gig before it
> crashed. I have about 14 variables in the query from 4 d/b tables. I know
> that this type of query seems excessive but I may even need to build
> larger
> queries. Would more memory solve my problem. I estimated that I would need
> 1gig and 30 gb hard disk space would this be sufficient??
>
> What we would do would be zip the htm file and send it up to the web
> server.
>
> John
>
> > -----Original Message-----
> > From: Scott Eubank [SMTP:SEUBANK@ADVANCEAUTOPARTS.COM]
> > Sent: Tuesday, April 10, 2001 2:10 PM
> > To: SQR-USERS@LIST.IEX.NET
> > Subject: Re: SQR/REPORT BUILDER
> >
> > BETTER GET MORE MEMORY. We have 600gigs of HD and 6gb of memory on our
> > boxes. heheheheheee.
> >
> > What exactly are you doing? There is no way your PRINTING 2.65
> million
> > rows to paper cause you post would have read "MY SQR IS RUNNING OUT OF
> > PAPER", so are you spinning these off to a flat file to process some
> other
> > way. Are you accumulating an ARRAY? How many variables do you have?
> >
> > SQR keeps all global variables and arrays resident in memory and local
> > variables are static. SO you could easily eat up .5gb of memory in a
> heart
> > beat with 2.5 million rows if your sqr is written incorrectly.
> >
> >
> > Scott
> >
> > (who's still trying to figure out how to fill up 6gb of memeory :)
> >
> >
> > -----Original Message-----
> > From: John Roddy [mailto:jroddy@BROMLEYGROUP.IE]
> > Sent: Tuesday, April 10, 2001 4:52 AM
> > To: SQR-USERS@list.iex.net
> > Subject: SQR/REPORT BUILDER
> >
> >
> > Hi All,
> >
> > I am new to the above products an was hoping somone could advise me on
> the
> > following please.
> >
> > I have installed the above products, and want to create a report that
> will
> > pull back 2.65 million rows from an Oracle 8i DB. The server that I have
> > tried to run this type of report on has a dual processor, 2.75 GB of
> hard
> > disk space and .5 GB of RAM. The report crashes as the machine runs out
> of
> > memory. Has anybody had experience building such a large report using
> > report
> > builder, and what time frames could I expect to complete such a report
> in,
> > (at the moment the report runs for over 4 hours before crashing) and
> also
> > what hardware architecture would you recommend (RAM AND Hard disk
> space).
> >
> > Thank you
> >
> > John Roddy.
From owner-sqr-users@list.iex.net Tue Apr 10 08:31:48 2001
Date: Tue, 10 Apr 2001 09:30:34 -0400
From: Scott Eubank
Subject: Re: SQR/REPORT BUILDER
JOHN,
I dont have any experience with spf files and sqr , SO I wont be of any
help here. But I sure someone will be able to help you out. But I would
gander that the added hardware would definately help.
-----Original Message-----
From: John Roddy [mailto:jroddy@BROMLEYGROUP.IE]
Sent: Tuesday, April 10, 2001 9:12 AM
To: SQR-USERS@list.iex.net
Subject: Re: SQR/REPORT BUILDER
Scott,
I am not printing this file, I am creating a HTML File, but report builder
generates a spf file of over 1gig and the HTML file was 1.8 gig before it
crashed. I have about 14 variables in the query from 4 d/b tables. I know
that this type of query seems excessive but I may even need to build larger
queries. Would more memory solve my problem. I estimated that I would need
1gig and 30 gb hard disk space would this be sufficient??
What we would do would be zip the htm file and send it up to the web server.
John
> -----Original Message-----
> From: Scott Eubank [SMTP:SEUBANK@ADVANCEAUTOPARTS.COM]
> Sent: Tuesday, April 10, 2001 2:10 PM
> To: SQR-USERS@LIST.IEX.NET
> Subject: Re: SQR/REPORT BUILDER
>
> BETTER GET MORE MEMORY. We have 600gigs of HD and 6gb of memory on our
> boxes. heheheheheee.
>
> What exactly are you doing? There is no way your PRINTING 2.65 million
> rows to paper cause you post would have read "MY SQR IS RUNNING OUT OF
> PAPER", so are you spinning these off to a flat file to process some other
> way. Are you accumulating an ARRAY? How many variables do you have?
>
> SQR keeps all global variables and arrays resident in memory and local
> variables are static. SO you could easily eat up .5gb of memory in a heart
> beat with 2.5 million rows if your sqr is written incorrectly.
>
>
> Scott
>
> (who's still trying to figure out how to fill up 6gb of memeory :)
>
>
> -----Original Message-----
> From: John Roddy [mailto:jroddy@BROMLEYGROUP.IE]
> Sent: Tuesday, April 10, 2001 4:52 AM
> To: SQR-USERS@list.iex.net
> Subject: SQR/REPORT BUILDER
>
>
> Hi All,
>
> I am new to the above products an was hoping somone could advise me on the
> following please.
>
> I have installed the above products, and want to create a report that will
> pull back 2.65 million rows from an Oracle 8i DB. The server that I have
> tried to run this type of report on has a dual processor, 2.75 GB of hard
> disk space and .5 GB of RAM. The report crashes as the machine runs out of
> memory. Has anybody had experience building such a large report using
> report
> builder, and what time frames could I expect to complete such a report in,
> (at the moment the report runs for over 4 hours before crashing) and also
> what hardware architecture would you recommend (RAM AND Hard disk space).
>
> Thank you
>
> John Roddy.
From owner-sqr-users@list.iex.net Tue Apr 10 08:37:18 2001
Date: Tue, 10 Apr 2001 09:36:15 -0400
From: Scott Eubank
Subject: Re: SQR/REPORT BUILDER
I mean no experience with HTML FILES ...
-----Original Message-----
From: Scott Eubank [mailto:SEUBANK@ADVANCEAUTOPARTS.COM]
Sent: Tuesday, April 10, 2001 9:31 AM
To: SQR-USERS@list.iex.net
Subject: Re: SQR/REPORT BUILDER
JOHN,
I dont have any experience with spf files and sqr , SO I wont be of any
help here. But I sure someone will be able to help you out. But I would
gander that the added hardware would definately help.
-----Original Message-----
From: John Roddy [mailto:jroddy@BROMLEYGROUP.IE]
Sent: Tuesday, April 10, 2001 9:12 AM
To: SQR-USERS@list.iex.net
Subject: Re: SQR/REPORT BUILDER
Scott,
I am not printing this file, I am creating a HTML File, but report builder
generates a spf file of over 1gig and the HTML file was 1.8 gig before it
crashed. I have about 14 variables in the query from 4 d/b tables. I know
that this type of query seems excessive but I may even need to build larger
queries. Would more memory solve my problem. I estimated that I would need
1gig and 30 gb hard disk space would this be sufficient??
What we would do would be zip the htm file and send it up to the web server.
John
> -----Original Message-----
> From: Scott Eubank [SMTP:SEUBANK@ADVANCEAUTOPARTS.COM]
> Sent: Tuesday, April 10, 2001 2:10 PM
> To: SQR-USERS@LIST.IEX.NET
> Subject: Re: SQR/REPORT BUILDER
>
> BETTER GET MORE MEMORY. We have 600gigs of HD and 6gb of memory on our
> boxes. heheheheheee.
>
> What exactly are you doing? There is no way your PRINTING 2.65 million
> rows to paper cause you post would have read "MY SQR IS RUNNING OUT OF
> PAPER", so are you spinning these off to a flat file to process some other
> way. Are you accumulating an ARRAY? How many variables do you have?
>
> SQR keeps all global variables and arrays resident in memory and local
> variables are static. SO you could easily eat up .5gb of memory in a heart
> beat with 2.5 million rows if your sqr is written incorrectly.
>
>
> Scott
>
> (who's still trying to figure out how to fill up 6gb of memeory :)
>
>
> -----Original Message-----
> From: John Roddy [mailto:jroddy@BROMLEYGROUP.IE]
> Sent: Tuesday, April 10, 2001 4:52 AM
> To: SQR-USERS@list.iex.net
> Subject: SQR/REPORT BUILDER
>
>
> Hi All,
>
> I am new to the above products an was hoping somone could advise me on the
> following please.
>
> I have installed the above products, and want to create a report that will
> pull back 2.65 million rows from an Oracle 8i DB. The server that I have
> tried to run this type of report on has a dual processor, 2.75 GB of hard
> disk space and .5 GB of RAM. The report crashes as the machine runs out of
> memory. Has anybody had experience building such a large report using
> report
> builder, and what time frames could I expect to complete such a report in,
> (at the moment the report runs for over 4 hours before crashing) and also
> what hardware architecture would you recommend (RAM AND Hard disk space).
>
> Thank you
>
> John Roddy.
From owner-sqr-users@list.iex.net Tue Apr 10 09:06:26 2001
Date: Tue, 10 Apr 2001 10:03:08 -0400
From: George Jansen
Subject: Re: SQR/REPORT BUILDER
If all you're generating is HTML, why incur the overhead of SQR?
But why generate a 2.6M-row HTML file? HTML is a not a great format for
so much data. Oracle, on the other hand, is an excellent place to keep
the 2.6M rows, so that the fraction you need will be quickly retrieved.
From owner-sqr-users@list.iex.net Tue Apr 10 09:25:56 2001
Date: Tue, 10 Apr 2001 15:23:15 +0100
From: Brian Smith
Subject: Re: SQR/REPORT BUILDER
Sorry John, but this seems a hugely a misguided exercise, and more hardware
is unlikely to solve your problem.
What on earth is the use of a 1.8GB HTML file - who could read it? The SQL
language was invented to query large amounts of data without needing to ship
them around the network. I suggest you leave your data in Oracle.
Alternatively, investigate some Data Warehouse technologies - Microsoft SQL
Server would be a good start.
Brian Smith
-----Original Message-----
From: John Roddy [mailto:jroddy@BROMLEYGROUP.IE]
Sent: Tuesday, 10 April 2001 14:12
To: SQR-USERS@list.iex.net
Subject: Re: SQR/REPORT BUILDER
Scott,
I am not printing this file, I am creating a HTML File, but report builder
generates a spf file of over 1gig and the HTML file was 1.8 gig before it
crashed. I have about 14 variables in the query from 4 d/b tables. I know
that this type of query seems excessive but I may even need to build larger
queries. Would more memory solve my problem. I estimated that I would need
1gig and 30 gb hard disk space would this be sufficient??
What we would do would be zip the htm file and send it up to the web server.
John
***IMPORTANT***
The information in this mail is confidential and is intended solely for the
addressee. Access, copying or re-use of information in it by anyone else is
unauthorised. Any views or opinions presented are solely those of the author
and do not necessarily represent those of Tempo Ltd or any of its
affiliates.
From owner-sqr-users@list.iex.net Wed Apr 11 09:45:36 2001
Date: Wed, 11 Apr 2001 07:41:41 -0700
From: David Smith
Subject: Re: SQR/REPORT BUILDER
John,
I think you should look at some of the Oracle tools since you have 8i,
there are ways to set up dynamic paged HTML views of data that are much
more efficient than using SQR to write a huge file.
David L Smith
IBM Global Services
From owner-sqr-users@list.iex.net Tue Apr 10 09:23:34 2001
Date: Tue, 10 Apr 2001 10:10:52 -0400
From: "Wolverton, Jeff"
Subject: Tell Me If I've Got It Right
To all:
Please review this short count routine below (I didn't write it) and tell me
if my understanding of the routine is correct. If my understanding of the
routine is incorrect, please open my understanding.
For the record, I have 15 years of programming experience, but am new to
SQR3.
Respectfully,
Jeff Wolverton
American Red Cross
Falls Church, Virginia
BEGIN-PROCEDURE count_records
begin-select
COUNT(E.EQNUM) &eqcount
from equipment e, eqstatus s
! Mod8 ! where [$where] and s.eqnum(+)=e.eqnum AND E.EQNUM
NOT IN (SELECT EQNUM FROM EQSTATUS WHERE
where [$where] and s.eqnum(+)=e.eqnum AND [$regulated2] AND
E.EQNUM NOT IN (SELECT EQNUM FROM EQSTATUS WHERE
changedate in (SELECT MAX(s.CHANGEDATE)
from eqstatus S, EQUIPMENT E WHERE e.EQNUM=s.EQNUM(+)GROUP
BY e.EQNUM)
! Mod4
AND code = $disposed)
! Mod8 AND [$regulated2] and code = $disposed)
! Mod4
end-select
END-PROCEDURE
Here's my dissect:
COUNT(E.EQNUM) &eqcount
from equipment e, eqstatus s
--> count the e.eqnum records and call the count field eqcount
! Mod8 ! where [$where] and s.eqnum(+)=e.eqnum AND E.EQNUM
NOT IN (SELECT EQNUM FROM EQSTATUS WHERE
where [$where] and s.eqnum(+)=e.eqnum AND [$regulated2] AND
E.EQNUM NOT IN (SELECT EQNUM FROM EQSTATUS WHERE
changedate in (SELECT MAX(s.CHANGEDATE)
from eqstatus S, EQUIPMENT E WHERE e.EQNUM=s.EQNUM(+)GROUP
BY e.EQNUM)
! Mod4
AND code = $disposed)
! Mod8 AND [$regulated2] and code = $disposed)
! Mod4
--> First it would be nice to know the values in $where and
$regulated2.
$where will be an equipment number, and $regulated 2 will contain
one of three values: 1) e.eq9=''Y', 2) e.eq9=''N', or 3) 1=1
! Mod8 ! where [$where] and s.eqnum(+)=e.eqnum AND E.EQNUM
NOT IN
--> the line has a comment, but it also has an end comment, so the
logic in this line says to count the record if the equipment number in
$where is found and equipment number from eqstatus = equipment number in
equipment (the plus sign says I want all the eqstatus records regardless)
and equipment number is not in the next query
(SELECT EQNUM FROM EQSTATUS WHERE
where [$where] and s.eqnum(+)=e.eqnum AND [$regulated2] AND
E.EQNUM NOT IN
--> the logic is the same as the last piece with the addition of
also including the value of $regulated2
(SELECT EQNUM FROM EQSTATUS WHERE
changedate in (SELECT MAX(s.CHANGEDATE)
--> this logic selects equipment numbers from eqstatus if the field
changedate (in eqstatus) is = the maximum changedate, e.g., if the highest
changedate is 20010409, then that's the date with the maximum changedate
from eqstatus S, EQUIPMENT E WHERE e.EQNUM=s.EQNUM(+) GROUP BY
e.EQNUM)
--> the selection is from eqstatus, and equipment. When retrieving
records from equipment the equipment number must match equipment number in
eqstatus (again we want the records in eqstatus regardless). Group the
records by equipment number in equipment.
AND code = $disposed)
--> this is the last piece because the other lines are comments.
This line says if code = the value in $disposed.
Let's simplify the "weeding out" logic. Let's says the value of
$regulated2 = "e.eq9='Y'", and the maximum change date is April 9, 2001
(20010409). This would mean that records in eqstatus with a changedate of
20010409 and/or records in equipment with eq9='Y' would be bypassed because
the logic said to exclude them (E.EQNUM NOT IN).
From owner-sqr-users@list.iex.net Tue Apr 10 10:57:20 2001
Date: Tue, 10 Apr 2001 10:53:47 -0500
From: Ray Ontko
Subject: Re: Tell Me If I've Got It Right
Jeff,
! mod8 ! where ...
does not contain an "end comment". The second ! is simply part of
the comment which begins at the start of the line.
Ray
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> To all:
>
> Please review this short count routine below (I didn't write it) and tell me
> if my understanding of the routine is correct. If my understanding of the
> routine is incorrect, please open my understanding.
>
> For the record, I have 15 years of programming experience, but am new to
> SQR3.
>
> Respectfully,
>
> Jeff Wolverton
> American Red Cross
> Falls Church, Virginia
>
>
> BEGIN-PROCEDURE count_records
> begin-select
> COUNT(E.EQNUM) &eqcount
> from equipment e, eqstatus s
> ! Mod8 ! where [$where] and s.eqnum(+)=e.eqnum AND E.EQNUM
> NOT IN (SELECT EQNUM FROM EQSTATUS WHERE
> where [$where] and s.eqnum(+)=e.eqnum AND [$regulated2] AND
> E.EQNUM NOT IN (SELECT EQNUM FROM EQSTATUS WHERE
> changedate in (SELECT MAX(s.CHANGEDATE)
> from eqstatus S, EQUIPMENT E WHERE e.EQNUM=s.EQNUM(+)GROUP
> BY e.EQNUM)
>
> ! Mod4
> AND code = $disposed)
> ! Mod8 AND [$regulated2] and code = $disposed)
> ! Mod4
>
> end-select
> END-PROCEDURE
>
>
>
> Here's my dissect:
>
> COUNT(E.EQNUM) &eqcount
> from equipment e, eqstatus s
> --> count the e.eqnum records and call the count field eqcount
>
> ! Mod8 ! where [$where] and s.eqnum(+)=e.eqnum AND E.EQNUM
> NOT IN (SELECT EQNUM FROM EQSTATUS WHERE
> where [$where] and s.eqnum(+)=e.eqnum AND [$regulated2] AND
> E.EQNUM NOT IN (SELECT EQNUM FROM EQSTATUS WHERE
> changedate in (SELECT MAX(s.CHANGEDATE)
> from eqstatus S, EQUIPMENT E WHERE e.EQNUM=s.EQNUM(+)GROUP
> BY e.EQNUM)
>
> ! Mod4
> AND code = $disposed)
> ! Mod8 AND [$regulated2] and code = $disposed)
> ! Mod4
> --> First it would be nice to know the values in $where and
> $regulated2.
> $where will be an equipment number, and $regulated 2 will contain
> one of three values: 1) e.eq9=''Y', 2) e.eq9=''N', or 3) 1=1
>
> ! Mod8 ! where [$where] and s.eqnum(+)=e.eqnum AND E.EQNUM
> NOT IN
> --> the line has a comment, but it also has an end comment, so the
> logic in this line says to count the record if the equipment number in
> $where is found and equipment number from eqstatus = equipment number in
> equipment (the plus sign says I want all the eqstatus records regardless)
> and equipment number is not in the next query
>
> (SELECT EQNUM FROM EQSTATUS WHERE
> where [$where] and s.eqnum(+)=e.eqnum AND [$regulated2] AND
> E.EQNUM NOT IN
> --> the logic is the same as the last piece with the addition of
> also including the value of $regulated2
>
> (SELECT EQNUM FROM EQSTATUS WHERE
> changedate in (SELECT MAX(s.CHANGEDATE)
> --> this logic selects equipment numbers from eqstatus if the field
> changedate (in eqstatus) is = the maximum changedate, e.g., if the highest
> changedate is 20010409, then that's the date with the maximum changedate
>
> from eqstatus S, EQUIPMENT E WHERE e.EQNUM=s.EQNUM(+) GROUP BY
> e.EQNUM)
> --> the selection is from eqstatus, and equipment. When retrieving
> records from equipment the equipment number must match equipment number in
> eqstatus (again we want the records in eqstatus regardless). Group the
> records by equipment number in equipment.
>
> AND code = $disposed)
> --> this is the last piece because the other lines are comments.
> This line says if code = the value in $disposed.
>
>
> Let's simplify the "weeding out" logic. Let's says the value of
> $regulated2 = "e.eq9='Y'", and the maximum change date is April 9, 2001
> (20010409). This would mean that records in eqstatus with a changedate of
> 20010409 and/or records in equipment with eq9='Y' would be bypassed because
> the logic said to exclude them (E.EQNUM NOT IN).
>
----------------------------------------------------------------------
Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788
Ray Ontko & Co. Software Consulting Services http://www.ontko.com/
From owner-sqr-users@list.iex.net Tue Apr 10 11:08:35 2001
Date: Tue, 10 Apr 2001 12:04:23 -0400
From: George Jansen
Subject: Re: Tell Me If I've Got It Right
You have my sympathy.
1. The join in the first subquery is meaningless. No aliases E or S are
defined in the subquery, so the condition checked is the same as in the
main query.
2. On the other hand, it's also pointless. I don't see a thing you gain
by including the check, since you're already checking implicitly in the
NOT IN.
3. The second and third subqueries are either meaningless or
improperly written. If there's anything at all with a non-null
changedate in eqstatus, you will always get a row returned.
My best guess for what you really want would be something like
begin-select
count(e.eqnum) &eqcount
from equipment e, eqstatus s
where [$where] and e.eqnum = s.eqnum(+)
and not exists
(select 1
from eqstatus s
where [$where] and [$regulated] and s.eqnum = e.eqnum
and changedate is not null)
end-select
>>> WolvertonJ@USA.REDCROSS.ORG 04/10/01 10:10AM >>>
To all:
Please review this short count routine below (I didn't write it) and
tell me
if my understanding of the routine is correct. If my understanding of
the
routine is incorrect, please open my understanding.
For the record, I have 15 years of programming experience, but am new
to
SQR3.
Respectfully,
Jeff Wolverton
American Red Cross
Falls Church, Virginia
BEGIN-PROCEDURE count_records
begin-select
COUNT(E.EQNUM) &eqcount
from equipment e, eqstatus s
! Mod8 ! where [$where] and s.eqnum(+)=e.eqnum AND
E.EQNUM
NOT IN (SELECT EQNUM FROM EQSTATUS WHERE
where [$where] and s.eqnum(+)=e.eqnum AND
[$regulated2] AND
E.EQNUM NOT IN (SELECT EQNUM FROM EQSTATUS WHERE
changedate in (SELECT MAX(s.CHANGEDATE)
from eqstatus S, EQUIPMENT E WHERE
e.EQNUM=s.EQNUM(+)GROUP
BY e.EQNUM)
! Mod4
AND code = $disposed)
! Mod8 AND [$regulated2] and code = $disposed)
! Mod4
end-select
END-PROCEDURE
Here's my dissect:
COUNT(E.EQNUM) &eqcount
from equipment e, eqstatus s
--> count the e.eqnum records and call the count field eqcount
! Mod8 ! where [$where] and s.eqnum(+)=e.eqnum AND
E.EQNUM
NOT IN (SELECT EQNUM FROM EQSTATUS WHERE
where [$where] and s.eqnum(+)=e.eqnum AND
[$regulated2] AND
E.EQNUM NOT IN (SELECT EQNUM FROM EQSTATUS WHERE
changedate in (SELECT MAX(s.CHANGEDATE)
from eqstatus S, EQUIPMENT E WHERE
e.EQNUM=s.EQNUM(+)GROUP
BY e.EQNUM)
! Mod4
AND code = $disposed)
! Mod8 AND [$regulated2] and code = $disposed)
! Mod4
--> First it would be nice to know the values in $where and
$regulated2.
$where will be an equipment number, and $regulated 2 will
contain
one of three values: 1) e.eq9=''Y', 2) e.eq9=''N', or 3) 1=1
! Mod8 ! where [$where] and s.eqnum(+)=e.eqnum AND
E.EQNUM
NOT IN
--> the line has a comment, but it also has an end comment, so
the
logic in this line says to count the record if the equipment number in
$where is found and equipment number from eqstatus = equipment number
in
equipment (the plus sign says I want all the eqstatus records
regardless)
and equipment number is not in the next query
(SELECT EQNUM FROM EQSTATUS WHERE
where [$where] and s.eqnum(+)=e.eqnum AND
[$regulated2] AND
E.EQNUM NOT IN
--> the logic is the same as the last piece with the addition
of
also including the value of $regulated2
(SELECT EQNUM FROM EQSTATUS WHERE
changedate in (SELECT MAX(s.CHANGEDATE)
--> this logic selects equipment numbers from eqstatus if the
field
changedate (in eqstatus) is = the maximum changedate, e.g., if the
highest
changedate is 20010409, then that's the date with the maximum
changedate
from eqstatus S, EQUIPMENT E WHERE e.EQNUM=s.EQNUM(+) GROUP BY
e.EQNUM)
--> the selection is from eqstatus, and equipment. When
retrieving
records from equipment the equipment number must match equipment number
in
eqstatus (again we want the records in eqstatus regardless). Group
the
records by equipment number in equipment.
AND code = $disposed)
--> this is the last piece because the other lines are
comments.
This line says if code = the value in $disposed.
Let's simplify the "weeding out" logic. Let's says the value
of
$regulated2 = "e.eq9='Y'", and the maximum change date is April 9,
2001
(20010409). This would mean that records in eqstatus with a changedate
of
20010409 and/or records in equipment with eq9='Y' would be bypassed
because
the logic said to exclude them (E.EQNUM NOT IN).
From owner-sqr-users@list.iex.net Wed Apr 11 10:27:16 2001
Date: Wed, 11 Apr 2001 08:22:56 -0700
From: David Smith
Subject: Re: Tell Me If I've Got It Right
Jeff,
It looks like a Maximo report, have you asked the users exactly what they
are trying to count here? If they can come up with a semi-coherent
explanation of what they want to count, I'm sure we can write a sql select
to match it.
David L Smith
IBM Global Services
From owner-sqr-users@list.iex.net Wed Apr 11 10:34:39 2001
Date: Wed, 11 Apr 2001 11:31:34 -0400
From: "Wolverton, Jeff"
Subject: Re: Tell Me If I've Got It Right
Thank you,
-----Original Message-----
From: David Smith [mailto:davesmit@US.IBM.COM]
Sent: Wednesday, April 11, 2001 11:23 AM
To: SQR-USERS@list.iex.net
Subject: Re: Tell Me If I've Got It Right
Jeff,
It looks like a Maximo report, have you asked the users
exactly what they
are trying to count here? If they can come up with a
semi-coherent
explanation of what they want to count, I'm sure we can
write a sql select
to match it.
David L Smith
IBM Global Services
From owner-sqr-users@list.iex.net Tue Apr 10 12:33:38 2001
Date: Tue, 10 Apr 2001 13:14:11 -0400
From: Steve Rogers
Subject: use of curdate within MVS - should it work?
We are in the process of converting AS-400 version 7.5 of PeopleSoft HRMS to
MVS. While testing an SQR containing the following code -
FROM PS_JOBCODE_TBL JC
WHERE JC.SETID = SETID !
AND JC.JOBCODE like 'K%'
AND JC.EFFDT = (SELECT MAX(JC1.EFFDT)
FROM PS_JOBCODE_TBL JC1
WHERE JC1.JOBCODE = JC.JOBCODE
AND JC1.EFFDT <= curdate() )
AND JC.EFF_STATUS = 'A'
I received an error that indicated that MVS could not handle curdate. Here
is the error
(SQR 5528) DB2 SQL PREPARE/DECLARE error -440 in cursor 5:
DSNT408I SQLCODE = -440, ERROR: NO FUNCTION BY THE NAME CURDATE HAVING
COMPATIBLE ARGUMENTS WAS FOUND IN THE CURRENT PATH
DSNT418I SQLSTATE = 42884 SQLSTATE RETURN CODE
DSNT415I SQLERRP = DSNXORFN SQL PROCEDURE DETECTING ERROR
DSNT416I SQLERRD = -100 0 0 -1 0 0 SQL DIAGNOSTIC INFORMATION
DSNT416I SQLERRD = X'FFFFFF9C' X'00000000' X'00000000' X'FFFFFFFF' X'
INFORMATION
Can anyone tell me why this is happening and how to resolve it?
thanks,
Steve
From owner-sqr-users@list.iex.net Tue Apr 10 12:51:03 2001
Date: Tue, 10 Apr 2001 13:38:36 -0400
From: Cindy Chen
Subject: Re: use of curdate within MVS - should it work?
Hi,
Try
AND JC1.EFFDT<= CURRENT DATE)
-Cindy
At 01:14 PM 4/10/2001 -0400, you wrote:
>We are in the process of converting AS-400 version 7.5 of PeopleSoft HRMS to
>MVS. While testing an SQR containing the following code -
>
> FROM PS_JOBCODE_TBL JC
> WHERE JC.SETID = SETID !
> AND JC.JOBCODE like 'K%'
> AND JC.EFFDT = (SELECT MAX(JC1.EFFDT)
> FROM PS_JOBCODE_TBL JC1
> WHERE JC1.JOBCODE = JC.JOBCODE
> AND JC1.EFFDT <= curdate() )
> AND JC.EFF_STATUS = 'A'
>
> I received an error that indicated that MVS could not handle
> curdate. Here
>is the error
>
>(SQR 5528) DB2 SQL PREPARE/DECLARE error -440 in cursor 5:
> DSNT408I SQLCODE = -440, ERROR: NO FUNCTION BY THE NAME CURDATE HAVING
>COMPATIBLE ARGUMENTS WAS FOUND IN THE CURRENT PATH
>
> DSNT418I SQLSTATE = 42884 SQLSTATE RETURN CODE
> DSNT415I SQLERRP = DSNXORFN SQL PROCEDURE DETECTING ERROR
> DSNT416I SQLERRD = -100 0 0 -1 0 0 SQL DIAGNOSTIC INFORMATION
> DSNT416I SQLERRD =
> X'FFFFFF9C' X'00000000' X'00000000' X'FFFFFFFF' X'
> INFORMATION
>
> Can anyone tell me why this is happening and how to resolve it?
>
> thanks,
> Steve
From owner-sqr-users@list.iex.net Tue Apr 10 12:52:43 2001
Date: Tue, 10 Apr 2001 13:45:50 -0400
From: Victor Loghin
Subject: Re: use of curdate within MVS - should it work?
Steve,
I have never heard of the curdate function (only up to 4.3.4). Is it a
custom function?
Anyways, for DB2 use CURRENT DATE.
HTH,
Victor Loghin
VGL Consulting Inc.
vgl_ca@hotmail.com
----Original Message Follows----
From: Steve Rogers
Subject: use of curdate within MVS - should it work?
Date: Tue, 10 Apr 2001 13:14:11 -0400
We are in the process of converting AS-400 version 7.5 of PeopleSoft HRMS
to
MVS. While testing an SQR containing the following code -
FROM PS_JOBCODE_TBL JC
WHERE JC.SETID = SETID !
AND JC.JOBCODE like 'K%'
AND JC.EFFDT = (SELECT MAX(JC1.EFFDT)
FROM PS_JOBCODE_TBL JC1
WHERE JC1.JOBCODE = JC.JOBCODE
AND JC1.EFFDT <= curdate() )
AND JC.EFF_STATUS = 'A'
I received an error that indicated that MVS could not handle curdate.
Here
is the error
(SQR 5528) DB2 SQL PREPARE/DECLARE error -440 in cursor 5:
DSNT408I SQLCODE = -440, ERROR: NO FUNCTION BY THE NAME CURDATE HAVING
COMPATIBLE ARGUMENTS WAS FOUND IN THE CURRENT PATH
DSNT418I SQLSTATE = 42884 SQLSTATE RETURN CODE
DSNT415I SQLERRP = DSNXORFN SQL PROCEDURE DETECTING ERROR
DSNT416I SQLERRD = -100 0 0 -1 0 0 SQL DIAGNOSTIC INFORMATION
DSNT416I SQLERRD = X'FFFFFF9C' X'00000000' X'00000000'
X'FFFFFFFF' X'
INFORMATION
Can anyone tell me why this is happening and how to resolve it?
thanks,
Steve
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From owner-sqr-users@list.iex.net Tue Apr 10 13:05:11 2001
Date: Tue, 10 Apr 2001 12:53:22 -0500
From: Ron Baker
Subject: Re: use of curdate within MVS - should it work?
I'm not sure from an AS-400 perspective, but on MVS OS/390, I do know that
if you substitute "CURRENT DATE" in place of "curdate()" it should work
fine for you.
Ron
IS&T
Steve Rogers
cc:
Sent by: Subject: use of curdate within MVS - should
"Discussion of it work?
SQR, Brio
Technology's
database
reporting
language"
04/10/01 12:14
PM
Please respond
to sqr-users
We are in the process of converting AS-400 version 7.5 of PeopleSoft HRMS
to
MVS. While testing an SQR containing the following code -
FROM PS_JOBCODE_TBL JC
WHERE JC.SETID = SETID !
AND JC.JOBCODE like 'K%'
AND JC.EFFDT = (SELECT MAX(JC1.EFFDT)
FROM PS_JOBCODE_TBL JC1
WHERE JC1.JOBCODE = JC.JOBCODE
AND JC1.EFFDT <= curdate() )
AND JC.EFF_STATUS = 'A'
I received an error that indicated that MVS could not handle curdate.
Here
is the error
(SQR 5528) DB2 SQL PREPARE/DECLARE error -440 in cursor 5:
DSNT408I SQLCODE = -440, ERROR: NO FUNCTION BY THE NAME CURDATE HAVING
COMPATIBLE ARGUMENTS WAS FOUND IN THE CURRENT PATH
DSNT418I SQLSTATE = 42884 SQLSTATE RETURN CODE
DSNT415I SQLERRP = DSNXORFN SQL PROCEDURE DETECTING ERROR
DSNT416I SQLERRD = -100 0 0 -1 0 0 SQL DIAGNOSTIC INFORMATION
DSNT416I SQLERRD = X'FFFFFF9C' X'00000000' X'00000000'
X'FFFFFFFF' X'
INFORMATION
Can anyone tell me why this is happening and how to resolve it?
thanks,
Steve
From owner-sqr-users@list.iex.net Tue Apr 10 13:00:45 2001
Date: Tue, 10 Apr 2001 13:59:38 -0400
From: csmyth
Subject: Re: use of curdate within MVS - should it work?
That piece of the code to retrieve the date from the database is database specific.
What database engine were you using on the AS-400? Is it the same as on the MVS?
Same version?
In SQL Server in that cicumstance you would use Getdate() and in Oracle is is
something different that I don't remember off hand. Find out what you would use in
DB2 and that should be what you put in the SQR.
Cameron
Steve Rogers wrote:
> We are in the process of converting AS-400 version 7.5 of PeopleSoft HRMS to
> MVS. While testing an SQR containing the following code -
>
> FROM PS_JOBCODE_TBL JC
> WHERE JC.SETID = SETID !
> AND JC.JOBCODE like 'K%'
> AND JC.EFFDT = (SELECT MAX(JC1.EFFDT)
> FROM PS_JOBCODE_TBL JC1
> WHERE JC1.JOBCODE = JC.JOBCODE
> AND JC1.EFFDT <= curdate() )
> AND JC.EFF_STATUS = 'A'
>
> I received an error that indicated that MVS could not handle curdate. Here
> is the error
>
> (SQR 5528) DB2 SQL PREPARE/DECLARE error -440 in cursor 5:
> DSNT408I SQLCODE = -440, ERROR: NO FUNCTION BY THE NAME CURDATE HAVING
> COMPATIBLE ARGUMENTS WAS FOUND IN THE CURRENT PATH
>
> DSNT418I SQLSTATE = 42884 SQLSTATE RETURN CODE
> DSNT415I SQLERRP = DSNXORFN SQL PROCEDURE DETECTING ERROR
> DSNT416I SQLERRD = -100 0 0 -1 0 0 SQL DIAGNOSTIC INFORMATION
> DSNT416I SQLERRD = X'FFFFFF9C' X'00000000' X'00000000' X'FFFFFFFF' X'
> INFORMATION
>
> Can anyone tell me why this is happening and how to resolve it?
>
> thanks,
> Steve
From owner-sqr-users@list.iex.net Tue Apr 10 13:35:34 2001
Date: Tue, 10 Apr 2001 14:33:44 -0400
From: csmyth
Subject: Re: use of curdate within MVS - should it work?
I should add that PeopleSoft provides SQR routines to return the curent date for all
suported platforms. Instead of including that database function in the SQL you should
use the variable $asoftoday which is populated with the current date in the routine
Get-Current-datetime. Make sure you have the file CURDTTIM.SQC included in the program.
Cameron
csmyth wrote:
> That piece of the code to retrieve the date from the database is database specific.
>
> What database engine were you using on the AS-400? Is it the same as on the MVS?
> Same version?
>
> In SQL Server in that cicumstance you would use Getdate() and in Oracle is is
> something different that I don't remember off hand. Find out what you would use in
> DB2 and that should be what you put in the SQR.
>
> Cameron
>
> Steve Rogers wrote:
>
> > We are in the process of converting AS-400 version 7.5 of PeopleSoft HRMS to
> > MVS. While testing an SQR containing the following code -
> >
> > FROM PS_JOBCODE_TBL JC
> > WHERE JC.SETID = SETID !
> > AND JC.JOBCODE like 'K%'
> > AND JC.EFFDT = (SELECT MAX(JC1.EFFDT)
> > FROM PS_JOBCODE_TBL JC1
> > WHERE JC1.JOBCODE = JC.JOBCODE
> > AND JC1.EFFDT <= curdate() )
> > AND JC.EFF_STATUS = 'A'
> >
> > I received an error that indicated that MVS could not handle curdate. Here
> > is the error
> >
> > (SQR 5528) DB2 SQL PREPARE/DECLARE error -440 in cursor 5:
> > DSNT408I SQLCODE = -440, ERROR: NO FUNCTION BY THE NAME CURDATE HAVING
> > COMPATIBLE ARGUMENTS WAS FOUND IN THE CURRENT PATH
> >
> > DSNT418I SQLSTATE = 42884 SQLSTATE RETURN CODE
> > DSNT415I SQLERRP = DSNXORFN SQL PROCEDURE DETECTING ERROR
> > DSNT416I SQLERRD = -100 0 0 -1 0 0 SQL DIAGNOSTIC INFORMATION
> > DSNT416I SQLERRD = X'FFFFFF9C' X'00000000' X'00000000' X'FFFFFFFF' X'
> > INFORMATION
> >
> > Can anyone tell me why this is happening and how to resolve it?
> >
> > thanks,
> > Steve
From owner-sqr-users@list.iex.net Tue Apr 10 13:26:39 2001
Date: Tue, 10 Apr 2001 18:22:30 -0000
From: Venkat Goda
Subject: Re: use of curdate within MVS - should it work?
Try using CURRENT DATE instead of the date function.
>From: Steve Rogers
>Reply-To: sqr-users@list.iex.net
>To: SQR-USERS@list.iex.net
>Subject: use of curdate within MVS - should it work?
>Date: Tue, 10 Apr 2001 13:14:11 -0400
>
>We are in the process of converting AS-400 version 7.5 of PeopleSoft HRMS to
>MVS. While testing an SQR containing the following code -
>
> FROM PS_JOBCODE_TBL JC
> WHERE JC.SETID = SETID !
> AND JC.JOBCODE like 'K%'
> AND JC.EFFDT = (SELECT MAX(JC1.EFFDT)
> FROM PS_JOBCODE_TBL JC1
> WHERE JC1.JOBCODE = JC.JOBCODE
> AND JC1.EFFDT <= curdate() )
> AND JC.EFF_STATUS = 'A'
>
> I received an error that indicated that MVS could not handle curdate. Here
>is the error
>
>(SQR 5528) DB2 SQL PREPARE/DECLARE error -440 in cursor 5:
> DSNT408I SQLCODE = -440, ERROR: NO FUNCTION BY THE NAME CURDATE HAVING
>COMPATIBLE ARGUMENTS WAS FOUND IN THE CURRENT PATH
>
> DSNT418I SQLSTATE = 42884 SQLSTATE RETURN CODE
> DSNT415I SQLERRP = DSNXORFN SQL PROCEDURE DETECTING ERROR
> DSNT416I SQLERRD = -100 0 0 -1 0 0 SQL DIAGNOSTIC INFORMATION
> DSNT416I SQLERRD = X'FFFFFF9C' X'00000000' X'00000000' X'FFFFFFFF' X'
> INFORMATION
>
> Can anyone tell me why this is happening and how to resolve it?
>
> thanks,
> Steve
Get your FREE download of MSN Explorer at http://explorer.msn.com
From owner-sqr-users@list.iex.net Tue Apr 10 13:45:12 2001
Date: Tue, 10 Apr 2001 11:41:53 -0700
From: Lakshmana Prasad
Subject: Re: use of curdate within MVS - should it work?
In any case if U want to findout the current date then
just write a select statement and get the currentdate
select sysdate into today_date from dual;
Or
U can use the date functions defined in the SQR.
lakshman.
--- Venkat Goda wrote:
Try using CURRENT DATE instead of the
date function.
>From: Steve Rogers
>Reply-To: sqr-users@list.iex.net
>To: SQR-USERS@list.iex.net
>Subject: use of curdate within MVS -
should it work?
>Date: Tue, 10 Apr 2001 13:14:11 -0400
>
>We are in the process of converting
AS-400 version 7.5 of PeopleSoft HRMS to
>MVS. While testing an SQR containing
the following code -
>
> FROM PS_JOBCODE_TBL JC
> WHERE JC.SETID = SETID !
> AND JC.JOBCODE like 'K%'
> AND JC.EFFDT = (SELECT MAX(JC1.EFFDT)
> FROM PS_JOBCODE_TBL JC1
> WHERE JC1.JOBCODE = JC.JOBCODE
> AND JC1.EFFDT <= curdate() )
> AND JC.EFF_STATUS = 'A'
>
> I received an error that indicated
that MVS could not handle curdate. Here
>is the error
>
>(SQR 5528) DB2 SQL PREPARE/DECLARE
error -440 in cursor 5:
> DSNT408I SQLCODE = -440, ERROR: NO
FUNCTION BY THE NAME CURDATE HAVING
>COMPATIBLE ARGUMENTS WAS FOUND IN THE
CURRENT PATH
>
> DSNT418I SQLSTATE = 42884 SQLSTATE
RETURN CODE
> DSNT415I SQLERRP = DSNXORFN SQL
PROCEDURE DETECTING ERROR
> DSNT416I SQLERRD = -100 0 0 -1 0 0 SQL
DIAGNOSTIC INFORMATION
> DSNT416I SQLERRD = X'FFFFFF9C'
X'00000000' X'00000000' X'FFFFFFFF' X'
> INFORMATION
>
> Can anyone tell me why this is
happening and how to resolve it?
>
> thanks,
> Steve
Get your FREE download of
MSN Explorer at http://explorer.msn.com
=====
This Message from gantalp(Chinni).
All The best.
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
From owner-sqr-users@list.iex.net Tue Apr 10 14:12:31 2001
Date: Tue, 10 Apr 2001 15:08:39 -0400
From: Rod Wright
Subject: Re: use of curdate within MVS - should it work?
DUAL is specific to Oracle. It doesn't exist in DB2.
Lakshmana Prasad on 04/10/2001 02:41:53 PM
Please respond to sqr-users@list.iex.net
To: SQR-USERS@list.iex.net
cc: (bcc: Rodney Wright/Trcb/Rouse)
Subject: Re: use of curdate within MVS - should it work?
In any case if U want to findout the current date then
just write a select statement and get the currentdate
select sysdate into today_date from dual;
Or
U can use the date functions defined in the SQR.
lakshman.
--- Venkat Goda wrote:
Try using CURRENT DATE instead of the
date function.
>From: Steve Rogers
>Reply-To: sqr-users@list.iex.net
>To: SQR-USERS@list.iex.net
>Subject: use of curdate within MVS -
should it work?
>Date: Tue, 10 Apr 2001 13:14:11 -0400
>
>We are in the process of converting
AS-400 version 7.5 of PeopleSoft HRMS to
>MVS. While testing an SQR containing
the following code -
>
> FROM PS_JOBCODE_TBL JC
> WHERE JC.SETID = SETID !
> AND JC.JOBCODE like 'K%'
> AND JC.EFFDT = (SELECT MAX(JC1.EFFDT)
> FROM PS_JOBCODE_TBL JC1
> WHERE JC1.JOBCODE = JC.JOBCODE
> AND JC1.EFFDT <= curdate() )
> AND JC.EFF_STATUS = 'A'
>
> I received an error that indicated
that MVS could not handle curdate. Here
>is the error
>
>(SQR 5528) DB2 SQL PREPARE/DECLARE
error -440 in cursor 5:
> DSNT408I SQLCODE = -440, ERROR: NO
FUNCTION BY THE NAME CURDATE HAVING
>COMPATIBLE ARGUMENTS WAS FOUND IN THE
CURRENT PATH
>
> DSNT418I SQLSTATE = 42884 SQLSTATE
RETURN CODE
> DSNT415I SQLERRP = DSNXORFN SQL
PROCEDURE DETECTING ERROR
> DSNT416I SQLERRD = -100 0 0 -1 0 0 SQL
DIAGNOSTIC INFORMATION
> DSNT416I SQLERRD = X'FFFFFF9C'
X'00000000' X'00000000' X'FFFFFFFF' X'
> INFORMATION
>
> Can anyone tell me why this is
happening and how to resolve it?
>
> thanks,
> Steve
Get your FREE download of
MSN Explorer at http://explorer.msn.com
=====
This Message from gantalp(Chinni).
All The best.
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
From owner-sqr-users@list.iex.net Tue Apr 10 14:20:25 2001
Date: Tue, 10 Apr 2001 12:15:42 -0700
From: mandava
Subject: Re: use of curdate within MVS - should it work?
Steve if it's DB2 database use CURRENT DATE instead curdate()
----- Original Message -----
From: "Steve Rogers"
To:
Sent: Tuesday, April 10, 2001 10:14 AM
Subject: use of curdate within MVS - should it work?
> We are in the process of converting AS-400 version 7.5 of PeopleSoft HRMS
to
> MVS. While testing an SQR containing the following code -
>
> FROM PS_JOBCODE_TBL JC
> WHERE JC.SETID = SETID !
> AND JC.JOBCODE like 'K%'
> AND JC.EFFDT = (SELECT MAX(JC1.EFFDT)
> FROM PS_JOBCODE_TBL JC1
> WHERE JC1.JOBCODE = JC.JOBCODE
> AND JC1.EFFDT <= curdate() )
> AND JC.EFF_STATUS = 'A'
>
> I received an error that indicated that MVS could not handle curdate.
Here
> is the error
>
> (SQR 5528) DB2 SQL PREPARE/DECLARE error -440 in cursor 5:
> DSNT408I SQLCODE = -440, ERROR: NO FUNCTION BY THE NAME CURDATE
HAVING
> COMPATIBLE ARGUMENTS WAS FOUND IN THE CURRENT PATH
>
> DSNT418I SQLSTATE = 42884 SQLSTATE RETURN CODE
> DSNT415I SQLERRP = DSNXORFN SQL PROCEDURE DETECTING ERROR
> DSNT416I SQLERRD = -100 0 0 -1 0 0 SQL DIAGNOSTIC INFORMATION
> DSNT416I SQLERRD = X'FFFFFF9C' X'00000000' X'00000000'
X'FFFFFFFF' X'
> INFORMATION
>
> Can anyone tell me why this is happening and how to resolve it?
>
> thanks,
> Steve
>
From owner-sqr-users@list.iex.net Tue Apr 10 15:33:56 2001
Date: Tue, 10 Apr 2001 16:28:08 -0400
From: Jeff Berkhimer
Subject: Re: use of curdate within MVS - should it work?
Steve,
Your date problem seems solved. Just wanted to point out that the subselect was incorrect in that the setid was omitted. If you are using multiple setid's, you are screwed.
Jeff Berkhimer, Ogden Corp.
----Original Message Follows----
From: Steve Rogers
Reply-To: sqr-users@list.iex.net
To: SQR-USERS@list.iex.net
Subject: use of curdate within MVS - should it work?
Date: Tue, 10 Apr 2001 13:14:11 -0400
We are in the process of converting AS-400 version 7.5 of PeopleSoft HRMS to
MVS. While testing an SQR containing the following code -
FROM PS_JOBCODE_TBL JC
WHERE JC.SETID = SETID !
AND JC.JOBCODE like 'K%'
AND JC.EFFDT = (SELECT MAX(JC1.EFFDT)
FROM PS_JOBCODE_TBL JC1
WHERE JC1.JOBCODE = JC.JOBCODE
AND JC1.EFFDT <= curdate() )
AND JC.EFF_STATUS = 'A'
I received an error that indicated that MVS could not handle curdate. Here
is the error
(SQR 5528) DB2 SQL PREPARE/DECLARE error -440 in cursor 5:
DSNT408I SQLCODE = -440, ERROR: NO FUNCTION BY THE NAME CURDATE HAVING
COMPATIBLE ARGUMENTS WAS FOUND IN THE CURRENT PATH
DSNT418I SQLSTATE = 42884 SQLSTATE RETURN CODE
DSNT415I SQLERRP = DSNXORFN SQL PROCEDURE DETECTING ERROR
DSNT416I SQLERRD = -100 0 0 -1 0 0 SQL DIAGNOSTIC INFORMATION
DSNT416I SQLERRD = X'FFFFFF9C' X'00000000' X'00000000' X'FFFFFFFF' X'
INFORMATION
Can anyone tell me why this is happening and how to resolve it?
thanks,
Steve
Get your FREE download of MSN Explorer at http://explorer.msn.com
From owner-sqr-users@list.iex.net Tue Apr 10 15:00:42 2001
Date: Tue, 10 Apr 2001 15:56:40 -0400
From: "Cadenas, Maria (MT)"
Subject: Unstring by more than one delimiter
my input data looks the following way:
"Mark","Jones","100 Spruce",...
so that the values are in quotes and separated by commas.
Is there a way to Unstring this data into substrings with values without
quotes or commas?
From owner-sqr-users@list.iex.net Tue Apr 10 15:20:11 2001
Date: Tue, 10 Apr 2001 15:05:00 -0500
From: "Miller, Randell E"
Subject: Re: Unstring by more than one delimiter
There may be a cleaner way, but I did the following after the unstring
let $PoID = ltrim(rtrim($PoID,'"'),'"')
for each field.
Randy
> -----Original Message-----
> From: Cadenas, Maria (MT) [SMTP:MCadenas@DOW.COM]
> Sent: Tuesday, April 10, 2001 2:57 PM
> To: SQR-USERS@list.iex.net
> Subject: Unstring by more than one delimiter
>
> my input data looks the following way:
>
> "Mark","Jones","100 Spruce",...
>
> so that the values are in quotes and separated by commas.
>
> Is there a way to Unstring this data into substrings with values without
> quotes or commas?
From owner-sqr-users@list.iex.net Tue Apr 10 15:29:26 2001
Date: Tue, 10 Apr 2001 16:17:33 -0400
From: Glenn Coulter
Subject: Re: Unstring by more than one delimiter
If all the fields are delimited by both the " and the , why not use the
translate function to strip all the " characters from your strings after you
unstring using the , character.
Two steps but it would work..
Glenn
-----Original Message-----
From: Cadenas, Maria (MT) [mailto:MCadenas@DOW.COM]
Sent: Tuesday, April 10, 2001 3:57 PM
To: SQR-USERS@list.iex.net
Subject: Unstring by more than one delimiter
my input data looks the following way:
"Mark","Jones","100 Spruce",...
so that the values are in quotes and separated by commas.
Is there a way to Unstring this data into substrings with values without
quotes or commas?
From owner-sqr-users@list.iex.net Tue Apr 10 15:28:03 2001
Date: Tue, 10 Apr 2001 14:23:23 -0600
From: Roger Harris
Subject: Re: Unstring by more than one delimiter
Maria,
Try this.
Let $string = rtrim(ltrim($string,'"'),'"') !Removes first and last
double quotes
then
Unstring $string By '","' into $var1 $var2 ... !The By value of Unstring
is not restricted to a single charater
Roger L. Harris
"Cadenas,
Maria (MT)" To: SQR-USERS@list.iex.net
bcc:
Sent by: Subject: Unstring by more than one delimiter
"Discussion
of SQR,
Brio
Technology's
database
reporting
language"
04/10/2001
01:56 PM
Please
respond to
sqr-users
my input data looks the following way:
"Mark","Jones","100 Spruce",...
so that the values are in quotes and separated by commas.
Is there a way to Unstring this data into substrings with values without
quotes or commas?
From owner-sqr-users@list.iex.net Wed Apr 11 05:24:24 2001
Date: Wed, 11 Apr 2001 09:19:59 +0100
From: Alan Heslop
Subject: Re: Unstring by more than one delimiter
The following code will do it for you. You can have as many output
variables in the unstring command as you want. It can be more than number
of substrings returned.
let $doublequote = '"'
let $space = ''
let $input = '"Mark","Jones","100 Spruce"'
let $stripped = translate($input,$doublequote,$space) !strip input of "
unstring $stripped by ',' into $var1 $var2 $var3 $var4....... !seperate
input by ,
Alan
-----Original Message-----
From: Cadenas, Maria (MT) [mailto:MCadenas@DOW.COM]
Sent: 10 April 2001 20:57
To: SQR-USERS@list.iex.net
Subject: Unstring by more than one delimiter
my input data looks the following way:
"Mark","Jones","100 Spruce",...
so that the values are in quotes and separated by commas.
Is there a way to Unstring this data into substrings with values without
quotes or commas?
From owner-sqr-users@list.iex.net Tue Apr 10 15:01:08 2001
Date: Tue, 10 Apr 2001 14:59:49 -0500
From: "Lu, Clint"
Subject: how to call cobol program
Hi all
We are currently processing the leave accrual manual from process scheduler
by selecting each benefit plan. Is there anyway to get this manual to
automate processed? The way I think to solve this situation is to write a
sqr program to call the cobol modules in side the sqr program. Have anyone
done this type of the process before. I would like to share this
information. Your suggestion is much appreciate.
Clint Lu
Sr. Programmer/Analyst
Caremark Rx, Inc.
Phone: (847) 559-4717
Fax : (847) 559-4840
From owner-sqr-users@list.iex.net Wed Apr 11 09:04:10 2001
Date: Wed, 11 Apr 2001 10:02:21 -0400
From: Scott Eubank
Subject: Interfaces in PeopleSoft.
I want to automate an interface.
Background
I have GL data (Journals) coming to me from an AS/400 and then loaded into
our RS/6000 running AIX. I have an SQR the pre-process the AS/400 file to
create a file that PS provided GLS9002.SQR can then load into peoplesoft.
I have been asked to automate the process. Like this, the only thing that
the User does is kick off the process on the AS/400, which then ftp's the
finished file to the RS/6000 , which then runs the preprocess, renames the
AS/400 file ,emails the user the hash totals report, then runs GLS9002, and
then notifies the user that the entire process is complete.
I was thinking about creating an SQR to run the preprocess, rename the
files, email the user w/ the hash totals, and excute GLS9002. Will this
work? Would it be worth the over head to get some kind of daemon set up on
the RS/6000 that monitors the ftp directory and then kicks off the whole
shebang. OR should I do all of this with a Unix Script.
Had anyone done this? Do you have sample scripts or SQR's with any single
part of this. I am willing to put all this back together and then post it
here if you guys would like, I just need an idea of the best approach.
Thanks
Scott
From owner-sqr-users@list.iex.net Wed Apr 11 09:33:40 2001
Date: Wed, 11 Apr 2001 09:27:51 -0500
From: the dragon
Subject: Re: Interfaces in PeopleSoft.
Scott,
You could do that (write an sqr), but it seems like a lot more work that
using the tools that are supplied to you with AIX on your RS6000.
Use a Unix shell script (about 100 lines of code, including documentation
comments) - you can write it, cron the job and be done with it forever.
clark 'the dragon' willis
dragon enterprises, consluting services.
----Original Message Follows----
I want to automate an interface.
Background
I have GL data (Journals) coming to me from an AS/400 and then loaded into
our RS/6000 running AIX. I have an SQR the pre-process the AS/400 file to
create a file that PS provided GLS9002.SQR can then load into peoplesoft.
I have been asked to automate the process. Like this, the only thing that
the User does is kick off the process on the AS/400, which then ftp's the
finished file to the RS/6000 , which then runs the preprocess, renames the
AS/400 file ,emails the user the hash totals report, then runs GLS9002, and
then notifies the user that the entire process is complete.
I was thinking about creating an SQR to run the preprocess, rename the
files, email the user w/ the hash totals, and excute GLS9002. Will this
work? Would it be worth the over head to get some kind of daemon set up on
the RS/6000 that monitors the ftp directory and then kicks off the whole
shebang. OR should I do all of this with a Unix Script.
Had anyone done this? Do you have sample scripts or SQR's with any single
part of this. I am willing to put all this back together and then post it
here if you guys would like, I just need an idea of the best approach.
Thanks
Scott
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
From owner-sqr-users@list.iex.net Wed Apr 11 14:57:53 2001
Date: Wed, 11 Apr 2001 12:44:22 -0700
From: Andrew Morgan
Subject: SQR Contract Opportunity
Hi All,
One of our clients needs a mid-level+ SQR programmer IMMEDIATELY with Oracle for data upload and extract (and we're currently too busy). Position is in Metro Boston area and is 3 months to start with good chance for extension. Must be full-time and on-site.
Please send me resumes if you're interested. Thanks!
Andrew Morgan
Chief Executive Officer
KeyPulse.Com, Inc.
27 Alderwood Drive
Stratham, NH 03885
(603) 512-5154 Cell
(435) 404-7963 Fax
mailto:amorgan@keypulse.com
www.keypulse.com
From owner-sqr-users@list.iex.net Wed Apr 11 18:08:29 2001
Date: Wed, 11 Apr 2001 15:56:32 -0700
From: Laura Lopez
Subject: Set priorities
hi everyone!
I have to write a flat file with e-mail addresses, and I have to select the
employee's work e-mail, if not available, select home e-mail, if not select
other1, if not other2, and if not other3, and if not nothing. I only want
one e-mail, and the priority is the one listed above. Some employees have
different e-mail addresses, some only one, etc.
I don't know how to do it. Everything I've tried has failed.
I have tried evaluating the field, since it has different translate values,
also nested if statements, writing a different procedure for each e-mail
type... all sorts of things, and nothing works. It's like for some reason it
can't get the variables.
This is one of the things I tried - the different procedures:
!*************************************
Begin-Procedure Check-email-work
!*************************************
if $emailtype <> 'E-MW'
do check-email-home
else
let $emailtype = 'E-MW'
end-if
end-procedure check-email-work
!*************************************
Begin-Procedure Check-email-home
!*************************************
if $emailtype <> 'E-MH'
do check-email-O1
else
let $emailtype = 'E-MH'
end-if
end-procedure check-email-home
!*************************************
Begin-Procedure Check-email-O1
!*************************************
if $emailtype <> 'E-O1'
do check-email-O2
else
let $emailtype = 'E-O1'
end-if
end-procedure check-email-O1
!*************************************
Begin-Procedure Check-email-O2
!*************************************
if $emailtype <> 'E-O2'
do check-email-O3
else
let $emailtype = 'E-O2'
end-if
end-procedure check-email-O2
!*************************************
Begin-Procedure Check-email-O3
!*************************************
if $emailtype <> 'E-O3'
let $email = ' '
end-if
end-procedure check-email-O3
And this is the last thing I have tried:
Begin-procedure check-email-type
if &b.t2_e_addr_type = 'E-MW'
let $work = &b.t2_e_addr_type
print $work
else
if &b.t2_e_addr_type = 'E-MW'
let $home = &b.t2_e_addr_type
print $home
else
if &b.t2_e_addr_type = 'E-O1'
let $other1 = &b.t2_e_addr_type
print $other1
else
if &b.t2_e_addr_type = 'E-O2'
let $other2 = &b.t2_e_addr_type
print $other2
else
if &b.t2_e_addr_type
let $other3 = &b.t2_e_addr_type
print $other3
end-if
end-if
end-if
end-if
end-if
Hope you can help me out!
Thanks a bunch in advance!
laura.
From owner-sqr-users@list.iex.net Wed Apr 11 18:29:12 2001
Date: Wed, 11 Apr 2001 19:26:46 EDT
From: NEDOLPH@AOL.COM
Subject: Re: Set priorities
try EVALUATE (equivalent to a SELECT CASE construction in VB)
EVALUATE $emailtype
WHEN = 'E-MH'
.... (statements here)
BREAK
WHEN = 'E-01'
....
BREAK
WHEN-OTHER
.... (error or default situation)
END-EVALUATE
the BREAK will leave the evaluate, and continue with the next line after END-EVALUATE. Otherwise, (I believe) if your $emailtype passed more than one WHEN criterion, it would execute all the code which passed.
You want it to find the right type and then Break out.
Hope this helps
Norman Dolph
From owner-sqr-users@list.iex.net Thu Apr 12 09:27:19 2001
Date: Thu, 12 Apr 2001 08:21:58 -0600
From: Russ Wulfson
Subject: Re: Set priorities
I don't see anything wrong with the first set of procedures, but in the
nested ifs in the first two if statements your testing for E-MW shouldn't
the second one be E-MH?
What results are you getting? Is the value always ' '? or is it just
wrong?
From owner-sqr-users@list.iex.net Thu Apr 12 09:18:57 2001
Date: Thu, 12 Apr 2001 19:30:33 +0530
From: S meenakshi
Subject: Report formatting problem
Hi all,
I need to accommodate a lot of fields in my report, (around 10 fields,
mostly description fields). The length of almost 6 fields is 30 each. I
would like to reduce the font size to the minimum possible to get all the
columns in the same line. How do I go about doing it? What is the font,
spacing etc. and where exactly do I specify it? I tried specifying declare
layout parameters but what is happening is the letters are overlapping.
Thanks in advance.
Regards
Meenakshi Sundar
From owner-sqr-users@list.iex.net Thu Apr 12 10:29:16 2001
Date: Thu, 12 Apr 2001 09:58:56 -0500
From: "Hallmark, Robert J"
Subject: Re: Report formatting problem
1. Specify character width in the declare-layout section of your report. See
example:
begin-setup
Declare-Layout Default
char-width=6
End-Declare
end-setup
2. Use the alter-printer command throughout the body of your report to
establish the size of the print as needed. For example:
begin-heading 6
alter-printer font=5 point-size = 9
date-time (1,1)
alter-printer font=5 point-size=14
print 'Equipment Location Report' (3,) center bold
end-heading
begin-procedure main
alter-printer font=5 point-size=10
begin-select
etc, etc
end-select
end-procedure
Bob Hallmark
-----Original Message-----
From: S meenakshi
Subject: Report formatting problem
Hi all,
I need to accommodate a lot of fields in my report, (around 10 fields,
mostly description fields). The length of almost 6 fields is 30 each. I
would like to reduce the font size to the minimum possible to get all the
columns in the same line. How do I go about doing it? What is the font,
spacing etc. and where exactly do I specify it? I tried specifying declare
layout parameters but what is happening is the letters are overlapping.
Thanks in advance.
Regards
Meenakshi Sundar
From owner-sqr-users@list.iex.net Thu Apr 12 15:06:35 2001
Date: Thu, 12 Apr 2001 19:57:34 -0000
From: Elvis Pressly
Subject: Re: Report formatting problem
Meenakshi,
You want to print a 6 x 30 characters plus maybe 5 more for spaces
and thats a total of 185 char. Peoplesoft can only do up to 177
for landscape and 125 for portrait. You can copy ptpsl177 and play
around with it by changing page_max_col including point sizes,
fonts etc and see what happens.
>From: S meenakshi
>Reply-To: sqr-users@list.iex.net
>To: SQR-USERS@list.iex.net
>Subject: Report formatting problem
>Date: Thu, 12 Apr 2001 19:30:33 +0530
>
>Hi all,
>
>I need to accommodate a lot of fields in my report, (around 10 fields,
>mostly description fields). The length of almost 6 fields is 30 each. I
>would like to reduce the font size to the minimum possible to get all the
>columns in the same line. How do I go about doing it? What is the font,
>spacing etc. and where exactly do I specify it? I tried specifying declare
>layout parameters but what is happening is the letters are overlapping.
>
>Thanks in advance.
>
>Regards
>Meenakshi Sundar
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
From owner-sqr-users@list.iex.net Thu Apr 12 15:22:17 2001
Date: Thu, 12 Apr 2001 16:21:50 -0400
From: ANDERSD2
Subject: Re: Report formatting problem
Try using one of the lesser-known SETUP include files like any of the
following...
setup02a - Landscape, 177 characters
setup02b - Landscape, 215 characters
setup02c - Landscape, 160 characters
setup31 - Portrait, 125 characters
setup32 - Landscape, 177 characters
Here's the trick with them, you need to place the #INCLUDE in your
BEGIN-SETUP procedure.
I believe the above are accurate, but as always, experiment with them. Hope
this was helpful.
Dave
From owner-sqr-users@list.iex.net Thu Apr 12 18:46:06 2001
Date: Thu, 12 Apr 2001 16:41:34 -0700
From: mandava
Subject: Any body can help me in setting up Process scheduler server on NT
machine.
Hi All,
I am trying to setup a peoplesoft process scheduler server on NT machine.
An ASP is providing this service on UNIX for our oganization.
Recently we decided to setup our own process scheduler server in house.
We connect to that ASP through APP SERVER.The database is ORACLE.
When I gave the database name in the PSADMIN/Create PROCESS SCHEDULER
It tried to create a connection DataBase and coming out with an error
saying Path incorrect.
Any help on this is appreciated.
Tanks,
Srini
(214) 392 6054 (m)
From owner-sqr-users@list.iex.net Mon Apr 16 01:30:12 2001
Date: Mon, 16 Apr 2001 11:49:55 +0530
From: S meenakshi
Subject: Re: Report formatting problem
Hi all,
Thanks to those who responded. I could accommodate more than 220 characters
with the following specification
font size = 2
Point size = 10 (both specified in Alter printer)
and Character width = 3 (specified in declare layout)
This was a combination of the replies sent to the query.
Regards
Meenakshi Sundar
From owner-sqr-users@list.iex.net Thu Apr 12 09:19:01 2001
Date: Thu, 12 Apr 2001 19:34:10 +0530
From: S meenakshi
Subject: update DB2/400 database
I would like to update the DB2/400 database on the AS/400 with details from
PeopleSoft (Oracle Backend). Can the update be directly done through SQR?
How can I establish connectivity with AS/400 through SQR?
Regards
Meenakshi Sundar
From owner-sqr-users@list.iex.net Thu Apr 12 15:10:02 2001
Date: Thu, 12 Apr 2001 20:06:31 -0000
From: Elvis Pressly
Subject: Re: update DB2/400 database
Meenakshi,
Yes this is very much possible. I have done this to a client
who have AS400 DB2 and Oracle(backend) as you may call it. You
can do this via 2-tier only.
1. In your PC make sure you have client access installed with
service pack SF59923 or below.
2. You must have client access ODBC driver.
3. Install Oracle client including the Oracle ODBC driver.
4. Configure your AS400 and Oracle database DSN using
the ODBC administration utility.
>From: S meenakshi
>Reply-To: sqr-users@list.iex.net
>To: SQR-USERS@list.iex.net
>Subject: update DB2/400 database
>Date: Thu, 12 Apr 2001 19:34:10 +0530
>
>I would like to update the DB2/400 database on the AS/400 with details from
>PeopleSoft (Oracle Backend). Can the update be directly done through SQR?
>How can I establish connectivity with AS/400 through SQR?
>
>Regards
>Meenakshi Sundar
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
From owner-sqr-users@list.iex.net Fri Apr 13 11:38:36 2001
Date: Fri, 13 Apr 2001 09:33:00 -0700
From: David Smith
Subject: Re: update DB2/400 database
Meenakshi,
You would need to get ODBC drivers for Oracle and AS/400 and use ODBC
connectivity to move data. Merant sells the best ODBC products I have
seen.
http://www.merant.com
I also used a product that allows for scheduling to builld an AS/400 to
Oracle interface, it allows you to write simple SQL scripts to move data
between ODBC sources. Look at the Datasplice product:
http://www.optimiz.com
David L Smith
IBM Global Services
From owner-sqr-users@list.iex.net Thu Apr 12 11:10:08 2001
Date: Thu, 12 Apr 2001 09:05:39 -0700
From: "McCown, Larry"
Subject: Feeding a where statement
Hello,
Not sure how to state this but here it goes.
I am attempting to build a where statement that is fed from an if statement
using the in command.
Sample:
begin-procedure
if $site = 1 (user input as to which site)
move ''('ES-02','PS-08','SM-01',SM-02') '' TO $SITE
end-if
Begin-select
from workorder
where [$where]
and crewid in $site
end-select
end-procedure
I am receiving error (SQR 4114) Expecting 'to', found move
''('ES-02','PS-08','SM-01',SM-02') '' TO $SITE
If you were able to follow this and have any suggestions I would appreciate
it.
Thank you
SQLServer 7
VisualSQRIBE 5.0
Larry McCown
Northrop Grumman
Western Region Facilities
One Hornet Way WG00/W9
El Segundo, Ca. 90245
mccowla@mail.northgrum.com
Phone (310)628-3939
Fax (310)331-7452
From owner-sqr-users@list.iex.net Thu Apr 12 11:35:58 2001
Date: Thu, 12 Apr 2001 12:20:30 -0400
From: Troy Wiechman
Subject: Re: Feeding a where statement
try this
move '(''ES-02'',''PS-08'',''SM-01'',''SM-02'')' TO $SITE
"McCown, Larry" on 04/12/2001 12:05:39 PM
Please respond to sqr-users@list.iex.net
To: SQR-USERS@list.iex.net
cc: (bcc: Troy Wiechman/HQ/USA/Kelly)
Subject: Feeding a where statement
Hello,
Not sure how to state this but here it goes.
I am attempting to build a where statement that is fed from an if statement
using the in command.
Sample:
begin-procedure
if $site = 1 (user input as to which site)
move ''('ES-02','PS-08','SM-01',SM-02') '' TO $SITE
end-if
Begin-select
from workorder
where [$where]
and crewid in $site
end-select
end-procedure
I am receiving error (SQR 4114) Expecting 'to', found move
''('ES-02','PS-08','SM-01',SM-02') '' TO $SITE
If you were able to follow this and have any suggestions I would appreciate
it.
Thank you
SQLServer 7
VisualSQRIBE 5.0
Larry McCown
Northrop Grumman
Western Region Facilities
One Hornet Way WG00/W9
El Segundo, Ca. 90245
mccowla@mail.northgrum.com
Phone (310)628-3939
Fax (310)331-7452
From owner-sqr-users@list.iex.net Thu Apr 12 11:42:19 2001
Date: Thu, 12 Apr 2001 12:35:14 -0400
From: Rick_Creel@AONCONS.COM
Subject: Re: Feeding a where statement
I had a similar situation and resolved it using something like this:
begin-procedure
let $squote = '''' <-------defines the variable $squote to have a
single quote mark
if $site = 1 (user input as to which site)
move '(^ES-02^,^PS-08^,^SM-01^,^SM-02^)' TO $x
let $site = translate($x,'^',$squote)
end-if
Begin-select
from workorder
where [$where]
and crewid in $site
end-select
end-procedure
"McCown, Larry" on 04/12/2001 12:05:39 PM
Please respond to sqr-users@list.iex.net
To: SQR-USERS@list.iex.net
cc: (bcc: Rick Creel/IT/Aon Consulting)
Subject: Feeding a where statement
Hello,
Not sure how to state this but here it goes.
I am attempting to build a where statement that is fed from an if statement
using the in command.
Sample:
begin-procedure
if $site = 1 (user input as to which site)
move ''('ES-02','PS-08','SM-01',SM-02') '' TO $SITE
end-if
Begin-select
from workorder
where [$where]
and crewid in $site
end-select
end-procedure
I am receiving error (SQR 4114) Expecting 'to', found move
''('ES-02','PS-08','SM-01',SM-02') '' TO $SITE
If you were able to follow this and have any suggestions I would appreciate
it.
Thank you
SQLServer 7
VisualSQRIBE 5.0
Larry McCown
Northrop Grumman
Western Region Facilities
One Hornet Way WG00/W9
El Segundo, Ca. 90245
mccowla@mail.northgrum.com
Phone (310)628-3939
Fax (310)331-7452
From owner-sqr-users@list.iex.net Thu Apr 12 11:43:01 2001
Date: Thu, 12 Apr 2001 10:37:08 -0600
From: Robert Goshko
Subject: Re: Feeding a where statement
-- DON'T FEED THE WHERE STATMENTS -- (had to say that)
Larry, the problem is with your quotes, you need to make your move
statment look like this:
move '( ''ES-02'', ''PS-08'', ''SM-01'', ''SM-02'' )' to $site
You only need a single opening and closing quote, these are for the
string itself, the rest are all double single quotes to tell SQR "hey,
put a single quote in here".
Home this helps.
On 12 Apr 2001 09:05:39 -0700, McCown, Larry wrote:
> Hello,
> Not sure how to state this but here it goes.
> I am attempting to build a where statement that is fed from an if statement
> using the in command.
> Sample:
> begin-procedure
> if $site = 1 (user input as to which site)
> move ''('ES-02','PS-08','SM-01',SM-02') '' TO $SITE
> end-if
> Begin-select
> from workorder
> where [$where]
> and crewid in $site
> end-select
> end-procedure
>
> I am receiving error (SQR 4114) Expecting 'to', found move
> ''('ES-02','PS-08','SM-01',SM-02') '' TO $SITE
>
> If you were able to follow this and have any suggestions I would appreciate
> it.
> Thank you
> SQLServer 7
> VisualSQRIBE 5.0
>
> Larry McCown
> Northrop Grumman
> Western Region Facilities
> One Hornet Way WG00/W9
> El Segundo, Ca. 90245
> mccowla@mail.northgrum.com
> Phone (310)628-3939
> Fax (310)331-7452
>
--
=====================================================================
Robert Goshko Axis Computer Consulting Services, Inc.
President Sherwood Park, Alberta, Canada
robert.goshko@axis-dev.com http://www.axis-dev.com/
=====================================================================
From owner-sqr-users@list.iex.net Thu Apr 12 12:18:33 2001
Date: Thu, 12 Apr 2001 10:14:48 -0700
From: "McCown, Larry"
Subject: Re: Feeding a where statement
Thank you so very much to everyone's quick response. I have been trying
this for a day and a half and got the answer from the experts in 10 minutes.
I used a combination from the different suggestions.
begin-procedure
If $site = '1'
let $where 2 = 'and crewid in(''ES-02'',''PS-08'',''SM-01'',''SM-02'')'
end-if
begin-select
from workorder
where [$where]
[$where2]
end-select
end-program
Thanks again
Larry
-----Original Message-----
From: Rick_Creel@AONCONS.COM [mailto:Rick_Creel@AONCONS.COM]
Sent: Thursday, April 12, 2001 9:35 AM
To: SQR-USERS@list.iex.net
Subject: Re: Feeding a where statement
I had a similar situation and resolved it using something like this:
begin-procedure
let $squote = '''' <-------defines the variable $squote to have a
single quote mark
if $site = 1 (user input as to which site)
move '(^ES-02^,^PS-08^,^SM-01^,^SM-02^)' TO $x
let $site = translate($x,'^',$squote)
end-if
Begin-select
from workorder
where [$where]
and crewid in $site
end-select
end-procedure
"McCown, Larry" on 04/12/2001 12:05:39 PM
Please respond to sqr-users@list.iex.net
To: SQR-USERS@list.iex.net
cc: (bcc: Rick Creel/IT/Aon Consulting)
Subject: Feeding a where statement
Hello,
Not sure how to state this but here it goes.
I am attempting to build a where statement that is fed from an if statement
using the in command.
Sample:
begin-procedure
if $site = 1 (user input as to which site)
move ''('ES-02','PS-08','SM-01',SM-02') '' TO $SITE
end-if
Begin-select
from workorder
where [$where]
and crewid in $site
end-select
end-procedure
I am receiving error (SQR 4114) Expecting 'to', found move
''('ES-02','PS-08','SM-01',SM-02') '' TO $SITE
If you were able to follow this and have any suggestions I would appreciate
it.
Thank you
SQLServer 7
VisualSQRIBE 5.0
Larry McCown
Northrop Grumman
Western Region Facilities
One Hornet Way WG00/W9
El Segundo, Ca. 90245
mccowla@mail.northgrum.com
Phone (310)628-3939
Fax (310)331-7452
From owner-sqr-users@list.iex.net Thu Apr 12 12:32:13 2001
Date: Thu, 12 Apr 2001 13:25:19 -0400
From: "Williams, Wes HS-SNS"
Subject: Re: Feeding a where statement
Hey Larry,
here is an example of what I have used. It defaults to non PM workorder
status (WAPPR). If it is a PM then uses WSCH in the where clause
begin-program
prompt:
input $wotype 'Enter worktype'
input #days_parameter 'Enter Number of Days'
let $wotype = upper($wotype)
let $dyna_INPRGClause = 'w.status = ''INPRG'' and wx.status = ''WAPPR'' '
let $dyna_CompClause = 'w.status = ''COMP'' and wx.status = ''WAPPR'' '
evaluate $wotype
when = 'FS'
break
when = 'OML'
break
when = 'OMS'
break
when = 'SW'
break
when = 'PM'
let $dyna_INPRGClause = 'w.status = ''INPRG'' and wx.status = ''WSCH'' '
let $dyna_CompClause = 'w.status = ''COMP'' and wx.status = ''WSCH'' '
break
when-other
!show (3,30) ' Invalid choice, re-enter value' beep
goto prompt
HTH
Wes Williams
Hamilton Sundstrand
815.226.6196
-----Original Message-----
From: McCown, Larry [mailto:MCCOWLA@MAIL.NORTHGRUM.COM]
Sent: Thursday, April 12, 2001 11:06 AM
To: SQR-USERS@list.iex.net
Subject: Feeding a where statement
Hello,
Not sure how to state this but here it goes.
I am attempting to build a where statement that is fed from an if statement
using the in command.
Sample:
begin-procedure
if $site = 1 (user input as to which site)
move ''('ES-02','PS-08','SM-01',SM-02') '' TO $SITE
end-if
Begin-select
from workorder
where [$where]
and crewid in $site
end-select
end-procedure
I am receiving error (SQR 4114) Expecting 'to', found move
''('ES-02','PS-08','SM-01',SM-02') '' TO $SITE
If you were able to follow this and have any suggestions I would appreciate
it.
Thank you
SQLServer 7
VisualSQRIBE 5.0
Larry McCown
Northrop Grumman
Western Region Facilities
One Hornet Way WG00/W9
El Segundo, Ca. 90245
mccowla@mail.northgrum.com
Phone (310)628-3939
Fax (310)331-7452
From owner-sqr-users@list.iex.net Thu Apr 12 12:48:11 2001
Date: Thu, 12 Apr 2001 13:43:35 -0400
From: "Turner, Ivan"
Subject: Re: Feeding a where statement
let $site =
'('''||ES-02||''','''||SM-01||''','''||PS-08||''','''||SM-02||''')'
-----Original Message-----
From: McCown, Larry [mailto:MCCOWLA@MAIL.NORTHGRUM.COM]
Sent: Thursday, April 12, 2001 12:06 PM
To: SQR-USERS@list.iex.net
Subject: Feeding a where statement
Hello,
Not sure how to state this but here it goes.
I am attempting to build a where statement that is fed from an if statement
using the in command.
Sample:
begin-procedure
if $site = 1 (user input as to which site)
move ''('ES-02','PS-08','SM-01',SM-02') '' TO $SITE
end-if
Begin-select
from workorder
where [$where]
and crewid in $site
end-select
end-procedure
I am receiving error (SQR 4114) Expecting 'to', found move
''('ES-02','PS-08','SM-01',SM-02') '' TO $SITE
If you were able to follow this and have any suggestions I would appreciate
it.
Thank you
SQLServer 7
VisualSQRIBE 5.0
Larry McCown
Northrop Grumman
Western Region Facilities
One Hornet Way WG00/W9
El Segundo, Ca. 90245
mccowla@mail.northgrum.com
Phone (310)628-3939
Fax (310)331-7452
From owner-sqr-users@list.iex.net Thu Apr 12 13:30:17 2001
Date: Thu, 12 Apr 2001 14:11:01 -0400
From: "Williams, Wes HS-SNS"
Subject: Re: Feeding a where statement
Opps, I didn't send the whole thing
promptmgr:
input $mgr 'Enter Manager''s last name, enter Terhorst for all'
let $mgr = upper($mgr)
evaluate $mgr
When = 'BEYER'
let $dyna_craft = 'leadcraft in ' ||'(' ||'''578-6'''||',' ||
'''579-6'''||',' ||'''580-6'''||')'
break
When = 'WALTON'
let $dyna_craft = 'leadcraft in ' ||'('||'''578-1T'''||','||
'''583-6E'''||','||
'''580-6T'''||','||'''583-1E'''||','||'''578-6T'''||','||'''578-8T'''||','||
'''583-8E'''||')'
break
When = 'PIAZZA'
let $dyna_craft = 'leadcraft in '
||'('||'''578-1'''||','||'''580-1'''||','||'''579-1P'''||','||'''579-1'''||'
,'||'''580-1P'''||','||'''578-10'''||','||'''579-10'''||','||'''580-10'''||'
,'||'''579-1'''||')'
break
When = 'TERHORST'
let $dyna_craft = '1=1'
break
When-other
goto promptmgr
end-evaluate
Wes Williams
Hamilton Sundstrand
815.226.6196
-----Original Message-----
From: McCown, Larry [mailto:MCCOWLA@MAIL.NORTHGRUM.COM]
Sent: Thursday, April 12, 2001 11:06 AM
To: SQR-USERS@list.iex.net
Subject: Feeding a where statement
Hello,
Not sure how to state this but here it goes.
I am attempting to build a where statement that is fed from an if statement
using the in command.
Sample:
begin-procedure
if $site = 1 (user input as to which site)
move ''('ES-02','PS-08','SM-01',SM-02') '' TO $SITE
end-if
Begin-select
from workorder
where [$where]
and crewid in $site
end-select
end-procedure
I am receiving error (SQR 4114) Expecting 'to', found move
''('ES-02','PS-08','SM-01',SM-02') '' TO $SITE
If you were able to follow this and have any suggestions I would appreciate
it.
Thank you
SQLServer 7
VisualSQRIBE 5.0
Larry McCown
Northrop Grumman
Western Region Facilities
One Hornet Way WG00/W9
El Segundo, Ca. 90245
mccowla@mail.northgrum.com
Phone (310)628-3939
Fax (310)331-7452
From owner-sqr-users@list.iex.net Thu Apr 12 12:47:12 2001
Date: Thu, 12 Apr 2001 13:31:54 -0400
From: "Beller, Jay"
Subject: Bug in Date Handling
Has anyone found SQR mishandling comparing two DATE fields when one of them
is the last day of a month and the other is the first day of the next month?
We're finding that SQR thinks these dates are the same - quite a serious
problem!
Here's a short program to demonstrate. If your version of SQR has the bug,
you should see every end-of-month date appear.
Thanks ... Jay Beller
===========================================
Begin-Setup
Declare-Variable
Date $CC_Curr_Date
Date $CC_Prev_Date
End-Declare
End-Setup
Begin-Program
do CC-Main
End-Program
Begin-Procedure CC-Main
SHOW 'Comparing Dates from 1/1/1999 forward...'
show '========================================================='
let #i = 0
let $CC_Prev_Date = strtodate( '01/01/1999', 'MM/DD/YYYY' )
while #i < 3000
let $CC_Curr_Date = dateadd( $CC_Prev_Date, 'DAY', 1 )
do compare-dates-wrong
add 1 to #i
let $CC_Prev_Date = $CC_Curr_Date
end-while
End-Procedure CC-Main
begin-procedure compare-dates-wrong
if $CC_Prev_Date = $CC_Curr_Date
show
$CC_Prev_Date edit 'MM/DD/YYYY HH:MI:SS am'
' = '
$CC_Curr_Date edit 'MM/DD/YYYY HH:MI:SS am'
else
if $CC_Prev_Date > $CC_Curr_Date
show
$CC_Prev_Date edit 'MM/DD/YYYY HH:MI:SS am'
' > '
$CC_Curr_Date edit 'MM/DD/YYYY HH:MI:SS am'
end-if
end-if
end-procedure
From owner-sqr-users@list.iex.net Thu Apr 12 13:01:47 2001
Date: Thu, 12 Apr 2001 13:58:11 -0400
From: Glenn Coulter
Subject: Re: Bug in Date Handling
Hi Jay,
There is a pretty detailed discussion of this topic in the SQRUG archive
list. Check out this post and its thread:
http://www.sqrug.com/sqr-users/sqrusers/msg00101.html I think it may help.
Glenn
-----Original Message-----
From: Beller, Jay [mailto:JBeller@LBISOFTWARE.COM]
Sent: Thursday, April 12, 2001 1:32 PM
To: SQR-USERS@list.iex.net
Subject: Bug in Date Handling
Has anyone found SQR mishandling comparing two DATE fields when one of them
is the last day of a month and the other is the first day of the next month?
We're finding that SQR thinks these dates are the same - quite a serious
problem!
Here's a short program to demonstrate. If your version of SQR has the bug,
you should see every end-of-month date appear.
Thanks ... Jay Beller
===========================================
Begin-Setup
Declare-Variable
Date $CC_Curr_Date
Date $CC_Prev_Date
End-Declare
End-Setup
Begin-Program
do CC-Main
End-Program
Begin-Procedure CC-Main
SHOW 'Comparing Dates from 1/1/1999 forward...'
show '========================================================='
let #i = 0
let $CC_Prev_Date = strtodate( '01/01/1999', 'MM/DD/YYYY' )
while #i < 3000
let $CC_Curr_Date = dateadd( $CC_Prev_Date, 'DAY', 1 )
do compare-dates-wrong
add 1 to #i
let $CC_Prev_Date = $CC_Curr_Date
end-while
End-Procedure CC-Main
begin-procedure compare-dates-wrong
if $CC_Prev_Date = $CC_Curr_Date
show
$CC_Prev_Date edit 'MM/DD/YYYY HH:MI:SS am'
' = '
$CC_Curr_Date edit 'MM/DD/YYYY HH:MI:SS am'
else
if $CC_Prev_Date > $CC_Curr_Date
show
$CC_Prev_Date edit 'MM/DD/YYYY HH:MI:SS am'
' > '
$CC_Curr_Date edit 'MM/DD/YYYY HH:MI:SS am'
end-if
end-if
end-procedure
From owner-sqr-users@list.iex.net Thu Apr 12 13:02:44 2001
Date: Thu, 12 Apr 2001 13:59:14 -0400
From: Rod Wright
Subject: Re: Bug in Date Handling
Jay,
This is a well-known bug at least in my version (4.3.4). I don't know if Brio
has corrected it in later versions. The best suggestion I can offer is to always
convert the dates to julian and then compare the julian dates.
Rod
"Beller, Jay" on 04/12/2001 01:31:54 PM
Please respond to sqr-users@list.iex.net
To: SQR-USERS@list.iex.net
cc: (bcc: Rodney Wright/Trcb/Rouse)
Subject: Bug in Date Handling
Has anyone found SQR mishandling comparing two DATE fields when one of them
is the last day of a month and the other is the first day of the next month?
We're finding that SQR thinks these dates are the same - quite a serious
problem!
Here's a short program to demonstrate. If your version of SQR has the bug,
you should see every end-of-month date appear.
Thanks ... Jay Beller
===========================================
Begin-Setup
Declare-Variable
Date $CC_Curr_Date
Date $CC_Prev_Date
End-Declare
End-Setup
Begin-Program
do CC-Main
End-Program
Begin-Procedure CC-Main
SHOW 'Comparing Dates from 1/1/1999 forward...'
show '========================================================='
let #i = 0
let $CC_Prev_Date = strtodate( '01/01/1999', 'MM/DD/YYYY' )
while #i < 3000
let $CC_Curr_Date = dateadd( $CC_Prev_Date, 'DAY', 1 )
do compare-dates-wrong
add 1 to #i
let $CC_Prev_Date = $CC_Curr_Date
end-while
End-Procedure CC-Main
begin-procedure compare-dates-wrong
if $CC_Prev_Date = $CC_Curr_Date
show
$CC_Prev_Date edit 'MM/DD/YYYY HH:MI:SS am'
' = '
$CC_Curr_Date edit 'MM/DD/YYYY HH:MI:SS am'
else
if $CC_Prev_Date > $CC_Curr_Date
show
$CC_Prev_Date edit 'MM/DD/YYYY HH:MI:SS am'
' > '
$CC_Curr_Date edit 'MM/DD/YYYY HH:MI:SS am'
end-if
end-if
end-procedure
From owner-sqr-users@list.iex.net Thu Apr 12 13:02:31 2001
Date: Thu, 12 Apr 2001 13:59:19 -0400
From: Rick_Creel@AONCONS.COM
Subject: Re: Bug in Date Handling
Yes, this is a known bug in SQR, depending on the version of SQR you are using.
I use 4.3.4 and have this bug. Supposedly, it was fixed in a later release.
What I did to work around this problem is to convert the dates being compared to
a julian date format (YYYYDDD) and then compare those 2 values.
"Beller, Jay" on 04/12/2001 01:31:54 PM
Please respond to sqr-users@list.iex.net
To: SQR-USERS@list.iex.net
cc: (bcc: Rick Creel/IT/Aon Consulting)
Subject: Bug in Date Handling
Has anyone found SQR mishandling comparing two DATE fields when one of them
is the last day of a month and the other is the first day of the next month?
We're finding that SQR thinks these dates are the same - quite a serious
problem!
Here's a short program to demonstrate. If your version of SQR has the bug,
you should see every end-of-month date appear.
Thanks ... Jay Beller
===========================================
Begin-Setup
Declare-Variable
Date $CC_Curr_Date
Date $CC_Prev_Date
End-Declare
End-Setup
Begin-Program
do CC-Main
End-Program
Begin-Procedure CC-Main
SHOW 'Comparing Dates from 1/1/1999 forward...'
show '========================================================='
let #i = 0
let $CC_Prev_Date = strtodate( '01/01/1999', 'MM/DD/YYYY' )
while #i < 3000
let $CC_Curr_Date = dateadd( $CC_Prev_Date, 'DAY', 1 )
do compare-dates-wrong
add 1 to #i
let $CC_Prev_Date = $CC_Curr_Date
end-while
End-Procedure CC-Main
begin-procedure compare-dates-wrong
if $CC_Prev_Date = $CC_Curr_Date
show
$CC_Prev_Date edit 'MM/DD/YYYY HH:MI:SS am'
' = '
$CC_Curr_Date edit 'MM/DD/YYYY HH:MI:SS am'
else
if $CC_Prev_Date > $CC_Curr_Date
show
$CC_Prev_Date edit 'MM/DD/YYYY HH:MI:SS am'
' > '
$CC_Curr_Date edit 'MM/DD/YYYY HH:MI:SS am'
end-if
end-if
end-procedure
From owner-sqr-users@list.iex.net Thu Apr 12 13:17:15 2001
Date: Thu, 12 Apr 2001 14:12:43 -0400
From: "Salem, Mark"
Subject: Re: Bug in Date Handling
I ran your sample code in 6.0 and no error was shown. Apparently it has
been addressed by the folks at Brio.
> -----Original Message-----
> From: Rick_Creel@AONCONS.COM [SMTP:Rick_Creel@AONCONS.COM]
> Sent: Thursday, April 12, 2001 1:59 PM
> To: SQR-USERS@list.iex.net
> Subject: Re: Bug in Date Handling
>
> Yes, this is a known bug in SQR, depending on the version of SQR you are
> using.
> I use 4.3.4 and have this bug. Supposedly, it was fixed in a later
> release.
> What I did to work around this problem is to convert the dates being
> compared to
> a julian date format (YYYYDDD) and then compare those 2 values.
>
>
>
>
>
> "Beller, Jay" on 04/12/2001 01:31:54 PM
>
> Please respond to sqr-users@list.iex.net
>
> To: SQR-USERS@list.iex.net
> cc: (bcc: Rick Creel/IT/Aon Consulting)
>
> Subject: Bug in Date Handling
>
>
>
> Has anyone found SQR mishandling comparing two DATE fields when one of
> them
> is the last day of a month and the other is the first day of the next
> month?
> We're finding that SQR thinks these dates are the same - quite a serious
> problem!
>
> Here's a short program to demonstrate. If your version of SQR has the bug,
> you should see every end-of-month date appear.
>
> Thanks ... Jay Beller
> ===========================================
>
> Begin-Setup
> Declare-Variable
> Date $CC_Curr_Date
> Date $CC_Prev_Date
> End-Declare
> End-Setup
>
> Begin-Program
> do CC-Main
> End-Program
>
> Begin-Procedure CC-Main
> SHOW 'Comparing Dates from 1/1/1999 forward...'
> show '========================================================='
>
> let #i = 0
> let $CC_Prev_Date = strtodate( '01/01/1999', 'MM/DD/YYYY' )
>
> while #i < 3000
> let $CC_Curr_Date = dateadd( $CC_Prev_Date, 'DAY', 1 )
> do compare-dates-wrong
> add 1 to #i
> let $CC_Prev_Date = $CC_Curr_Date
> end-while
> End-Procedure CC-Main
>
> begin-procedure compare-dates-wrong
> if $CC_Prev_Date = $CC_Curr_Date
> show
> $CC_Prev_Date edit 'MM/DD/YYYY HH:MI:SS am'
> ' = '
> $CC_Curr_Date edit 'MM/DD/YYYY HH:MI:SS am'
> else
> if $CC_Prev_Date > $CC_Curr_Date
> show
> $CC_Prev_Date edit 'MM/DD/YYYY HH:MI:SS am'
> ' > '
> $CC_Curr_Date edit 'MM/DD/YYYY HH:MI:SS am'
> end-if
> end-if
> end-procedure
From owner-sqr-users@list.iex.net Thu Apr 12 16:42:54 2001
Date: Thu, 12 Apr 2001 14:37:59 -0700
From: "Parks, Sam"
Subject: #current-line
I am trying to use the Graphic command to print a shaded box without sides
on a print line.
I have used it successfully in other sqr programs exactly as I am trying to
use it here.
The #current-line displays as 37, when I use it as a pointer, it becomes 73.
39 = 77, 41 = 81, and so on.
below is the actual logic. I am using SQR Workbench, V4.1.1
The defaults are: #box_rule_width = 0, #box_shading = 1
--- logic here ----------------------------------
add 1 to #shade_count_main_ne
let #P1 = #current-line ! this is a display setup for
testing
print ' ' (,1) ! I print a blank space
to get the #current-line correct
let #P2 = #current-line ! this is a display setup for
testing
if #shade_count_main_ne = 2 and #current-line < 51
let #shade_count_main_ne = 0
let #box_start_line = #current-line
let #box_no_of_columns = 160
show '#P1 ' #P1 ! display for testing displays 37
show '#P2 ' #P2 ! display for testing displays 37
show #box_start_line ! display for testing displays 37
graphic (#box_start_line,#box_start_column,#box_no_of_columns)
box #box_depth #box_rule_width #box_shading
end-if
Error on line 1115:
(SQR 4602) GRAPHIC BOX out of bounds.
Row: 73, Column: 1, Width: 160, Depth: 1
Row should be 37 ( #box_start_line)
Thanks
From owner-sqr-users@list.iex.net Thu Apr 12 17:35:14 2001
Date: Thu, 12 Apr 2001 15:33:31 -0700
From: Laura Lopez
Subject: Set priorities
thank you all for your help. I got it!
THanks!
Laura.
From owner-sqr-users@list.iex.net Fri Apr 13 13:59:12 2001
Date: Fri, 13 Apr 2001 14:55:08 -0400
From: Steve Rogers
Subject: use of #if/#endif on DB2/MVS
We are converting DB2/AS400 to DB2/MVS. MVS does not like the following
SQC -
!LinePrinter is not supported for this SQC, if not POSTSCRIPT, then
! HPLASERJET will be used.
#if {PRINTER_TYPE} <> 'POSTSCRIPT'
#define PRINTER_TYPE HPLASERJET
#endif
#if {PRINTER_TYPE} = 'POSTSCRIPT'
declare-printer PS-definition
type={PRINTER_TYPE}
point-size=5
font=3 ! Courier font
!
! add STARTUP-FILE=dir\filename to change the symbol set
!
end-declare
#endif
#if {PRINTER_TYPE} = 'HPLASERJET'
declare-printer HP-definition <-------- problem begins here
type=HPLASERJET
point-size=5
symbol-set=0U ! ASCII symbol set
pitch=24
font=3 ! Courier font
end-declare
#endif
Here are the error messages -
Error in include file "DDN:SQRINC(ptpsl215)" on line 47:
(SQR 4702) Line found outside paragraph.
declare-printer HP-definition
Error in include file "DDN:SQRINC(ptpsl215)" on line 48:
(SQR 4702) Line found outside paragraph.
type=HPLASERJET
Error in include file "DDN:SQRINC(ptpsl215)" on line 49:
(SQR 4702) Line found outside paragraph.
point-size=5
Error in include file "DDN:SQRINC(ptpsl215)" on line 50:
(SQR 4702) Line found outside paragraph.
symbol-set=0U
Can anyone tell me what MVS does not like?
thanks,
Stev
From owner-sqr-users@list.iex.net Fri Apr 13 14:06:15 2001
Date: Fri, 13 Apr 2001 14:04:24 -0500
From: Ron Baker
Subject: Re: use of #if/#endif on DB2/MVS
Looks like you need to take the space out. However this shouldn't be
specific to MVS, it should error on any platform if this is indeed the
problem.
#if {PRINTER_TYPE} = 'HPLASERJET'
declare-printer HP-definition <-------- problem begins here
<-------- take this space out
****************
type=HPLASERJET
point-size=5
symbol-set=0U ! ASCII symbol set
pitch=24
font=3 ! Courier font
end-declare
#endif
Ron
IS&T
Project Payday
x6478
Steve Rogers
cc:
Sent by: Subject: use of #if/#endif on DB2/MVS
"Discussion of
SQR, Brio
Technology's
database
reporting
language"
04/13/01 01:55
PM
Please respond
to sqr-users
We are converting DB2/AS400 to DB2/MVS. MVS does not like the
following
SQC -
!LinePrinter is not supported for this SQC, if not POSTSCRIPT, then
! HPLASERJET will be used.
#if {PRINTER_TYPE} <> 'POSTSCRIPT'
#define PRINTER_TYPE HPLASERJET
#endif
#if {PRINTER_TYPE} = 'POSTSCRIPT'
declare-printer PS-definition
type={PRINTER_TYPE}
point-size=5
font=3 ! Courier font
!
! add STARTUP-FILE=dir\filename to change the symbol set
!
end-declare
#endif
#if {PRINTER_TYPE} = 'HPLASERJET'
declare-printer HP-definition <-------- problem begins here
type=HPLASERJET
point-size=5
symbol-set=0U ! ASCII symbol set
pitch=24
font=3 ! Courier font
end-declare
#endif
Here are the error messages -
Error in include file "DDN:SQRINC(ptpsl215)" on line 47:
(SQR 4702) Line found outside paragraph.
declare-printer HP-definition
Error in include file "DDN:SQRINC(ptpsl215)" on line 48:
(SQR 4702) Line found outside paragraph.
type=HPLASERJET
Error in include file "DDN:SQRINC(ptpsl215)" on line 49:
(SQR 4702) Line found outside paragraph.
point-size=5
Error in include file "DDN:SQRINC(ptpsl215)" on line 50:
(SQR 4702) Line found outside paragraph.
symbol-set=0U
Can anyone tell me what MVS does not like?
thanks,
Stev
From owner-sqr-users@list.iex.net Fri Apr 13 15:28:32 2001
Date: Fri, 13 Apr 2001 16:15:22 -0400
From: Joy Hoyte
Subject: Re: use of #if/#endif on DB2/MVS
Steve,
Usually a 'line found outside of paragraph' error indicates that you're
missing a BEGIN or END statement or that you have a typo in your BEGIN or
END statement. You said this is an SQC. Is the #Include command that pulls
the SQC in placed correctly in your SQR source code? Since the SQC contains
a Declare-Printer command, the #Include would need to be placed inside the
SETUP section (BEGIN-SETUP / END-SETUP).
Joy Hoyte
----- Original Message -----
From: "Steve Rogers"
To:
Sent: Friday, April 13, 2001 2:55 PM
Subject: use of #if/#endif on DB2/MVS
> We are converting DB2/AS400 to DB2/MVS. MVS does not like the
following
> SQC -
>
> !LinePrinter is not supported for this SQC, if not POSTSCRIPT, then
> ! HPLASERJET will be used.
> #if {PRINTER_TYPE} <> 'POSTSCRIPT'
> #define PRINTER_TYPE HPLASERJET
> #endif
>
>
> #if {PRINTER_TYPE} = 'POSTSCRIPT'
> declare-printer PS-definition
> type={PRINTER_TYPE}
> point-size=5
> font=3 ! Courier font
>
> !
> ! add STARTUP-FILE=dir\filename to change the symbol set
> !
> end-declare
> #endif
>
> #if {PRINTER_TYPE} = 'HPLASERJET'
> declare-printer HP-definition <-------- problem begins here
>
> type=HPLASERJET
> point-size=5
> symbol-set=0U ! ASCII symbol set
> pitch=24
> font=3 ! Courier font
> end-declare
> #endif
>
>
> Here are the error messages -
>
> Error in include file "DDN:SQRINC(ptpsl215)" on line 47:
> (SQR 4702) Line found outside paragraph.
> declare-printer HP-definition
>
> Error in include file "DDN:SQRINC(ptpsl215)" on line 48:
> (SQR 4702) Line found outside paragraph.
> type=HPLASERJET
>
> Error in include file "DDN:SQRINC(ptpsl215)" on line 49:
> (SQR 4702) Line found outside paragraph.
> point-size=5
>
> Error in include file "DDN:SQRINC(ptpsl215)" on line 50:
> (SQR 4702) Line found outside paragraph.
> symbol-set=0U
>
>
> Can anyone tell me what MVS does not like?
>
> thanks,
> Stev
>
From owner-sqr-users@list.iex.net Mon Apr 16 06:31:28 2001
Date: Mon, 16 Apr 2001 07:23:12 -0400
From: "Schelske, Steve K."
Subject: Re: use of #if/#endif on DB2/MVS
Edit the SQC on MVS and see if there are any "bad" hex characters. On the
command line in ISPF type F '.'
-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Steve Rogers
Sent: Friday, April 13, 2001 2:55 PM
To: SQR-USERS@list.iex.net
Subject: use of #if/#endif on DB2/MVS
We are converting DB2/AS400 to DB2/MVS. MVS does not like the
following
SQC -
!LinePrinter is not supported for this SQC, if not POSTSCRIPT, then
! HPLASERJET will be used.
#if {PRINTER_TYPE} <> 'POSTSCRIPT'
#define PRINTER_TYPE HPLASERJET
#endif
#if {PRINTER_TYPE} = 'POSTSCRIPT'
declare-printer PS-definition
type={PRINTER_TYPE}
point-size=5
font=3 ! Courier font
!
! add STARTUP-FILE=dir\filename to change the symbol set
!
end-declare
#endif
#if {PRINTER_TYPE} = 'HPLASERJET'
declare-printer HP-definition <-------- problem begins here
type=HPLASERJET
point-size=5
symbol-set=0U ! ASCII symbol set
pitch=24
font=3 ! Courier font
end-declare
#endif
Here are the error messages -
Error in include file "DDN:SQRINC(ptpsl215)" on line 47:
(SQR 4702) Line found outside paragraph.
declare-printer HP-definition
Error in include file "DDN:SQRINC(ptpsl215)" on line 48:
(SQR 4702) Line found outside paragraph.
type=HPLASERJET
Error in include file "DDN:SQRINC(ptpsl215)" on line 49:
(SQR 4702) Line found outside paragraph.
point-size=5
Error in include file "DDN:SQRINC(ptpsl215)" on line 50:
(SQR 4702) Line found outside paragraph.
symbol-set=0U
Can anyone tell me what MVS does not like?
thanks,
Stev
From owner-sqr-users@list.iex.net Fri Apr 13 15:12:55 2001
Date: Fri, 13 Apr 2001 14:59:38 -0500
From: "Mente, Pat"
Subject: Code for Distribution
Hello All,
Anyone out there have some code that creates a distribution? I have order
inquiries that are pending, and I want to count them into buckets of days
pending.(< 6, 6-10, 10-20, >20) I have roughly 21,000 inquiries so I did
not think an array would be useful. Any ideas?
Thanks.
Pat
A.L. Pat Mente
> VERIZON Information Services - IT
972.453.6285
pat.mente@verizon.com
From owner-sqr-users@list.iex.net Mon Apr 16 11:25:00 2001
Date: Mon, 16 Apr 2001 12:14:26 -0400
From: "Turner, Ivan"
Subject: Rounding errors in SQR
To get an practical test of a variable being less than zero do I need?
If &TOTAL_WRITE_OFF < -0.001
Or
If &TOTAL_WRITE_OFF < 0.001
Please explain
Thank you
From owner-sqr-users@list.iex.net Mon Apr 16 12:20:52 2001
Date: Mon, 16 Apr 2001 11:28:55 -0500
From: John Hopper
Subject: Re: Rounding errors in SQR
<.01 will work 'cause it's less than a penny.
But try the rouding function instead
It's in NUMBER.SQC:
use precision=2 for 2 decimal places
begin-procedure PS_SQR_Round (#in_decimal, #precision, :#out_decimal)
. . .
GBR
From owner-sqr-users@list.iex.net Mon Apr 16 11:37:51 2001
Date: Mon, 16 Apr 2001 12:22:21 -0400
From: Ann Elizabeth Dunbar
Subject: Intellistor
I know this mailing list is for SQR, but does anyone know if there is a
Listserv for Intellistor? (Brio has a 3rd party product for use with
Sungard's Intellistor product).
Thanks,
Ann
From owner-sqr-users@list.iex.net Mon Apr 16 12:42:09 2001
Date: Mon, 16 Apr 2001 13:20:05 -0400
From: Anthony Key
Subject: Re: Intellistor
How do I unsubscribe from this user list.
Thanks
Ann Elizabeth
Dunbar To: SQR-USERS@list.iex.net
Subject: Intellistor
Sent by:
"Discussion of
SQR,
Brio
Technology's
database
reporting
language"
04/16/2001
12:22 PM
Please respond
to sqr-users
I know this mailing list is for SQR, but does anyone know if there is a
Listserv for Intellistor? (Brio has a 3rd party product for use with
Sungard's Intellistor product).
Thanks,
Ann
From owner-sqr-users@list.iex.net Mon Apr 16 15:09:05 2001
Date: Mon, 16 Apr 2001 15:44:18 -0400
From: Financials Peoplesoft
Subject: Report problem
Hi All,
I have a problem in getting the data for job family, campus and headcount
fields grouping by campus and job family. Using Department Id as input
parameter. Employees, Dept_tbl and Job_Family_tbl are used in the select
statement.
Basically I have a problem in comparing the data which is selected. Itf
campus and job family is found then it has to add the employee count and
FTE.
Can anyone try to give the solution.
Thanks for you halp in advance.
Paul
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From owner-sqr-users@list.iex.net Tue Apr 17 12:34:00 2001
Date: Tue, 17 Apr 2001 10:36:06 -0700
From: David Thorburn
Subject: Re: Report problem
Dear Paul,
>From your message is does not appear that you are an IT professional
experienced in the PS database and SQR programming.
I would recommend that you utilize the services of a good PS/SQR
consultant instead of just 'trying' to come up with something.
Best of Luck and Kind Regards,
David
_________________________________________________________
thorburn@conl.net www.geocities.com\david_thorburn
_________________________________________________________
----- Original Message -----
From: Financials Peoplesoft
To:
Sent: Monday, April 16, 2001 12:44 PM
Subject: Report problem
> Hi All,
> I have a problem in getting the data for job family, campus and headcount
> fields grouping by campus and job family. Using Department Id as input
> parameter. Employees, Dept_tbl and Job_Family_tbl are used in the select
> statement.
> Basically I have a problem in comparing the data which is selected. Itf
> campus and job family is found then it has to add the employee count and
> FTE.
>
> Can anyone try to give the solution.
>
> Thanks for you halp in advance.
>
> Paul
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
From owner-sqr-users@list.iex.net Tue Apr 17 09:46:27 2001
Date: Tue, 17 Apr 2001 15:44:41 +0100
From: Tim Wilkinson
Subject: Brio Report Builder
Hi all,
I've just installed this product so that our company can evaluate it.
My questions are: -
a) Has anyone else used it and if so what do you think to it?
b) When creating reports, I can see and select the tables and columns and
write reports, but it doesnt pull back any data. I'm connecting to a remote
Unix server using Oracle 7 ODBC (although its an Oracle 8 DB, but the SQR
Oracle 8 ODBC errored (System 126?)). Any ideas?
c) It seems that you cannot alter the layout of existing SQR's (ie ones
created using Notepad etc). Is this correct? If so, its a bit of a pain.
Anyone figured a way around this yet?
d) Is this the correct place to ask? I'm going to give Brio a call soon ref
the Oracle 8 issue.
Thanks,
Tim
From owner-sqr-users@list.iex.net Tue Apr 17 09:51:24 2001
Date: Tue, 17 Apr 2001 10:49:57 -0400
From: Scott Eubank
Subject: Re: Brio Report Builder
c) It seems that you cannot alter the layout of existing SQR's (ie ones
created using Notepad etc). Is this correct? If so, its a bit of a pain.
Anyone figured a way around this yet?
Check your file permissions, you should easily beable to alter the file
permissions and then the file itself, resulting in a new sqr.. WOOOHOOOO. :)
Good Luck
-----Original Message-----
From: Tim Wilkinson [mailto:Tim.Wilkinson@HANCORP.CO.UK]
Sent: Tuesday, April 17, 2001 10:45 AM
To: SQR-USERS@list.iex.net
Subject: Brio Report Builder
Hi all,
I've just installed this product so that our company can evaluate it.
My questions are: -
a) Has anyone else used it and if so what do you think to it?
b) When creating reports, I can see and select the tables and columns and
write reports, but it doesnt pull back any data. I'm connecting to a remote
Unix server using Oracle 7 ODBC (although its an Oracle 8 DB, but the SQR
Oracle 8 ODBC errored (System 126?)). Any ideas?
c) It seems that you cannot alter the layout of existing SQR's (ie ones
created using Notepad etc). Is this correct? If so, its a bit of a pain.
Anyone figured a way around this yet?
d) Is this the correct place to ask? I'm going to give Brio a call soon ref
the Oracle 8 issue.
Thanks,
Tim
From owner-sqr-users@list.iex.net Tue Apr 17 10:20:52 2001
Date: Tue, 17 Apr 2001 09:15:10 -0600
From: Juan Alvarado
Subject: Re: Brio Report Builder
I use the Brio report builder. I think that is a good tool for GENERATE SQR
CODE.
For reverse the layout of the SQR isnt posible. I think that this feature
is essential for BRB.
I use for generate looking good reports that have features like expections,
or advance HTML with analysis with the applet or with Brio Insight.
If the tools cant do something i code in the SQR. For example the Bar
codes.
I hope this help you
-----Original Message-----
From: Tim Wilkinson [mailto:Tim.Wilkinson@HANCORP.CO.UK]
Sent: Tuesday, April 17, 2001 8:45 AM
To: SQR-USERS@list.iex.net
Subject: Brio Report Builder
Hi all,
I've just installed this product so that our company can evaluate it.
My questions are: -
a) Has anyone else used it and if so what do you think to it?
b) When creating reports, I can see and select the tables and columns and
write reports, but it doesnt pull back any data. I'm connecting to a remote
Unix server using Oracle 7 ODBC (although its an Oracle 8 DB, but the SQR
Oracle 8 ODBC errored (System 126?)). Any ideas?
c) It seems that you cannot alter the layout of existing SQR's (ie ones
created using Notepad etc). Is this correct? If so, its a bit of a pain.
Anyone figured a way around this yet?
d) Is this the correct place to ask? I'm going to give Brio a call soon ref
the Oracle 8 issue.
Thanks,
Tim
From owner-sqr-users@list.iex.net Tue Apr 17 11:49:10 2001
Date: Tue, 17 Apr 2001 08:45:03 -0700
From: Ben Le
Subject: Re: Brio Report Builder
Tim,
What version of SQR are you running? Brio admitted that SQR6.0, SQR6.1.3
are not working right with ORACLE. They recommended go with SQR6.1.4.
At 03:44 PM 4/17/01 +0100, you wrote:
>Hi all,
> I've just installed this product so that our company can evaluate it.
>My questions are: -
>
>a) Has anyone else used it and if so what do you think to it?
>b) When creating reports, I can see and select the tables and columns and
>write reports, but it doesnt pull back any data. I'm connecting to a remote
>Unix server using Oracle 7 ODBC (although its an Oracle 8 DB, but the SQR
>Oracle 8 ODBC errored (System 126?)). Any ideas?
>c) It seems that you cannot alter the layout of existing SQR's (ie ones
>created using Notepad etc). Is this correct? If so, its a bit of a pain.
>Anyone figured a way around this yet?
>d) Is this the correct place to ask? I'm going to give Brio a call soon ref
>the Oracle 8 issue.
>
>Thanks,
>
> Tim
Benjamin Le
ITS, System Development
Portland Community College
12000 SW 49th Ave. Portland, Oregon 97219
Voice: (503)-977-4970 Fax: (503)-977-4987
Mailto:ble@pcc.edu http://www.pcc.edu
From owner-sqr-users@list.iex.net Tue Apr 17 11:24:17 2001
Date: Tue, 17 Apr 2001 09:16:26 -0700
From: Chris Campbell
Subject: SQR OS390 Tracing
Hello all,
I would like to turn on the -S (SQL cursor status) flag when running my SQRs
on the mainframe (MVS / DB2). I have tried updating the SQRPARMS member of
the HLQ.PARMLIB dataset, but keep getting numerous errors when I try to run
my SQR's. Is this where you turn on the different SQR flags, and if so,
does anyone have an example of the SQRPARM file that works?
Thanks, Chris
_______________________________________________________
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/
From owner-sqr-users@list.iex.net Tue Apr 17 14:42:56 2001
Date: Tue, 17 Apr 2001 15:40:19 -0400
From: Cindy Chen
Subject: Re: SQR OS390 Tracing
Chris,
I think you need -S in your SQRPARMS. Here is part of the SQRPARMS
for your
example. The parenthesis looks unbalanced but it is correct.
PARMS('DDN:SQRIN DSN/PSFSPRD -FERPT -FCRPT -GPRINT=YES -P -IDDN:SQRINC(
-S -TBZ -MDDN:MAXIN')
HTH
-Cindy
At 09:16 AM 4/17/2001 -0700, you wrote:
>Hello all,
>
>I would like to turn on the -S (SQL cursor status) flag when running my SQRs
>on the mainframe (MVS / DB2). I have tried updating the SQRPARMS member of
>the HLQ.PARMLIB dataset, but keep getting numerous errors when I try to run
>my SQR's. Is this where you turn on the different SQR flags, and if so,
>does anyone have an example of the SQRPARM file that works?
>
>Thanks, Chris
>
>
>
>
>
>_______________________________________________________
>Send a cool gift with your E-Card
>http://www.bluemountain.com/giftcenter/
From owner-sqr-users@list.iex.net Tue Apr 17 13:24:00 2001
Date: Tue, 17 Apr 2001 11:17:15 -0700
From: Laura Lopez
Subject: Mailing Labels
I have to write an sqr that will print mailing labels (#5160 Avery Labels) -
don't ask me why not just do a Crystal Report... I have no idea what will be
the best way to do this. Defining columns .... Does anybody have a good
example of this or any excellent ideas...?
Thanks in advance!
Laura.
From owner-sqr-users@list.iex.net Tue Apr 17 13:57:23 2001
Date: Tue, 17 Apr 2001 13:54:44 -0500
From: "Cullina, Adam"
Subject: Re: Mailing Labels
Does anyone have significant experience with the SQR contract pay program
(CNTPAY01) in PeopleSoft Education and Government Version 7.6? I'm having
a hard time converting in data mid-contract for employees with earned not
payed balances. Please drop me a line.
Adam J Cullina
Computer Programmer/Analyst
University of Missouri - ASP
From owner-sqr-users@list.iex.net Tue Apr 17 14:01:58 2001
Date: Tue, 17 Apr 2001 14:57:11 -0400
From: "Williams, Wes HS-SNS"
Subject: Re: Mailing Labels
Chapter 9 of the sqr users guide (version 4) shows you how.
HTH
Wes Williams
Hamilton Sundstrand
815.226.6196
-----Original Message-----
From: Laura Lopez [mailto:laura.lopez@TRINET.COM]
Sent: Tuesday, April 17, 2001 1:17 PM
To: SQR-USERS@list.iex.net
Subject: Mailing Labels
I have to write an sqr that will print mailing labels (#5160 Avery Labels) -
don't ask me why not just do a Crystal Report... I have no idea what will be
the best way to do this. Defining columns .... Does anybody have a good
example of this or any excellent ideas...?
Thanks in advance!
Laura.
From owner-sqr-users@list.iex.net Tue Apr 17 14:03:42 2001
Date: Tue, 17 Apr 2001 15:00:53 -0400
From: Paul Hoyte
Subject: Re: Mailing Labels
This is a multi-part message in MIME format.
------=_NextPart_000_000E_01C0C74F.331FA6B0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Laura:
Attached is the sample program that is provided in the Brio sample
directory. This will product labels - you might have to customize it for
your needs but it will be a good start. Regards,
Paul Hoyte
Sharidionne, Inc.
(248) 559-6868
www.sharidionne.com
phoyte@sharidionne.com
-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Laura Lopez
Sent: Tuesday, April 17, 2001 2:17 PM
To: SQR-USERS@list.iex.net
Subject: Mailing Labels
I have to write an sqr that will print mailing labels (#5160 Avery Labels) -
don't ask me why not just do a Crystal Report... I have no idea what will be
the best way to do this. Defining columns .... Does anybody have a good
example of this or any excellent ideas...?
Thanks in advance!
Laura.
------=_NextPart_000_000E_01C0C74F.331FA6B0
Content-Type: application/octet-stream;
name="custlbls.sqr"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="custlbls.sqr"
! Custlbls.sqr 3/24/86 Mailing labels for customer list
!
! Written by Israel Stern
!
! This example demonstrates how mailing labels may be generated quite
! easily using SQR.
!
! Copyright (C) 1994-2000 Brio Technology All Worldwide Rights Reserved
!
! Disclaimer:
!
! This program is provided as an example and, while it is thought to be
! free from defect, Brio Technology makes no representations or war-
! ranties, either expressed or implied, with respect to the adequacy of
! the program in regard to merchantability or fitness for any particular
! result. The program is provided "as is" and the entire risk as to
! quality and performance is with the buyer. In no event shall Brio
! Technology be liable for special, direct, indirect or consequential
! damages resulting from any defect in this program. Some states do not
! allow the exclusion or limitations of implied warranties or liability
! for incidental or consequential damages, in which case the above=20
! limitations and exclusions may not apply to you.
!
!************************************************************************=
***
!
! Modification History:
!
! Date Eng Description
! -------- --- =
------------------------------------------------------------
! 11-11-92 GLD (0169)
! o Correct Headers
! (_V2.5.4_)
! 03-23-95 PAB (DEV-1000)
! o Changed 'Sybase, Inc.' to 'MITI' in disclaimer
! (_V2.5.6_)
! 05-13-94 GLD (DEV-1009)
! o Added 'Worldwide' Rights
! (_V3.5.4_)
! 04-03-96 PAB (DEV-4088)
! o Cleaned up the modification history.
! (_V4.1_)
! 07-28-97 BDC (OH-B006)
! o Header modification
! (_V6.0_)
! 01-05-00 PAB (OH-9795)
! o Change ending copyright year to 2000.
! (_EOH_)
!************************************************************************=
***
begin-setup
page-size 6 80 ! Use page-length equal to depth of one label
no-formfeed ! Most mailing label paper runs continuously.
end-setup
begin-report
do mail_labels
end-report
! We will print 3 labels across the page ("3 up").
!
begin-procedure mail_labels
move 0 to #total
columns 1 27 53 ! Define the columns; each column is the width of one =
label.
begin-select
name (1,1,24)
addr1 (2,1,24)
addr2 (3,1,24)
city (4,1,15)
state (0,+1,2)
zip (0,+1,5)
position (+2,1,0) ! Leave two blank lines between labels.
next-column at-end=3Dnewpage ! This command causes a tab to the next =
column
! after each label is printed. After the last
! column the page is written and a new page=20
! begun.
add 1 to #total
from customers
order by zip, name
end-select
! Put out summary of run:
!
use-column 0 ! Disable column printing
print 'Labels Printed on ' (+3,10,0)
date-time ()
print 'Total Labels Printed =3D ' (+1,10,0)
print #total () edit 999,999,999
end-procedure
------=_NextPart_000_000E_01C0C74F.331FA6B0--
From owner-sqr-users@list.iex.net Tue Apr 17 16:10:56 2001
Date: Tue, 17 Apr 2001 14:05:01 -0700
From: Laura Lopez
Subject: Re: Mailing Labels
Thank you Paul,
but unfortunately when I try to run that sqr (with real fields and record)
it does nothing - I also added a couple of include files: 'setenvc.sqc' and
'setup01.sqc' but still nothing happens.... what else to I need to add to
make it work?
Thanks!
> -----Original Message-----
> From: Paul Hoyte [SMTP:phoyte@SHARIDIONNE.COM]
> Sent: Tuesday, April 17, 2001 12:01 PM
> To: SQR-USERS@list.iex.net
> Subject: Re: Mailing Labels
>
> Laura:
>
> Attached is the sample program that is provided in the Brio sample
> directory. This will product labels - you might have to customize it for
> your needs but it will be a good start. Regards,
>
>
> Paul Hoyte
> Sharidionne, Inc.
> (248) 559-6868
> www.sharidionne.com
> phoyte@sharidionne.com
>
> -----Original Message-----
> From: Discussion of SQR, Brio Technology's database reporting language
> [mailto:SQR-USERS@list.iex.net]On Behalf Of Laura Lopez
> Sent: Tuesday, April 17, 2001 2:17 PM
> To: SQR-USERS@list.iex.net
> Subject: Mailing Labels
>
>
> I have to write an sqr that will print mailing labels (#5160 Avery Labels)
> -
> don't ask me why not just do a Crystal Report... I have no idea what will
> be
> the best way to do this. Defining columns .... Does anybody have a good
> example of this or any excellent ideas...?
> Thanks in advance!
> Laura. << File: custlbls.sqr >>
From owner-sqr-users@list.iex.net Tue Apr 17 18:49:25 2001
Date: Tue, 17 Apr 2001 16:44:12 -0700
From: Laura Lopez
Subject: Re: Mailing Labels
Paul,
It works now, thank you!
and thanks to you all for your help!
have a good one!
Laura.
> -----Original Message-----
> From: Laura Lopez [SMTP:laura.lopez@TRINET.COM]
> Sent: Tuesday, April 17, 2001 2:05 PM
> To: SQR-USERS@list.iex.net
> Subject: Re: Mailing Labels
>
> Thank you Paul,
> but unfortunately when I try to run that sqr (with real fields and
> record)
> it does nothing - I also added a couple of include files: 'setenvc.sqc'
> and
> 'setup01.sqc' but still nothing happens.... what else to I need to add to
> make it work?
> Thanks!
>
> > -----Original Message-----
> > From: Paul Hoyte [SMTP:phoyte@SHARIDIONNE.COM]
> > Sent: Tuesday, April 17, 2001 12:01 PM
> > To: SQR-USERS@list.iex.net
> > Subject: Re: Mailing Labels
> >
> > Laura:
> >
> > Attached is the sample program that is provided in the Brio sample
> > directory. This will product labels - you might have to customize it
> for
> > your needs but it will be a good start. Regards,
> >
> >
> > Paul Hoyte
> > Sharidionne, Inc.
> > (248) 559-6868
> > www.sharidionne.com
> > phoyte@sharidionne.com
> >
> > -----Original Message-----
> > From: Discussion of SQR, Brio Technology's database reporting language
> > [mailto:SQR-USERS@list.iex.net]On Behalf Of Laura Lopez
> > Sent: Tuesday, April 17, 2001 2:17 PM
> > To: SQR-USERS@list.iex.net
> > Subject: Mailing Labels
> >
> >
> > I have to write an sqr that will print mailing labels (#5160 Avery
> Labels)
> > -
> > don't ask me why not just do a Crystal Report... I have no idea what
> will
> > be
> > the best way to do this. Defining columns .... Does anybody have a good
> > example of this or any excellent ideas...?
> > Thanks in advance!
> > Laura. << File: custlbls.sqr >>
From owner-sqr-users@list.iex.net Tue Apr 17 20:19:32 2001
Date: Wed, 18 Apr 2001 11:13:39 +1000
From: Daniel Archibald
Subject: SQR and center
Hi all,
Just wondering if anyone has had a problem with the 'center' SQR function.
The problem I have is when I increase the point size using the alter-printer
command the center function does not seem to work properly. Point size of
10 appears to works fine, but when the font size increases to like to 14,
16, 18 and 36 its all wacky!? Is there something I need to put in the
'Setup' section of the SQR to make it work properly.
If anyone has come across this, knows why this is so or has a solution to
this problem it would be appreciated if you could assist me. Thanks in
advance.
Daniel Archibald
Environment:
Oracle 8.0.5.0.0
SQR 4.3.4
ERP PeopleSoft 7.6
From owner-sqr-users@list.iex.net Wed Apr 18 07:07:01 2001
Date: Wed, 18 Apr 2001 08:57:15 -0300
From: Peter Clark
Subject: Re: SQR and center
The centering is based on your declared layout & printer definitions, presumably 10 point. When you alter the point size, you are increasing the font size but not the defined layout of the page. You'll have to define a layout/printer to accomodate the larger font size. The centering will then center based on the larger size.
Peter
>>> Daniel Archibald 2001/04/17 10:13:39 pm >>>
Hi all,
Just wondering if anyone has had a problem with the 'center' SQR function.
The problem I have is when I increase the point size using the alter-printer
command the center function does not seem to work properly. Point size of
10 appears to works fine, but when the font size increases to like to 14,
16, 18 and 36 its all wacky!? Is there something I need to put in the
'Setup' section of the SQR to make it work properly.
If anyone has come across this, knows why this is so or has a solution to
this problem it would be appreciated if you could assist me. Thanks in
advance.
Daniel Archibald
Environment:
Oracle 8.0.5.0.0
SQR 4.3.4
ERP PeopleSoft 7.6
From owner-sqr-users@list.iex.net Tue Apr 17 21:12:07 2001
Date: Wed, 18 Apr 2001 10:03:29 +0800
From: Dipu Sudhakaran
Subject: How to extend the width of report
Hi All
I am trying to extend the width of the report in Brio Report =
Builder.But if we cross the line the coloumn is coming down.How to =
extend the width of the report.I have even decreased the font size and =
character width.there are many fields to accomodated in the report.And =
I want them to come a single line.please let me know if some one has a =
solution
thank u all
dipu sudhakaran
From owner-sqr-users@list.iex.net Wed Apr 18 08:22:01 2001
Date: Wed, 18 Apr 2001 08:17:23 -0500
From: Bob Helm
Subject: Re: How to extend the width of report
You may have already tried this, but you might try increasing 'max-columns'
to a greater number.
-----Original Message-----
From: Dipu Sudhakaran [mailto:dipu@FOCUS5.NET]
Sent: Tuesday, April 17, 2001 9:03 PM
To: SQR-USERS@list.iex.net
Subject: How to extend the width of report
Hi All
I am trying to extend the width of the report in Brio Report
Builder.But if we cross the line the coloumn is coming down.How to extend
the width of the report.I have even decreased the font size and character
width.there are many fields to accomodated in the report.And I want them to
come a single line.please let me know if some one has a solution
thank u all
dipu sudhakaran
From owner-sqr-users@list.iex.net Wed Apr 18 09:18:13 2001
Date: Wed, 18 Apr 2001 08:13:21 -0600
From: "Turner, Ivan"
Subject: Re: How to extend the width of report
Look also at the page-size declaration.
-----Original Message-----
From: Bob Helm [mailto:Bob.Helm@MEDIWARE.COM]
Sent: Wednesday, April 18, 2001 9:17 AM
To: SQR-USERS@list.iex.net
Subject: Re: How to extend the width of report
You may have already tried this, but you might try increasing 'max-columns'
to a greater number.
-----Original Message-----
From: Dipu Sudhakaran [mailto:dipu@FOCUS5.NET]
Sent: Tuesday, April 17, 2001 9:03 PM
To: SQR-USERS@list.iex.net
Subject: How to extend the width of report
Hi All
I am trying to extend the width of the report in Brio Report
Builder.But if we cross the line the coloumn is coming down.How to extend
the width of the report.I have even decreased the font size and character
width.there are many fields to accomodated in the report.And I want them to
come a single line.please let me know if some one has a solution
thank u all
dipu sudhakaran
From owner-sqr-users@list.iex.net Wed Apr 18 10:34:53 2001
Date: Wed, 18 Apr 2001 14:34:00 +0200
From: LEBLANC Philippe FTC
Subject: =?ISO-8859-1?Q?R=E9p.=20:=20Brio=20Report=20Builder?=
a) I use Brio report builder to create new layout reports
and support reports created this way (+/- 200 reports).
Advantage is that with the datas selected, you can:
1)- test the datas
2)- arrange output as you like with 1) and output to printer
or in postscript mode if you want to print rotated texts
and graphic logos
3)- output your datas to printer/flat file/table... via the
procedure statement do 'something' (see also 2) & 1)
begin-select
datas to retrieve
evaluate datas
when 'A'
do 'reporting_master'
do 'reporting_detail'
break
when 'B'
do 'design_graph'
break
when 'C'
do 'exporting_to_html'
do 'exporting_to_excel'
do 'exporting_to_text'
break
when 'D'
do 'inserting_new_tables'
break
end-evaluate
from tables
where conditions
end-select
4)- graphic features allowed for fonts
5)- any other ideas ?
b) I'm using SQR ODBC Driver for Oracle7 (32 bit) to connect to Oracle8
(Driver32=C:\WINNT\System32\wbor713.dll)
c) I use Brio Report Builder Layout only for design, then all modifications
are made in the code using tabular variables for printing positions
d) Yeap! and ask Brio for Brio Enterprise product (intranet business
management)
Cordialement, Philippe.
From owner-sqr-users@list.iex.net Wed Apr 18 07:49:23 2001
Date: Wed, 18 Apr 2001 08:45:22 -0400
From: Pamela Lantzy
Subject: rename function problems on NT
Hi,
I have a SQR which I rename a file after I am done processing it. When I
run the SQR in unix the rename function works great, but when I run the same
SQR on the NT machine, it does not work.
If I go to the machine that the SQR is running on and open windows explorer
and rename the file I do not have problems.
What else can I try or is there a problem using the rename function on NT?
Thanks,
Pam
From owner-sqr-users@list.iex.net Wed Apr 18 08:32:49 2001
Date: Wed, 18 Apr 2001 08:16:48 -0500
From: Victor M Sotomayor III
Subject: Re: rename function problems on NT
You can use an #ifdef in your code to make 2 different renames for each
platform. I assume your using the call system commdn to do this. Try and
do your actual command that you are using on Unix on NT using Command Prompt
and look at it that way to find the problem.
#ifdef UNIX
! rename for Unix
mv file1.dat file2.dat
#else
#ifdef NT
! rename for Unix
copy file1.dat file2.dat
#end-if
#end-if
-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Pamela Lantzy
Sent: Wednesday, April 18, 2001 7:45 AM
To: SQR-USERS@list.iex.net
Subject: rename function problems on NT
Hi,
I have a SQR which I rename a file after I am done processing it. When I
run the SQR in unix the rename function works great, but when I run the same
SQR on the NT machine, it does not work.
If I go to the machine that the SQR is running on and open windows explorer
and rename the file I do not have problems.
What else can I try or is there a problem using the rename function on NT?
Thanks,
Pam
From owner-sqr-users@list.iex.net Wed Apr 18 08:38:35 2001
Date: Wed, 18 Apr 2001 09:36:12 -0400
From: Paul Hoyte
Subject: Re: rename function problems on NT
Hello Pam:
Here is a code sample for doing a DOS file rename from with SQR. Hope it
works for you:
RENAME is not a primary DOS command. It is not a ".com",
".exe",".bat", etc. It is part of COMMAND.COM. If you want to execute a
RENAME, COPY, DIR, etc., try concatenating a reference to COMMAND.COM
before your
RENAME command...
Let $command_str =
'C:\WINDOWS\COMMAND.COM /c ' ||
'RENAME C:\TEMP\payroll.dk C:\SavBond\'||$filename
Regards,
Paul Hoyte
Sharidionne, Inc.
(248) 559-6868
www.sharidionne.com
phoyte@sharidionne.com
-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Pamela Lantzy
Sent: Wednesday, April 18, 2001 8:45 AM
To: SQR-USERS@list.iex.net
Subject: rename function problems on NT
Hi,
I have a SQR which I rename a file after I am done processing it. When I
run the SQR in unix the rename function works great, but when I run the same
SQR on the NT machine, it does not work.
If I go to the machine that the SQR is running on and open windows explorer
and rename the file I do not have problems.
What else can I try or is there a problem using the rename function on NT?
Thanks,
Pam
From owner-sqr-users@list.iex.net Thu Apr 19 09:57:51 2001
Date: Thu, 19 Apr 2001 09:45:43 -0500
From: Nathan Stratton Treadway
Subject: Re: rename function problems on NT -- COMSPEC environment variable
On Wed, Apr 18, 2001 at 09:36:12AM -0400, Paul Hoyte wrote:
> RENAME is not a primary DOS command. It is not a ".com",
> ".exe",".bat", etc. It is part of COMMAND.COM. If you want to execute a
> RENAME, COPY, DIR, etc., try concatenating a reference to COMMAND.COM
> before your
> RENAME command...
>
> Let $command_str =
> 'C:\WINDOWS\COMMAND.COM /c ' ||
> 'RENAME C:\TEMP\payroll.dk C:\SavBond\'||$filename
Paul explains here an important issue to keep in mind if you want
to use CALL SYSTEM USING under Windows to call on of the "internal"
"DOS" commands.
I wanted to add the warning that the path to the COMMAND.COM file varies
from machine to machine, depending on where Windows was installed and
which version of Windows you are using. If you need your program to run
on multiple machines transparently, you should use the value of the
COMSPEC environment variable instead of hard-coding the path in your
program. For an example of this approach, see
http://www.sqrug.com/sqr-users/sqrusers_00q2/msg00692.html
(or you can go to http://www.sqrug.com/sqr-users/ and search the list
archives for "comspec" to see lots of messages on this topic...)
Nathan
----------------------------------------------------------------------------
Nathan Stratton Treadway | Ray Ontko & Co. | Software consulting services
nathant@ontko.com | Richmond, IN | http://www.ontko.com/
From owner-sqr-users@list.iex.net Thu Apr 19 10:20:40 2001
Date: Thu, 19 Apr 2001 11:13:19 -0400
From: Mark Risman
Subject: Re: rename function problems on NT
Can you post a copy of the offending code? The issue could be in how you're
building the filenames.
-----Original Message-----
From: Pamela Lantzy [mailto:PLantzy@UAMAIL.ALBANY.EDU]
Sent: Wednesday, April 18, 2001 8:45 AM
To: SQR-USERS@list.iex.net
Subject: rename function problems on NT
Hi,
I have a SQR which I rename a file after I am done processing it. When I
run the SQR in unix the rename function works great, but when I run the same
SQR on the NT machine, it does not work.
If I go to the machine that the SQR is running on and open windows explorer
and rename the file I do not have problems.
What else can I try or is there a problem using the rename function on NT?
Thanks,
Pam
From owner-sqr-users@list.iex.net Thu Apr 19 13:06:21 2001
Date: Thu, 19 Apr 2001 13:56:37 -0400
From: Pamela Lantzy
Subject: Re: rename function problems on NT
I am only using the delivered SQR rename function. This works in unix but
not on NT.
Note: $Filename is defined in a table which includes the path and filename
.. For example below, I'm hardcoding the value. So when running on NT it
will have the proper directory path versus unix. Before the rename I had
the file open for reading and I close it before the rename.
let $Filename = '\\hebatch\devl$\uainput\uga_sat.dat'
let $NewFileName = $FileName || '_' || $timestamp
let #status = rename($FileName,$NewFileName)
if #status <> 0
let $message = 'Error renaming file: ' || $filename || ' to ' ||
$newfilename
do show($message)
else
let $message = 'Successful renaming file: ' || $filename || ' to ' ||
$newfilename
do show($message)
end-if
-----Original Message-----
From: Mark Risman [mailto:mrisman@UBSPAINEWEBBER.COM]
Sent: Thursday, April 19, 2001 11:13 AM
To: SQR-USERS@LIST.IEX.NET
Subject: Re: rename function problems on NT
Can you post a copy of the offending code? The issue could be in how you're
building the filenames.
-----Original Message-----
From: Pamela Lantzy [mailto:PLantzy@UAMAIL.ALBANY.EDU]
Sent: Wednesday, April 18, 2001 8:45 AM
To: SQR-USERS@list.iex.net
Subject: rename function problems on NT
Hi,
I have a SQR which I rename a file after I am done processing it. When I
run the SQR in unix the rename function works great, but when I run the same
SQR on the NT machine, it does not work.
If I go to the machine that the SQR is running on and open windows explorer
and rename the file I do not have problems.
What else can I try or is there a problem using the rename function on NT?
Thanks,
Pam
From owner-sqr-users@list.iex.net Thu Apr 19 13:34:51 2001
Date: Thu, 19 Apr 2001 14:22:39 -0400
From: "Schelske, Steve K."
Subject: Re: rename function problems on NT
Is that a space in the file name?
If so, you need quotes around the portion with the space, such as
'\\hebatch\devl$\uainput\"uga_sat".dat'
-----Original Message-----
let $Filename = '\\hebatch\devl$\uainput\uga_sat.dat'
let $NewFileName = $FileName || '_' || $timestamp
-----Original Message-----
From: Mark Risman [mailto:mrisman@UBSPAINEWEBBER.COM]
Sent: Thursday, April 19, 2001 11:13 AM
To: SQR-USERS@LIST.IEX.NET
Subject: Re: rename function problems on NT
Can you post a copy of the offending code? The issue could be in how you're
building the filenames.
-----Original Message-----
From: Pamela Lantzy [mailto:PLantzy@UAMAIL.ALBANY.EDU]
Sent: Wednesday, April 18, 2001 8:45 AM
To: SQR-USERS@list.iex.net
Subject: rename function problems on NT
Hi,
I have a SQR which I rename a file after I am done processing it. When I
run the SQR in unix the rename function works great, but when I run the same
SQR on the NT machine, it does not work.
If I go to the machine that the SQR is running on and open windows explorer
and rename the file I do not have problems.
What else can I try or is there a problem using the rename function on NT?
Thanks,
Pam
From owner-sqr-users@list.iex.net Thu Apr 19 13:39:07 2001
Date: Thu, 19 Apr 2001 14:35:39 -0400
From: Pamela Lantzy
Subject: Re: rename function problems on NT
No its an underscore
-----Original Message-----
From: Schelske, Steve K. [mailto:SKSchelske@AAAMICHIGAN.COM]
Sent: Thursday, April 19, 2001 2:23 PM
To: SQR-USERS@LIST.IEX.NET
Subject: Re: rename function problems on NT
Is that a space in the file name?
If so, you need quotes around the portion with the space, such as
'\\hebatch\devl$\uainput\"uga_sat".dat'
-----Original Message-----
let $Filename = '\\hebatch\devl$\uainput\uga_sat.dat'
let $NewFileName = $FileName || '_' || $timestamp
-----Original Message-----
From: Mark Risman [mailto:mrisman@UBSPAINEWEBBER.COM]
Sent: Thursday, April 19, 2001 11:13 AM
To: SQR-USERS@LIST.IEX.NET
Subject: Re: rename function problems on NT
Can you post a copy of the offending code? The issue could be in how you're
building the filenames.
-----Original Message-----
From: Pamela Lantzy [mailto:PLantzy@UAMAIL.ALBANY.EDU]
Sent: Wednesday, April 18, 2001 8:45 AM
To: SQR-USERS@list.iex.net
Subject: rename function problems on NT
Hi,
I have a SQR which I rename a file after I am done processing it. When I
run the SQR in unix the rename function works great, but when I run the same
SQR on the NT machine, it does not work.
If I go to the machine that the SQR is running on and open windows explorer
and rename the file I do not have problems.
What else can I try or is there a problem using the rename function on NT?
Thanks,
Pam
From owner-sqr-users@list.iex.net Wed Apr 18 10:16:34 2001
Date: Wed, 18 Apr 2001 16:01:30 +0100
From: =?iso-8859-1?q?Gurdip=20Bassi?=
Subject: Differences Between SQR 4.3 and 6.0
Hi all,
I have not used SQR since summer of '99, and will be
using SQR again this June.
However, l want to get up to date regarding changes
since v4.2 came out.
Looking at the Brio web site, l can only spot three
differences:
1. Direct Data Objects (DDO)
2. XML input and output
3. Brio Query Data
XML is not a problem since l have been involved in
that field for the past year.
However, what are DDOs and what is Brio Query Data?
Moreover, what functionality does SQR 6.0 provide in
terms of XML, i.e. parsing, validating, traversing the
DOM, and XML generation?
Many thanks.
Gurdip.
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
From owner-sqr-users@list.iex.net Wed Apr 18 10:57:59 2001
Date: Wed, 18 Apr 2001 08:56:20 -0700
From: Nicolas Moscaritolo
Subject: Re: Differences Between SQR 4.3 and 6.0
DDO is Brio method of getting at non-relational data sources. With the
Software Developers Kit (SDK), you can virtually attached to any data
source. Brio plans on developing DDO further in the future.
Brio Query Data (BQD) allows SQR to create an additional output file and
this file is used as input to Brio Enterprise. You can use all of SQR's
complexity to create a RESULT set in Enterprise.
-----Original Message-----
From: Gurdip Bassi [mailto:gurdip_bassi@YAHOO.CO.UK]
Sent: Wednesday, April 18, 2001 11:02 AM
To: SQR-USERS@list.iex.net
Subject: Differences Between SQR 4.3 and 6.0
Hi all,
I have not used SQR since summer of '99, and will be
using SQR again this June.
However, l want to get up to date regarding changes
since v4.2 came out.
Looking at the Brio web site, l can only spot three
differences:
1. Direct Data Objects (DDO)
2. XML input and output
3. Brio Query Data
XML is not a problem since l have been involved in
that field for the past year.
However, what are DDOs and what is Brio Query Data?
Moreover, what functionality does SQR 6.0 provide in
terms of XML, i.e. parsing, validating, traversing the
DOM, and XML generation?
Many thanks.
Gurdip.
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
From owner-sqr-users@list.iex.net Wed Apr 18 10:57:37 2001
Date: Wed, 18 Apr 2001 11:52:36 -0400
From: Tajinder Chahal
Subject: Leap Year
Does anyone know if there is a function in SQR which can determine if the year is a leap year or not?
Thanks in Advance
Tajinder
From owner-sqr-users@list.iex.net Wed Apr 18 11:09:32 2001
Date: Wed, 18 Apr 2001 17:08:31 +0100
From: Andy Brook
Subject: Re: Leap Year
Just do a mod (year,4) If the returned value is 0 then the year is leaping.
I dont know if there is a mod function in SQR but write your own or use your
rdbms's mod function.
Andy
-----Original Message-----
From: Tajinder Chahal [mailto:Tchaha@ROUSHIND.COM]
Sent: 18 April 2001 16:53
To: SQR-USERS@list.iex.net
Subject: Leap Year
Does anyone know if there is a function in SQR which can determine if the
year is a leap year or not?
Thanks in Advance
Tajinder
From owner-sqr-users@list.iex.net Wed Apr 18 11:37:24 2001
Date: Wed, 18 Apr 2001 10:31:55 -0600
From: Robert Goshko
Subject: Re: Leap Year
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This is not entirely correct.
First you check it with a mod 4, if it is 0 then it might be a leap
year. Then check with a mod 100, if this is not 0 then it is a leap
year. If the mod 100 is a 0 them check it with a mod 400, if this is
zero then it is a leap year. Century years that are not divisible by
400 are not leap years (e.g. 2000 was a leap year, but 2100 is not a
leap year). Avoid the Y2.1K problem :)
some SQR code:
let $Leap_Year = 'N'
if ( ( #Year % 4 ) = 0 )
if ( ( #Year % 100 ) = 0 )
if ( ( #Year % 400 ) = 0 )
move 'Y' to $Leap_Year
end-if
else
move 'Y' to $Leap_Year
end-if
end-if
.....Rob
=====================================================================
Robert Goshko Axis Computer Consulting Services, Inc.
President Sherwood Park, Alberta, Canada
robert.goshko@axis-dev.com http://www.axis-dev.com/
=====================================================================
- -----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting
language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Andy Brook
Sent: April 18, 2001 10:09 AM
To: SQR-USERS@list.iex.net
Subject: Re: Leap Year
Just do a mod (year,4) If the returned value is 0 then the year is
leaping.
I dont know if there is a mod function in SQR but write your own or
use your
rdbms's mod function.
Andy
- -----Original Message-----
From: Tajinder Chahal [mailto:Tchaha@ROUSHIND.COM]
Sent: 18 April 2001 16:53
To: SQR-USERS@list.iex.net
Subject: Leap Year
Does anyone know if there is a function in SQR which can determine if
the
year is a leap year or not?
Thanks in Advance
Tajinder
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.3
Comment: got root?
iQA/AwUBOt3Bejj0Cv9NDz5BEQIz8wCePAYyW2ukIGPF4vG7T/k8Xbw+ZZAAoLkU
KoMnEpydYyz8xg3sFGIO6P1v
=M1L/
-----END PGP SIGNATURE-----
From owner-sqr-users@list.iex.net Wed Apr 18 11:11:50 2001
Date: Wed, 18 Apr 2001 12:09:00 -0400
From: Rick_Creel@AONCONS.COM
Subject: Re: Leap Year
The way I have always determined leap year is use MOD arithmetic.
If you divide the 4 digit year by the number 4, and the remainder = 0, then it's
a leap year.
let #year = to_number(datetostr($date_variable,'YYYY'))
let #leap_year = MOD(#year,4)
if #leap_year = 0
blah
blah
end-if
Tajinder Chahal on 04/18/2001 11:52:36 AM
Please respond to sqr-users@list.iex.net
To: SQR-USERS@list.iex.net
cc: (bcc: Rick Creel/IT/Aon Consulting)
Subject: Leap Year
Does anyone know if there is a function in SQR which can determine if the year
is a leap year or not?
Thanks in Advance
Tajinder
From owner-sqr-users@list.iex.net Wed Apr 18 11:12:31 2001
Date: Wed, 18 Apr 2001 12:11:15 -0400
From: "Beller, Jay"
Subject: Re: Leap Year
Don't forget years that ...
mod(year, 100) = 0 is NOT a leap year and
mod(year, 400) = 0 IS a leap year
-----Original Message-----
From: Andy Brook [mailto:Andrew.Brook@HANCORP.CO.UK]
Sent: Wednesday, April 18, 2001 12:09 PM
To: SQR-USERS@list.iex.net
Subject: Re: Leap Year
Just do a mod (year,4) If the returned value is 0 then the year is leaping.
I dont know if there is a mod function in SQR but write your own or use your
rdbms's mod function.
Andy
-----Original Message-----
From: Tajinder Chahal [mailto:Tchaha@ROUSHIND.COM]
Sent: 18 April 2001 16:53
To: SQR-USERS@list.iex.net
Subject: Leap Year
Does anyone know if there is a function in SQR which can determine if the
year is a leap year or not?
Thanks in Advance
Tajinder
From owner-sqr-users@list.iex.net Wed Apr 18 11:17:04 2001
Date: Wed, 18 Apr 2001 12:13:26 -0400
From: "Jamadagni, Rajendra"
Subject: Re: Leap Year
Rick is partially right .....
A year is a leap year if ...
if (year_is_completely_divisible_by_400 ) OR
(year_is_not_divisible_by_100 and year_is_completely_divisible_by_4) then
current_year = leap year;
end-if;
HTH
Raj
______________________________________________________
Rajendra Jamadagni MIS, ESPN Inc.
Rajendra dot Jamadagni at ESPN dot com
Any opinion expressed here is personal and doesn't reflect that of ESPN Inc.
QOTD: Any clod can have facts, but having an opinion is an art !
*********************************************************************
This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify ESPN at (860) 766-2000 and delete this e-mail message from your computer, Thank you.
*********************************************************************
From owner-sqr-users@list.iex.net Wed Apr 18 11:38:37 2001
Date: Wed, 18 Apr 2001 12:23:04 -0400
From: Mark Risman
Subject: Re: Leap Year
How about something like:
let $Feb28-string = '02/28/' || to_char(#year)
let $Feb28 = strtodate ($Feb28-string, 'MM/DD/YYYY')
let $Mar1-string = '03/01/' || to_char(#year)
let $Mar1 = strtodate ($Mar1-string, 'MM/DD/YYYY')
if datediff ($Mar1, $Feb28, 'day') = 2
<#year is a leap year>
else
<#year is not a leap year>
end-if
where $Feb28 and $Mar1 are dates and $Feb28-string and $Mar1-string are text
variables.
This will tell you whether your OS thinks the year is a leap year, rather
than thinking about whether a year is the 100th, 400th year, etc. (if
you're worried about what happens every 100 or 400 years to begin with)
- Mark
-----Original Message-----
From: Tajinder Chahal [mailto:Tchaha@ROUSHIND.COM]
Sent: Wednesday, April 18, 2001 11:53 AM
To: SQR-USERS@list.iex.net
Subject: Leap Year
Does anyone know if there is a function in SQR which can determine if the
year is a leap year or not?
Thanks in Advance
Tajinder
From owner-sqr-users@list.iex.net Thu Apr 19 11:08:38 2001
Date: Wed, 18 Apr 2001 12:41:52 -0400
From: Rick_Creel@AONCONS.COM
Subject: Re: Leap Year
Mark-
Your solution will work fine, assuming you are on the SQR version that doesn't
have the DATEDIFF bug :-)
Mark Risman on 04/18/2001 12:23:04 PM
Please respond to sqr-users@list.iex.net
To: SQR-USERS@list.iex.net
cc: (bcc: Rick Creel/IT/Aon Consulting)
Subject: Re: Leap Year
How about something like:
let $Feb28-string = '02/28/' || to_char(#year)
let $Feb28 = strtodate ($Feb28-string, 'MM/DD/YYYY')
let $Mar1-string = '03/01/' || to_char(#year)
let $Mar1 = strtodate ($Mar1-string, 'MM/DD/YYYY')
if datediff ($Mar1, $Feb28, 'day') = 2
<#year is a leap year>
else
<#year is not a leap year>
end-if
where $Feb28 and $Mar1 are dates and $Feb28-string and $Mar1-string are text
variables.
This will tell you whether your OS thinks the year is a leap year, rather
than thinking about whether a year is the 100th, 400th year, etc. (if
you're worried about what happens every 100 or 400 years to begin with)
- Mark
-----Original Message-----
From: Tajinder Chahal [mailto:Tchaha@ROUSHIND.COM]
Sent: Wednesday, April 18, 2001 11:53 AM
To: SQR-USERS@list.iex.net
Subject: Leap Year
Does anyone know if there is a function in SQR which can determine if the
year is a leap year or not?
Thanks in Advance
Tajinder
From owner-sqr-users@list.iex.net Wed Apr 18 12:10:43 2001
Date: Wed, 18 Apr 2001 12:06:02 -0500
From: the dragon
Subject: Re: Leap Year
I agree with this, but let's be serious; since we are past the 2000 fiasco,
all you have to worry about is the evenly divisible by 4 part - after all,
none of our code will survive another 99 years to worry about the divisible
by 100 or 400 issue.
clark 'the dragon' willis
dragon enterprises, consulting services
----Original Message Follows----
Rick is partially right .....
A year is a leap year if ...
if (year_is_completely_divisible_by_400 ) OR
(year_is_not_divisible_by_100 and year_is_completely_divisible_by_4)
then
current_year = leap year;
end-if;
HTH
Raj
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
From owner-sqr-users@list.iex.net Wed Apr 18 12:10:06 2001
Date: Wed, 18 Apr 2001 14:06:15 -0300
From: Peter Clark
Subject: Re: Leap Year
>>> Mark Risman 2001/04/18 1:23:04
>This will tell you whether your OS thinks the year is a leap year, rather
>than thinking about whether a year is the 100th, 400th year, etc. (if
>you're worried about what happens every 100 or 400 years to begin with)
>- Mark
Fer cryin' out loud, it happened last year, Rick. Many systems still contain data from that year and many systems are still looking at that data.
Far too many programmers in the past took that same "if you're worried about something that happens x number of years down the road" attitude and look what happened (Y2k) and the damage it caused to the reputation of our profession.
Let's not propogate that attitude of sloppiness in our profession.
Peter
From owner-sqr-users@list.iex.net Wed Apr 18 12:24:01 2001
Date: Wed, 18 Apr 2001 13:20:33 -0400
From: Mark Risman
Subject: Re: Leap Year
Not sure what Rick has to do with this, but the reason I made that comment
was because one or two leap days over a span of a long enough time may or
may not be significant for whatever it is you are calculating. Processing
time and extra calculations, on the other hand, are very often significant
to us developers as we are writing our code.
- Mark
-----Original Message-----
From: Peter Clark [mailto:PGCLARK@VAC-ACC.GC.CA]
Sent: Wednesday, April 18, 2001 1:06 PM
To: SQR-USERS@list.iex.net
Subject: Re: Leap Year
>>> Mark Risman 2001/04/18 1:23:04
>This will tell you whether your OS thinks the year is a leap year, rather
>than thinking about whether a year is the 100th, 400th year, etc. (if
>you're worried about what happens every 100 or 400 years to begin with)
>- Mark
Fer cryin' out loud, it happened last year, Rick. Many systems still contain
data from that year and many systems are still looking at that data.
Far too many programmers in the past took that same "if you're worried about
something that happens x number of years down the road" attitude and look
what happened (Y2k) and the damage it caused to the reputation of our
profession.
Let's not propogate that attitude of sloppiness in our profession.
Peter
From owner-sqr-users@list.iex.net Wed Apr 18 12:14:10 2001
Date: Wed, 18 Apr 2001 13:10:05 -0400
From: "Jamadagni, Rajendra"
Subject: Re: Leap Year
Clark,
With due respect ...
In devising an algorithm, one has to consider all possible cases ... this
exact thing was overlooked and we had Y2K problem. If systems were using 4
digit years, Y2K couldn't have been more than just-another-new-year.
Cheers
Raj
______________________________________________________
Rajendra Jamadagni MIS, ESPN Inc.
Rajendra dot Jamadagni at ESPN dot com
Any opinion expressed here is personal and doesn't reflect that of ESPN Inc.
QOTD: Any clod can have facts, but having an opinion is an art !
*********************************************************************
This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify ESPN at (860) 766-2000 and delete this e-mail message from your computer, Thank you.
*********************************************************************
From owner-sqr-users@list.iex.net Wed Apr 18 12:27:27 2001
Date: Wed, 18 Apr 2001 14:23:35 -0300
From: Peter Clark
Subject: Re: Leap Year
Let's be serious??
Are you serious??
Did we learn nothing from Y2k?? In the seventies and eighties I coded in 2 digit years because my predecessors had coded in 2 digit years. Similarly, you run the risk of passing off your sloppiness to those who learn from your code and they will pass it on to those who follow them.
There are times when I fear for this profession.
>>> the dragon 2001/04/18 2:06:02 pm >>>
I agree with this, but let's be serious; since we are past the 2000 fiasco,
all you have to worry about is the evenly divisible by 4 part - after all,
none of our code will survive another 99 years to worry about the divisible
by 100 or 400 issue.
clark 'the dragon' willis
dragon enterprises, consulting services
----Original Message Follows----
Rick is partially right .....
A year is a leap year if ...
if (year_is_completely_divisible_by_400 ) OR
(year_is_not_divisible_by_100 and year_is_completely_divisible_by_4)
then
current_year = leap year;
end-if;
HTH
Raj
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
From owner-sqr-users@list.iex.net Thu Apr 19 11:08:38 2001
Date: Wed, 18 Apr 2001 13:38:59 -0400
From: Rick_Creel@AONCONS.COM
Subject: Re: Leap Year
The code should be able to handle ANY year situation. My company handles all
types of client data, some of it is salary history. For us ole' farts, our
salary history easily goes back prior to Y2K. For the young whipper-snappers,
their salary history will go waaaaay into the future. Also, you should consider
any sort of future year projections like the insurance industry does, or
actuarial sciences. The code should be able to handle all this.
Enuf said... lets not beat a dead horse over this.
From owner-sqr-users@list.iex.net Wed Apr 18 12:47:43 2001
Date: Wed, 18 Apr 2001 14:41:54 -0300
From: Peter Clark
Subject: Re: Leap Year
I'm still trying to digest this one.
Let me see if I have this correct.
A few nanoseconds and the inconvenience of writing a little extra code are "very often more significant" than the accuracy of the information we are processing.
hooookay ... gotcha. Dang it all, and when I think of all the wasted time and effort I've put into putting a little integrity into my work!! *dope slap*
>>> Mark Risman 2001/04/18 2:20:33 pm >>>
Not sure what Rick has to do with this, but the reason I made that comment
was because one or two leap days over a span of a long enough time may or
may not be significant for whatever it is you are calculating. Processing
time and extra calculations, on the other hand, are very often significant
to us developers as we are writing our code.
- Mark
-----Original Message-----
From: Peter Clark [mailto:PGCLARK@VAC-ACC.GC.CA]
Sent: Wednesday, April 18, 2001 1:06 PM
To: SQR-USERS@list.iex.net
Subject: Re: Leap Year
>>> Mark Risman 2001/04/18 1:23:04
>This will tell you whether your OS thinks the year is a leap year, rather
>than thinking about whether a year is the 100th, 400th year, etc. (if
>you're worried about what happens every 100 or 400 years to begin with)
>- Mark
Fer cryin' out loud, it happened last year, Rick. Many systems still contain
data from that year and many systems are still looking at that data.
Far too many programmers in the past took that same "if you're worried about
something that happens x number of years down the road" attitude and look
what happened (Y2k) and the damage it caused to the reputation of our
profession.
Let's not propogate that attitude of sloppiness in our profession.
Peter
From owner-sqr-users@list.iex.net Wed Apr 18 12:48:39 2001
Date: Wed, 18 Apr 2001 14:45:23 -0300
From: Peter Clark
Subject: Re: Leap Year
Apologies to anyone on the list that might take offence at my comments about the quality of work our profession is involved with.
I am afraid that my exasperation may have come out in some of my responses and I apologize for that, however I do stand by the intent of my comments.
Peter
From owner-sqr-users@list.iex.net Wed Apr 18 13:00:20 2001
Date: Wed, 18 Apr 2001 12:54:09 -0500
From: the dragon
Subject: Re: Leap Year
Peter, and others.
I am completely serious. Yes, we learned something from the Y2K issue -
mostly that is was overhyped nonsense. But, the difference between a 2
digit year and a 4 digit year is different from an issue that is 99 years
away.
The code that I write in sqr will not be around 10 years from now, let alone
a 100. If it is, I pity our civilization! I expect artificial intelligence
to be developed by then, and noone will be using sqr. Good grief, if anyone
even remembers what sqr stands for 100 years from now it'll be because they
are studying ancient languages.
clark 'the dragon' willis
----Original Message Follows----
Let's be serious??
Are you serious??
Did we learn nothing from Y2k?? In the seventies and eighties I coded in 2
digit years because my predecessors had coded in 2 digit years. Similarly,
you run the risk of passing off your sloppiness to those who learn from your
code and they will pass it on to those who follow them.
There are times when I fear for this profession.
>>> the dragon 2001/04/18 2:06:02 pm >>>
I agree with this, but let's be serious; since we are past the 2000 fiasco,
all you have to worry about is the evenly divisible by 4 part - after all,
none of our code will survive another 99 years to worry about the divisible
by 100 or 400 issue.
clark 'the dragon' willis
dragon enterprises, consulting services
----Original Message Follows----
Rick is partially right .....
A year is a leap year if ...
if (year_is_completely_divisible_by_400 ) OR
(year_is_not_divisible_by_100 and year_is_completely_divisible_by_4)
then
current_year = leap year;
end-if;
HTH
Raj
NOTICE: The information contained in this message is protected under United
States and international copyright laws and is intended for the personal and
confidential use of the addressee. If you are not the addressee or an agent
of the addressee, you are hereby notified that you have received this
message in error and that any review, dissemination, distribution, taking of
any action in reliance upon or copying of this message without the express
written permission of the sender or his agent is strictly prohibited and in
violation of referenced statutes. If you have received this message in
error, please notify me (the sender) immediately and you are instructed to
delete this message from any computer it resides on, including mail servers.
SIGNATURE :
Do not meddle in the affairs of dragons, for you are crunchy and taste good
with ketchup.
You've got to be a Spirit; don't need no Ghosts.
Do or Do Not; There is NO Try.
Any clod can have facts, but having an opinion is an art !
A conclusion is simply the place where someone got tired of thinking.
When a continuing state of defiance and disorder can not be checked by the
rules, then new and sometimes drastic rules must be forged to maintain
order; the alternative is anarchy.
M. Clark Willis III - Sr Systems Analyst, Sr Consultant ceprn@hotmail.com
aolim:ceprn ICQ 6633136
Help stamp out SPAM!! http://www.cauce.org
The senders of unsolicited commercial e-mail to me at any site are liable
for a $500 per message cost under USC 47, which may be found at
http://www.law.cornell.edu/uscode/47
Contents of this message, in it's entirety, (c) 2000 M. Clark Willis III /
Dragon Enterprises inc. All rights reserved.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
From owner-sqr-users@list.iex.net Wed Apr 18 13:47:41 2001
Date: Wed, 18 Apr 2001 12:40:08 -0600
From: Robert Goshko
Subject: Re: Leap Year
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Clark,
With respect to the Y2K "crisis", nobody will ever know if major
problems would have occurred without spending the money. From the
media side, it was way over-hyped.
But this issue has nothing to do with "code being around" for 100
years, it has to do with doing a job right, and besides, the original
post never said anything about why the need to check for a leap year,
possibly it is to validate dates. I worked on a system that had an
active widow collecting benefits and her birth date was in 1897!
The current system I'm working on replacing went online in 1968, I
doubt anyone who built it figured that it would run until 2001.
Truth is stranger than fiction.
As for AI, we might get there, but without all the rules, it will
never work right.
"A mind is like a parachute... It only works when it's open"
.....Rob
=====================================================================
Robert Goshko Axis Computer Consulting Services, Inc.
President Sherwood Park, Alberta, Canada
robert.goshko@axis-dev.com http://www.axis-dev.com/
=====================================================================
- -----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting
language
[mailto:SQR-USERS@list.iex.net]On Behalf Of the dragon
Sent: April 18, 2001 11:54 AM
To: SQR-USERS@list.iex.net
Subject: Re: Leap Year
Peter, and others.
I am completely serious. Yes, we learned something from the Y2K
issue -
mostly that is was overhyped nonsense. But, the difference between a
2
digit year and a 4 digit year is different from an issue that is 99
years
away.
The code that I write in sqr will not be around 10 years from now,
let alone
a 100. If it is, I pity our civilization! I expect artificial
intelligence
to be developed by then, and noone will be using sqr. Good grief, if
anyone
even remembers what sqr stands for 100 years from now it'll be
because they
are studying ancient languages.
clark 'the dragon' willis
- ----Original Message Follows----
Let's be serious??
Are you serious??
Did we learn nothing from Y2k?? In the seventies and eighties I coded
in 2
digit years because my predecessors had coded in 2 digit years.
Similarly,
you run the risk of passing off your sloppiness to those who learn
from your
code and they will pass it on to those who follow them.
There are times when I fear for this profession.
>>> the dragon 2001/04/18 2:06:02 pm >>>
I agree with this, but let's be serious; since we are past the 2000
fiasco,
all you have to worry about is the evenly divisible by 4 part - after
all,
none of our code will survive another 99 years to worry about the
divisible
by 100 or 400 issue.
clark 'the dragon' willis
dragon enterprises, consulting services
- ----Original Message Follows----
Rick is partially right .....
A year is a leap year if ...
if (year_is_completely_divisible_by_400 ) OR
(year_is_not_divisible_by_100 and
year_is_completely_divisible_by_4)
then
current_year = leap year;
end-if;
HTH
Raj
NOTICE: The information contained in this message is protected under
United
States and international copyright laws and is intended for the
personal and
confidential use of the addressee. If you are not the addressee or
an agent
of the addressee, you are hereby notified that you have received this
message in error and that any review, dissemination, distribution,
taking of
any action in reliance upon or copying of this message without the
express
written permission of the sender or his agent is strictly prohibited
and in
violation of referenced statutes. If you have received this message
in
error, please notify me (the sender) immediately and you are
instructed to
delete this message from any computer it resides on, including mail
servers.
SIGNATURE :
Do not meddle in the affairs of dragons, for you are crunchy and
taste good
with ketchup.
You've got to be a Spirit; don't need no Ghosts.
Do or Do Not; There is NO Try.
Any clod can have facts, but having an opinion is an art !
A conclusion is simply the place where someone got tired of thinking.
When a continuing state of defiance and disorder can not be checked
by the
rules, then new and sometimes drastic rules must be forged to
maintain
order; the alternative is anarchy.
M. Clark Willis III - Sr Systems Analyst, Sr Consultant
ceprn@hotmail.com
aolim:ceprn ICQ 6633136
Help stamp out SPAM!! http://www.cauce.org
The senders of unsolicited commercial e-mail to me at any site are
liable
for a $500 per message cost under USC 47, which may be found at
http://www.law.cornell.edu/uscode/47
Contents of this message, in it's entirety, (c) 2000 M. Clark Willis
III /
Dragon Enterprises inc. All rights reserved.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.3
Comment: got root?
iQA/AwUBOt3fhDj0Cv9NDz5BEQK1vQCgmHe+KsqRKv68RgcMkOPDIVbRx78Anis9
pi+jjwbns2VTF6ZpAu3wjffy
=07hC
-----END PGP SIGNATURE-----
From owner-sqr-users@list.iex.net Wed Apr 18 13:07:08 2001
Date: Wed, 18 Apr 2001 13:04:24 -0500
From: Rick Hansen
Subject: Re: Leap Year
No need to apologize. I respect the fact that there are still some of us who
appreciate doing the job right - the first time.
Rick Hansen
Sr. Application Systems Analyst
sqr-users@list.iex.net
04/18/2001 02:45 PM
To: SQR-USERS@list.iex.net
cc: (bcc: Rick Hansen/Davenport/MP/RSMi)
Subject: Re: Leap Year
Apologies to anyone on the list that might take offence at my comments about
the quality of work our profession is involved with.
I am afraid that my exasperation may have come out in some of my responses and
I apologize for that, however I do stand by the intent of my comments.
Peter
From owner-sqr-users@list.iex.net Wed Apr 18 13:48:01 2001
Date: Wed, 18 Apr 2001 14:46:59 -0400
From: Scott Eubank