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

what parameter in the define aix option is used to determine the maximum number of duplicate keys allowable ?

0 Answers   IBM,


how to see the last records in vsam dataset??

1 Answers  


what is freespace

2 Answers   EDS,


Using alternate indexes in batch program?

0 Answers  


Describe SHAREOPTIONS parameter (SHR) in Define Cluster command.?

1 Answers  






In vsam why we use export-import utility?

3 Answers  


can any one tell "in esds in what structure records will stored?"

1 Answers  


While designing vsam files,what is the best way to choose control interval size for the data and the index?

1 Answers  


State the differences between vsam and non-vsam files?

0 Answers  


How do you define a GDG ?

1 Answers   IBM,


How do you load a VSAM data set with records ?

2 Answers  


Explain the process in which flat files are converted into vsam files?

0 Answers  


Categories