Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 4 Fri Sep 22, 2017 4:56 pm
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts OC4 in SORT Mohan Kothakota DFSORT/ICETOOL 2 Tue Sep 12, 2017 6:30 pm
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us