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: 1894
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
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: 170
Location: Switzerland

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
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts sending email from jcl using the mail... niloyarp JCL & VSAM 5 Tue Oct 10, 2017 12:32 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts PLI - printing from multiple programs Pedro PL/I & Assembler 8 Fri Sep 08, 2017 6:36 am

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