We have a Main program CKR2OB1B with the 01 filed of copybook CKR2OBIA to call a subprogram CKR2OBIN, in the subpgoram,CKR2OBIA is defined as the parameter ,
When we execute the Job, the following issue encountered, what's the possible root cause for this? Thank you.
CKR2OB1B 8315 NAT0936 Format/length conflict in parameter 1 (Subprogram CKR2OBIA)
What't the possible root cause for 'Format/length conflict'
-
aimin8828
- Posts: 9
- Joined: Fri Mar 01, 2013 6:40 pm
- Skillset: COBOL / JCL / DB2
- Referer: From the Internet
- RGZbrog
- Posts: 101
- Joined: Mon Nov 23, 2009 1:34 pm
- Skillset: Natural, Adabas, Predict, Natural Security, Construct, EntireX, SPoD, NaturalONE
- Referer: SAG Developer Forum
- Location: California, USA
- Contact:
Re: What't the possible root cause for 'Format/length confli
The general rule is that the sending and receiving parameter lists must match in number, format, and length. To "guarantee" that everything matches, you use a common parameter data area (PDA) in both the caller and called routines. In your example, the PDA is CKR20BIA.
Often the NAT0936 error is caused by changing the PDA and compiling either the caller or the called routine, but not both. In this case the modules are using different versions of the PDA - the two parameter lists don't match.
To resolve your issue, re-compile (i.e. CATalog) CKR20B1B and CKR20B1N.
Often the NAT0936 error is caused by changing the PDA and compiling either the caller or the called routine, but not both. In this case the modules are using different versions of the PDA - the two parameter lists don't match.
To resolve your issue, re-compile (i.e. CATalog) CKR20B1B and CKR20B1N.
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Convert fixed-length input records to variable-length output
by xcspg3 » Wed Oct 23, 2024 1:45 pm » in DFSORT/ICETOOL/ICEGENER - 5
- 3273
-
by sergeyken
View the latest post
Wed Oct 30, 2024 1:09 pm
-
-
-
FORMAT THE FILE SO ALL CHILD UNDER SAME PARENT IN ONE LINE
by azhar » Wed May 31, 2023 4:27 pm » in JCL - 1
- 2933
-
by sergeyken
View the latest post
Thu Jun 01, 2023 3:06 am
-
-
-
Replace a string with another string with different length
by Devrana » Sun Jan 19, 2025 3:23 pm » in JCL - 1
- 3500
-
by sergeyken
View the latest post
Sun Jan 19, 2025 11:07 pm
-