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:
CRTLIB xxxxxx
where xxxxxx is the library name
WRKOBJ OBJ(QGPL/QVGN*) OBJTYPE(*FILE)
TOLIB(XXXX)
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.