EGL Server Guide for iSeries


iSeries library and file setup

The outputs from generation are placed into files in the library identified in the build descriptor option destLibrary. The default value of that option is QGPL.

You must create a set of files in that library before the preparation step can run. The next table lists those files.

Table 2. Generation Output Files

File name Type Description
QVGNCBLS PF-SRC EGL generation COBOL source
QVGNCLS PF-SRC EGL generation CL source
QVGNDDSS PF-SRC EGL generation DDS source file
QVGNEVF PF-SRC EVF parts control file
QVGNMAPG PF-DTA EGL generation form group source
QVGNTAB PF-DTA EGL generation table data
QVGNWORK PF-SRC EGL generation work file

The following commands can be used to create these files:

CRTSRCPF FILE(QGPL/QVGNCBLS) RCDLEN(92 ) TEXT('EGL GENERATION - COBOL SRC')
CRTSRCPF FILE(QGPL/QVGNCLS ) RCDLEN(92 ) TEXT('EGL GENERATION - CL SRC')
CRTSRCPF FILE(QGPL/QVGNDDSS) RCDLEN(92 ) TEXT('EGL GENERATION - DDS SRC')
CRTSRCPF FILE(QGPL/QVGNEVF ) RCDLEN(92 ) TEXT('EGL GENERATION - VARIABLES')
CRTSRCPF FILE(QGPL/QVGNWORK) RCDLEN(150) TEXT('EGL GENERATION - WORK FILE')
CRTPF FILE(QGPL/QVGNMAPG) SRCFILE(QEGL/QVGNPDDS) SRCMBR(TBLMAP) MBR(*NONE)
  TEXT('EGL GENERATION- MAP GROUP FILE')
  MAXMBRS(*NOMAX) AUT(*CHANGE) OPTION(*NOSRC *NOLIST)
CRTPF FILE(QGPL/QVGNTAB) SRCFILE(QEGL/QVGNPDDS) SRCMBR(TBLMAP) MBR(*NONE)
  TEXT('VISUALGEN TABLE DATA') MAXMBRS(*NOMAX) AUT(*CHANGE) +
  OPTION(*NOSRC *NOLIST)
 

To avoid member name collisions when multiple application developers are using the same host iSeries system, it is highly recommended that you copy these QVGN* files from the QGPL library to the application-developer user library that is identified in the build descriptor option destLibrary.

To create libraries for multiple users, do as follows:

  1. Type the following command on the command line--
      CRTLIB xxxxxx
    

    where xxxxxx is the library name

  2. Create a duplicate of the VGN files in the new library by typing this command--
      WRKOBJ OBJ(QGPL/QVGN*) OBJTYPE(*FILE)
    
  3. Place option=3 (copy) next to each file, then type this command--
      TOLIB(XXXX)
    


[ Top of Page | Previous Page | Next Page | Table of Contents ]