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
 

 

File status codes in Assemblers

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

New User


Joined: 06 Nov 2007
Posts: 16
Location: Hyderabad

PostPosted: Wed Apr 15, 2009 2:17 pm    Post subject: File status codes in Assemblers
Reply with quote

Hi,

What are the file status codes of Assembler?? Can anyone help in this regard?

Regards,
Mudassir Ansari.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Wed Apr 15, 2009 5:00 pm    Post subject:
Reply with quote

The only file status codes I'm aware of are specific to COBOL. Perhaps you could explain more about what you're looking for?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Apr 15, 2009 6:09 pm    Post subject:
Reply with quote

I would start with the DCB entry SYNAD=ERRORRTN, which will invoke ERRORRTN.

ERRORRTN would then interrogate the bits in the DCB to determine the error.

need to check the assembler documentation or DCB definitions
(where ever that is)
which will describe the bit settings within the DCB and what they mean for the type of device/file.

anyway, that's how we did it back in the 70's.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Apr 15, 2009 6:13 pm    Post subject: Reply to: File status codes in Assemblers
Reply with quote

Robert (et al),

I believe he's looking for the following VSAM Macro Return and Reason Codes -

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dgt2d540/1.3?ACTION=MATCHES&REQUEST=return+code&TYPE=FUZZY&SHELF=DGT2BK71&DT=20070427024428&CASE=&searchTopic=TOPIC&searchText=TEXT&searchIndex=INDEX&rank=RANK&ScrollTOP=FIRSTHIT#FIRSTHIT

Regards,
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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
This topic is locked: you cannot edit posts or make replies. session stuck in TPX with status ACL amitc23 CA Products 1 Tue Dec 13, 2016 12:53 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm


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