How you can delete a record from a ps file in cobol?
Answer / shib
No we can not...we can skip a record logically and write the file.
https://www.ibm.com/docs/en/cobol-aix/5.1?topic=mode-file-organization-access
Is This Answer Correct ? | 0 Yes | 0 No |
how many subpgms we can use in a main pgm ? how do u link sub pgm to main pgm ? how can i use the parameters declared in main pgm to sub pgm ?
77 a pic x(4) value '1234' -----> instead of this 'abcd' 77 b pic 9(4) value zeros. move a to b what is the answers for both cases? IS it possible? Give me elementary move rules briefly......
what will be the output when a)pic 9(6)value 000178 is moved to pic ***,***. b)pic 9(5) value 57397 is moved to pic $$,$$9.
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,
How do you set a return code to the JCL from a COBOL program?
If i have a variable A pic 9(2) value 10 Compute A = a - 100 what will be the value of A and will there be any error becoz of the Negative value
COMP?
In an EVALUATE statement, can I give a complex condition on a when clause?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What is difference between COBOL and VS COBOL II?.
How to read a 100 record from a file through cobol?
What are subroutines ? and how do we pass data to the sub routines?