Article View: comp.lang.asm370
Article #625help needed passing params from a C program to a REXX EXEC
From: Cynthia Hertzer
Date: Wed, 13 Mar 1991 23:22
Date: Wed, 13 Mar 1991 23:22
45 lines
1850 bytes
1850 bytes
Hi folks, I am writing an X windows FTP interface on a machine running VM/XA. I'm looking for ways to pass variables from a C program to a REXX exec. The C program should get the userid, password, etc. from the user. The C program then calls the REXX exec and passes the the userid/password as parameters so that the REXX exec can call FTP with the appropriate args. My working REXX EXEC looks like this: /* * FTPCMD EXEC * This exec downloads a file to a workstation and prints an FTP * return code */ 'MAKEBUF' QUEUE 'myuserid mypassword' QUEUE 'put myfile myfile' QUEUE 'quit' 'ftp myhost (exit' SAY 'Ready(FTP rc='rc');' 'DROPBUF' EXIT I would like to stack myuserid, mypassword, myfile, and myhost before I call the REXX EXEC. Questions: 1) (Any C programmers out there?) Does anyone know a way I can avoid the REXX part entirely? 2) Page 121 of VM/SP _System Product Interpreter Reference_ says I can use PLISTS. I assume this means I have to write an assembly module to be called by the C module before it calling the REXX EXEC. Is this correct? Also, can someone send me an example of using PLISTS? Please reply by email to chertzer@ux5.lbl.gov Thank you! Cynthia Hertzer chertzer@ux5.lbl.gov chertzer@UCBCMSA.BITNET
Technical Details
Message-ID:
<9103150816.AA15489@ucbvax.Berkeley.EDU>Path:
arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!ucbvax!UX5.LBL.GOV!chertzerShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!ucbvax!UX5.LBL.GOV!chertzer
From: chertzer@UX5.LBL.GOV (Cynthia Hertzer)
Newsgroups: comp.lang.asm370
Subject: help needed passing params from a C program to a REXX EXEC
Message-ID: <9103150816.AA15489@ucbvax.Berkeley.EDU>
Date: 13 Mar 91 23:22:51 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: IBM 370 Assembly Programming Discussion List
<ASM370@OHSTVMA.BITNET>
Distribution: inet
Organization: The Internet
Lines: 45