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 ?



Syntax of AMS modal commands ?..

Answer / 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

More VSAM Interview Questions

Using alternate indexes in batch program?

0 Answers  


What is the purpose of having vsam data space?

0 Answers  


name a few common vsam status codes?

0 Answers   IBM,


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

1 Answers   IBM,


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

0 Answers   IBM,


What is the purpose of idcams?

0 Answers  


What are the distinctive features of a ksds, key sequenced dataset?

2 Answers  


How do I declare the KSDS vsam so that I can store a reocrd with variable length?.

2 Answers  


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

0 Answers  


What is the purpose of relative record data set used in vsam?

0 Answers  


can we access sequential files online

4 Answers   Cap Gemini, GS,


what is difference between repro and export? if any one know this plz tell me

7 Answers   Cap Gemini,


Categories