I've one string with spaces ( I N D I A ). My question is I
want remove the spaces & combine in to single string without
space (INDIA).How we can write the cobol program & wich
options we need to use. Please let me know.
Answer Posted / jagan
Inspect string1 replacing all spaces by ''
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
) How do u handle errors in BMS macro?
Write a program to enter and display the names of students in a class using the occurs clause.
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.
Name the sections present in data division.
what is the difference between COBOL2 AND COBOL390?
How many bytes S(8) comp field occupy and its maximum value?
How many sections are there in data division in COBOL?
What is the difference between Call and a Link?
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?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
Which is not true about evaluate statement
How arrays can be defined in COBOL?
What is static and dynamic call in cobol?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?