|
Kathir: As long as your numeric value is not negative and has no decimal positions, you can move the value into a *CHAR 6 field and pass that into the COBOL program; zoned decimal is practically a character representation of a numeric value anyway. Be aware that _any_ need for negative numbers or for decimal fractions may take significant effort to implement as zoned decimal in CL if you cannot change the COBOL program. Otherwise, it's trivial. Tom Liotta cobol400-l-request@midrange.com wrote: > 1. Parameter passing from CLP to COBOL/400 program > (Senkathiravan Athiappan) >---------------------------------------------------------------------- > > >Hallo - > >We need to pass a parameter from CLP to COBOL. > >The entry parameter in COBOL is of attribute- length 6 and type Zoned. > >I have the limitation of not doing any change to the Cobol program. > >How should, I pass the Zoned field of length 6 from the CLP when I call >the cobol program??? > >Pls., explain. -- Tom Liotta The PowerTech Group, Inc. 19426 68th Avenue South Kent, WA 98032 Phone 253-872-7788 x313 Fax 253-872-7904 http://www.powertechgroup.com __________________________________________________________________ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
As an Amazon Associate we earn from qualifying purchases.
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.