Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 does a file status of 02 on a VSAM indicate?

1 Answers   IBM,


What is the purpose of idcams?

0 Answers  


What is a vsam dataset?

0 Answers  


in a cobol select statement, can you tell what is the organization for a ksds?

0 Answers   IBM,


Explain the difference between lds and esds?

0 Answers  


What is the difference between lds and esds?

0 Answers  


How to insert values for variables that are declared as COMP-3 variables in COBOL program in an already created VSAM file.

3 Answers  


what do you mean by a vsam slot?

0 Answers   IBM,


In a file(PS), we dont know how many records are there. requirement is divide half n half the records n insert into 2 another files(PS).

6 Answers   Cap Gemini, TCS,


what is the concept of IMPORT in vsam??

2 Answers  


Explain the significance of the shareoptions parameter?

0 Answers  


what is meant by s0c-07 system abend codes?

0 Answers   IBM,


Categories