After a long time I have got to post a crucial (for me) query in this forum.
The requirement first:
I have a map and for a specific field I need the NEW(replacing the older one) helproutine to work for me.
I have an existing PDA defined for the MAP. This Data area is populated with data from a call to COBOL program.
Now my aim is to pull some more data(3 more variables) thru the COBOL program and pass these 3 varaibles to the Helproutine during invoking the Helproutine.
I am succeeding till the time I get these 3 variables populated from the COBOL call. But when the INPUT USING map is getting executed, it is giving me the error 936 (format/length conflict).
I have STOWed all the modules in proper sequence(I hope). But always the error is the same.
The variables I declared in PDA are
#CTX-ID A 40
#PROCESS A 8
#HDL-ACT N 3
I have passed these 3 variables to the Helproutine from the HE= in the MAP
But to my surprise, when I listed the MAP(Not in EDIT), I have seen that
DEFINE DATA PARAMETER
1 #BLOCKAGE (A005)
1 #PROCESS (N7.0)----
1 #HDL-ACT-ID (N7,0)
I do not understand, from where this format/length is coming.
And finally when the INPUT statement is getting executed, the error comes as
Format/Length conflict in parameter (Map MVSMP01M).
I doc has been attached for reference of the error.
I hope I am clear with my problem. If not, I am here to clarify.
Thanks in Advance
MAP Error.doc (222 KB)