+ Reply to Thread
Results 1 to 5 of 5

Thread: Passing S/36E Parameters

  1. #1
    Guest.Visitor Guest

    Default Passing S/36E Parameters

    Does anyone have any info on passing parameters from OCL to CL? Any help would be much appreciated.

  2. #2
    Guest.Visitor Guest

    Default Passing S/36E Parameters

    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.) // LOAD XXX // FILENAME-XXX // RUN CALL PROGNAME PARM('XYZ') In fact the OCL interpreter will interpret any CL command. David Abramowitz

  3. #3

    Default Passing S/36E Parameters

    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.

  4. #4

    Default Passing S/36E Parameters

    Thanks, guys. My last S/36 job ended in 1988.
    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.

  5. #5

    Default Passing S/36E Parameters

    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.
    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.

+ Reply to Thread

Similar Threads

  1. Passing Parameters
    By J.Wells in forum RPG
    Replies: 7
    Last Post: 06-24-2003, 04:00 AM
  2. Passing parameters
    By B.Morris in forum IBM i (OS/400, i5/OS)
    Replies: 2
    Last Post: 03-21-2002, 08:15 AM
  3. Passing parameters by VALUE
    By Guest.Visitor in forum CL
    Replies: 1
    Last Post: 01-08-2002, 10:29 AM
  4. passing parameters
    By wjminc in forum Programming
    Replies: 1
    Last Post: 02-27-1998, 07:55 AM
  5. Help Please on Passing Parameters
    By Guest.Visitor in forum Programming
    Replies: 0
    Last Post: 01-01-1995, 02:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts