In this step, you will define process module XXXDADD-PREMAP. This process module displays the dialog's map with a message. This processing is performed by the DISPLAY command, as shown below.
DISPLAY MSG TEXT
'ENTER DEPARTMENT INFORMATION, OR SELECT: MOD, BACK, OR EXIT'.
The map is displayed the message that is defined here between single quotation marks. In this example, the DISPLAY command is entered on two lines and is ended by a period (.).
You use the following IDD menu facility screens to define process modules:
Process Entity Screen
To begin defining process module XXXDADD-PREMAP, you display the Process Entity screen in any of the following ways:
CA CAGJF0 IDD REL 15.0 *** MASTER SELECTION *** TOP -> proc SIGNON TO IDD WAS SUCCESSFUL DICTIONARY NAME...: DEMO NODE NAME..: USER NAME.........: PASSWORD..........: USAGE MODE........: X UPDATE _ RETRIEVAL PFKEY SIMULATION..: X OFF _ ON _ ATTR = ATTRIBUTE <PF2> x PROC = PROCESS <PF3> _ CLAS = CLASS <PF4> _ PROG = PROGRAM <PF5> _ ELEM = ELEMENT <PF6> _ RECD = RECORD <PF7> _ FILE = FILE <PF8> _ TABL = TABLE <PF9> _ MODU = MODULE <PF10> _ USER = USER <PF11> _ ENTL = USER DEFINED ENTITY LIST _ SYST = SYSTEM _ MSGS = MESSAGE _ QFIL = QFILE _ OPTI = OPTIONS _ DISP = DISPLAY ALL _ HELP = HELP <PF1>
Process Entity Screen
The Process Entity screen is displayed.
IDD REL 15.0 *** PROCESS ENTITY *** PROC -> DICT=DEMO X DISPLAY PROCESS NAME....: _ MODIFY _ ADD VERSION NUMBER..: 1 _ HIGHEST _ NEXT HIGHEST _ DELETE _ LOWEST _ NEXT LOWEST DESCRIPTION.....: _ SRCE = PROCESS SOURCE <PF9> _ PROX = PROCESS EXTENSION <PF11> _ PRSY = WITHIN SYSTEM _ REGN = USER REGISTRATION <PF2> _ PUBL = PUBLIC ACCESS <PF3> _ CLAT = CLASS/ATTRIBUTES <PF4> _ RKEY = RELATIONAL KEYS <PF5> _ COMM = COMMENTS <PF6> _ COML = COMMENT KEY LIST <PF7> _ HIST = HISTORY <PF8> _ COPY = SAME AS/COPY FROM _ XREF = CROSS REFERENCE <PF10> _ HELP = HELP <PF1>
Screen Prompts
When you define a process module, you usually specify information for the following Process Entity screen prompts:
To do this, type a blank over the X displayed to the left of the action.
To do this, type a nonblank character to the left of the action.
Defining the XXXDADD-PREMAP Process Module
You define the above basic information for a process module by using the Process Entity screen. For example, you define process module XXXDADD-PREMAP by:
IDD REL 15.0 *** PROCESS ENTITY *** PROC -> DICT=DEMO DISPLAY PROCESS NAME....: xxxdadd-premap _ MODIFY x ADD VERSION NUMBER..: 1 _ HIGHEST _ NEXT HIGHEST _ DELETE _ LOWEST _ NEXT LOWEST DESCRIPTION.....: display map to add departments _ SRCE = PROCESS SOURCE <PF9> _ PROX = PROCESS EXTENSION <PF11> _ PRSY = WITHIN SYSTEM _ REGN = USER REGISTRATION <PF2> _ PUBL = PUBLIC ACCESS <PF3> _ CLAT = CLASS/ATTRIBUTES <PF4> _ RKEY = RELATIONAL KEYS <PF5> _ COMM = COMMENTS <PF6> _ COML = COMMENT KEY LIST <PF7> _ HIST = HISTORY <PF8> _ COPY = SAME AS/COPY FROM _ XREF = CROSS REFERENCE <PF10> _ HELP = HELP <PF1>
When you press [Enter], IDD redisplays the Process Entity screen with a message:
PROCESS 'XXXDADD-PREMAP' VERSION 1 ADDED
Read the message to determine the problem. You can type over any errors, and then press [Enter] again.
Entering Source Statements
After you specify basic information about a process module, you use the Process Source screen to enter process commands for the process module.
To display the Process Source screen:
IDD REL 15.0 *** PROCESS ENTITY *** PROC -> srce PROCESS 'XXXDADD-PREMAP' VERSION 1 ADDED _ DISPLAY PROCESS NAME....: XXXDADD-PREMAP _ MODIFY X ADD VERSION NUMBER..: 1 _ HIGHEST _ NEXT HIGHEST _ DELETE _ LOWEST _ NEXT LOWEST DESCRIPTION.....: DISPLAY MAP TO ADD DEPARTMENTS x SRCE = PROCESS SOURCE <PF9> _ PROX = PROCESS EXTENSION <PF11> _ PRSY = WITHIN SYSTEM _ REGN = USER REGISTRATION <PF2> _ PUBL = PUBLIC ACCESS <PF3> _ CLAT = CLASS/ATTRIBUTES <PF4> _ RKEY = RELATIONAL KEYS <PF5> _ COMM = COMMENTS <PF6> _ COML = COMMENT KEY LIST <PF7> _ HIST = HISTORY <PF8> _ COPY = SAME AS/COPY FROM _ XREF = CROSS REFERENCE <PF10> _ HELP = HELP <PF1>
Entering Process Statements
Enter the process statements in the text entry area.
Important! Do not type any characters beyond column 72.
IDD REL 15.0 *** PROCESS SOURCE *** SRCE -> NO DATA LINES CURRENTLY EXIST PROCESS 'XXXDADD-PREMAP' VERSION 1 ---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+---- display msg text 'enter department information, or select: mod, back, or exit'.
Considerations
After pressing [Enter], the Process Source screen is redisplayed. Look over the redisplayed process statement for possible syntax errors in the process code.
Note: IDD does not compile the process code; the code is compiled when the process module is associated with a dialog under ADSC.
IDD REL 15.0 *** PROCESS SOURCE *** SRCE -> PAGE 1 LINE 1 1/2 PROCESS 'XXXDADD-PREMAP' VERSION 1 MODIFIED ---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+---- DISPLAY MSG TEXT 'ENTER DEPARTMENT INFORMATION, OR SELECT: MOD, BACK, OR EXIT'.
After you press [Enter], IDD adds the process module to the data dictionary and redisplays the Process Source screen with a message like:
PROCESS 'XXXDADD-PREMAP' VERSION 1 MODIFIED
Syntax Errors
It is a good idea to look over the redisplayed commands for syntax errors. This is because your syntax does not get compiled until you add the process module to a dialog by using ADSC. Typical syntax errors include:
If you make any errors on the Process Source screen, you can type over them and press [Enter] again.
After you finish using the Process Source screen for process module XXXDADD-PREMAP, you can proceed to define process module XXXDADD-RESPONSE.
|
Copyright © 2013 CA.
All rights reserved.
|
|