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.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More COBOL Interview Questions

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 Answers  


What are options have been removed in COBOL 11?

1 Answers  


if we have a 10 steps how to override the 4th step in jcl?

2 Answers   Hewitt,


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

2 Answers   ACS,


What is a report item?

0 Answers  






COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are same (c) Syntactically wrong (d) Will yield a run time error

1 Answers   TCS,


What is the difference between PIC 9.99 and 9v99 in COBOL?

0 Answers   SwanSoft Technologies,


01 a pic s9(5) occupies how many bytes ?

9 Answers   Wipro,


Discuss about changing dataset name in proc.

0 Answers  


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?

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


C1 C2 C3 are three conditions whose TRUTH values are as folloes. C1-TRUE C2-FALSE C3-TRUE A,B,C are defined as given below A:C1 AND(NOT C2) OR C3 B.(NOT C1) OR (NOT C2 AND NOT C3) C.(C1 OR C2)AND C3 D.C1 AND C2 OR C3 given the above information which of the following statements are valid? a.only A,B and C are TRUE b.only A,C and D are TRUE c.A,B,C and D are TRUE d.only C and D are TRUE

1 Answers   TCS,


IF I mention stop run in CICS what happens?

0 Answers   IBM,


Categories