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 biggest disadvantage of using a vsam dataset?

1119


What is a vsam dataset?

1009


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

1100


Is it slower if you access a record through alt index as compared to primary index?

1011


is it required that primary key values have to be unique? Do alternate key values have to be unique?

1040


How to get the last record in vsam file in cluster? And how can u get the ksds file records into cobol program?

1019


Would you specify freespace ce for an esds?

1073


What are the steps involved in access method services?

947


Why is it required to have a keyed directed retrieval?

1011


What are the common vsam error conditions and codes?

1069


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

1003


explain in brief why do vsam take more disk space than other utilities?

1071


what is meant by s0c-07 system abend codes?

1061


what do you mean by a vsam slot?

990


Explain the difference between lds and esds?

1022