Answer Posted / rama
we will code file status in file-control of environment
division.
file-control.
SELECT infile ASSIGN TO ws-dd-name
FILE STATUS IS ws-fs-code.
and ws-fs-code has to coded in working-storage section.
if i'm wrong plz let me know...
Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
How arrays can be defined in COBOL?
How can you get the ksds file records into your cobol program?
what is search and searchall?what is the diffrence between them?give an best example?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
Can we change the password using ALTER? anyone tried and changed?
What is the local-storage section?
What is the difference between comp and comp-3 usage?
Difference between array and sub-script ?
how do you reference the printer file formats from cobol programs
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
Explain what you understand by passing by value.