Which BUFNO parameter is used when working with input and output files?
search cancel

Which BUFNO parameter is used when working with input and output files?

book

Article ID: 54905

calendar_today

Updated On:

Products

PanAudit Plus Easytrieve Report Generator PAN/SQL Endevor Endevor Natural Integration Endevor - ECLIPSE Plugin Endevor - Enterprise Workbench

Issue/Introduction

Description:

BUFNO can be taken from the JCL, File statement or the Options table. Whether the file is input and output determines which BUNFO parameter will be used and the order of precedence.

Solution:

CA Easytrieve parses the FILE statement differently for INPUT files and OUTPUT files.
For INPUT files, BUFNO will come from the JCL.
If not in the JCL, we check the FILE statement.
If not there, we get it from the options table.

For OUTPUT files, we ignore the JCL and check for the BUFNO parameter on the FILE statement.
If it is not there, we use the BUFNO from the options table.

Environment

Release: EDBMSU00200-6.4-Easytrieve-Report Generator-Option for DB2-MSU
Component: