How to add a source listing member greater than 80 bytes to a PANLIB
search cancel

How to add a source listing member greater than 80 bytes to a PANLIB

book

Article ID: 54835

calendar_today

Updated On: 07-12-2023

Products

Panvalet

Issue/Introduction

Requirement to store our source listings in a Panvalet Panlib and they are greater than 80 bytes.

Resolution

PAN#1 will read a PDS and add the member you have specified in the ++ADD command with its language.
The LRECL=123 tells Panvalet that it is greater than 80 bytes.

//STEP1 EXEC PGM=PAN#1  
//PANDD1   DD DSN=your.panvalet.panlib,DISP=SHR 
//PANDD2   DD DUMMY
//PANDD3   DD DUMMY 
//PDSDD    DD DSN=your.pds.file,DISP=SHR 
//SYSPRINT DD SYSOUT=*
//SYSIN    DD * 
++OPTION INPUT,PDSDD 
++ADD mbr,DATA,LRECL=123