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 |
Common VSAM Error conditions and codes
Explain about the file objects in vsam?
why ci and ca splits are not possible in esds and rrds?
What are the distinctive features of a ksda, key sequenced dataset?
if not using the 'commit' when closing VSAM file,what will happend
explain how many ways you can load data in a vsam cluster?
what does a file status of 02 on a vsam signifies?
how many buffers are allocated to vsam ksds and esds?
what is the meaning of dynamic processing in vsam?
what will happen if there is no secondary allocation made for datasets?
what are the idcams commands that can be used for vsam and explain each of them.
What is the index set?