Syntax of AMS modal commands ?
Answer / 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 |
What are the information stored in ci?
is it required that primary key values have to be unique? Do alternate key values have to be unique?
What is the biggest disadvantage of using a vsam dataset?
What is IDCAMS ?
what how do you initialize a vsam file before any operation? A vsam with alternate index?
What is the function of entry sequenced data set?
What is File Status in VSAM?
How to insert values for variables that are declared as COMP-3 variables in COBOL program in an already created VSAM file.
Explain about the file objects in vsam?
What is the main purpose of having user catalog in vsam?
In a file(PS), we dont know how many records are there. requirement is divide half n half the records n insert into 2 another files(PS).
Why is master catalog used in vsam?