bdfp1m2u | Programming Concepts and Reference |
Use this macro to set up a fast-link case in a fast-link segment.
Format
- label
- is a symbolic name assigned to the macro statement.
- case
- is the case number, which is a decimal number in the range
0-7. The case number is in the segment specified using the DFLNK
macro with the prog parameter.
- COLLECT
- specifies that the fast-link case is included in the TPFDF data
collection.
- Note:
- A data collection case number equate has to be provided when you specify the
COLLECT parameter; for example:
#UWAACASE0 EQU 0
- DESC=desc
- specifies the description of the function for a case number, where
desc is the description of the function. You can display this
description by using the ZUDFM OAI/DBTAB command with
the LINK parameter specified. See TPFDF
Utilities for more information about the ZUDFM OAI/DBTAB command.
Entry Requirements
None.
Normal Return
None.
Error Return
None.
Programming Considerations
- You must specify the DFCAS command at the beginning of every fast-link
segment.
- When you specify the DFCAS command, you must provide an assembler equate
to mark the start of the case; for example:
#CASE0 EQU *
Examples
The following example defines case numbers 0 to 3; case number 1 and
case number 2 are included in the TPFDF data collection:
DFCAS 0,DESC='SEARCH DATA BLOCK'
DFCAS 1,COLLECT,DESC='FILNC DD'
DFCAS 2,COLLECT,DESC='FILEC DD'
DFCAS 3,DESC='UPDATE TRAILER'
Related Macros
None.