ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  MainFrame  >>  IBM MainFrame  >>  JCL
 
 


 

 
 COBOL interview questions  COBOL Interview Questions
 JCL interview questions  JCL Interview Questions
 CICS interview questions  CICS Interview Questions
 DB2 interview questions  DB2 Interview Questions
 IMS interview questions  IMS Interview Questions
 IDMS interview questions  IDMS Interview Questions
 Natural interview questions  Natural Interview Questions
 ADABAS interview questions  ADABAS Interview Questions
 REXX interview questions  REXX Interview Questions
 Assembler interview questions  Assembler Interview Questions
 CLIST interview questions  CLIST Interview Questions
 QMF interview questions  QMF Interview Questions
 MVS interview questions  MVS Interview Questions
 OS390 interview questions  OS390 Interview Questions
 OS 2 interview questions  OS 2 Interview Questions
 VSAM interview questions  VSAM Interview Questions
 QSAM interview questions  QSAM Interview Questions
 Sysplex interview questions  Sysplex Interview Questions
 IBM MainFrame AllOther interview questions  IBM MainFrame AllOther Interview Questions
Question
Can we delete the data using IEFBR14 , IEBGENER??
 Question Submitted By :: Kavitha
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Can we delete the data using IEFBR14 , IEBGENER??
Answer
# 1
Yes, you can delete it... using IEFBR14
//JOB1 JOB NOTIFY=&SYSUT1
//STEP1 EXEC PGM=IEFBR14
//DD1 DD DSN=ISAM12.CLASS.PGM12,DISP=(MOD,DEL,DEL),UNIT=3390
//SYSIN DD DUMMY
//


But IEBGENER is used to concatenate a dataset / edit / copy
 
Is This Answer Correct ?    10 Yes 1 No
Sukumar
 
  Re: Can we delete the data using IEFBR14 , IEBGENER??
Answer
# 2
Its possible.But 1st you have to delete the dataset and 
recreate a empty dataset with the same name.

//XXXXXXXX JOB TEST,'SORT',                            
//         MSGCLASS=X,                                 
//         CLASS=C,NOTIFY=&SYSUID                      
//STEP1 EXEC PGM=IEFBR14                               
//DD1 DD DSN=XXXXXXX.WORK.TEST,DISP=(MOD,DELETE,DELETE)
//SYSIN DD DUMMY                                       
//STEP2 EXEC PGM=IEFBR14                               
//DD1 DD DSN=XXXXXXX.WORK.TEST,DISP=(NEW,CATLG,DELETE) 
//SYSIN DD DUMMY                                       
//
 
Is This Answer Correct ?    3 Yes 4 No
Biswaranjan
 
 
 
  Re: Can we delete the data using IEFBR14 , IEBGENER??
Answer
# 3
just put DISP=(MOD,DELETE,DELETE)
pgm=XYZ will also do!
 
Is This Answer Correct ?    5 Yes 2 No
Tidda
 
  Re: Can we delete the data using IEFBR14 , IEBGENER??
Answer
# 4
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 ?    3 Yes 3 No
Karunakar Reddy
 

 
 
 
Other JCL Interview Questions
 
  Question Asked @ Answers
 
What is RESTART? How is it invoked?  6
can we have more than one job in a single job card that is we are specifying only one 'job' statement in the jcl. Accenture6
//ERFDS JOB //STEP1 //STEP2 //STEP3...COND=(4,LT) //STEP4 1.CONDITION IN STEP3 REFERS TO WHICH STEP'S RETURN CODE (STEP1 OR STEP2)? 2.IN ABOVE PROGRAM IF CONDITION SATISFIES IN STEP3 WHICH STEPS WILL EXECUTE?? AND WHY? IF CONDITION IN STEP3 SATISFIES IBM3
I have a File that has duplicate records. I need only those records that occur more than thrice.  2
what is the general use of PARM? Give an explanation about the system defined parameters that could be passed through this PARM like XREF,LIST,LET,APOST,RENT etc.. Cognizent2
How can I write the joblog in the spool on normal end of a job step and direct the joblog to a dataset only if the step abends?  2
IF we are calling a PROC from Jcl...This Proc have 3 steps in it and we want to execute only the second step using the JCL, How to do it?? Please give the answer ASAP:)  4
What is the meaning of keyword in JCL? What is its opposite?  1
i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step? IBM5
I have 10 steps, I want to run STEP1 TO STEP4 then I should not run STEP5 and STEP6. Aganin I want to execute from STEP7 to STEP10. ONLY using CONDITION CODES how can we execute this process? 1. Where we can set cond codes for STEP5 and STEP6? 2. How can we execute remaining steps from STEP7 to STEP10?  2
Can we find specific member without knowing the name of PDS or can we search a member to which PDS it belongs to? if so how?  5
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!!  2
if we have a job consist of two steps and each step calling a proc having 10 steps each then how many steps are counted only 2 or 22(10+10+1+1)? can we have more than 255 steps in a single job? Accenture5
what is instream data EDS2
We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc and not the remaining steps. How can we do it?  4
if you have big pgm. during compilation is abends with (soc7)how do you know which line has soc 7 error. IBM3
What is the difference between the JOBLIB and the STEPLIB statements?  2
Definition of COND parameter in JCL  4
what is a MODELDSCB?  1
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?  3
 
For more JCL Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com