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 

Specifying libraries during compile in endevor

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


Joined: 27 Jan 2003
Posts: 41
Topics: 16

PostPosted: Tue Aug 10, 2004 2:10 pm    Post subject: Specifying libraries during compile in endevor Reply with quote

Hello,
I need to compile a program in endevor. This program calls another program. The 'called' program resides in 2 PDSs on the system. Unfortunately only 1 of them is specified in the endevor defaults. Thus whenever I compile my 'calling' program in batch, it picks the 'called' program from the default PDS.

Is there any way I can override that default PDS via JCL, during compilation??

Thanks
Back to top
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Aug 10, 2004 2:31 pm    Post subject: Reply with quote

Patnekar,

Is the compile execueting a proc? if so then then you can override the dsn name very easily

Code:

//STEP0100 EXEC COMPILE-PROC
//COMPILESTEP.DDNAME DD DSN=YOUR MISSING PDS


Another alternative submit the compile job as it is and once it is completed , in SDSF

put SJ on the left side of the job output. Now this will bring the JCL in the edit mode, now you can edit the jcl and code the missing pds and re-submit the job.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
patnekar
Beginner


Joined: 27 Jan 2003
Posts: 41
Topics: 16

PostPosted: Tue Aug 10, 2004 2:50 pm    Post subject: Reply with quote

Kolusu,
The compilation JCL does not execute a PROC. And since the compilation JCL is generated thru the panels to execute a SCL, no PDSs are listed in the JCL.

Thanks
Patnekar
Back to top
View user's profile Send private message Yahoo Messenger
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Tue Aug 10, 2004 2:55 pm    Post subject: Reply with quote

After submission, it will still be available in SDSF; PROC or no PROC. Go there, edit it and then submit.

Just as Kolusu said below:
Quote:

Another alternative submit the compile job as it is and once it is completed , in SDSF

put SJ on the left side of the job output. Now this will bring the JCL in the edit mode, now you can edit the jcl and code the missing pds and re-submit the job.

_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Tue Aug 10, 2004 4:02 pm    Post subject: Reply with quote

I don't think it's as easy as that. I've never found a usable compile deck in any Endevor job.

I think Patnekar needs to talk to his systems programmers. They will have set up the environment, and will know how to call the correct version of the module. Mind you, it's probably a good idea to get the right version into the first-choice subroutine library.
_________________
The day you stop learning the dinosaur becomes extinct
Back to top
View user's profile Send private message
Manas Biswal
Intermediate


Joined: 29 Nov 2002
Posts: 382
Topics: 27
Location: Chennai, India

PostPosted: Thu Sep 09, 2004 11:02 am    Post subject: Reply with quote

Yes..I agree with Merv. You will have to change the compile proc in endevore which your module uses. Generally all compile procs will have spare SYSLIB libraries in the compile and link edit step, so all you have to do is to add a symbolic to that processor group.
Get in touch with Endevore support.

Regards,
Manas
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
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