![]() Related Questions Explain the difference between an internal and an external sort, the pros and cons, internal sort syntax etc? An external sort is not COBOL; it is performed through JCL and PGM=SORT. It is understandable without any code reference. An internal sort can use two different syntaxes: 1.) USING, GIVING sorts are In a COBOL II perform statement, when is the conditional tested, before or after the perform execution? In COBOL II the optional clause WITH TEST BEFORE or WITH TEST AFTER can be added to all perform statements. By default the test is performed before the perform. 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 file section of a COBOL program, I have the following line.Record varying from 122 to 160 depending on WS00_RECORD_LENGTH. How would the value of WS00_RECORD_LENGTH found out? Where will it be? Latest Answer : What would you say about this piece of code?01 WS-VARIABLE PIC X(5). 01 ... Latest Answer : 01 SALES-TABLE. 02 SALES-DETAIL OCCURS 100 TIMES. COPY DDS-ALL-FORMAT OF EMPPF.If a group data is using database reference, where emppf is logical file name. ... Read Answers (7) | Asked by : bhaskar singh Latest Answer : Hi, It is possible through jcl. For example if the input file contains 80 record length thenIn sort, INREC=(1:1,80,81:SEQNUM,6,ZD),SORT FIELDS=(81,6,ZD,D),OUTREC=(1:1,80) 1) Using inrec we need to generate the sequential number starts from ... Read Answers (9) | Asked by : javid 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
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||