Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
SOURCE (Source) z/OS ISPF Dialog Tag Language Guide and Reference SC19-3620-00 |
|
The SOURCE tag defines ISPF panel logic statements within an application panel. Syntax>>-<SOURCE--+-------------------+-->--text--</SOURCE>---------->< | .-PROC----. | '-TYPE=-+-REINIT--+-' +-INIT----+ +-ABCINIT-+ '-ABCPROC-' Parameters
CommentsThe SOURCE tag defines ISPF panel statements within an application panel. Lines of text from a SOURCE tag that follows an AREA, CHOICE, DA, DTACOL, DTAFLD, HELP, LSTCOL, LSTFLD, LSTGRP, PANEL, REGION, or SELFLD tag are added to the )INIT, )REINIT, or )PROC panel section when encountered in the DTL source file. For example, if a SOURCE tag follows the DTAFLD tag, any logic or other entries normally generated by DTAFLD would be completed before the lines within SOURCE are added. The use of a SOURCE tag within a SELFLD tag results in the placement of the SOURCE tag lines after any logic created by the previous CHOICE tag. Additional )INIT, )REINIT, or )PROC section entries may be added when the end SELFLD tag is processed. You can control the placement of the SOURCE tag entries by nesting the SELFLD tag definition within a DTACOL tag, and placing the SOURCE tag definition either before or after the SELFLD tag definition. Lines of text from a SOURCE
tag within an action bar definition are added to:
SOURCE tags within an action bar definition must specify the TYPE as ABCINIT or ABCPROC. SOURCE tags that follow the other listed tags cannot specify TYPE as ABCINIT or ABCPROC. When the SOURCE tag is coded within a GENERATE tag, the TYPE attribute is ignored. TYPE is automatically determined from the placement of the GENERATE tag within the DTL source file. If the length of any line exceeds the record length of the output panel file, the conversion utility truncates the line and issues a warning message. Text found between the SOURCE and SOURCE end tags is placed in the specified panel section as coded; that is, no formatting except entity substitution is performed. To refer to an entity within <SOURCE> tag text, the entity name is preceded by a percent (%) instead of an ampersand (&). Using the percent (%) sign avoids conflict with variable names. A valid percent sign can be specified as "%amp;" to avoid an "entity not found" message. For example, you would refer to the TSO command "%xyz" as “%amp;xyz”. Restrictions
ProcessingNone. Examples
|
Copyright IBM Corporation 1990, 2014
|