# jCL + command

Updated: 10/19/2020, 10:24:56 AM
Created: 10/19/2020, 10:24:56 AM
Last Updated By: Daniel Klein
Read Time: 1 minute(s)

Tags: buffer input jcl

# Description

  • Adds an integer value to the current parameter in the active input buffer. It takes the general form:
+n
1

Where n is the integer to be added.

# Note

If the number of characters in a parameter increases as a result of the + command, the other parameters will be moved to the right. If a parameter is preceded by a + sign, the sign will be replaced by a zero. If the buffer pointer is at the end of the buffer, a new parameter will be created. If the referenced parameter is non-numeric, a zero is used.

# Example 1

Command PIB Before PIB After

+30 AAA^+20^333 AAA^050^333
a a
1
2

# Example 2

Command PIB Before PIB After

+100 BBB^AA^44 BBB^100^44
a a
1
2

# Example 3

Command PIB Before PIB After

+51 ABC^0000^55 ABC^0051^55
a a
1
2

ack to jCL Commands