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.
5748I 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 6011If 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 5316Why 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 6763I 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 3360If 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 4052If 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,
3263
Explain how to differentiate call by context by comparing it to other calls?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
IF I mention stop run in CICS what happens?
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.
Have you used comp and comp-3 in your project? And how?
Define static linking and dynamic linking.
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What is report-item in COBOL?
What is rmode(24)
What is static and dynamic call in cobol?
Name the sections present in data division.
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What do you understand by psb and acb?
) what is the difference between AID and HANDLE AID?
how to convert the recors form vsam file to db2 table tru file aid