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 |
Why did you choose to work with ibm mainframe cobol programming?
in a indexed file what is procedure for read the records from 12 to 18. please give the code example
how will you define vsam file in select clause?
What is diff between vsam and db2?what is advantage of db2 over vsam?which is best suited one?
How can we pass data from cobol to JCl?
What is rmode(any) ?
Can we use goto statement in inline_perform ?
Why occurs can not be used in 01 level ?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
how to resolve the file status 47.......
is it mandatory to give data division before procedure division ? wht happens if i give procedure division first thn data division ? reply soon
if i am reading a file with some 50000 records and moving to a DB2 table and suddenly the program abends in between, is there anyway i could restart from the exact record at which the job failed once the program restarts.