If you want to control the UDS/SQL session via INFORM-PROGRAM, you have two different entry options (see below).
Option 1: Entry from the operator console
If the DBH was started via an ENTER job, you can enter DAL commands from the operator console with the INFORM-PROGRAM command:
/INFORM-PROGRAM MSG=’dal-command’["comment"], JOB-ID=*TSN(tsn),
where:
tsn | Task sequence number of the master task |
You must enter dal-command in uppercase letters. Depending on the operating system version, you may have to specify the character "&" twice. You must also specify single quotes twice.
Option 2: Entry from the database administrator’s terminal
If the independent DBH was started as an interactive job from the database administrator’s terminal, the entire dialog with the DBH is conducted via this terminal. During the session, the master task must perform special functions in order to guarantee that everything runs smoothly.
Care should therefore be taken to ensure that the master task is interrupted only when required and only for a brief period to enter DAL commands if it was loaded as an interactive job. You should also remember to enter RESUME-PROG after issuing BS2000 commands. Command input is accomplished by pressing the EM,DUE (Transmit) keys or the K2 key to interrupt the master task, and then passing the required DAL command to the master task by means of a INFORM-PROGRAM command:
/INFORM-PROGRAM MSG=’dal-command’["comments"] [, JOB-ID=*OWN]
You must enter dal-command in uppercase letters. Depending on the operating system version, you may have to specify the character "&" twice. You must also specify single quotes twice.