🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

5 total messages Started by Michael West Tue, 08 Apr 1997 00:00
Calling an external function
#5020
Author: Michael West
Date: Tue, 08 Apr 1997 00:00
23 lines
1333 bytes
I don't have a lot of rexx experience but I have the need to create a 
"wrapper" around a program I've written.
 
In the exec, I call my program like this, (no parameters here):
call 'MYPGM'

Then I get the following message:
CEE3193I The invocation command parameter string contained an unmatched quote 
character.

This seems to be an information message since the program does execute 
successfully, but I'd still like to know what the problem is.
 
Can anyone help me out, also exactly how do you pass parameters to an external 
program. I'm afraid the IBM manual on CD-ROM isn't any help at all (no 
examples).


--
Michael West - Experian Advanced Technology Products (mike.west@experian.com)
"Man will always find a difficult means to perform a simple task"
                                                   - Rube Goldberg
Re: Calling an external function
#5021
Author: maui
Date: Wed, 09 Apr 1997 00:00
8 lines
760 bytes
Michael West wrote:
>
> Can anyone help me out, also exactly how do you pass parameters to an external
> program. I'm afraid the IBM manual on CD-ROM isn't any help at all (no
> examples).

Have you ever looked at IBM's Procedure Language 2/REXX User's Guide?
Re: Calling an external function
#5022
Author: Binyamin Dissen
Date: Fri, 11 Apr 1997 00:00
40 lines
1830 bytes
On 8 Apr 1997 22:55:53 GMT mike.west@experian.com (Michael West) wrote:

[Posted and mailed]

:>I don't have a lot of rexx experience but I have the need to create a 
:>"wrapper" around a program I've written.

:>In the exec, I call my program like this, (no parameters here):
:>call 'MYPGM'

:>Then I get the following message:
:>CEE3193I The invocation command parameter string contained an unmatched quote 
:>character.

:>This seems to be an information message since the program does execute 
:>successfully, but I'd still like to know what the problem is.

It is because your client program (MYPGM) is not receiving an O/S Plist
(r1->Word->h'len',c'text') but is instead pointing to an EFPL (External
Function Parameter List). Luckily the first word of the EFPL points to
something that didn't S0C4 you. 
 
:>Can anyone help me out, also exactly how do you pass parameters to an external 
:>program. I'm afraid the IBM manual on CD-ROM isn't any help at all (no 
:>examples).

You can 

     ADDRESS TSO "CALL (MYPGM) 'parms'"

which is like CLIST or use ADDRESS LINKMVS

:>Michael West 

--
Binyamin_Dissen@theoffice.net
Binyamin Dissen <bdissen@netvision.net.il>

Director, Dissen Software, Bar & Grill - Israel
Re: Calling an external function
#5023
Author: Brandon S. Allbery KF8NH
Date: Fri, 11 Apr 1997 00:00
19 lines
1469 bytes
Also sprach maui@ipad.estd.wvu.edu (<334BEECF.1360@ipad.estd.wvu.edu>):
+-----
| Michael West wrote:
| > Can anyone help me out, also exactly how do you pass parameters to an external
| > program. I'm afraid the IBM manual on CD-ROM isn't any help at all (no
| > examples).
| Have you ever looked at IBM's Procedure Language 2/REXX User's Guide?
+--->8

Hello, McFly...?   Even I, with minimal mainframe experience (a little
VM/CMS), could tell he's working with MVS, *not* OS/2.  REXX predates OS/2
by quite a bit.

-- 
brandon s. allbery                ahead warp four!         bsa@kf8nh.apk.net
director, information services      [Team OS/2]             bsa@telotech.com
acci internet technologies          FORZA CREW!                 bsa@acci.com
cleveland, ohio                mr/2 ice's rfc guru :-)
Re: Calling an external function
#5024
Author: J. Turincs
Date: Fri, 11 Apr 1997 00:00
30 lines
1784 bytes

Brandon S. Allbery KF8NH wrote:
> 
> Also sprach maui@ipad.estd.wvu.edu (<334BEECF.1360@ipad.estd.wvu.edu>):
> +-----
> | Michael West wrote:
> | > Can anyone help me out, also exactly how do you pass parameters to an external
> | > program. I'm afraid the IBM manual on CD-ROM isn't any help at all (no
> | > examples).
> | Have you ever looked at IBM's Procedure Language 2/REXX User's Guide?
> +--->8
> 
> Hello, McFly...?   Even I, with minimal mainframe experience (a little
> VM/CMS), could tell he's working with MVS, *not* OS/2.  REXX predates OS/2
> by quite a bit.
> 
> --
> brandon s. allbery                ahead warp four!         bsa@kf8nh.apk.net
> director, information services      [Team OS/2]             bsa@telotech.com
> acci internet technologies          FORZA CREW!                 bsa@acci.com
> cleveland, ohio                mr/2 ice's rfc guru :-)

To the original author...
Look at the ADDRESS LINK instruction in the REXX/MVS User's Guide

+-----------------------------------------------------------
| J. Turincs - Database and Operating systems
|              Mainframes and PCs
+-----------------------------------------------------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads