View previous topic :: View next topic |
Author |
Message |
Alex Beginner
Joined: 31 Aug 2004 Posts: 12 Topics: 4
|
Posted: Mon Oct 18, 2004 6:09 am Post subject: Temp DS as parameter for TSO command in batch |
|
|
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 |
|
 |
nevilh Beginner
Joined: 11 Aug 2004 Posts: 115 Topics: 0
|
Posted: Mon Oct 18, 2004 6:15 am Post subject: |
|
|
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 |
|
 |
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Wed Oct 20, 2004 11:46 am Post subject: |
|
|
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 |
|
 |
Alex Beginner
Joined: 31 Aug 2004 Posts: 12 Topics: 4
|
Posted: Fri Oct 22, 2004 1:44 am Post subject: |
|
|
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 |
|
 |
|
|