How to delete leading spaces/blank in COBOL ?
Example:- 01 data-name-1 pic x(220) " English is a
language".
I would like to delete leading spaces.
Answer Posted / varun v
I agree with Ans # 1 also.
But I think "Inspect Tallying" is the effective one as
there is no manual calculation is required for finding the
exact length of the second variable field(CHR6 in Ans #1)
is required.
Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
what is search and searchall?what is the diffrence between them?give an best example?
How you can characterize tables in cobol?
what is the difference between COBOL2 AND COBOL390?
) what is the difference between AID and HANDLE AID?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
Why did you choose to work with ibm mainframe cobol programming?
What is rmode(24)
Explain how to differentiate call by context by comparing it to other calls?
What are the different rules to perform a Search?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
For rewrite, why is it mandatory that file needs to be opened?
What is the difference between perform … with test after and perform … with test before?
Differentiate between structured cobol programming and object-oriented cobol programming.