![]() Related Questions The PERFORM and END-PERFORM statements bracket all COBOL II statements between them. The COBOL equivalent is to PERFORM or PERFORM THRU a paragraph. In line PERFORMs work as long as there are no internal Latest Answer : In In-line PERFORM the procedure name is omitted. An In-line PERFORM must be delimited by the END-PERFORM statement.SYNTAX: PERFORM ... LENGTH acts like a special register to tell the length of a group or elementary item. Latest Answer : Length is an Intrinsic function in Cobol which returns number of characters in any variable. ... Latest Answer : It is 32767, irrespective of VSAM or non VSAM. In case of VSAM you will have to give no SPANNED while DELETE-Defining the cluster. IF any doubts you can verify creating in mainframes. ... Latest Answer : Yes, it can be used at 01 level but cannot be used at 77 level. ... Latest Answer : An explicit redefines can be used at any level number except 01. An implicit redefines can occur if multiple 01s are coded for the same file. ... In the example below 05 WS-VAR1 PIC X(5),05 WS-VAR2 REDEFINES WA-VAR1 PIC 9(5),PROCEDURE DIVISION MOVE 'ABCDE' TO WS-VAR1.Now what is the value of WS-VAR1 and WS-VAR2 ? Latest Answer : What would you say about this piece of code?01 WS-VARIABLE PIC X(5). 01 ... 1) Is more than one record description is allowed in a FD?2) Is NUMERIC EDIT fields can be used for Arithmatic operations?3) Is COMPUTE P,Q,W = A+ B/C -E ** 2 is a valid statement?4) Is LINKAGE SECTION is mandatory in a sub program?5) In edit fiels the character used for check protection is __________6) COMP-2 occupies _________ bytes?7) Maximum length of a numeric item ________ ? Latest Answer : hi,See 01 level contains file header. so u can't use occurs clause for header file. You can use occurs clause only for table elements. ... Read Answers (4) | Asked by : Robin Gulla Is it possible that the REDEFINES clause has different picture clauses compared to the one it redefined? Read Answers (9) | Asked by : unica
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||