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 is the function of entry sequenced data set?
what do you mean by idcams? Explain its purpose?
Describe the uses of ams?
If fspc(100 100) is specified does it mean that both the control interval and control area will be left empty because 100 % of both ci and ca are specified to be empty?
What is the purpose of having vsam data space?
Define gdg?
What is a lds (linear data set)?
explain the information contained in ci
differentiate between sequential files and esds files in vsam?
Why is master catalog used in vsam?
Explain the function of entry-sequenced data set?
explain in brief how you can create a vsam file?
What are the access method services used in vsam?
What is the function of linear dataset in vsam?
explain in brief what are the 3 types of vsam files?