Entering program source The programmer menu can be used to enter program source.
The programmer menu can be called directly by calling the QPGMMENU program, or by using the Start Programmer Menu (STRPGMMNU) command.
Option 1. Start Data File Utility
Select this option and press the Enter key to work with a system data file utility (DFU) application, such as:
o Display, create, change, or delete an Application Development Tools DFU program
o Run or manage an Application Development Tools DFU program
The DFU option does not use any of the input fields on the Programmer Menu.
If you want to select parameter values for the STRDFU command, enter the option number and press the F4 (Prompt) key.
Option 2. Work with Queries
Select this option and press Enter to design, run, delete, or change a Query application. The Query option does not use any of the input fields on the Programmer Menu.
Option 3. Create an object from a source file
Select this option to create an object from a source file member.
The Create Object (CRTOBJ) command will be submitted to batch to create the object. The object types that can be created are programs, files, or commands. You can type the object name to be created in the Parm field, and the object type to be created in the
Type field. The Parm2 field is only used if you specify CMD or
CMD38 as the value in the Type field. The value in the Parm2 field
is used as the command processing program name for your command.
The Source file and Library fields indicate where the source member
exists. The Object Library field will be where the object is
placed when it is created. The Job Description field specifies the
job description to be used when submitting the create object
command to batch for processing. See the help for the Type field
for a list of the correct type values for this option.
Option 4. Call a program (CALL)
Select this option and press Enter or F4 (Prompt) to select values
for the Call (CALL) command. Or you can type in the Parm field the
program name to be run. The Object Library field specifies the
library name, containing the program that is to run.
Option 5. Run a command
Select this option to run a Control Language (CL) command. Then,
you can do one of the following:
o Type the command to be run in the Command field and press the
Enter key.
o Type the command to be run in the Command field and press the
F4 (Prompt) key to select the parameter values for the command
to be run.
o Leave the Command field blank and press the Enter key to
display the Major (MAJOR) menu from which you can select
commands to run from other menus.
Option 6. Submit a job
Select this option to place a job on a queue of jobs to be run in a
batch environment. For example, you can:
o Type the name of the command to be submitted to batch in the
Command field.
o Press F4 (Prompt) to select parameter values for the command
you typed in the Command field.
o Press F4 (Prompt) without a command name in the Command field
to display the Major (MAJOR) menu where you can select commands
to run from other menus.
The value you specify in the Parm field will be used as the job
name on the Submit Job (SBMJOB) command.
The value you specify in the Job Description field determines what
job description will be used on the Submit Job command. This value
controls the job's environment.
Option 7. Go to a menu
Select this option to go to a desired menu. Type the name of the
menu in the Parm field. If no value is typed in the Parm field,
the Major (MAJOR) menu is displayed, where you can select commands
from other menus. You can also press F4 (Prompt) to select values
for the Go (GO) command.
Option 8. Edit a source file member
Select this option to create or change a source member in an
existing source file. The following input fields can be specified
o Parm, which specifies the source member to be edited.
o Type, which specifies the syntax checker that will be used for
this member. See the help for the Type field for a list of
values you can use.
o Source file, which specifies the file that contains the source
member.
o Source library, which specifies the name of the library where
the source file is found.
Option 9. Design a display format using SDA
Select this option to use the Screen Design Aid (SDA) to create,
change, or test a display record format using the Start Screen
Design Aid (STRSDA) command. The following input fields can be
specified:
o Parm, which specifies the SDA member name.
o Parm2, which specifies the SDA mode. *STD, *S38, *S36 are the
values you can select.
o Source file, which specifies the file that contains the source
member.
o Source library, which specifies the name of the library where
the source file is found.
o Object library, which specifies where the object is found.
o Job Description, which determines what job description controls
a job's environment when SDA submits a job.
Option 90. Sign off
Select this option to end the display station job you started when
you signed on the system. There are no required input fields,
although the Parm field must be blank if you do not specify either
*NOLIST (to delete the job log information) or *LIST (to spool the
job log information for printing) as the SIGNOFF command parameter
value.