AIPS HELP file for BAMODIFY in 31DEC19
As of Tue Jan 22 2:15:32 2019
BAMODIFY: Verb to edit characters in a line of batch work file
BATQUE 1.0 2.0 Desired work file number
BATFLINE 1.0 1000.0 Line number to modify
The line number may be given instead as an immediate
argument. The codes during the operation are
space : keep old character
$ : delete old character
@ : replace with blank
_ : (underscore) start or end insertion
other : replace old character with typed one
Type: Verb (Should be last one on a line)
Use: This verb allows the user to modify characters withina
line of a batch work file in order to correct that line
or to change its meaning. The grammar is
where is the line number in the procedure
as shown by BATLIST. One may omit the line number and
use the adverb BATLINE instead. BAMODIFY begins by
showing the existing line with a ? as a prefix. Then it
prompts for input with a ?. To keep the character of the
original line immediately above the cursor type a blank
(space-bar). To delete that character, type a $ (dollar-
sign). To replace that character, type the new character
(to get a new blank character type an @ sign). Insertions
complicate things: to insert text prior to the character
immediately above the cursor, type an _ followed by the
desired text followed by an _. You may continue to
BAMODIFY the remainder of the line, but you must remember
that the current character position in the old line is to
the left of the current cursor position by the number of
inserted characters (including the two _'s). BAMODIFY
will display the resulting line of code after you hit a
carriage return and does not change the line number.
?TYPE 'THIS IS EDS Batch Job'
? MY@_NEW_ @FOR@EXAMPLE'
TYPE 'THIS IS MY NEW Batch Job FOR EXAMPLE'
>BAMODIFY ED 2
?TYPE 'THIS IS MY NEW Batch Job FOR EXAMPLE'
? $$$$ _EDURE,_
TYPE 'THIS IS MY BatchEDURE, Job FOR EXAMPLE'
BATQUE........The batch work file to be modified (and the
queue number to which the job will be submitted)
BATFLINE......The desired line number to modify. Used only in
the absence of an immediate argument.