Quiz on AS/400 - Operating system command
Latimer, Richard
richard.latimer@airways.co.nz
Tue, 5 Jun 2001 09:16:24 +1200
Daniel,
Use the page width statement - ie set page width xxx - so it's wide enough
to accomodate your string. Remember the maximum width is 255 !
You don't specify how you are going to run this but one word of caution with
QTEMP - every process has it's own qtemp and it's very easy when doing batch
things for the process creating the work file to be in a different thread
(or whatever the correct IBM term is for it!) from the process that is going
to use the work file.
We have a number of jobs where QTP creates a subfile for Quiz to read and it
doesn't work unless you create the subfile in a "proper" library.
cheers
Richard Latimer
Wellington MIS Manager
Airways New Zealand
Ph +64 4 471 4744
Fax +64 4 471 0395
-----Original Message-----
From: Daniel Mielke [mailto:DMielke@aicfunds.com]
Sent: Saturday, 2 June 2001 9:28 a.m.
To: Powerhouse List (E-mail)
Subject: Quiz on AS/400 - Operating system command
Hello All,
Does any know how to key an OS command that if it exceeds 80 characters, the
next line can be used?
I'm building a subfile using SET REPORT DEVICE DISC QTEMP/BOB to build a set
of OS commands and then using USE QTEMP/BOB(BOB) to execute them. However,
the file QTEMP/BOB has a maximum of 80 characters and some of the OS commnds
will exceed that limit.
For example, the FMTOPT(*NOCHK) portion of the command below would be cut
off.
$CPYF FROMFILE(ABCDEFGHIJ/FILENAMEXX) TOFILE(QTEMP/F) CRTFILE(*NO)
MBROPT(*ADD) FMTOPT(*NOCHK)
Help?
> BUY. HOLD. AND PROSPER.
>
> Daniel Mielke
> Senior User Analyst
> AIC Limited
> 1-888-710-4242 (4614)
> dmielke@aicfunds.com
> www.aicfunds.com
>
>
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.