01 ws-p pic 9(2). 01 ws-q pic 9(2) value 01. 01 ws-r pic 9(2) value 99. p.d. compute p = q + r what will be result of p ans(00) but my question is that how i got 10 on the place of 00. (truncation will ocuure on right side not left). please tell me ?
L&T,
6 7901I have the file which is having the extension no as records. sample file will look like below. 2310 3410 3256 4350 3781 5408 I need to replace the record which is starting with 3 to 5 (i.e) 3410 to 5410. How can we do it through cobol and cobol-db2 program? I need the possible logic?
RBS,
5 10234I have the requirement to compare the two files and pick up the matching records. File 1. file2 23 32 32 13 34 15 35 36 36 35 43 Get the matching records from this 2 files to out file. how you will do this in cobol program?
15 8860301 a pic x(4) value 'abcd' 01 b pic 9(3) can we move from a to b.if possible what would be stored in b.
ACS,
15 15178How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length
2 13893If A>B next sentence end-if display 1 display 2. display 3. If a>b, it will display only 3.(the next sentence, ie., after fullstop/period) ____________________________________ if a>b continue end-if display 1 display 2. display 3. If a>b, it Will display 1 2 3 (the next statement) ____________________________________ if a>b continue display 1 end-if display 2 display 3. display 4. If a>b, Will it display 2 3 4 (or) 1 2 3 4 ?
UST,
8 8576Sending data is aplhabetic size 7 (value 3000), I wantated this value to be stored in database, which is defined as s9(7)v9(2)comp-3.
2 4845i declare a Table as OCCURS 2000 TIMES.If the input file has more than 2000 records will the COBOL program fail?
12 12999
What is a SSRANGE and NOSSRANGE?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
Give some examples of command terminators?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
I 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?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
Discuss about changing dataset name in proc.
What rules are to be followed while using the corresponding options?
What is the difference between comp and comp-3 usage?
What is a report item?
what is the difference between COBOL2 AND COBOL390?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
IF I mention stop run in CICS what happens?