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
 
variable block sorting using JCL

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

Active User


Joined: 29 Nov 2005
Posts: 217
Location: Chennai

PostPosted: Wed Dec 21, 2005 8:34 pm    Post subject: variable block sorting using JCL
Reply with quote

Hi all,
I am using an input file with varible blocks.In using JCLSORT i get a problem.The return code is zero but no record is found in output file .Is there any special case that i have to use for sorting when i use variable block file as input....
Please provide suggestions..
Thanks in Advance,
Muthuvel.
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Wed Dec 21, 2005 9:09 pm    Post subject: Re: variable block sorting using JCL
Reply with quote

muthuvel wrote:

Is there any special case that I have to use for sorting when I use variable block file as input

Other than accomodating the 4-byte RDW at the begining of each variable-length record, no.

Maybe you could post your dataset attributes, your SORT control parameters, and some samples of your input data?
Back to top
View user's profile Send private message
nal_satish

New User


Joined: 20 Jun 2005
Posts: 26
Location: Hyderabad

PostPosted: Fri Jan 06, 2006 6:19 pm    Post subject: Re: variable block sorting using JCL
Reply with quote

Hi ,

While sorting Variable length Records we need to add 4 to the position from where we want to sort. then it will work.


e.g : suppose we have 100 length variable record
we want sort from position 10 to 20 then we have to give
14 to 24 in the sort card then it will work.

Regards,
Satish.N
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 Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Sorting on text - but in non-alphabet... Roy Ware SYNCSORT 5 Wed Aug 23, 2017 9:15 pm
No new posts Move from Comp3 variable to Edited Va... sreekusr COBOL Programming 8 Thu Aug 10, 2017 4:20 pm
No new posts Can I traverse a STEM variable? chong.zhou CLIST & REXX 5 Wed May 31, 2017 3:54 pm

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