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.
5744I 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 6004If 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 5314Why 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 6753I 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 3354If 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 4046If 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 2676How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
HCL,
3261
what is difference between cobol and cobol/400
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
) what is the difference between AID and HANDLE AID?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is the compute verb? How is it used?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
For rewrite, why is it mandatory that file needs to be opened?
What kind of error is trapped by on size error option?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
How do you differentiate between cobol and cobol-ii?
Which mode is used to operate the sequential file?
how can i see junk values in dclgen or in hostvariable of comp ?