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.
5746I 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 6007If 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 5315Why 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 6758I 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,
1650In 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 3356If 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 4049If 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 2677How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
HCL,
3261
In COBOL programming, what is PERFORM? What is VARYING?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
Name the divisions, which are available in a cobol program?
What is the difference between PIC 9.99 and PIC9v99?
How you can characterize tables in cobol?
how do you define single dimensional array and multidimensional array in your cobol?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
Write a program that uses move corresponding.
What are the different rules to perform a Search?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
Define cobol?
What is the difference between next sentence and continue in cobol programing language?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is a scope terminator give example?
What is the local-storage section?