anuar8080
asked on
Spool Files attributes in a outq
Hi,
I am trying to get the attributes of all the spool files sent to a specific OUTQ after my batch process stored into a physical file , usually i will do it manually by searching and copying the spool file to a PF before i would FTP the file to my PC. But i would like to automated the process since the number of spool files has been growing.
Basically i would like to get the
1.Spooled file
2.Job name
3.User name
4.Job number
5.Spool file number
Is the such a command i can use or do i have to write a CL program to do this ?
I am trying to get the attributes of all the spool files sent to a specific OUTQ after my batch process stored into a physical file , usually i will do it manually by searching and copying the spool file to a PF before i would FTP the file to my PC. But i would like to automated the process since the number of spool files has been growing.
Basically i would like to get the
1.Spooled file
2.Job name
3.User name
4.Job number
5.Spool file number
Is the such a command i can use or do i have to write a CL program to do this ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
anuar8080:
Please clarify. First, you said:
> ...get the attributes of all the spool files...
And then you said:
> ...copying the spool file to a PF
Do you want the attributes? Or do you want the contents? Those are two different things. It seems that you want the contents.
Tom
Please clarify. First, you said:
> ...get the attributes of all the spool files...
And then you said:
> ...copying the spool file to a PF
Do you want the attributes? Or do you want the contents? Those are two different things. It seems that you want the contents.
Tom
Hi anuar808
It's clear to me, you need the attributes to be able to store the contents,
So the WRKOUTQ is the right approach.
Regards,
Murph
It's clear to me, you need the attributes to be able to store the contents,
So the WRKOUTQ is the right approach.
Regards,
Murph
An other (more complex) option, is a DataQue connected to the Outq(s)
you can get info from this dataq with API QRCVDTAQ.
see example IBM manual:
http://www-1.ibm.com/support/docview.wss?uid=nas1cb7a02022d88303686256f12007737f1
Good Luck,
Murphey