Syntax of AMS modal commands ?



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

Post New Answer

More VSAM Interview Questions

Common VSAM Error conditions and codes

1 Answers  


Explain about the file objects in vsam?

0 Answers  


why ci and ca splits are not possible in esds and rrds?

0 Answers   IBM,


What are the distinctive features of a ksda, key sequenced dataset?

0 Answers  


if not using the 'commit' when closing VSAM file,what will happend

5 Answers   CSC,






explain how many ways you can load data in a vsam cluster?

0 Answers   IBM,


what does a file status of 02 on a vsam signifies?

0 Answers   IBM,


how many buffers are allocated to vsam ksds and esds?

0 Answers   IBM,


what is the meaning of dynamic processing in vsam?

0 Answers   IBM,


what will happen if there is no secondary allocation made for datasets?

0 Answers   IBM,


what are the idcams commands that can be used for vsam and explain each of them.

0 Answers   IBM,


What is the index set?

1 Answers  


Categories