If we want to see the eliminated duplicate record thru
SORT, how its output file will be managed
Answer Posted / chandrakant sinha
To remove duplicates we need to give :
SUM FIELDS = NONE
in SYSIN DD *
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
What is the difference between run mode and addressing mode?
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.
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
Explain in DD statement what is the use of DCB parameter?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
what are the types of abends that occur on job failure? And explain the possible causes of these
How jcl work to handle various input output file operations?
How can a stopped job be started again?
Explain the function of the steplib dd statement?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
what sort card you will use to copy the data from one dataset to another dataset?
What is multithreading in jcl?
Are there any set of rules for the names of the steps used in a job?
Is their any limit for data sets?