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 A not very Christmassy PL/I tale, wit... prino PL/I & Assembler 3 Mon Dec 26, 2016 1:01 am
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 15 Thu Dec 01, 2016 8:28 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm


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