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 |
What is control area?
How did you refresh a VSAM file and how frequently you do it ?
3 Answers CSC, IBM, Patni, Xansa,
If we are using empty VSAM file, we can see this empty file by using FILE AID tool. How can we open empty VSAM file if you are using in Program..?
there are seven idcams commands in vsam. Can you name and explain each of them?
What is a cluster?
What is the VSAM-code field?
Do primary key values have to be unique? Do alternate key values have to be unique?
explain how can you initialize a vsam file before any operation?
Using alternate indexes in cics program?
to use the rewrite command, how should the vsam file be opened?
in vsam at the creation of cluster what is the use of RECSZ parameter?
There are at least seven IDCAMS commands; name and explain each of them ?.