Skip to Main Content
Due to the recent acquisition by IBM, the Adabas & Natural Ideas Portal does not contain ideas from products ApplinX and EntireX any longer. Please refer to the IBM Ideas Portal for these products from now on (IBMid required). Existing content will be migrated during the next few weeks.
Status Released
Workspace Natural for z/OS
Categories Natural (NAT)
Created by Sagi Achituv
Created on Jul 15, 2021

More details for NAT0631 Error message with MOVE BY NAME

Compilation error NAT0631 (and maybe other potential errors) for a MOVE BY Name statement does not include enough details for the specific fields that are wrong, which may become a tedious task to analyze when dealing with large structures with multiple fields and several levels. The identification of the wrong field or structure in the details of the error message itself may help the programmer and save valuable time and efforts.

Move by name struct1 to struct2 statement with a an identical field name defined under two different arrays, one in struct1 and the other in Struct2 , and the different arrays had different sizes. each structure had more than 50 fields in many levels , so identify the reason for the error was time consuming and tedious

Use Case Move by name struct1 to struct2 statement
Created on Brainstorm 06/06/2021 08:18
Brainstorm ID 9191
  • +1