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 does a file status of 02 on a VSAM indicate?
What is the purpose of idcams?
What is a vsam dataset?
in a cobol select statement, can you tell what is the organization for a ksds?
Explain the difference between lds and esds?
What is the difference between lds and esds?
How to insert values for variables that are declared as COMP-3 variables in COBOL program in an already created VSAM file.
what do you mean by a vsam slot?
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).
what is the concept of IMPORT in vsam??
Explain the significance of the shareoptions parameter?
what is meant by s0c-07 system abend codes?