I'm struggling with a similar problem in that I need to have new entries or changes in one control of a form to cause other controls on the same form to react immediately to the change - including a subform that queries the same base table as the form for other rows whose fields match the new...
I can't come up with a solution as neat as the one you'd like, but you might think about creating a table with three rows in it; each row containing entries W100-X-FILLER-1, W100-X-FILLER-2, etc., which redefines a chunk of W-S with all of the postscript for A3, followed by all of the postscript...
FYI - On IBM mainframes since the mid-60's COMP-3 is the format closest to DISPLAY that the hardware can actually do arithmetic on. The newer IBM compilers even seem to want to convert COMP fields to COMP-3 before doing calculations. Conversly, PC's can *only* do arithmetic with COMP fields(or...
Yep, DEC COBOL is slick that way. The problem with batch COBOL on an IBM mainframe is that the identification of the file you want goes through another level of articulation in the JCL used to execute your program. (I am assuming MVS here.) The name you give...
FYI: The maximum number of digits that can be handled exactly by any IBM 360/370.. architecture instruction is 31. This would be a packed (COMP-3) field of 16 bytes (31 half-bytes plus one for the sign). <br>
I'd guess that IBM used the 18 digit limit so that it would have the ability to...
At your level I'd think the way to go is IBM's 'Language Reference' and their 'Programming Guide' for the particular version of COBOL that you are working with. These books are awful tutorials for someone new to the language, but they are exceedingly carefully written and will tell you every...
You're asking too much of the old dowager. The best you can do is to use the MOVE CORRESPONDING construct, but that will probably cost typing in other parts of your program. <br><br>COBOL allows you to use exactly the same field names in two different structure heirarchies, as long somewhere...
Be a little careful with the assumption that a name in quotes gives a static call. In our shop the defaults are set so that you will get a dynamic call unless you specifically request static calls for you program. I don't remember if the request is a parm to the compiler or to the linker, but...
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.