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

Error code of ESDS


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
richie_techin

New User


Joined: 21 Jan 2006
Posts: 16
Location: india

PostPosted: Tue Jan 31, 2006 11:12 am
Reply with quote

hi,

Can anyone tell me what is the Error Code we get when we try to delete ESDS cluster? Thanx.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Wed Feb 15, 2006 12:23 pm
Reply with quote

Quote:
Can anyone tell me what is the Error Code we get when we try to delete ESDS cluster? Thanx.

Try yourself, and let us know.

Regards,

Priyesh.
Back to top
View user's profile Send private message
nuthan

Active User


Joined: 26 Sep 2005
Posts: 146
Location: Bangalore

PostPosted: Thu Feb 16, 2006 4:13 pm
Reply with quote

Hi,
i think U will get return code 8 IN VSAM RETURN CODE. But in joblog u can see in VSAM FEEDBACK CODE. it will have the value 80 when u r trying to delete a record from ESDS.

SELECT Statement-FILE STATUS IS WS-FILE-STAT1,WS-FILE-STAT2
WS-FILE-STAT1 should be defined as PIC X(02) in working storage
section.
WS-FILE-STAT2 can be coded for VSAM files to get the VSAM return code, VSAM function-code and VSAM feedback code.
This is a 6- byte field in working storage.
Ex:
FILE STATUS IS VSAM-STATUS-CODE, VSAM-EXTENDED-STATUS-CODE.

WORKING-STORAGE SECTION.

01 VSAM-STATUS-CODE.
05 VSAM-STATUS-CODE-BYTE1 PIC X.
05 VSAM-STATUS-CODE-BYTE2 PIC X.

01 VSAM-EXTENDED-STATUS-CODE.
05 VSAM-EXTENDED-RETURN-CODE PIC S9(4) COMP.
05 VSAM-EXTENDED-FUNCTION-CODE PIC S9(4) COMP.
05 VSAM-EXTENDED-FEEDBACK-CODE PIC S9(4) COMP.
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
Search our Forums:

Back to Top