Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

BACK TO jCL

JCL IBN

Description  

Prompts for input, places the entered data in the secondary input buffer as a single parameter and maintains embedded spaces. The secondary input buffer becomes as the active input buffer.

IBN{c}

where c is an optional prompt character, which, once used, remains in effect until a new IBN, IBP, IN or IP command is issued. If c is not specified, the prompt character will default to the last prompt character used, or to a colon (:).

 

Note:

The IBN command is similar to the IN command except that the input string is placed in the buffer as a single parameter and all spaces are maintained. The new data replaces the content of the secondary input buffer, and the secondary input buffer will remain active until an RI , S(n) or MV %n source command is used. If the user responds with ENTER only, a null parameter will be created.


EXAMPLE 1
Input
SIB Before
SIB After

ABC

XXX

ABC


^
^
EXAMPLE 2
Input
SIB Before
SIB After

ABC DEF

XXX

ABC DEF


^
^
EXAMPLE 3
Input
SIB Before
SIB After

<ENTER>

XXX

 ^


^
^


Back to JCL Commands


Was this article helpful?