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

how to identify that sortin and sortout record lenght varies


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

New User


Joined: 24 Apr 2008
Posts: 7
Location: chennai

PostPosted: Mon Oct 20, 2008 8:52 pm
Reply with quote

I have a requirement like, when ever there is a mismatch in the SORTIN and SORTOUT record length in DFSORT, the step has to abend with some return code.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Mon Oct 20, 2008 9:12 pm
Reply with quote

You can use DFSORT's PAD and TRUNC options for that. For example:

Code:

//DFSPARM DD *
   OPTION PAD=RC16,TRUNC=RC16
/*


This will give a RC=16 if the SORTIN LRECL is different from the SORTOUT LRECL.

If you really want to ABEND for this case, then you can use:

Code:

//DFSPARM DD *
   OPTION PAD=RC16,TRUNC=RC16
   DEBUG ABEND
/*
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 How to split large record length file... DFSORT/ICETOOL 10
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Validating record count of a file is ... DFSORT/ICETOOL 13
Search our Forums:

Back to Top