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.
5756I have put two write operations in a single para for two different conditions.Will that lead to an abend or run successfully and write two records?
CTS,
1 6019If we put three reads in COBOL in the same para one after the other, to read a PS file,will it read the same record thrice or it will read three records sequentially? For example : Input File 01 02 03 Para 900 Read infile Display Infile rec Read infile Display infile rec Read infile Display infile rec. What will be the output?
2 5330Why do we use COMP-3 variables for computation, when we know that they are non displayable fields and require additional MOVE to numeric field before we populate it in output Reports?
1 6794I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
HCL,
1654In a file if a column account number conatain value 0001234.. how can we move the value to another variable without zero. value may contain any type such as 00123405. we need the value 1234 or 12305. how can we do that in cobol. Please help.
CSC,
1 3369If a file has 1000 records.. if i have to replace the first and last characters of the file with another character. how it can be done....
HCL,
1 4058If my program receives input feed from program in other system.. if the receiving field size is less than the sending field.. what abend will be happening.
HCL,
1 2687How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
HCL,
3266
What are the different data types in cobol?
What is difference between static and dynamic call in cobol?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
Why occurs cannot be used in 01 level in COBOL?
What is the LINKAGE SECTION used in COBOL?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What is Pic 9v99 Indicates in COBOL?
Write some characteristics of cobol as means of business language.
What are the access modes of START statement?
In which area will you utilize 88 level items in cobol?
What is the difference between binary search and sequential search?
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)?
explain sorting techniques in cobol program?
How you can characterize tables in cobol?
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 ......