Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

COBOL Interview Questions
Questions Answers Views Company eMail

how to transfer the file from pc to mainframe??

3 12407

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 11234

I 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 12913

I 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?

ADP, Broadridge, CTS, HSBC, L&T, RBS, TCS,

15 100381

What is different between variable length and fixed length?

TCS,

2 8619

can we read records in a file from botom to top. if possible how can we read

ACS,

12 21818

01 a pic s9(5) value '-12345' how it will be stored

ACS,

7 15765

how we can edit records in vsam data set and non vsam data sets

ACS,

2 8183

what is the advantage of sync class

ACS,

3 11775

01 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 21652

How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length

IBM, Wipro,

2 16751

If 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 12122

Sending 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 6224

I got user abend U4038 while compiling my runjcl.. can anyone help me?

CGI,

10 55383

i declare a Table as OCCURS 2000 TIMES.If the input file has more than 2000 records will the COBOL program fail?

12 18994


Post New COBOL Questions

Un-Answered Questions { COBOL }

What is the usage of comp fields in cobol?

1223


how to move the records from file to array table. give with code example

2731


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 ......

12535


what are decleratives in cobol?

2311


What kind of error is trapped by on size error option?

1293


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2537


how do you reference the rrds file formats from cobol programs

1660


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

1252


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2430


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3319


In COBOL programming, what is PERFORM? What is VARYING?

1210


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.

2291


i need a small 3d program using inline and outline.

2262


What is amode(31)

1223


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1386