Re: Batch PL/I Question

2006-10-18 Thread Shmuel Metz (Seymour J.)
In
[EMAIL PROTECTED],
on 10/16/2006
   at 04:49 PM, Chris Phinicarides [EMAIL PROTECTED] said:

I need to have a batch PL/I program (say A) call another batch PL/I
program (say B) and be able to change program B and have program A
execute using the modified program B, without the need to
re-compile/link-edit program A.

There's nothing special about batch. Read up on FETCH.
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see http://patriot.net/~shmuel/resume/brief.html 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Batch PL/I Question

2006-10-16 Thread Steve Comstock

Chris Phinicarides wrote:

Hello!

I need to have a batch PL/I program (say A) call another batch PL/I program
(say B) and be able to change program B and have program A execute using
the modified program B, without the need to re-compile/link-edit program A.

I understand this has to do with some compiler and/or some link-edit
parameters, but I have not been able to find any yet.

Any ideas out there?

Please help.

Thanks.



You want to use fetch, PL/Is version of dynamic call.
Look up the fetch statement and the fetchable compiler
option.

ad
Consider our 5-day course Advanced Topics in PL/I
which covers this and a lot more. Check out:
http://www.trainersfriend.com/PL_I_courses/E120descrpt.htm

/ad

Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.
http://www.trainersfriend.com

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Batch PL/I Question

2006-10-16 Thread McKown, John
 -Original Message-
 From: IBM Mainframe Discussion List 
 [mailto:[EMAIL PROTECTED] On Behalf Of Chris Phinicarides
 Sent: Monday, October 16, 2006 8:50 AM
 To: IBM-MAIN@BAMA.UA.EDU
 Subject: Batch PL/I Question
 
 
 Hello!
 
 I need to have a batch PL/I program (say A) call another 
 batch PL/I program
 (say B) and be able to change program B and have program A 
 execute using
 the modified program B, without the need to 
 re-compile/link-edit program A.
 
 I understand this has to do with some compiler and/or some link-edit
 parameters, but I have not been able to find any yet.
 
 Any ideas out there?
 
 Please help.
 
 Thanks.
 
 Chris.

Look at the PL/I FETCH statement.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IBM3LR20/6.4.
7.2

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited. 
 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Batch PL/I Question

2006-10-16 Thread Rick Fochtman

--snip-
I need to have a batch PL/I program (say A) call another batch PL/I 
program (say B) and be able to change program B and have program A 
execute using the modified program B, without the need to 
re-compile/link-edit program A.


I understand this has to do with some compiler and/or some link-edit 
parameters, but I have not been able to find any yet.

-unsnip
Take a long hard look at the PL/1 LOAD, CALL and DELETE statements. I 
suspect that's what you want to use.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Batch PL/I Question

2006-10-16 Thread Rick Fochtman

---snip-
Take a long hard look at the PL/1 LOAD, CALL and DELETE statements. I 
suspect that's what you want to use.

---unsnip--
After reading other posts, I have to correct myself. It is, indeed, the 
FETCH statement, rather than LOAD, that will serve your purpose.


My mistake; I haven't used it in years.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html