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

if the submitter of a job wants to inform another user about the job completion, how can it be done?

1253


How to alter the parameters for the existing gdg?

1210


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

1111


Explain dfsort utility?

1350


Name the statement which can be used to send data to another mvs jes3 node?

1185


What is the motivation behind coding class parameter in job statement?

1191


How do you overcome this limitation ?

1211


is there any way to execute more than one proc in the same exec statement at the same time..?

2646


how to do automated restart when a job abends?

1385


How would you understand error(execution phase)?

1264


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

1307


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

1149


Can we call instream to catalog and catalog to instream?

1150


what is DD statement is used in JCL?

1208


how you can access an uncataloged dataset in a JCL?

1146