Adding Panvalet members using unique Language types
search cancel

Adding Panvalet members using unique Language types

book

Article ID: 27683

calendar_today

Updated On:

Products

Panvalet

Issue/Introduction

Is there a way to add Panvalet members with a Language type other than the 16 types defined for the ++ADD statement?

Environment

Release:  14.6
Component: Panvalet

Resolution

Use the ZTYPE1 through ZTYPE8 entries in the Panvalet Options PVOPT macro to specify user-defined language labels for existing language types.

To identify COBOL 6 members code the ZTYPE1 entry like this -

                       ZTYPE1=(COB6,COBOL)

 

Members added with a language type of COB6 are treated internally the same as language COBOL with the same starting column for sequence numbers, length of sequence numbers, starting column for the data field, length of the data field attributes. 

 

When new members are added using batch ++ADD and specify the new Language type, the new Language type will be displayed in LANG column on the Member Selection List display and in the TYPE column of the PAN#2 PRINT x-UP reports. 
 
When new members are added using the Panvalet ISPF PVEDIT panel, the new Language type is used unless the new ZTYPEx Language name is a documented Synonym.  If the new ZTYPEx Language name is a documented Synonym, then the standard Language type is used. 
 
For example -

                       ZTYPE1=(ASM,ASMB)

 
BAL,ALC,ASM, and ASSEMBLER are documented synonyms for ASMB.  If a new member is created using the Panvalet ISPF interface and ASM is specified on the PVEDIT(ADD) panel, the Language type ASMB will be assigned to the new member even if a ZTYPEx entry for ASM is coded.