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
 

 

Need to create a dynamic sort control card

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Need to create a dynamic sort control card
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

Site Director


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

PostPosted: Thu Sep 10, 2009 7:39 pm    Post subject:
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    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 How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. SORT trick needed bshkris SYNCSORT 6 Tue May 02, 2017 4:35 am
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 5 Thu Apr 27, 2017 1:15 am


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