|
|
| Author |
Message |
lohithegde
New User
Joined: 18 May 2008 Posts: 21 Location: Chennai
|
|
|
|
i tried following code
/************rexx*/
UNT=CARTA00
VL='(,,,60)'
LBL='1,SL,RETPD=060'
RCFM='FB'
"ALLOC DDN(OUTFILE) DSN(" OUTDSN ") NEW VOLUME" VL "UNIT("UNT,
") LABEL(" LBL ") RECFM(" RCFM ")"
It is giving error " Expected Volume not found " |
|
| Back to top |
|
 |
References
|
|
 |
Pedro
Senior Member
Joined: 01 Sep 2006 Posts: 507 Location: work
|
|
|
|
looks like you have a space between VOLUME and the left parenthesis. Use abuttal characters.
| Code: |
| "ALLOC DDN(OUTFILE) DSN(" OUTDSN ") NEW VOLUME"|| VL "UNIT("UNT, |
|
|
| Back to top |
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 3505 Location: Brussels once more ...
|
|
|
|
Also, you may find that 99.9% of sites DO NOT allow tape drives to be used by a TSO session.
From a recent query by one of my users the same message was issued. |
|
| Back to top |
|
 |
lohithegde
New User
Joined: 18 May 2008 Posts: 21 Location: Chennai
|
|
|
|
| Then to do above task we have to use JCL only,,,no way we can allocate and copy TAPE dataset in rexx for DASD dataset using rexx...My reqirement is i have to copy a DASD dataset to Tape using rexx |
|
| Back to top |
|
 |
enrico-sorichetti
Global Moderator
Joined: 14 Mar 2007 Posts: 3070 Location: italy
|
|
|
|
| Quote: |
| My reqirement is i have to copy a DASD dataset to Tape using rexx |
do the people who enforced the requirement realize that for dataset copy and reformatting
there are tools/programs/products better suited than REXX
( roughly an order of magnitude faster ) |
|
| Back to top |
|
 |
Bill Dennis
Senior Member
Joined: 17 Aug 2007 Posts: 311 Location: Iowa, USA
|
|
|
|
| REXX can be run as a batch job, right? Try that. |
|
| Back to top |
|
 |
|
|