View previous topic :: View next topic
|
Author |
Message |
rajesh_mbt
New User
Joined: 27 Mar 2006 Posts: 97 Location: India
|
|
|
|
Hi ,
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
discarded.
MOVE TRA7-PYMT-CRNCY-CD TO PAYAMTO
HOW TO SOLVE THIS ISSUE? |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
rajesh_mbt wrote: |
...UMERIC)" did
follow the "MO... |
Did a "not" get dropped?
Please post the entire PAYAMTO please. |
|
Back to top |
|
|
rajesh_mbt
New User
Joined: 27 Mar 2006 Posts: 97 Location: India
|
|
|
|
Yes, I missed out 'not' after 'did' ....
The actual statement as follows....
"TRA7-PYMT-AM (PACKED NON-INTEGER)" and "PAYAMTO (ALPHANUMERIC)" did not follow compatibility rules. The statement was discarded. " |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
William Thompson wrote: |
Please post the entire PAYAMTO please. |
|
|
Back to top |
|
|
Mickeydusaor
Active User
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
MANUAL. |
|
Back to top |
|
|
|