top of page

System Values

Retrieving system values
  • A system value contains control information for the operation of certain parts of the system

  • QDATE and QTIME are the date and time system values which you set when OS/400 is started

  • The RTNVAR parameter specifies the name of the variable in the CL program that is to receive the value of the system value

 

 Example:

       PGM

       DCL &TIME *CHAR 6

       RTVSYSVAL QTIME &TIME

       ENDPGM

 

Retrieve Commands
  • RTVCFGSRC – Using Retrieve configuration source command, you can generate CL command source for creating existing configuration objects and place the source in a source file member

  • RTVCFGSTS – Using Retrieve configuration status, you can give applications the capability to retrieve configuration status from three configuration objects namely line, controller and device

  • RTVNETA – Using Retrieve attributes command, you can retrieve the network attributes of the system

  • RTVJOBA – When an interactive program is submitted in batch in a CL program, Retrieve job attributes command retrieves a lot of job attributes like job number, job name, user, job date etc…

  • RTVOBJD – Using Retrieve object description, you can retrieve the description of a specific object in your CL program

  • RTVUSRPRF – Using Retrieve user profile command, you can retrieve the attributes of a user profile and place the values in CL variables to control the application. 

  • RTVMBRD – Using Retrieve member description command, you can retrieve the description of a specific member

bottom of page