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 is the catalog?
what do you mean by define model parameter?
What is the device independent method to indicate where a record is stored?
What is the difference between sequential files and ESDS files?
How do you decide on optimum values for CI, FREESPACE etc...?
Common VSAM Error conditions and codes
What are the three levels of definition for the VSAM DEFINE?
What is the upgrade set?
explain in brief how are different versions of gdg named?
What is the use of KSDS,LDS,ESDS,RRDS??what is VRRDS?? How are all these useful in realtime scenario??Plz helpme out...Its a recent question in IGATE..
what is the concept of AIX in vsam ????
what is meant by s0c-07 system abend codes?