|
James Kilgore wrote: AFAIK, a CALL is a CALL and a program is a program tried it and failed rpg9971 RPG program NO026 must run from a S/36 environment job. works if my rpgiv calls clp & does Strs36prc. The S36 EE (execution environment) can be set at several levels. system value QSPCENV - set whole system to S36EE or not user profile parm SPCENV - set this user env to S36EE or not commands STRS36 to change interactive job to S36EE command STRS36PRC to execute this one procedure & anything it calls in the S36EE Once in the S36EE, you cannot do another STRS36 or STRS36PRC - it halts! In many places I have had native code calling S36 rpg via a clp running STRS36PRC. (just never have that proc call a clp which then does another strs36prc!) jim franz ----- Original Message ----- From: "Chris Rehm" <javadisciple@earthlink.net> To: <rpg400-l@midrange.com> Sent: Friday, January 04, 2002 8:39 PM Subject: Re: Calling s/36 programs from RPG IV > If your question is: Can you call a complied RPG II program from a > compiled RPG IV program, then the answer is yes. You'll want to do all > your file overrides with CLP instead of OCL and stuff, but you're okay. > > If you want to run a S/36 OCL from inside an RPG IV program, it can be > done but you'll need to be running in System 36 Env. But that wouldn't > be a "S/36 program" so I didn't think it is what you meant. > > James Rich wrote: > > >Can an s/36 program be called from an RPG IV program. I believe that the > >answer is no, anyone know for sure? > > > >James Rich > >james@eaerich.com > > > > -- > Chris Rehm > javadisciple@earthlink.net > > Beloved, let us love one another: for love is of God; and every one > that loveth is born of God, and knoweth God. 1 John 4:7 > > > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.