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 |
01 WS-NAME PIC X(10) OCCURES 2. by this we can get ws-name 2 times. My qustion is how can we access the second name
What are different data types in cobol?
study the following code 01 A1 05 B PIC 99 05 C PIC X(4) 01 A2 05 B PIC 99V99 05 C PIC A(4) pick out the valid statement from the following a.A1 and A2 can not have sub-ordinates b.A1 and A2 can have the same sub-ordinates but must have same PIC clause c.there is nothing wrong d.A1 and A2 can have same sub-ordinates provided they are not at 01 level
What is cobol?
what happens of we dont give time stamp in precompilation process
period is missing in the cobol program which error we getting
tell me about examine inspect and evaluate ?
What kind of error is trapped by on size error option?
input:- A 10 20 30 40 B 5 7 10 14 C 8 12 14 16.... output:- A = 100,B=36,C=50. Here spaces are considered between numbers. When we give input as above, the numbers should be added n displayed.So please help me out.
i want a program using by if, evaluate , string, unstring, perform, occurs?
How are the next sentence and continue different from each other?
01 a pic 9(3) value is 123 01 b pic 9(6) move a to b wht will be the value ? and 01 a pic x(6) value is abc 01 b pic x(3) move a to b wht will be the value ?