SUPPOSE I HAVE 60 CHARACTERS STING. IN THAT I WANT FIND OUT
HOW MANY TIMES 'A'(ASSUME)WILL REPEATED AND I HAVE TO
PASS 'E' IN PLACE OF 'A'ALONG THAT STRING.
Answers were Sorted based on User's Feedback
Answer / vinodh
ASSUME WS-NAME HAS 60 CHARACTERS
INSPECT WS-NAME TALLYING WS-COUNT CHARACTER 'A'
INSPECT WS-NAME REPLACING ALL 'A' BY 'E',
| Is This Answer Correct ? | 17 Yes | 0 No |
how do u indetify files succesfully executed or not ?
what is the difference between occurs and occurs depending on? i dont think so there is the difference in storage..then why we should use occurs depending on?
How do you define a variable of comp-1 and comp-2?
What are the differences between OS VS COBOL and VS COBOL II?
The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AND NOT (d) OR NOT AND
10 Answers Huawei, IBM, TCS,
Can we redefine the field of x(200) to less than 200?
In CICS/VSAM every file that is accessed should be defined in FCT. we have CICS READ, WRITE, BROWSE commands for VSAM files. How does it work with DB2 tables. It know it has to do with the plan. Please expain with examples.
i have the job which has written updated 100 records into the table and for 101th record it got abended and i want to start the job again and should wirte from 101th record not from 1st record..how to do it..?
RENAME clause takes new SPACE in memory.TRUE or FALSE? a)TRUE 2)FALSE
If we use GO BACK instead of STOP RUN in cobol?
i Want All cobol ERROR codes?
What is the mode in which you will OPEN a file for writing?