I've to pass a numeric data of size 3 to cobol program from jcl. In the jcl, the coding is
//step01 exec pgm=cblex,parm=100
In the cobol I declared the parm in linkage section as
pic 9(03) type.
But when the value is passed from jcl to cobol, the declared variable in linkage section shows an illegal data in numeric field.Can anyone help me with this.
Definately U missed out the parm-length field in the linkage section.
declare your linkage section as shown by superk and see your output how it looks.