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 |
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
How can I find the maximum value of a field in a file while reading the file dynamically? without using sort function. Suppose i have a file with fields Timestamp, description, teamname, teamnumber.. i have read the file till end and find the maximun value of timestamp which is not in sorted order.. can we use function max(timestamp)?
In which area will you utilize 88 level items in cobol?
I have the requirement to compare the two files and pick up the matching records. File 1. file2 23 32 32 13 34 15 35 36 36 35 43 Get the matching records from this 2 files to out file. how you will do this in cobol program?
15 Answers ADP, Broadridge, CTS, HSBC, L&T, RBS, TCS,
can u give result for the fallowing example... 05 a pic 9(2) 05 b redifines a pic x(2). move 'xy' to b. display a,b.
What is 77 level used for ?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
How can we pass data from cobol to JCl?
wht is the use of evalute verb ? how do u declare recfm in cobol and jcl ?
When search all is used in cobol program without sorted input data?
6 Answers CGI, Principal Finance,
If we use GO BACK instead of STOP RUN in cobol?