Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
chars() z/OS Using REXX and z/OS UNIX System Services SA23-2283-00 |
|
FunctionReturns the number of characters remaining in the input stream specified by name. For persistent streams, this is the number of characters between the current read location and the end of the stream. If the stream was created by the stream popen command, chars(), while the process is active or bytes remain in the stream, returns either 1 or the number of bytes in the stream. After the process has terminated and the stream is empty, chars() returns a value of 0. Parameters
ExampleTo get the number of bytes in the stdin stream:
|
Copyright IBM Corporation 1990, 2014
|