Can you REWRITE a record in an ESDS file? Can you DELETE a
record from it?
Answers were Sorted based on User's Feedback
Answer / max
ESDS is entry sequence data set...ans 2 is correct
Is This Answer Correct ? | 14 Yes | 0 No |
Answer / srivatsa
We can rewirte the record. Record can not be deleted.
Is This Answer Correct ? | 12 Yes | 0 No |
Answer / yadav
we cant delete record from ESDS file but we can rewrite
record of same lenth at the position of preveous record
Is This Answer Correct ? | 12 Yes | 1 No |
Answer / piyush mani
original record
01 piyush gurgaon
rewrited record
01 piyush delhi
wrt fd like this
fd file1
01 frec.
02 id pic 9(2) value 01.
02 name pic x(10) value piyush.
02 place pic x(10) value delhi.
02 filler pic x(68).
now open file and give rewrite option the record wil b updated
but we can't delete a esds record as it is stored in disc...
Thanks
Is This Answer Correct ? | 1 Yes | 0 No |
Give some advantages of REDEFINES clause?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
C1 C2 C3 are three conditions whose TRUTH values are as folloes. C1-TRUE C2-FALSE C3-TRUE A,B,C are defined as given below A:C1 AND(NOT C2) OR C3 B.(NOT C1) OR (NOT C2 AND NOT C3) C.(C1 OR C2)AND C3 D.C1 AND C2 OR C3 given the above information which of the following statements are valid? a.only A,B and C are TRUE b.only A,C and D are TRUE c.A,B,C and D are TRUE d.only C and D are TRUE
diffrence between z(2) and z9(2)
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
how would you resolve sb37 and SE37?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
How to delete leading spaces/blank in COBOL ? Example:- 01 data-name-1 pic x(220) " English is a language". I would like to delete leading spaces.
What the difference is between continue and next sentence?
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
Difference between lrecl, blksize among PS, PDS issues? i.e in jcl at dcb
HELLO FRIENDS, THIS IS JANARDHAN.GADIRAJU, I FACED ONE INTERESTING QUESTION IN COBOL, THAT IS WHAT ARE THE VALUES WE CAN SEE IN HIGHVALUES AND LOWVALUES, CAN U PLEASE GIVE ME THE ANSWER