View previous topic :: View next topic |
Author |
Message |
bay hoe san Beginner
Joined: 12 Dec 2006 Posts: 16 Topics: 9
|
Posted: Sun Apr 01, 2007 10:22 pm Post subject: Static call with PDS and PDS-E dataset |
|
|
Hello,
( 1) Cobol pgm A (load in PDS dataset) statically calling Cobol pgm B (load in PDS-E dataset). Compilation went thru. However, it abended during execution with OC1.
( 2) My question, it is right to have load in PDS dataset statically called another load in PDS-E dataset?
If able to, it is documented somewhere? What could be the possible cause of error above?
( 3) Pls advise urgently. Thank you.
.Hoe San. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Mon Apr 02, 2007 5:49 am Post subject: |
|
|
bay hoe san,
I don't think PDS & PDS-E dataset has got anything to do with the abend. What are the DCB parameters of the datasets involved. Also remember when you are URGENT help make sure that you provide enough information. Post all the error messages so that we can help you.
Kolusu
PS: Avoid putting "urgent" in your topics. _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Mon Apr 02, 2007 7:13 am Post subject: |
|
|
bay hoe san,
you did not mention the link-edit step. did that also have an ok completion?
If you are making a static call (and not dynamic) then PGM B's load object is already part of your PGM-A executable after the link - if you linked. What is the output of the link-edit? Does it include PGM-B? If not, you are dynamically calling.
Though IBM provides this little disclaimer in the Z/OS Intro: Quote: |
PDSE data sets can be used in place of nearly all PDS data sets that are used to store data. But the PDSE format is not intended as a PDS replacement. When a PDSE is used to store load modules, it stores them in structures called program objects.
|
I have not yet found anything to suppose that (as Kolusu said) PDS and PDS-E is the problem. _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
|
Back to top |
|
 |
|
|