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

variable block sorting using JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
muthuvel

Active User


Joined: 29 Nov 2005
Posts: 217
Location: Canada

PostPosted: Wed Dec 21, 2005 8:34 pm
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

Global Moderator


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

PostPosted: Wed Dec 21, 2005 9:09 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
This topic is locked: you cannot edit posts or make replies. Automation need help in sorting the data DFSORT/ICETOOL 38
No new posts Variable Output file name DFSORT/ICETOOL 8
No new posts Moving Or setting POINTER to another ... COBOL Programming 2
No new posts parsing variable length/position data... DFSORT/ICETOOL 5
Search our Forums:

Back to Top