View previous topic :: View next topic
|
Author |
Message |
venkatatcts
New User
Joined: 16 Mar 2009 Posts: 55 Location: India
|
|
|
|
I need to create tape files in assembler code. I have a similar code to create PS DASD file using assembler code. I tried to change the code, by altering the UNIT parameter from TPUB to TAPE. But it doesnt work.
Assembler code for UNIT parameter of DASD file:
TEXT12 DS 0F
DC XL2'0015'
DC XL2'0001'
DC XL2'0008'
DC CL8'TPUB '
I tried with:
TEXT12 DS 0F
DC XL2'0015'
DC XL2'0001'
DC XL2'0008'
DC CL8'TAPE '
Please advice. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If you want help from the forum, you cannot post "it doesn't work". . .
You have to explain the error or abend and post the appropriate diagnostic info presented by the system.
Why is a unit specified? Actually, Why is the DCB macro not used?
For many, many years device independence has been most useful. Why write new code that is now device dependent? |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
Did the program run to give a Dynamic Allocation error message? What was it?
There may be other text units that are incompatible with TAPE device.
Have you read the IBM MVS Authorized Assembler Services Guide? DYNALLOC error msgs and explanation is there. |
|
Back to top |
|
|
|