It's possible use %TRIM statement like rpgile?
Answers were Sorted based on User's Feedback
Answer / chandra
Yes, It is possible to use like %trim as below code.
STRING FIELD1 delimited BY SPACES
| Is This Answer Correct ? | 7 Yes | 0 No |
this wasn't the exact answer becoz in Rpgle %trim used to trim the spaces in both sides ( Right as well as Left side spaces if any spaces found in that string)
| Is This Answer Correct ? | 1 Yes | 0 No |
Explain how to update data area in cobol 400 program?
How can i change the below code in SQL to cobol/400? EXEC SQL SELECT COUNT(*) INTO : WS-COUNT FROM Db file WHERE Field 1 = : WS-VAR AND Field 2 = : WS-USERID END-EXEC * EVALUATE TRUE WHEN SQLCODE = +000 MOVE WS-COUNT TO Copybook field WHEN SQLCODE = +100 MOVE ZEROES TO Copybook field
Explain the syntax of redefine?
what is INPUT PROCEDURE and OUTPUT PROCEDURE?
What is the syntax of sort?
define comp?
Deleting a record from a Sequential file.
Can we open close file in COBOL any number of times?
01 A PIC 9. 01 B PIC 99V1. 01 C PIC 99. MOVE 1 TO A. MOVE 0.2 TO B. COMPUTE C ROUNDED TO 3/3 + A.
what is the difference between SEARCH and SEARCHALL?
How to Convert 2010/02/11 to m/dd/yyy.. with string and without string if any other method... code
Define redefine?