View previous topic :: View next topic |
Author |
Message |
patnekar Beginner
Joined: 27 Jan 2003 Posts: 41 Topics: 16
|
Posted: Tue Aug 10, 2004 2:10 pm Post subject: Specifying libraries during compile in endevor |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Tue Aug 10, 2004 2:31 pm Post subject: |
|
|
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 |
|
 |
patnekar Beginner
Joined: 27 Jan 2003 Posts: 41 Topics: 16
|
Posted: Tue Aug 10, 2004 2:50 pm Post subject: |
|
|
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 |
|
 |
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Tue Aug 10, 2004 2:55 pm Post subject: |
|
|
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 |
|
 |
Mervyn Moderator

Joined: 02 Dec 2002 Posts: 415 Topics: 6 Location: Hove, England
|
Posted: Tue Aug 10, 2004 4:02 pm Post subject: |
|
|
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 |
|
 |
Manas Biswal Intermediate

Joined: 29 Nov 2002 Posts: 382 Topics: 27 Location: Chennai, India
|
Posted: Thu Sep 09, 2004 11:02 am Post subject: |
|
|
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 |
|
 |
|
|