what is the use of temporary files?

Answer Posted / pradeep k(cr)

Temporary file will create after submitting job and it will
delete after completing the job. Means temporary files will
not occupy any space.
This temporary files will create by using &&
(double amperson). Ex:&&TEMP means you are creating
temporary file by name TEMP.
Ex: if you want to sort FILE1 and after that you need to
use that file as input in your COBOL program, that time you
willl use this temporary file as SORTOUT file.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you access an uncataloged dataset in a jcl?

1056


Explain how can an in-stream dataset be terminated?

800


What is multithreading in jcl?

1037


In sms datasets, what is the function of the dd mgmtclas keyword?

975


what is SOC4 error?

826






I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

1816


Explain the function of the dd dcb keyword?

815


What is the motivation behind coding class parameter in job statement?

776


How can a stopped job be started again?

795


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2327


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

1062


define cond parameter in jcl?

874


when does a dataset go uncataloged?

935


How to alter the parameters for the existing gdg?

799


Why block size is multiple of lrecl in jcl?

1021