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 does the keyranges parameter in define cluster commends do?
What is a ci split?
In a KSDS file, key is missing for one record. How to insert the key for that particular record from back up file. Is there any sorting needed for the back up file before the key insertion?
What is the use of access method services in vsam?
explain in brief how you can create a vsam file?
What are the different commands used in idcams for vsam?
What is a lds (linear data set) and what is it used for?
What is the biggest disadvantage of using a vsam dataset?
Define base cluster?
What is the device independent method to indicate where a record is stored?
What is recovery parameters in define cluster command?
What are the different parameters that are used in vsam?
what are the codes returned by the ams (access method services) command during the execution in vsam?
What is the function of entry sequenced data set?
what is the probability of a complete system distortion under high end low performing multiprocessor job?