Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
ejck thru rexx to multiple jobs inside pds

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 125
Location: India

PostPosted: Tue Sep 19, 2017 1:39 pm    Post subject: ejck thru rexx to multiple jobs inside pds
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: 2110
Location: UK

PostPosted: Tue Sep 19, 2017 1:56 pm    Post subject:
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: 125
Location: India

PostPosted: Tue Sep 19, 2017 3:11 pm    Post subject:
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

Senior Member


Joined: 14 Mar 2007
Posts: 10535
Location: italy

PostPosted: Tue Sep 19, 2017 3:14 pm    Post subject: Reply to: ejck thru rexx to multiple jobs inside pds
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: 125
Location: India

PostPosted: Tue Sep 19, 2017 3:33 pm    Post subject: Reply to: ejck thru rexx to multiple jobs inside pds
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: 232
Location: Denmark

PostPosted: Wed Sep 20, 2017 12:34 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. DFSORT output in CSV for data spans i... hiravibk DFSORT/ICETOOL 3 Tue Nov 13, 2018 7:55 pm
No new posts Will this code extract 1 byte from fi... pkmurali CLIST & REXX 8 Sat Nov 10, 2018 11:13 pm
No new posts Writing multiple records into a CSV r... hiravibk DFSORT/ICETOOL 2 Wed Nov 07, 2018 2:35 pm
No new posts Error reading file in REXX module ashek15 CLIST & REXX 3 Wed Oct 24, 2018 4:50 am
No new posts Introducing new step in set of jobs ravikumar15 CLIST & REXX 6 Wed Oct 17, 2018 2:22 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us