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 gdg in vsam?

1202


what are the additional information you should give in the dd statement while defining the next generation of a gdg?

1005


what do you mean by the cobol record key clause in vsam?

1029


what is the probability of a complete system distortion under high end low performing multiprocessor job?

2478


How do you calculate record size of an alternate cluster?

1149


name the utility program closely associated with vsam?

1065


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

1319


How does control intervals and control areas related to each other?

1019


Yes. Because the alternate key would first locate the primary key, which in turn locates the actual record. Needs twice the number of I/Os.

2432


What is a lds (linear data set)?

1026


explain in brief how are different versions of gdg named?

1005


Explain the device independent method to indicate where a record is stored?

930


Define gdg?

996


What are the access method services used in vsam?

1044


What are the different versions of gdg named?

1005