COBOL Interview Questions
Questions Answers Views Company eMail

i have a variable block which is used in my cobol program as input file having records of 4080 after compilation while runing the program im getiing file attribut mismatch and it is saying tht the record length of the file is 4084 can any one knw the answer how to reslove it ?

2 4844

whn do i get soc7 abend while moving alphanumeric to numeric or while moving numeric to aplhanumeric please reply ASAP?

9 14069

HOW TO MOVE REDEFINES CLAUSE FROM INPUT TO OUTPUT ?

1 3724

Did anybody attend the walkin of TCS on 31st July in Gurgaon for any technology,If u have completed 3 round i.e till the HR round,have u received the Offer letter yet? Please let me know.Thanks.

1 3607

TYPES OF SORTINGS. which is more prefarable.

Syntel, TCS,

2 7460

can i use multiple when statements in search & search all ? justify ur answer?

2 4498

Which is the best IBM mainframe Training Institute in Ameerpet, Hyderabad

35 44247

If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2647

At the minimum, which division of COBOL is enough to be coded?

CTS,

3 6876

Define REDEFINE clause and Is it possible to have the redefine clause anywhere in the working storage section for a data name?

3 6477

Consider the below example call a-test1. -- -- -- a-test1. if a=b perform a-test through a-exit next sentence else if b=c perform c-test through c-exit. if a=d perform d-test through d-exit. a-test. -- -- a-exit. exit. can u tell me what will happen if a=b after looping into a-exit will the control go back to a- test1. will the condition a=d be checked???

IBM,

5 5812

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?

IBM,

2 6776

how we can reverse the string in the cobol for example satheesh can be reveresed as hseehtas

IBM,

3 47404

1.What is the default print format in cobol?

HSBC,

5 17100

. How do we cast a variable in COBOL

HSBC,

1 11580


Post New COBOL Questions

Un-Answered Questions { COBOL }

What are the rules of the move verb?

689


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?

880


Write a program that uses move corresponding.

658


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

628


What is the default value(s) for an initialize and what keyword allows for an override of the default?

680






how to access the file from prodution from changeman tool and to submit a file to production

6656


What is redefines clause in COBOL?

831


What are the different data types in cobol?

774


What are the different rules of SORT operation?

684


How do you get the data to code the BMS macro?

1466


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10517


Name the divisions, which are available in a cobol program?

671


What is comp-1 and comp-2?

748


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

656


What are the pertinent COBOL commands?

2613