|
Dear all, I think this doubt is very similar to that of shabbir .I am a novice to COBOL/400 programming and I have a very basic
doubt.I am trying to pass a character variable as parameter to a COBOL
pgmand in the procedure division I want to convert this character to
a numeric data type. In RPG I remember we could do a MOVE A B without any erroreven if A is a character variable with length (say 4) and B is a
numeric variable of attribute (4 ,0). For eg. suppose A = '1234'move A B -> in RPG would have resulted in B to have a value 1234.On the contrary the same operation would result in a dec
data error in COBOL.Can anybody help me do this in COBOL. Thanks in anticipation, Regards, shijith _________________________________________________________________Tried the new MSN Messenger? It?s cool! Download now. http://messenger.msn.com/Download/Default.aspx?mkt=en-in
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.