what modification we need to do in jcl if we use sort in
cobol? I mean whether we need to include tempary file used
for sorting in assign statement?
Answers were Sorted based on User's Feedback
Answer / guest
yes we need to include one temp file whose record size is same
as that of input file record size
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / sandhya
in jcl there is no need to assign temporary file..and we
have to create temporary file in cobol same structure as
cobol program..this temp file sort the records and output
went to output file..
| Is This Answer Correct ? | 0 Yes | 1 No |
What is an in line PERFORM? When would you use it? Anything else to say about it?
What is difference between static and dynamic call in cobol?
in cobol main pgm is calling sub pgm but sub pgm does not exists , what abend i get if submit the job?
can we use the two 01 level in file discription ?
C1 C2 C3 are three conditions whose TRUTH values are as folloes. C1-TRUE C2-FALSE C3-TRUE A,B,C are defined as given below A:C1 AND(NOT C2) OR C3 B.(NOT C1) OR (NOT C2 AND NOT C3) C.(C1 OR C2)AND C3 D.C1 AND C2 OR C3 given the above information which of the following statements are valid? a.only A,B and C are TRUE b.only A,C and D are TRUE c.A,B,C and D are TRUE d.only C and D are TRUE
can i use multiple when statements in search & search all ? justify ur answer?
How to read records in reverse order in flat file? I know we can do it by reading all records into an array.... Then read records in reverse order by using subscript or index but can any body give me the exact code.
what is the use of outrecord?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
How to delete the records of a dataset through cobol programme?We should not use jcl utilitities like IDCAMS.
wht is the use of evalute verb ? how do u declare recfm in cobol and jcl ?