WORKING-STORAGE SECTION.
1 GROUP-ITEM.
05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50.
05 AMOUNT-2 PIC 9(4)V99 USAGE COMP.
PROCEDURE DIVISION.
MOVE ZERO TO GROUP-ITEM.
ADD 50 TO AMOUNT-1.
DISPLAY AMOUNT-1.
STOP RUN.
a input file contains 1000 records, how to move the first 500 record into one out put file and how to move to second 500 records to anothere output file
Explain dfsort utility?
Can I send output of job to my remote device careerride123?
A job has 150 steps i want to execute only 57th step
What is GDG?
If a jcl has just 1 step and the input file to this does not exist, then what will happen if we submit this job?
When cursor is not closed what is the error?
If Region=0k means What Happen?
how to have variable length record in outrec..i have the requmt as follows.. i/p file variable lenght record output file : i need to alter the input and write into outrec(another file) sort fields: copy from(dd1) using ctl1 ctl1cntl dd * outfil fnames=xxx, outrec=(1,131) here i outrec is bombing with error..how to overcome this defect...???
Explain about RECORDING MODE Clause
Hi, I have a requirement File A : I have 6 records out of which 4 are same. File B: I have 8 records out of 6 records are same. The 4 records in FILEA and 6 records in FILE B are same. If we substract we will get two records, I need these two records in output file This is because to remove the duplicates from the database. Through easytrieve we can compare but for that there should not duplicates, but in my file I have duplicates. Thanks in advance!!
Is CPU time (TIME parameter) assigned to a JOB and JOBSTEP BOTH, by default ?