Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Create Tape files in Assembler

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
venkatatcts

New User


Joined: 16 Mar 2009
Posts: 55
Location: India

PostPosted: Thu Aug 06, 2009 10:05 pm    Post subject: Create Tape files in Assembler
Reply with quote

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
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Aug 06, 2009 11:21 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Fri Aug 07, 2009 1:07 am    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Dump analysis of an assembler module monica1 PL/I & Assembler 4 Tue May 09, 2017 10:05 am
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 5 Thu Apr 27, 2017 1:15 am
No new posts Length of Tape file Mohan Kothakota JCL & VSAM 9 Thu Apr 20, 2017 10:24 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us