For this example, the original DASDL description is as follows:
PARAMETERS ( ALLOWEDCORE = 20000 ); D DATA SET ( A ALPHA(10); B BOOLEAN; N NUMBER(S5,2); ); S SET OF D KEY A;
To change a data set record format, perform the following steps:
-
Alter the DASDL statements to the following. The asterisks (*) indicate changed lines.
* UPDATE; PARAMETERS ( * ALLOWEDCORE = 30000 ); D DATA SET ( A ALPHA(10); * G GROUP * ( * P FIELD(8); * Q REAL; * ); * N NUMBER(S5,2) INITIALVALUE 0; ); * S SET OF D * KEY A * CHECKSUM = TRUE;
-
Compile the DASDL description.
-
Compile the DMSUPPORT library.
-
Generate and run the Reorganization program.