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: 2090
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: 10515
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: 219
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
No new posts Need help on the multiple files refor... wik123 DFSORT/ICETOOL 7 Wed Sep 19, 2018 10:47 am
No new posts Delete Multiple rows in chunks by usi... dharmaraok DB2 5 Tue Sep 11, 2018 8:44 pm
No new posts Encoding using rexx pkmurali CLIST & REXX 2 Sat Sep 08, 2018 1:05 am
No new posts Concatenaing multiple rows to single ... Vignesh Sid DFSORT/ICETOOL 1 Tue Aug 14, 2018 8:59 am
No new posts Can we call QMF proc from REXX ? batu544 CLIST & REXX 6 Fri Aug 03, 2018 11:03 am

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