Any one can tell me, how can i get the spool file atribute of a current job?
Announcement
Collapse
No announcement yet.
Retrive the spool file atribute
Collapse
X
-
Re: Retrive the spool file atribute
From a CL program? What attributes are you interested in?All my answers were extracted from the "Big Dummy's Guide to the As400"
and I take no responsibility for any of them.
www.code400.com
-
Re: Retrive the spool file atribute
Okay - you need to either put a dataq on the outqueue or run an api.
But if you need to run a system command on it you can use the defaults
for example
PHP Code:RLSSPLF FILE(SOMEFILE) SPLNBR(*LAST)
All my answers were extracted from the "Big Dummy's Guide to the As400"
and I take no responsibility for any of them.
www.code400.com
Comment
-
Re: Retrive the spool file atribute
If doing a copy from the same program all you need is the name of the spooled file.
Then as I stated above just use the defaults for the cpysplf command ...except for the spooled file name and spooled file number.
change spooled file number to *LASTAll my answers were extracted from the "Big Dummy's Guide to the As400"
and I take no responsibility for any of them.
www.code400.com
Comment


Comment