|
I am not sure of when the "optional" parameters are not logged to the
joblog. For example if I enter:
CPYSPLF FILE(QPDSPJOB)
It will stop and prompt me for the output file. I fill it in and press
enter. After that my joblog has:
CPYSPLF FILE(QPDSPJOB) TOFILE(ROB/MYFILE)
Rob Berendt
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
Benjamin Franklin
"Hood, Chester" <chester.hood@xxxxxxxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
02/17/2003 01:01 PM
Please respond to Midrange Systems Technical Discussion
To: "'midrange-l@xxxxxxxxxxxx'" <midrange-l@xxxxxxxxxxxx>
cc:
Fax to:
Subject: Retrieving Command like F9
I have a need in a CL program to capture the complete command that was
entered to execute the CL program. What I think I am looking
for is a way to programmatically "press F9" and capture the result. I
cannot find any interface to do this .... is it possible?
Some obscure API maybe?
A bit more information ... there is a command definition for this CL
program that includes prompting for optional operands. The
user enters the command name and is prompted for the other operands; in
the job log only the "originally" entered operands are
present; those that were optional are not in the job log, so since F9 uses
the joblog to retrieve previous command, it seems F9
would not retrieve all operands, however, this seems to be in conflict
with normal interactive operation. For this specific case:
operator enters "T1 DEVICE(TAP02)" and is prompted for OPTION. Joblog
shows "T1 DEVICE(TAP02)" but as CL program begins it is with
"T1 DEVICE(TAP02) OPTION(A)" because operator was prompted for OPTION and
filled it in.
Thanks for any advice ... Chester Hood
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.