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 gdg in vsam?
what are the additional information you should give in the dd statement while defining the next generation of a gdg?
what do you mean by the cobol record key clause in vsam?
what is the probability of a complete system distortion under high end low performing multiprocessor job?
How do you calculate record size of an alternate cluster?
name the utility program closely associated with vsam?
to use the rewrite command, how should the vsam file be opened?
How does control intervals and control areas related to each other?
Yes. Because the alternate key would first locate the primary key, which in turn locates the actual record. Needs twice the number of I/Os.
What is a lds (linear data set)?
explain in brief how are different versions of gdg named?
Explain the device independent method to indicate where a record is stored?
Define gdg?
What are the access method services used in vsam?
What are the different versions of gdg named?