Explain fixed length record in cobol? with suitable example
Answer / jai ho
Fixed length record can be created by giving
example
FD IN-FILE
RECORDING MODE IS F
RECORD CONTAINS M CHARACTERS
CORRECT ME
| Is This Answer Correct ? | 7 Yes | 0 No |
can I copy book which contain db2 statment in procedure divion?
how to fetch the record before the last record in a cobol file( its a huge file and if the key field is not known)
COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are same (c) Syntactically wrong (d) Will yield a run time error
Explain how you can characterize tables in cobol?
Have you code any new programs in COBOL ? What is the functionality of the programs?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Hi all, I have a following requirement to write the cobol program. I have to load the 129 variables from input sequential file which are in excel sheet to the cobol inernal table. and after loading into table i have to compare this data with the business file. here compare means controlling the data whether the format(numeric,alpha) is same in the business file and in the table??? i have the same data in input and business file. could anyone please give me any idea of the logic?// i have all the 129 different variables(129rows,1 column)is there .
I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?
What is an in-line perform ?
is it possible to pass an SQL query inside a jcl which is inside a cobol program?
Study the DATA DIVISION entries and the three PROCEDURE DIVISION entries given below: 01 END-OF-FILE-SWITCH PIC XXX. 88 NO-MORE-RECS VALUE "YES". 88 MORE-RECS VALUE "NO". (i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS. (ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA. (iii) IF NO-MORE-RECS GO TO LAST-PARA. Which are wrong? (a) (i) and (ii) (b) (ii) and (iii) (c) (i) and (iii) (d) all
I have a occurs for 100 times but it has executed 101 time what could be the reason?