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 main function of key-sequenced data set?

1082


What makes vrrds different from vsam?

1302


How to get the last record in vsam file in cluster?

1064


what do you mean by define model parameter?

1225


what are s0c1, s0c4, s0c5, s0c7 abends?

1372


What is a base cluste?

1176


write a program to read from a VSAM file , there will be a 5 records to create name. empno. resignation and address to update in a db2 table and call another program using dynamic call to find the matching fields in program 1 to update in db2 table. anybody pls send de program for dis ? thanks in advance...

2796


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

968


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.

2493


explain how can you initialize a vsam file before any operation?

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?

1078


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

1083


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

1159


what is the meaning of each of the values in shareopts(2 3)?

1070


What are the steps involved in access method services?

1006