MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Temp DS as parameter for TSO command in batch

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
Alex
Beginner


Joined: 31 Aug 2004
Posts: 12
Topics: 4

PostPosted: Mon Oct 18, 2004 6:09 am    Post subject: Temp DS as parameter for TSO command in batch Reply with quote

Hi All,

at first, sorry if dummy question or discussed before - I tried search.....
The question is - I need something like this:

//STEP010 EXEC PGM=IEFBR14
//TEMP DSN=&&TEMP
/*
//STEP020 EXEC PGM=IKJEFT01
TRANSMIT node DSNAME &&TEMP

Is it possible?
Back to top
View user's profile Send private message
nevilh
Beginner


Joined: 11 Aug 2004
Posts: 115
Topics: 0

PostPosted: Mon Oct 18, 2004 6:15 am    Post subject: Reply with quote

Try
Code:

STEP010 EXEC PGM=IEFBR14
//TEMP DSN=&&TEMP
/*
//STEP020 EXEC PGM=IKJEFT01
//dd1    disp=shr,dsn=refer back to temp
TRANSMIT node file(dd1)
Back to top
View user's profile Send private message
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Wed Oct 20, 2004 11:46 am    Post subject: Reply with quote

No DISP parameter on IEFBR14 means DISP=(,DELETE,DELETE). Are you sure you want this?
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
Alex
Beginner


Joined: 31 Aug 2004
Posts: 12
Topics: 4

PostPosted: Fri Oct 22, 2004 1:44 am    Post subject: Reply with quote

Cogito-Ergo-Sum, no, I wrote that code 'in a draft', just to illustrate the concept of what I need and missed the details. Of course, temp ds should contain parameter to pass it next step... sorry for confusing...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group