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
 

 

how to identify that sortin and sortout record lenght varies

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: how to identify that sortin and sortout record lenght varies
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 Moderator


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

PostPosted: Mon Oct 20, 2008 9:12 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Record Not found in AlX but record re... mukun264 COBOL Programming 2 Fri Mar 24, 2017 9:28 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts Can you write 2 recs on SORTOUT when ... Sysaron DFSORT/ICETOOL 6 Thu Feb 23, 2017 12:07 am
No new posts To Merge mutliple records into a sing... anandgbe DFSORT/ICETOOL 6 Wed Feb 22, 2017 8:49 am


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