I want to declare a field with data type Double in my COBOL
program. how shall i do that ?
Answer Posted / i go crazy
For COMP-2 we will not give PIC clause. By default it takes 8 bytes.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
How arrays can be defined in COBOL?
how do you reference the variable block file formats from cobol programs
Difference between cobol and cobol-ii?
how do you reference the esds vsam file formats from cobol programs
what is search and searchall?what is the diffrence between them?give an best example?
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 ......
What is rmode(any) ?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
How do we get current date from system with century in COBOL?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
how to move the records from file to array table. give with code example
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
Write a program to explain size error.
How do you get the data to code the BMS macro?