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

1183


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

1008


how do you create an alternate index ?

1072


how can you copy to a vsam cluster?

1148


what parameter in the define aix option is used to determine the maximum number of duplicate keys allowable ?

1009


is it necessary that all versions of the gdg have to be of the same record length?

1149


Under idcams, multiple functions can be executed, each of which returns a condition code. What will be the condition code returned to the operating system?

1029


What is the biggest disadvantage of using a vsam dataset?

1134


what will happen if there is no secondary allocation made for datasets?

1113


What are the different commands used in idcams for vsam?

1068


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

1311


What is a vsam dataset?

1034


Explain about the file objects in vsam?

1046


Explain the purpose of the file status clause in the select statement?

995


How do you calculate record size of an alternate cluster?

1143