Previous Topic Next topic Print topic


Determining Element Properties (TAUPDEPR)

The TAUPDEPR procedure determines the modeled properties for a PDS member (see Actions and tools). Most of the properties were already determined during the generation of the member list. Some properties are only determined during the individual processing – mainly for reasons of performance.

REXX Example: Extract from TAUPDEPR (simplified) 
. . . . 
Parse Arg indsn member . 
. . . . 
Call ALLOC_FILE indd indsn'('member')'                    
Call TSO "2 EXECIO 200 DISKR" indd "(FINIS STEM record.)"                                
Do i = 1 To record.0                                             
   record.i = Translate(record.i)                                
   . . . .                                                        
   If Pos('IDENTIFICATION DIVISION',record.i) > 0 Then Do        
      suffix = 'CBL'                                             
      type = 'EDITABLE'                                          
      propgroup = 'COBOL'                                        
      End 
   . . . .  
   End  
outparm = suffix','propgroup','type                                      
Call EXIT 0 wmsg  
. . . . 
EXIT: 
Parse Arg exitrc exitmsg 
. . . . 
Call FREE_FILE indd 
. . . . 
Exit exitrc outparm                                                                                                                                              

Note the following in the programming for determining the member properties:

Previous Topic Next topic Print topic