LIBUFF parameter

From m204wiki
Jump to navigation Jump to search

Length of input buffer

Summary

Default value
255
Parameter type
Utable
Where set
On User 0's parameter line or in:
  • PARM field in the JCL EXEC statement (z/OS)

    Note: The value set for LIBUFF takes effect immediately, so you must set LIBUFF large enough to accommodate CCAIN.

  • EXEC that issues all the FILEDEFs (z/VM)
  • JCL OPTION statement (z/VSE)
Related products
All
Introduced
Model 204 V2.2 or earlier

Description

The length of the input buffer used for input lines from CCAIN or a user's terminal

The input buffer must be at least three characters longer than the longest anticipated input line. (Long lines are rejected.) LIBUFF also specifies the maximum length allowed for string arguments to Host Language Interface calls from user programs.

If User 0's parameter line is longer than 255 characters, set LIBUFF with the parameters passed by the operating system when Model 204 is invoked. LIBUFF must not exceed 32767.

The value of LIBUFF affects the setting of the User 0 parameter IFAMBS. For the algorithm expressing their relationship, see IFAMBS: Host Language Interface (HLI) IFAM2 buffer length.

Under z/VSE, you can abbreviate LIBUFF when setting it in the SYSPARM field of the OPTION statement in the JCL. Abbreviating it to LIB allows you to enter a LIBUFF value up to four digits long. The JCL statement takes the form:

// OPTION SYSPARM='LIB=n'

where n must be a number greater than 0 and less than or equal to 9999.