how to remove leading spaces and zeroes in a cobol
variable.is there any easy way to do it
Answers were Sorted based on User's Feedback
Answer / surendra
find the lenght of the leading spaces then move the actual
value of the variables using reference modification to
another working storage variable.
| Is This Answer Correct ? | 4 Yes | 2 No |
in cobol perform stmt whether it first checks the condition or not
what is difference between the sysabend and userabend?
If my program receives input feed from program in other system.. if the receiving field size is less than the sending field.. what abend will be happening.
Can you REWRITE a record in an ESDS file? Can you DELETE a record from it?
6 Answers ABC, IBM, Mphasis, Wipro,
Hai friends why we need to read a file before re-write a record?
How can we know that cobol program is using report file or simple file....?
why do u need inspect verb?
A paragraph PARA-X is to be executed when none of the data names A, B and C have value of 1. Which of the following will achieve this ? (a) IF A NOT = 1 OR B NOT = 1 OR C NOT = 1 PERFORM PARA-X (B) IF NOT A= 1 AND B= 1 AND C = 1 PERFORM PARA-X (C) IF A NOT =1 IF NOT B = 1 OR C= 1 PERFORM PARA-X (C) IF A NOT = 1 AND B NOT = 1 AND C NOT = 1 PERFORM PARA-X
1.What is the limit of linkage section?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I want Display WS-VARX and WS-VARN?
What is the point of the REPLACING option of a copy statement?