So first - let’s say there is a Linkage Section variable defined as: 05 Important-Value Pic X(10) Value SPACE. Then let’s say some other program calls this program where the Important-Value variable being passed has a value of “Platinum”. Once our program gets up and running, will SPACE...
Actually - XWB's commentary is appreciated. Overall, the exchange is good. Thank you. 0.E0, being a scientific notation-kind of thing, is something I'd expect to see in FORTRAN (if its syntax is good), with that FORTRAN program called for it's computational value. Embedding within COBOL, I...
See SaltyTheFrog's initial reply above. I was following along quite nicely, thinking the end result would be zero, because anything times zero is zero, but that particular reply ended with . . . ", which is 1 1.
Hmmm . . .
Recently encountered COMPUTE A = ((B + C) * D) * ((E / F) - G) + 0.E0
What is the significance/purpose/benefit of 0.E0 ?
In advance - thanks.
. . . I just thought its because "Y" is NE "y" and the original coder forgot their Cap Lock was left on. (???) But if that, why did they not do a "N", "n"?
Hello to all.
First time.
While looking at some legacy code . . .
01 DATA-TO-PROCESS.
03 DATA-FIELD-01 PIC X.
88 DF1-YES VALUE 'Y' 'Y'.
88 DF1-NO VALUE 'N'.
. . . what is the significance, purpose or benefit of doubling down on...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.