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 |
Using alternate indexes in batch program?
What is the purpose of having vsam data space?
name a few common vsam status codes?
Under IDCAMS , multiple functions can be executed, each of which returns a cond code. What will be the condition code returned to the operating system ?
is it necessary that all versions of the gdg have to be of the same record length?
What is the purpose of idcams?
What are the distinctive features of a ksds, key sequenced dataset?
How do I declare the KSDS vsam so that I can store a reocrd with variable length?.
Explain the device independent method to indicate where a record is stored?
What is the purpose of relative record data set used in vsam?
can we access sequential files online
what is difference between repro and export? if any one know this plz tell me