|
View previous topic :: View next topic
|
| Author |
Message |
Naish
New User

Joined: 07 Dec 2006 Posts: 82 Location: UK
|
|
|
|
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 |
|
 |
Akatsukami
Global Moderator

Joined: 03 Oct 2009 Posts: 1787 Location: Bloomington, IL
|
|
|
|
You have at least five years' experience, you claim JCL as a skill, and you don't know how to concatenate data sets?  |
|
| Back to top |
|
 |
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
 |
Naish
New User

Joined: 07 Dec 2006 Posts: 82 Location: UK
|
|
|
|
My bad...
Thanks Akatsukami & Bill and Sorry for early morning irritation. |
|
| Back to top |
|
 |
sqlcode1
Active Member
Joined: 08 Apr 2010 Posts: 577 Location: USA
|
|
|
|
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 |
|
 |
|
|