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
 

 

SUPERC compare step gives return code 26.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
hac

New User


Joined: 18 Jan 2008
Posts: 30
Location: mumbai

PostPosted: Fri Jul 22, 2011 3:00 am    Post subject: SUPERC compare step gives return code 26.
Reply with quote

SUPERC compare step gives return code 26 when i/p fiels are empty. How can this be avoided. Is there any parameter to treat empty i/p fiels as equal and get return code zero.?
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: Fri Jul 22, 2011 3:18 am    Post subject:
Reply with quote

Hello,

According to SUPERC, this is the cause of a 26:

Quote:
26 - Error. The listing data set could not be extended and
condition). The results are truncated and incomplete.


However, this is what they say about a 28:
28 - Error. No data was compared because the old and new data sets were empty, because member names were invalid, or because there was nothing left to compare after input filtering. See the listing for more
information.


Suggest you look at the listing. . .
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Fri Jul 22, 2011 4:19 am    Post subject: Re: SUPERC compare step gives return code 26.
Reply with quote

hac wrote:
SUPERC compare step gives return code [value yet to be confirmed] when i/p fiels [sic] are empty. How can this be avoided. Is there any parameter to treat empty i/p fiels as equal and get return code zero.?


Have you tried manual, online help, google?

I assume you are in batch. Why are the "files" empty? If you have a dataset which can be genuinely empty, how do you know that any given case of an empty dataset is not an errorneous one? Errorneous and genuine are identical (empty).

I don't like empty datasets existing on purpose. I like headers and trailers. Business date and record count/hash count. I know the file is genuine, is from the right day, and contains zero data records. Anything I'm comparing it to which should be the same, will be the same.

I also don't have to worry about problems like yours, or what to do if I get EOF on a priming read, etc.

I sympathise with your problem (I'm assuming it was not down to you originally), but a better system design would have avoided this and similar problems.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts EXIT or RETURN cvnlynn CLIST & REXX 16 Wed Jul 19, 2017 2:50 am
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts compare 2 rows within the same file ram_vizag SYNCSORT 7 Wed Jun 14, 2017 12:34 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm


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