IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Create Tape files in Assembler


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Thu Aug 06, 2009 11:21 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 2
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts How to create a list of SAR jobs with... CA Products 3
Search our Forums:

Back to Top