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: 7999
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 Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


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