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...

Can we use empty VSAM as input?

Answer Posted / anantha dhanush kodi

Sorry, We can't use Empty VSAM as input. . .

As it contains no records, open will fail with some
filestatus code.

But We can use Empty vsam as output.

During first run open the file in output mode.

In consecutive runs change the mode to extend.

Sample :


open output esdsfilename.

If (filestatus = 35 or filestatus = 37 ) then
open extend esdsfilename
end-if.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the function of a dd statement?

1202


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

1377


what is the purpose of coding notify parameter in job statement?

1160


What is the function of the steplib dd statement?

1192


How does jcl act on code(if you take a cobol program)?

1275


What are the rules employed while naming the steps in a job?

1139


Where & How Do You Code Identifier In Jcl?

1279


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

1219


Explain the purpose of the dd keylen parameter?

1158


What parameter directs the output of the job log dataset?

1276


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

1228


How to execute 2nd and 4th steps among 5 steps in jcl proc?

1305


Which dd parameters are required?

1181


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

1398


How to submit a jcl from cics?

1146