Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us