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

SUPERC compare step gives return code 26.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jul 22, 2011 3:18 am
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri Jul 22, 2011 4:19 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
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 Compare only first records of the fil... SYNCSORT 7
Search our Forums:

Back to Top