How do you fetch current date in normal cobol pgm and in
cobol-db2 pgm?
Answer Posted / adithya
procedure division.
accept a from date.
accept b from date
accept c from day-of-week
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
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 ......
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Mention the guidelines to write a structured cobol program?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What is the utilization of copybook in cobol?
Whats the difference between search & search ALL?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
how to access the file from prodution from changeman tool and to submit a file to production
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 did the release of cobol/370 version 1.3 improve the performance of release 1.1?
what is difference between cobol and cobol/400
What is the problem of ordered sequential files access?
Which is not true about evaluate statement
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?