![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() 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 : Surely we can use the redefine clause at 01 level, but the only condition is that both the redefined and redefining item should be done at the same level. ... Latest Answer : Redefines can be used in File Section,but from 02-49 levelThanks,Murali ... 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 : Here is the example:01 WS-REC. 02 TAB OCCURS 10 TIMES. 05 EM-NAME PIC X(5). 05 EM-PHONE PIC 9(10). ... Read Answers (6) | 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 (8) | Asked by : unica
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||