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

File status codes in Assemblers


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Apr 15, 2009 5:00 pm
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
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: 2501
Location: Atlanta, Georgia, USA

PostPosted: Wed Apr 15, 2009 6:13 pm
Reply with quote

Robert (et al),

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

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 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 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top