Answer Posted / guest
Note: these can be used only under IDCAMS and not from the
TSO prompt.
IF LASTCC(or MAXCC) >(or <,= etc..) value -
THEN -
DO -
command set (such as DELETE, DEFINE etc..)
ELSE -
DO -
command set
LASTCC - Condition code from the last function (such as
delete) executed
MAXCC - Max condition code that was returned by any of the
prev functions
SET is also a valid AMS command. SET LASTCC (or MAXCC) = value
The maximum condition code is 16. A cond code of 4 indicates
a warning. A cond code of 8 is usually encountered on a
DELETE of a dataset that is not present.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
what do you mean by define model parameter?
What is speed parameters in define cluster command?
What does the keyranges parameter in define cluster commends do?
what are the codes returned by the ams (access method services) command during the execution in vsam?
What are the common vsam error conditions and codes?
How is the sorting of vsam files carried?
how can you copy to a vsam cluster?
Define free space?
what is the meaning of dynamic processing in vsam?
What is the use of lds (linear data set)?
Differentiate between ci split and ca split?
Tell about the ams used in vsam?
Using alternate indexes in batch program?
What does the keyranges parameter in define cluster command do?
to use the rewrite command, how should the vsam file be opened?