View previous topic :: View next topic
|
Author |
Message |
Susanta
Active User
Joined: 17 Nov 2009 Posts: 126 Location: India
|
|
|
|
HI
Need to issue ejck thru rexx to multiple jobs inside a pds and trap ejck output and create a ouput file listing all the non exisiting input files.
Please help.
Thanks |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
Well, this is the Expert's Forum so what is your specific problem? If you just need to go about it then obviously you are not an expert in one or more of the areas you require so you should post in the Beginner's Forum. |
|
Back to top |
|
|
Susanta
Active User
Joined: 17 Nov 2009 Posts: 126 Location: India
|
|
|
|
need to know if we can ejck a pds member as below from rexx,
/*rexx*/
x = OUTTRAP(OUT.)
address tso "EJCK 'xyz.pds(member)'"
x = OUTTRAP('OFF') |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
wouldn' t it be faster to try rather than wasting time asking
or - BETTER - why not read Yourself the EJCK manual |
|
Back to top |
|
|
Susanta
Active User
Joined: 17 Nov 2009 Posts: 126 Location: India
|
|
|
|
tried below code
/* REXX */
X=OUTTRAP(O.)
ADDRESS TSO "EJCK 'XYZ.ABC.FILE'"
SAY RC
X=OUTTRAP(OFF)
SAY O.0
SAY O.1
SAY O.
================
output...
0
0
O.1
O.
***
it has not worked.. |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 712 Location: Denmark
|
|
|
|
That would indicate that the EJCK command does not issue trappable messages. As previously stated, look at the EJCK documentation, the command might have an option for sending output to a dataset. |
|
Back to top |
|
|
|