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

Need to create a dynamic sort control card


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

New User


Joined: 24 Mar 2008
Posts: 29
Location: mumbai

PostPosted: Thu Sep 10, 2009 11:57 am
Reply with quote

Hi everybody,

I need to prepare a dynamic sort control card. The input file having Numeric values from 255 position to 3000. Each data item is of length 9. the number of items will vary, we have to read until spaces encounter. Below is sample record from the 255th position.
123456789123456789123456789987654321987654321
from this i have to prepare a control card like
SORT INCLUDE COND=(1,9,CH,EQ,C'123456789'),OR,
(1,9,CH,EQ,C'123456789'),OR,
(1,9,CH,EQ,C'123456789'),OR,
(1,9,CH,EQ,C'987654321'),OR,
(1,9,CH,EQ,C'987654321')
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Sep 10, 2009 7:39 pm
Reply with quote

Hello,

Please provide a more clear description of what you want to accomplish. . .

Make up some test data that reflects your requirement and the output you want from that test data. Explain the rules for getting from the sample input to the output. Mention the relevant data positions, recfm and lrecl of both files (you should be able to use 40-byte records for demonstration - your "real" process would then be modified to accomodate 3000).

How will the list of values be provided?
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 Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
Search our Forums:

Back to Top