× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: How do we run OCL from CL?
  • From: Jim Langston <jimlangston@xxxxxxxxxxxxxxxx>
  • Date: Thu, 31 May 2001 10:58:23 -0700
  • Organization: Pacer International

What I did in this situation is to write and call an OCL36.  It is fairly
simple to call a S36 procedure with STRS36PRC.  So in your case
I would create a one line S36 Procedure in the JOBLIB library called
MASTER which said
// MENU MASTER,JOBLIB
and in the CL do a 
STRS36PRC PRC(MASTER) CURLIB(JOBLIB) 

Maybe not the best way, maybe not the only way, but it is what I found that
works.

Incidentally, MENU MASTER,JOBLIB will work from the command line or another
menu if you have the S36 environment running, just not the CL as you state.

Regards,
 
Jim Langston

Date: Thu, 31 May 2001 11:25:07 -0400
From: booth@martinvt.com
Subject: How do we run OCL from CL?
Content-Type: text/plain; charset="us-ascii"

I'm working with an active and stable Sys/36 software application.  New 
function is being added.  There seems no reason to re-write code that has 
worked right for 15+ years.  However I can't figure out how to run OCL 
from CL.  For example, i want to run "MENU MASTER,JOBLIB" from CL but of 
course it won't compile.
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.