without performing any operations on a file how can i know
whether it contains data or not

Answers were Sorted based on User's Feedback



without performing any operations on a file how can i know whether it contains data or not..

Answer / sharpmainframe

QUASI RE ENTRANCY: IN MAINFRAME MORE THAN ONE TASK ACCESS
SAME PROGRAM BUT ONE TASK IS NOT DISTRUB TO OTHER IS CALLED
RE-ENTRANCY IN CICS WE CALLED IS QUASI REENTRANCY.

Is This Answer Correct ?    1 Yes 2 No

without performing any operations on a file how can i know whether it contains data or not..

Answer / sravani

through file status we can know this. read is not possible for empty files

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More COBOL Interview Questions

What is the difference between CALL BY VALUE and CALL BY CONTENT?

7 Answers  


i have variable record in the 5th, i want to sort from 5th filed ? how ?

2 Answers   TCS,


when SE37 SB37 and sd37 occurs how to increase the volume , primary quantity and secondary quantity?

1 Answers   Hewitt,


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

0 Answers   TryTechnicals Pvt Ltd,


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

1 Answers   Syntel,






What is the LINKAGE SECTION used for?

4 Answers  


how do you move only numeric data from A to B 01 A pic x(10) value 'a1b2c34d5e'. 01 B pic x(5).

2 Answers   DELL, Mind Tree,


what are the isolation levels and where we use it in the db2 program

3 Answers   TCS,


how to transfer the file from pc to mainframe??

4 Answers  


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

0 Answers   HCL,


Consider the following code: 77 A PIC 99V99 VALUE 55.35 77 B PIC 99V999 VALUE 32.754 ADD B TO A ON SIZE ERROR DISPLAY "ERROR!!!" What will be the result ? (a) A=88.10, B=32.754 (b) A=87.00 B=32.754 (c) A=87.10 B=32.754 (d) ERROR!!! will be DISPLAYed on the screen.

3 Answers   TCS,


If there are two files one with 100 records and other with 101 records. we have to find out the one record that is the odd man out . What are the steps to do it

7 Answers   BirlaSoft,


Categories