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 |
How do you convert flat files to VSAM files ?
How many buffers are allotted to VSAM KSDS and ESDS?
explain in brief how you can create a vsam file?
What is the function of entry sequenced data set?
What is the main function of key sequenced data set in vsam?
Using alternate indexes in cics program?
What is recovery parameters in define cluster command?
name the utility program closely associated with vsam?
difference between vsam and database tables
Define dynamic processing?
what is control interval(CI) and control Area(CA)
how do you define an altindx ? How do you use altindxs in batch, cics programs?