passion_sujesh
New User
Joined: 14 Mar 2008 Posts: 74 Location: India,Chennai
|
|
|
|
Hi,
I am trying to fine tuning couple of jobs. Both these jobs sort a same file which consumes lot of CPU. Can you let me know, is it possible to club the two sort step into one sort step (using OUTFIL/FNAMES)
sort step1 in job xxx:
Code: |
//step00 exec pgm=sort
//sortin dd dsn=xxx.xxx.xxx,disp=shr
//sortout dd dsn=xxx.xxx.yyy,disp=shr
//sysin dd *
sort fields=(15,1,CH,A,5,4,CH,A,11,2,CH,A)
/*
//SYSOUT DD SYSOUT=*
|
sort step2 in job YYY:
Code: |
//step00 exec pgm=sort
//sortin dd dsn=xxx.xxx.xxx,disp=shr
//sortout dd dsn=xxx.xxx.zzz,disp=shr
//sysin DD *
sort fields=(20,5,CH,A)
/*
//SYSOUT DD SYSOUT=*
|
required sort step:
Code: |
//step00 exec pgm=sort
//sortin dd dsn=xxx.xxx.xxx,disp=shr
//dd1 dd dsn=xxx.xxx.yyy,disp=old
//dd2 dd dsn=xxx.xxx.zzz,disp=old
//sysin DD *
???????????
/*
//SYSOUT DD SYSOUT=*
|
Can you please let me know is it possible to merge both the sort step into one?
Thanks in advance.... |
|