IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

ejck thru rexx to multiple jobs inside pds


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 126
Location: India

PostPosted: Tue Sep 19, 2017 1:39 pm
Reply with quote

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
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Tue Sep 19, 2017 1:56 pm
Reply with quote

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
View user's profile Send private message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 126
Location: India

PostPosted: Tue Sep 19, 2017 3:11 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10756
Location: italy

PostPosted: Tue Sep 19, 2017 3:14 pm
Reply with quote

wouldn' t it be faster to try rather than wasting time asking icon_question.gif

or - BETTER - why not read Yourself the EJCK manual icon_evil.gif
Back to top
View user's profile Send private message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 126
Location: India

PostPosted: Tue Sep 19, 2017 3:33 pm
Reply with quote

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
View user's profile Send private message
Willy Jensen

Active User


Joined: 01 Sep 2015
Posts: 432
Location: Denmark

PostPosted: Wed Sep 20, 2017 12:34 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
This topic is locked: you cannot edit posts or make replies. A Rexx who changes date into a JCL?Po... CLIST & REXX 9
No new posts clist to rexx converter CLIST & REXX 2
No new posts How to replace a string dynamically i... CLIST & REXX 16
No new posts Determine Library REXX exec was execu... CLIST & REXX 7
No new posts Selecting multiple constant records DB2 3
Search our Forums:

Back to Top