I am developing one transaction screen in CICS. Based on a search field in the Map1 it shoud display other information in map2. Now my query is some of the result fields are defined in DB2 table as comp-3 variable. When I move these variable(host variable) to map fields(ie output field) for map2, am getting the following compilation error.
TRA7-PYMT-AM (PACKED NON-INTEGER)" and "PAYAMTO (ALPHANUMERIC)" did
follow the "MOVE" statement compatibility rules. The statement was
Joined: 24 May 2006 Posts: 258 Location: Salem, Oregon
Number one, you need to move the packed field to a pic 9() field
before you can move it to the screen field. If you want to use the
edit mask zzzzz9, you need to move the pic 9() field to the edit
mask field and then move the dit mask field to the screen field.
Not to be rude, but this is cobol 101, when wanting to display a
comp, comp-3 and the likes. I would take the time to read the