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?

Answers were Sorted based on User's Feedback



Can we use empty VSAM as input?..

Answer / biswaranjan

No its not possible at all.
If u are using a empty VSAM file it ll show:
FILE STATUS : 35

If you want to read it you have to get inside the file and
incert a dummy record there.

Is This Answer Correct ?    19 Yes 2 No

Can we use empty VSAM as input?..

Answer / sadaf rehan

empty VSAM can not be readed becouse key is needed and when
nothing is there what will be the key..
if you tried to read u'll get file status 35

Is This Answer Correct ?    9 Yes 2 No

Can we use empty VSAM as input?..

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

Can we use empty VSAM as input?..

Answer / munish

No, we can not creat empty VSAM as input. I think , when
we have to put null record it the VSAM file for empty VSAM
as input. Otherwise it will give us file status as 35.

Is This Answer Correct ?    3 Yes 0 No

Can we use empty VSAM as input?..

Answer / sadaf

It can be read....file status can be handled in the
program...

Is This Answer Correct ?    5 Yes 2 No

Can we use empty VSAM as input?..

Answer / aditya

no u can't use empty VSAM as i/p ...place some data using
REPRO then u can use it...

Is This Answer Correct ?    4 Yes 2 No

Can we use empty VSAM as input?..

Answer / dev

If VSAM file is not present physically thn only we get file
status as 35.

Is This Answer Correct ?    3 Yes 1 No

Can we use empty VSAM as input?..

Answer / anantha dhanush kodi

Change the mode file open mode from Extend to Output. . .

Hope it will help u. . .

Is This Answer Correct ?    3 Yes 2 No

Can we use empty VSAM as input?..

Answer / kavitha

YES

Is This Answer Correct ?    3 Yes 12 No

Post New Answer

More JCL Interview Questions

When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

0 Answers  


Is CPU time assigned to a JOB and JOBSTEP BOTH, by default ?

4 Answers   IBM,


how to split a file

4 Answers   IBM,


What is maximum length of block size?

5 Answers   Cap Gemini, Kanbay, TCS,


How to check empty file in jcl?

4 Answers   Infosys,


what is the default region size if I dont specify region parametre in my job card ( I know that if I specify region=0k or 0M, then the job will occupy all he available resources at the time of job execution), but I want to know the defult value for "region" paramatre.

5 Answers   BirlaSoft, Infosys,


a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

0 Answers   IBM,


I have DATE filed like DD-MM-YYYY, So I want output should be MM/DD/YYYY using JCL? Can anybody post the answer for above requirement?

4 Answers   BirlaSoft, FIS, Wipro,


Hi, all suppose i have 5 steps (S1,S2,S3,S4,S5) what will happen if cond is true or false (which of the other steps get executed)? 1) //s3 exec pgm=abc,cond=(0,le) 2) //s3 exec pgm=abc,cond=(0,le,step2) 3) In the jobcord RESTART=step3,cond=(0,le) 4) can i code COND=TRUE in jobcard, if yes what will happen?

3 Answers   TCS, Tech Mahindra,


How much is memory space involved, when we code BLOCKSIZE,TRK & CYL ?

1 Answers  


How is the keyword DUMMY used in JCL?

4 Answers  


How to use COND Parameter in jcl

4 Answers   NIIT, Wipro,


Categories