This chapter contains information on generating applications, including procedures, parameters, and regeneration.
Do the following:
| To Generate... |
Enter... |
|---|---|
|
Single screen |
GENERATE SC screenname in Command field, or G in screen selection field |
|
Multiple screens |
G in screen selection fields |
|
All screens |
GENERATE SC ALL in Command field |
|
Single program |
GENERATE SC programname in Command field, or G in program selection field |
|
Multiple programs |
G in program selection fields |
|
All programs |
GENERATE SC ALL in Command field |
|
Entire application |
GENERATE in Command field |
|
ISPF prototype |
ISPF in DC field, GENERATE in Command field |
Verify or change default parameters that define your development and application target environments. Access from Application Painter by entering OPT in the Command field, or select from APS Main Menu.
Reset the following to their original values at installation time:
|
BIND options |
Job control cards |
|
SQL |
Library prefixes and DSNs |
|
Generator options |
APS precompiler options |
|
IDMS options |
|
| Option |
Description and Values |
||||
|---|---|---|---|---|---|
|
Target |
Define operating system (OS), database (DB), data communications (DC) and SQL targets. |
||||
|
Job Class |
Any job class valid at your site and known to the APS generators. |
||||
|
Job Dest |
Site-specific. |
||||
|
MSG Class |
Site-specific. |
||||
|
LISTGEN |
|
||||
|
COBOL |
|
||||
|
Object |
|
||||
|
MFS/BMS |
|
||||
|
GENSRC |
|
||||
|
APS Parm |
Override the APS Parm field on the Precompiler Options screen. |
||||
|
COBOL Parm |
Specify parameters or directives for COBOL compiler. |
||||
|
CARDIN Member |
Specify the CNTL library APSDBDC member. |
||||
|
Generate COBOL II |
|
||||
|
Generate COBOL II |
|
||||
|
CICS Release |
CICS release at your site. |
||||
|
IMS Release |
IMS release at your site. |
||||
|
SUPRA |
|
Define your project and group settings on APS Project Group Environment.
|
Option |
Description
and Values |
|---|---|
|
Project |
Project name. Maximum 8 alphanumeric characters; first character alphabetic. |
|
Group |
Group name. Maximum 8 alphanumeric characters; first character alphabetic. |
|
DDIFILE |
Location of data set or directory where APS stores extracted information for DBD and DDI statements. Do not specify the name DDIFILE. Default is current project and group. |
|
Data Element Library Prefix |
Location of the Data Element Facility APSDE directory or data set; do not specify the name APSDE. |
Select various APS parameters to obtain special features during program recompilation on APS Precompiler Options. The APS Parm field displays the modified parameters.
The following lists the parameters and their valid values. The Keywords columns specifies the keywords generated by the parameter; you can enter these keywords in the APS Parm field on the Generator Options screen.
|
Option |
Description
and Values |
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
APOST |
Overrides QUOTE.
|
||||||||||
|
QUOTE |
Overrides APOST.
|
||||||||||
|
SCBTRACE |
|
||||||||||
|
RWT |
For very large programs, enter rwt=bigrwt in the APS Parm field on the Generator Options screen. |
||||||||||
|
MOCKUP-FMP |
|
||||||||||
|
SUBR |
|
||||||||||
|
NARROW |
|
||||||||||
|
EVALMESS |
|
||||||||||
|
GENSEQ |
Overrides SPACESEQ.
|
||||||||||
|
SPACESEQ |
Overrides GENSEQ.
|
||||||||||
|
SPACEIDENT |
See also, GENIDENT, IDENT, SEQ.
|
||||||||||
|
FMP |
|
||||||||||
|
Source |
|
||||||||||
|
GENDIRECT |
|
||||||||||
|
MAIN |
Location of the main input source.
|
||||||||||
|
XLATE |
Specify which processing step(s) that APS performs. You can stop processing at any of the steps listed below. All options except ALL are mutually exclusive.
|
||||||||||
|
EMARK |
Three-character string that marks error and warning lines of the message report.
|
||||||||||
|
IDENT |
See also, GENIDENT, SPACEIDENT, SEQ.
|
The APS Bind Options screen let you specify parameters and change default values for your SQL database target.
|
Field |
Description
and Values |
||||
|---|---|---|---|---|---|
|
Database |
Database name. Required for OS/2 Database Manager. |
||||
|
DB2 System Name |
Appropriate name for your site. |
||||
|
Plan Name |
Plan name you use when you Bind an application. If you leave this field blank, the default depends upon your use of the BIND command in the Application Painter. |
||||
|
Owner of Plan (Authid) |
Leave this field blank or specify a primary or secondary authorization ID of the BIND. |
||||
|
Qualifier |
Leave this field blank or specify the implicit qualifier for the unqualified table names, views, indexes, and aliases contained in the plan. |
||||
|
Action |
Specify the bind action to be executed. Valid values: ADD or REPLACE. |
||||
|
Retain Execution Authority |
Used only when you specify REPLACE in the Action field. Valid values: YES or NO. |
||||
|
Isolation Level |
Valid values: RR or CS. |
||||
|
Plan Validation Time |
Valid values: RUN or BIND. |
||||
|
Explain Path Selection |
|
||||
|
Resource Acquisition Time |
Valid values: Use or Allocate. |
||||
|
Resource Release Time |
Valid values: COMMIT or DEALLOCATE. |
||||
|
Defer Prepare |
|
||||
|
Cache Size |
Size (in bytes) of the authorization cache to be acquired in the EDMPOOL for the plan. Valid values: 0 to 4096. |
||||
|
Data Currency |
|
||||
|
Current Server |
Leave this field blank or specify a connection to a location before the plan runs. |
||||
|
Message Flag |
Specify which messages display. Valid values: I, W, E, C, or blank. |
Establish up to five job cards with varying job names, account information, classes, and other attributes on Job Control Cards. After these are defined, specify the job card you want ( such as J1 or J2) in the Job Class field of other APS screens.
The APS IDMS DB Options screen let you specify parameters and change default values for your IDMS database target.
|
Field |
Description
and Values |
||||||
|---|---|---|---|---|---|---|---|
|
Dictionary Name |
Specify the dictionary name. |
||||||
|
Central Version or Local |
Compile environment. APS generates a SYSTRNL with a unique DSN whose high level qualifier is your user ID.
|
||||||
|
IDMS Local Jrnl Disk Vol |
Local compile disk volume for journal. |
||||||
|
Dictionary Update |
|
||||||
|
IDMS DMLC Output to PDS |
|
||||||
|
IDMS Loadlib Qualifier |
Specify full qualifiers for IDMS..LOADLIB. |
||||||
|
IDMS SYSCTL DSN |
Specify DSN of IDMS dictionary. |
||||||
|
CV Node Name |
Name of central version DDS node under which LOADLIB program is compiled. |
||||||
|
DMLIST (List Generation) |
|
||||||
|
Generate DB-BIND in Pgm |
|
||||||
|
IDMS Password |
N/A |
Follow the procedures below when you make a change to your application.
To add a screen:
To add a program, data structure, report mock-up, macro PSB, or subchema:
To modify DB/DC targets:
To modify a program, data structure, PSB, or subschema:
To modify a screen:
To modify a macro or report mock-up:
To delete a screen, program, data structure, report mock-up, macro, PSB, or subschema:
To rename an application:
No modification or generation is required.
To rename a program:
To rename a screen:
To rename a data structure, report mock-up, macro PSB, or subschema:
Copyright © 2002 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names
used herein are protected by international law.