Convert Panvalet members with language type COBOL to DATA.
search cancel

Convert Panvalet members with language type COBOL to DATA.

book

Article ID: 62144

calendar_today

Updated On:

Products

Panvalet

Issue/Introduction

How to convert a Panvalet member from COBOL language format to DATA?
 

Environment

Release: 14.6
Component:   CA Panvalet

Resolution

  1. The PAN#1 ++FORMAT command changes the internal format/type of an existing member with a logical record length of 80 bytes.

  2. Sample JCL below:
    //********************************************************** 
    //* THIS SAMPLE JCL USES PAN#1 TO CHANGE THE LANGUAGE TYPE *
    //* OF MEMBER 'TEST' TO 'DATA'. *
    //**********************************************************
    //STEP1 EXEC PGM=PAN#1
    //PANDD1 DD DSN=YOUR.PANVALET.PANLIB,DISP=SHR
    //PANDD2 DD DUMMY
    //PANDD3 DD DUMMY
    //SYSPRINT DD SYSOUT=*
    //SYSIN DD *
    ++FORMAT TEST,DATA
    //

  3. For Cobol format positions 7 through 72 of each record are entered into the library. Keywords are compressed if you selected COBOL keyword compression as an installation option. When the member is written to an output file, sequence numbers are inserted into positions one through five of each record and column six is set to a blank.