|
-------------Forwarded Message---------------- Date: 6/12/97 2:33 AM RE: ILE/Cobol 400 parameters. To: John Carr <74711.77@CompuServe.COM> From: Jon Paris Subject: ILE/Cobol 400 parameters. Command line params yes, pointers yes, pointers on command line - no way - nothing in 400 land can do that. As to how many parms, I'm not sure if they added the equivalent of %parms or not. You should be able to test the ADDRESS OF a parm to see if it's NULL - I think that would work for determining the number of parms. . Jon Paris - AS/400 AD Market Support - jonp@vnet.ibm.com ========================================================================= Jon Any Ideas? John Carr Midrange-L -------------Forwarded Message----------------- From: Richard Hartmann, INTERNET:hartmann@VNET.IBM.COM Date: 6/11/97 9:41 PM RE: ILE/Cobol 400 parameters. I was wondering if someone could help answer a few questions concerning the use of ILE/Cobol-400. Can ILE/Cobol take command line parameters? If it can take parameters on the call, can those parameters be pointers? Or must they be call by value? Can ILE/Cobol 400 accept a variable number of command line parameters? In C, there is an argc that contains the number of parameters and argv contains the pointers to the parameters. Can anyone give me some pointers here? Richard Hartmann Richard G. Hartmann TCP/IP Heterogenous Connectivity IBM Endicott, New York IBMVnet:RGH at RCHVMV Dept:40C IBMIPNet:rgh@rchland.ibm.com Location:257-3 M013 Internet:HARTMANN@VNET.IBM.COM Phone:607-752-6731 Tie-Line:852-6731 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the Midrange System Mailing List! To submit a new message, * * send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from * * this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe MIDRANGE-L' in the body of your message. Questions * * should be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.