MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to catalog automatically when the job is submitted?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics
View previous topic :: View next topic  
Author Message
karavi2000
Beginner


Joined: 17 Aug 2003
Posts: 51
Topics: 26
Location: Chennai

PostPosted: Tue Aug 19, 2003 7:14 am    Post subject: How to catalog automatically when the job is submitted? Reply with quote

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
View user's profile Send private message
Sreejith
Intermediate


Joined: 02 Dec 2002
Posts: 155
Topics: 25
Location: N.Ireland

PostPosted: Tue Aug 19, 2003 7:22 am    Post subject: Reply with quote

Allocate a PDS of LRECL 133. And point the sysprint to it

//SYSPRINT DD DISP=SHR,DSN=a.b.LIST(BLN00001)
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
karavi2000
Beginner


Joined: 17 Aug 2003
Posts: 51
Topics: 26
Location: Chennai

PostPosted: Tue Aug 19, 2003 9:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Mike
Beginner


Joined: 03 Dec 2002
Posts: 114
Topics: 0
Location: Sydney, Australia

PostPosted: Tue Aug 19, 2003 5:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Tue Aug 19, 2003 11:10 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group