View previous topic :: View next topic |
Author |
Message |
karavi2000 Beginner
Joined: 17 Aug 2003 Posts: 51 Topics: 26 Location: Chennai
|
Posted: Tue Aug 19, 2003 7:14 am Post subject: How to catalog automatically when the job is submitted? |
|
|
Hi,
This is my problem. I have around 5000 programs. I need to compile every program and make a compiler output listing for all the programs. I use a rexx routine to compile 100 programs at a time. Is there any possibility to catalog automatically the output compiler listing, when the program is compiled. Is there any rexx routing to do this? If anyone have the answers, please let us know. It would be a great help for us as it is taking so much of manpower. |
|
Back to top |
|
|
Sreejith Intermediate
Joined: 02 Dec 2002 Posts: 155 Topics: 25 Location: N.Ireland
|
Posted: Tue Aug 19, 2003 7:22 am Post subject: |
|
|
Allocate a PDS of LRECL 133. And point the sysprint to it
//SYSPRINT DD DISP=SHR,DSN=a.b.LIST(BLN00001) |
|
Back to top |
|
|
karavi2000 Beginner
Joined: 17 Aug 2003 Posts: 51 Topics: 26 Location: Chennai
|
Posted: Tue Aug 19, 2003 9:04 am Post subject: |
|
|
Hi Sreejith,
That was great. Thanks first. Let me give u the rexx routing wat v r using.
....
"MACRO"
"C ALL CAMBRP07 CAMBRS01 "
"SUBMIT"
"C ALL CAMBRS01 CAMBRT01 "
"SUBMIT"
.....
That is we replacing the calling program name, every time the rexx routine is called and it is submitted. Can we add some command into it, so that the output from the spool with ddname as PRNT2 is automatically cataloged. Hope you got my question.
Also I was trying your answer wat you said above. But itz not working also not showing any error. What might be problem. Please let me know.
Thanks,
Ravishankar |
|
Back to top |
|
|
Mike Beginner
Joined: 03 Dec 2002 Posts: 114 Topics: 0 Location: Sydney, Australia
|
Posted: Tue Aug 19, 2003 5:00 pm Post subject: |
|
|
a) Include CAMBRP07 as the member name in the dataset name allocated to ddname SYSPRINT.
b) Use ISPF file tailoring rather than invoking an edit macro agaianst an existing member. This would entail creating a skeleton (needs to be allocated to ISPSLIB concatentation) then use the ISPF FTOPEN, FTINCL and FTCLOSE services, followed by the SUBMIT.
B, in my opinion, being the better option. _________________ Regards,
Mike. |
|
Back to top |
|
|
Dibakar Advanced
Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Tue Aug 19, 2003 11:10 pm Post subject: |
|
|
Karavi,
What was the the problem with Sreejith's solution. Did you get any output at all in the SYSPRINT dataset. Maybe you can try -
Code: | //Stepname.SYSPRINT DD DISP=SHR,DSN=P.D.S(CAMBRP07) |
Where stepname is the name of step (in JCL or Proc) that is creating the listing. |
|
Back to top |
|
|
|
|