Can we delete the data using IEFBR14 , IEBGENER??
Answer Posted / karunakar reddy
Hey Try as below and see if the below JCL can help.
//DELETEDS JOB (@),'PREP T-2 FOR R01',
// REGION=0M,
// CLASS=C,MSGCLASS=X,
// NOTIFY=&SYSUID
//JS10 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DUMMY,DCB=SSR.TEST.FILE
//SYSUT2 DD DSN=SSR.TEST.FILE,DISP=(OLD,KEEP,KEEP)
//SYSIN DD DUMMY
//SYSUDUMP DD SYSOUT=*
| Is This Answer Correct ? | 4 Yes | 6 No |
Post New Answer View All Answers
what sort card you will use to copy the data from one dataset to another dataset?
How gdg are concatenated?
what is the use of JCL?
List in order the hierarchical levels of jcl?
Explain how can a stopped job be started again?
What are steplib and joblib? What for they are used?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
Explain how can return codes be tested before execution of a job step?
What dd statement is used to supply the name of a dataset?
how you will the direct the data to spool using sysout option?
For what purpose steplib and joblib are used ?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
How to pass data to a program that is coded in an exec statement?
How to run cobol program using jcl?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.