created cluster using IDCAMS ..that is empty ..when i write a
program for read using Input ..wil it open the cluster or
gives any error?
Answers were Sorted based on User's Feedback
Answer / pramod
Open statement itself fails when u try to open an empty
file.
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / ganesh
writing the vsam file using the input modeis not possible
as system will find the file as empty and will throw error
that file can not be opened but yes you can write the file
using the outout mode.
| Is This Answer Correct ? | 2 Yes | 0 No |
What is ASKTIME, SUSPEND
what is internal sort and external sort ? which is preferable ?
Write a program to enter and display the names of students in a class using the occurs clause.
What is different between variable length and fixed length?
what is the difference between implicit and explicit scope terminator with example?
What will happen if we generate GDG +2 version instead of +1 version?
whn do i get soc7 abend while moving alphanumeric to numeric or while moving numeric to aplhanumeric please reply ASAP?
subscript and index r not coded in u r application program what will happen?
What is the difference between Perform para and perform asaection in cobol?
How to convert bunch of words in a line to relvant ASCII values?
have in 100 records in a flat file i want to move records like 1,3,5,7,9,11,.. to Output file1 and 2,4,6,8,10,12,14 .. records moved to Output file2..Pls Provide real time answer..
How to replace the GOTO statement in COBOL without changing the structure of program. e.g. consider following code... I.D. E.D. D.D. P.D. compute C = A + B. GOTO para 100-display. compute D = C - D. GOTO 200-display. some other logic...... ........ GOTO 300-para. ...... ...... GOTO 400-para. Now I want to replacce all GOTO statements without changing the structure and otput of program.