Output a part of member contents
search cancel

Output a part of member contents

book

Article ID: 223593

calendar_today

Updated On:

Products

Panvalet

Issue/Introduction

Is there a way to output part of the member content?

Environment

Release:ALL

Resolution

The following is a sample JCL.

Sample JCL:

//        JOB
//STEP01  EXEC PGM=PAN#1
//STEPLIB  DD DSN=Prefix.panvlt.CBA3LINK,DISP=SHR
//SYSPRINT DD SYSOUT=*
//PANDD1   DD DSN=user.panvlt.panlib,DISP=SHR
//SYSIN    DD *
++SELECT xxxxx,member,level,seq1,seq2
/*
//

xxxxx      : This parameter designate the output file to which the partial member is written.
    PRINT   -- To the output print file     - Need the SYSPRINT DD in the JCL
    PUNCH -- To the output punch file  - Need the SYSPUNCH DD in the JCL
    WORK   -- To the output work file    - Need the PANDD2 DD in the JCL
member : The name of the member from which the records are copied.
level       : The current modification level of the member from which the records are copied.
seq1       : The first is the sequence number of the first record you want to copy from the member.
seq2       : The second is the sequence number of the last record you want to copy from the member.

For more information, see the SELECT Command of Using document.