Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 9405

COBOL Programming :: RE: Facing error IGYPS0037-S

$
0
0
Author: murugan_mf
Posted: Thu Jun 02, 2016 10:40 am (GMT 5.5)

Apologies. It was my mistake not providing the code correctly. This is the code snippet

Code:
05 Sales-Data-County occurs 10 times.
 10 Amount PIC 9(09)
 10 Date PIC X(10)

05 Sales-Data-Area occurs 10 times
 10 Amount PIC 9(09)
 10 Date PIC X(10)


Now, when I am moving values to the field I am facing the following error IGYPS2072-S "OF" was invalid

Move ws-amount to Amount(ws-sub1) of Sales-Data-County
_________________
Thanks!
Murugan L


Viewing all articles
Browse latest Browse all 9405

Trending Articles