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 is the function of entry sequenced data set?

1070


what do you mean by idcams? Explain its purpose?

961


Describe the uses of ams?

1002


If fspc(100 100) is specified does it mean that both the control interval and control area will be left empty because 100 % of both ci and ca are specified to be empty?

1094


What is the purpose of having vsam data space?

956


Define gdg?

983


What is a lds (linear data set)?

1006


explain the information contained in ci

1008


differentiate between sequential files and esds files in vsam?

1160


Why is master catalog used in vsam?

1109


Explain the function of entry-sequenced data set?

1020


explain in brief how you can create a vsam file?

1125


What are the access method services used in vsam?

1023


What is the function of linear dataset in vsam?

1064


explain in brief what are the 3 types of vsam files?

1095