× 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: cl question
  • From: "John Ross" <ross.john@xxxxxxxxxxxxxx>
  • Date: Thu, 08 Oct 1998 06:39:39 -0700
  • Organization: MailExcite (http://www.mailexcite.com:80)

This CL program would have nothing to do with display files.

Other RPG or CL programs would call this CL. Those programs would need to have 
parms setup the same (not the names, but the size, type, and order) as the 
parms on this cl programs PGM statement, and used on their call statement. It 
looks like it is used to determine if an object exsits. The calling program 
would fill in &obj &Lib and would use the &ok parm to see it it does exsits (Y).

The problem is &TYPE never gets a value. So I am not sure but I thinks this 
would cause an error every time on the chkobj. So &OK would always be N. 
---
John Ross
Ross.John@MAILEXCITE.COM or JROSS@INAME.COM
http://ourworld.compuserve.com/homepages/john_m_ross/


On Wed, 7 Oct 1998 17:28:47    mohammad khan wrote:
>i was working on the cl part of my job and came up with a few
>questions. this is my cl pgm so far based on a layout i have, a few
>changes ought to be necessary i think.
>
>PGM PARM(&OBJ &LIB &OK)            
>DCL &OBJ *CHAR 10                  
>DCL &LIB *CHAR 10                  
>DCL &TYPE *CHAR 6                  
>DCL &OK *CHAR 1 'Y'                
>CHKOBJ &LIB/&OBJ &TYPE             
>MONMSG CPF0000 EXEC(CHGVAR &OK 'N')
>ENDPGM                             
>
>anyway, my question is how, how does this cl pgm know
>what &OBJ &LIB &TYPE &OK refer to when this cl pgm has to interact
>with display files and rpg pgms, etc...
>
>sincerely
>
>Mohammad
>_________________________________________________________
>DO YOU YAHOO!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>+---
>| 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
>+---
>


Free web-based email, Forever, From anywhere!
http://www.mailexcite.com
+---
| 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.