Answer Posted / varun v
It would be more if we explain with some example.
Lets use the variable used in Ans #1.
01 ws-variable pic x(10) value 'raja ramesh'
Now to get the total count of R's in 'raja ramesh', we can
use Inspect Tallying command.
INSPECT ws-variable TALLYING WS-TALLY1 FOR ALL 'R'.
Where WS-TALLY1 is a working storage variable which gives
the total count of R'S (Here WS-TALLY1 should be 2)
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What are the rules of the move verb?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Define cobol?
what is amode(24), amode(31), rmode(24) and rmode(any)?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What is the difference between PIC 9.99 and PIC9v99?
What is a scope terminator give example?
What are the various section in data division and briefly explain them.
how do you reference the variable block file formats from cobol programs
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?