Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us