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
 

 

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: 4648
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 11 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm
No new posts Sorting group data rajella DFSORT/ICETOOL 4 Sun Jan 22, 2017 11:32 pm


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