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 REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm


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