z/OS ISPF Edit and Edit Macros
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


BLKSIZE—Query the Block Size

z/OS ISPF Edit and Edit Macros
SC19-3621-00

The BLKSIZE assignment statement returns the block size of the data being edited in a specified variable.

Syntax

Read syntax diagramSkip visual syntax diagram
Assignment statement syntax

>>-ISREDIT--(varname)-- = --BLKSIZE----------------------------><

varname
The name of a variable to contain the block size of the data being edited. The block size is a 6-digit value that is left-padded with zeros.

Return codes

0
Normal completion
12
Syntax Error
20
Severe error
Note: For a z/OS® UNIX file, the BLKSIZE assignment statement returns a value of 0.

Examples

To find the block size and continue processing if the block size is greater than 800:
ISREDIT (BSIZE) = BLKSIZE
IF &BSIZE > 000800 THEN -
   …

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014