View Full Version : Passing S/36E Parameters
Guest.Visitor
01-01-1995, 02:00 AM
Does anyone have any info on passing parameters from OCL to CL? Any help would be much appreciated.
Guest.Visitor
09-01-1998, 10:25 AM
On Tuesday, September 01, 1998, 06:57 AM, Chris Bennett wrote: Does anyone have any info on passing parameters from OCL to CL? Any help would be much appreciated. ================================================== ============================== ================ You can use the CL CALL command in OCL. (e.g.)<tt> // LOAD XXX // FILENAME-XXX // RUN CALL PROGNAME PARM('XYZ') </tt> In fact the OCL interpreter will interpret any CL command. David Abramowitz
daly.michael@verizon.net
09-02-1998, 01:42 PM
Ted, Sorry it has taken me so long to get back to you. We moved our corporate offices this past weekend, and lost our ISDN line for a few days. But I'm back now! Check your email for a copy of B860601. One day, we'll all be heroes.
T.Holt
09-03-1998, 02:58 PM
Thanks, guys. My last S/36 job ended in 1988.<hr><font > color="blue"> On Monday, August 31, 1998, 05:25 PM, Chris Bennett wrote: Ted, Actually David is right. Queries are stored in libraries and the default #QUERY. IDDU data definitions are stored in folders.</font>
T.Holt
09-03-1998, 08:15 PM
Dave is, of course, correct. I will add a couple of thoughts. First, you can pass substitution expressions (e.g., ?1?, ?USER?, etc.) as parameters. Second, the called CL program can't modify them. That is, if you pass it ?1?, it won't modify parameter 1 in the OCL procedure. But embedding CL in OCL procs works fine. I have a client that still runs a primarily S/36EE system, but I do all the new stuff in native RPG III, and I have OCL call CL and RPG programs all the time. <hr><font color="blue"> On Tuesday, September 01, 1998, 06:57 AM, Chris Bennett wrote: Does anyone have any info on passing parameters from OCL to CL? Any help would be much appreciated.</font>
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.