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 ?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

what do you mean by define model parameter?

1079


What is speed parameters in define cluster command?

969


What does the keyranges parameter in define cluster commends do?

889


what are the codes returned by the ams (access method services) command during the execution in vsam?

1224


What are the common vsam error conditions and codes?

1034


How is the sorting of vsam files carried?

1062


how can you copy to a vsam cluster?

1068


Define free space?

994


what is the meaning of dynamic processing in vsam?

991


What is the use of lds (linear data set)?

963


Differentiate between ci split and ca split?

936


Tell about the ams used in vsam?

1117


Using alternate indexes in batch program?

1034


What does the keyranges parameter in define cluster command do?

983


to use the rewrite command, how should the vsam file be opened?

1248