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.
5796I 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 6080If 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 5444Why 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 6865I 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,
1695In 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 3437If 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 4131If 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 2752How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
HCL,
3319
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?
Name some of the examples of COBOl 11?
How do you get the data to code the BMS macro?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What the difference is between continue and next sentence?
What is the difference between comp and comp-3?
How arrays can be defined in COBOL?
How are the next sentence and continue different from each other?
How you can characterize tables in cobol?
How do you define a variable of comp-1 and comp-2?
HOw can I get the negative sign while deduct high value from low value
what is amode(24), amode(31), rmode(24) and rmode(any)?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
how do you reference the ksds vsam file formats from cobol programs
What do you understand by psb and acb?