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
 

 

Split Sort Control Statements

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
Naish

New User


Joined: 07 Dec 2006
Posts: 82
Location: UK

PostPosted: Fri Feb 10, 2012 5:45 pm    Post subject: Split Sort Control Statements
Reply with quote

Can the sort control cards be split in different files?

If I have a include condition that has too many records, can these be kept in a separate file (CARDIN)? if need be we can just update the CARDIN with new conditions

e.g.

Code:
 
//SORTIN   DD   DSN=TEST.SORTIN,DISP=SHR
//include-file dd  <DSN>
//SORTOUT  DD   DSN=TEST.SORTOUT,DISP=SHR
//SYSIN    DD   *

SORT FIELDS=(12,8,CH,A)

<use the include cond from file>

OUTREC statement
/*
Back to top
View user's profile Send private message

Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1746
Location: Bloomington, IL

PostPosted: Fri Feb 10, 2012 5:49 pm    Post subject:
Reply with quote

You have at least five years' experience, you claim JCL as a skill, and you don't know how to concatenate data sets? icon_mad.gif
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7251

PostPosted: Fri Feb 10, 2012 6:16 pm    Post subject: Reply to: Split Sort Control Statements
Reply with quote

And what do you mean by "too many records"?


Code:
//SYSIN DD *
  SORT FIELDS=(1,10,CH.A)
//        DD DSN=any-ps-including-member-of-pds/e,disp=... (FB/80)
//        DD *
  SUM FIELDS=NONE
Back to top
View user's profile Send private message
Naish

New User


Joined: 07 Dec 2006
Posts: 82
Location: UK

PostPosted: Fri Feb 10, 2012 7:11 pm    Post subject:
Reply with quote

My bad... icon_redface.gif

Thanks Akatsukami & Bill and Sorry for early morning irritation.
Back to top
View user's profile Send private message
sqlcode1

Active Member


Joined: 08 Apr 2010
Posts: 578
Location: USA

PostPosted: Fri Feb 10, 2012 8:36 pm    Post subject:
Reply with quote

nazishmirekar,

Quote:
If I have a include condition that has too many records, can these be kept in a separate file (CARDIN)? if need be we can just update the CARDIN with new conditions


While doing so, be aware of ICE151A

Thanks,
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 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
No new posts How to split the records using the am... vnktrrd DFSORT/ICETOOL 24 Fri Oct 28, 2016 7:33 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm


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