We have to add some columns to an AS400 file counting some million of records.
This file is under journal, from which we get file updates to fill them into other target systems.
The current procedure we adopt is:
1) Copy the file on line to a backup file with same structure (CPYF ....... MBROPT(*ADD) *CRTFILE(*YES) FMTOPT(*NONE));
2) Change file DDS (new columns on bottom of structure);
3) ENDJRNPF of the file;
4) Compilation of the file on line by changed DDS;
5) Copy the backup file on new file on line (CPYF ................ MBROPT(*ADD) *CRTFILE(*NO) FMTOPT (*MAP *DROP));
6) STRJRNPF of the file;
But this procedure makes us loosing journal updates between last retrieve of updates and the compilation time.
Could you show us an alternative road to follow that allows us to mantain what we are loosing today ?
thanks.
regards,
This file is under journal, from which we get file updates to fill them into other target systems.
The current procedure we adopt is:
1) Copy the file on line to a backup file with same structure (CPYF ....... MBROPT(*ADD) *CRTFILE(*YES) FMTOPT(*NONE));
2) Change file DDS (new columns on bottom of structure);
3) ENDJRNPF of the file;
4) Compilation of the file on line by changed DDS;
5) Copy the backup file on new file on line (CPYF ................ MBROPT(*ADD) *CRTFILE(*NO) FMTOPT (*MAP *DROP));
6) STRJRNPF of the file;
But this procedure makes us loosing journal updates between last retrieve of updates and the compilation time.
Could you show us an alternative road to follow that allows us to mantain what we are loosing today ?
thanks.
regards,


Comment