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'
- 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
- 1423
-
by sergeyken
View the latest post
Wed Oct 30, 2024 1:09 pm
-
-
-
Merge multiple fixed length files of different record length
by corvette1982 » Mon Mar 01, 2021 11:46 pm » in JCL - 8
- 5241
-
by willy jensen
View the latest post
Tue Mar 02, 2021 3:02 am
-
-
-
How to overlay a constant value in PD format
by Shambu » Mon Jun 28, 2021 11:56 pm » in Syncsort/Synctool - 1
- 3492
-
by sergeyken
View the latest post
Tue Jun 29, 2021 1:18 am
-
-
- 11
- 3659
-
by willy jensen
View the latest post
Thu Oct 15, 2020 1:25 am
-
- 8
- 3520
-
by sergeyken
View the latest post
Wed Nov 17, 2021 6:56 pm