When the working storage variables get allocated? a.At Compile time b.At starting of the run time c.At end of the run time. d.None of these
6 11314i want to use only first 100 records from a file.plz tell me how to write JCL for this(for read,copy,write operations).plz give me details of all posible JCL utilities?
CTS,
7 40882How to read the last 100 records from a COBOL file. The file contains N number of records.
IBM,
11 36571What is the significance of the PROGRAM-ID paragraph? If this name doesnt match with the name of the COBOL program, does it make a difference? Is the name specified in the PROGRAM-ID paragraph used as a name for the load module or any such thing?
IBM,
4 14778How to find whether a Flat file is empty or not without Reading a file in COBOL Program. (not using JCL)
9 31463i have the following varibles in the working storage 05 ws-A PIC X(30) VALUE 'ABCDEFGHIJKLMNOPQRESTUVWXYZ ' 05 WS-B REDEFINES WS-A 10 WS-B1 PIC X(10). 10 WS-B2 PIC 9(10). 10 WS-B3 PIC X(10). If I Display B1, B2 and B3 respectively, what is the value displayed in B2
9 10230
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What is amode(24)?
How many bytes S(8) comp field occupy and its maximum value?
What is rmode(any) ?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
example for sub strings ? and refernce modifications whit output pls
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
What is perform what is varying?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is an in line perform? When would you use it? Anything else you wish to say about it.
Which is not true about evaluate statement
Write a program that uses move corresponding.
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
How do you get the data to code the BMS macro?
How to use the same COBOL program in Batch and CICS on lines? explain with an example