To copy a program, you must either:
Select the Copy option from the context-sensitive menu (or the equivalent button) in the Programs tab of the Object manager.
Select the Copy option from the context-sensitive menu in the Repository - Programs dialog box in the 4GL Editor.
Data entry
Name
Name of the program created by the copy procedure.
This name must be a valid program name (as defined by IBM), unique in the environment.
Length: 15 characters maximum.
Mandatory entry.
Description
Description clearly identifying the program.
Length: 50 characters maximum.
Layout code / Object file name / Class object name
The "Layout code" relates to ADELIA programs, the "Object file name" concerns VADELIA and SADELIA programs, and "Class object name" relates to WADELIA programs.
This name must be unique within the environment among the report layout codes, ADELIA program layout codes, the object file names for VADELIA and SADELIA programs, and the class object names for WADELIA programs.
Length: 6 characters maximum.
Mandatory entry.
Object file name
Name of the executable object file. This name must be unique among the object file names (VADELIA and SADELIA programs) and among the layout codes (ADELIA programs).
Length: 6 characters maximum.
Mandatory entry if the source type is ADELIA or VADELIA.
This field is only active for VADELIA and SADELIA programs.
IBM program name
This name must be a valid IBM program name (as defined by IBM), unique in the environment.
It must be no more than 10 characters long for ADELIA programs.
It must be no more than 80 characters long for free programs, when the program is assigned to an SRVPGM task with prototype; otherwise the length cannot exceed 10 characters.
If this name is not specified and the source type is ADELIA, the layout code is retained here and used as the IBM program name.
If the source type is not ADELIA, the first 10 characters of the program name are retained as IBM program name.
Mandatory entry.
This field is only active for ADELIA programs.
Click here for more information on SRVPGM tasks.
JSP object name
Name of the JSP file produced by the Adelia Web program.
Length: 80 characters maximum.
If this name is not specified, the class object name is retrieved here and used as the JSP name.
This field is only active for WADELIA programs.
Buttons
Copy (validation)
This button validates the modifications made and closes the dialog box.
The program created using the copy procedure will appear in the program list in the Programs dialog box.
Cancel
This button closes the dialog box without starting the printing.
Keyboard shortcut: Esc.