what is the use of temporary files?
Answers were Sorted based on User's Feedback
Answer / harsha
Temporary files are those files which have same
characteristics as that of any seq file. Temporary file are
created and deleted within the same JCL iteself.
| Is This Answer Correct ? | 9 Yes | 2 No |
Answer / srinivas
if we want any file for temporary purpose we will use these
files bcz we will all our work after that it will delete
there it self so we can save the memory . for this we will
write in front of the && it will indicate that this file is
temporary..
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / 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 |
Answer / sachin
@pradeep: Please recheck your comments before posting it. It has gramatical mistakes.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / m.s.mohamed
It temporary data are used to re collect the original data
at the time of re usability
| Is This Answer Correct ? | 1 Yes | 2 No |
In Job, there are 10 steps. If I want to execute the first 6 steps and don't want to execute from 7th to 10th step. What is the solution for this ?
How to release the Output HELD by using HOLD = YES on DD statement ?
Is stepname is a MUST and should be unique also for each JOBSTEP ? or system can supply the stepname for a step which is not given a name by the programmer ?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)
File1 has 100 records and file2 has 200 records i want to copy 50 records which r in both file into file3
I have two files each contains 10 records. I would like to copy both files into one output file but in alternate sequence. for e.g. first record from file1 then record 2 from file2.....
What will happen if you attempt to restart a job in the middle of a JCL // IF .... // ENDIF?
Why 16 is used in calculating the DPRTY ? as, DPRTY = (num1, num2), THEN, DPRTY = 16* num1 + num2
How to release a JOB (from the input queue) held by TYPRUN = HOLD ? and how to see the installation default time after which a JOB will be automatically released ? How to see the list of currently HELD JOBS ?
if we give TIME=0 how many sec that job/step
how to modify the copy book?explain with examples