View previous topic :: View next topic
|
Author |
Message |
utpal
New User
Joined: 05 Feb 2006 Posts: 1 Location: Pune
|
|
|
|
Hi I am Utpal
could anyone please resolve the problem as mentioned under :
This query was asked in Accenture
I have 10 plans & I have 10 load modules how shall I know that which load module belongs which plan.
I have a file contains 900 records.I want to sort and copy into 3 files which will contain 300 each.
|
|
Back to top |
|
|
rajesh_1183
Active User
Joined: 24 Nov 2005 Posts: 121 Location: Tadepalligudem
|
|
|
|
Hi,
Try this.........
SORT JCL REMOVED. DO NOT COPY FROM OTHER SITES. COMPLAINTS RECEIVED.
this might work....
corrections welcomed....
Thanks,
Rajesh. |
|
Back to top |
|
|
prakash271082
New User
Joined: 09 Sep 2005 Posts: 53
|
|
|
|
Hi,
For the Second part, Rajesh is Correct.
For the First part of ur Query, We could get the Plan name from our administrator as same as the Load module name of our program, in which case you could easily identify Plan Vs Corresponding program.
I would have answered so, if I were in your position.
Any Corrections - welcome. |
|
Back to top |
|
|
maggiebms
New User
Joined: 23 May 2005 Posts: 16
|
|
|
|
For ur second qn, the answer is
//JOBCARD.........
//STEP1 EXEC PGM=SORT
;
;
//F1 DD DSN=NEW1,DISP=NEW
//F2 DD DSN=NEW1,DISP=NEW
//F3 DD DSN=NEW1,DISP=NEW
;
//SYSIN DD *
option copy
OUTREC FNAMES = (F1,F2,F3), SPLITBY = 300
//
Correct me If I am wrong
Maggie |
|
Back to top |
|
|
fixdoubts
New User
Joined: 21 Oct 2005 Posts: 54
|
|
|
|
Hi,
For the second one the instream statement
OUTFIL FNAMES=(01,02,03),SPLITBY=300
will do i think
Correct me if am wrong,
Regards, |
|
Back to top |
|
|
maggiebms
New User
Joined: 23 May 2005 Posts: 16
|
|
|
|
sorry ie OUTFIL not OUTREC
- - Maggie |
|
Back to top |
|
|
|