Top IBM MainFrame Interview Questions :: ALLInterview.com http://www.allinterview.com Top IBM MainFrame Interview Questions en-us Wrete a JCL to compare two files and mached records move to onc file http://www.allinterview.com/showanswers/64204.html Using with IEBCOMPARE UTILITI What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ? http://www.allinterview.com/showanswers/19842.html S0C1-May be due to 1.Missing or misspelled DD name 2.Read/Write to unopened dataset 3.Read to dataset opened output 4.Write to dataset opened input 5.Called subprogram not found S0C4-may be due to 1.Missing Select statement(during compile) 2. How to resolve the soc4 & soc7 other than following answers. Soc http://www.allinterview.com/showanswers/13617.html S0C4 occurs mainly due to protection exception. It means when you trying to move a larger variable to a small variable. Whereas S0C7 is data exception. It occurs when you try to move a non numeric value to a Numeric variable. What is a COND parameter in JCL? http://www.allinterview.com/showanswers/19863.html COND means condition parameter. It is compared with system return code of previous step.//step1 exec pgm=abcd//step2 exec pgm=xyz, cond=(4,lt)step2 will be executed when system return code of step1 is less than 4. What is the difference between IEBGENER, IEBCOPY and REPRO in IDCAMS http://www.allinterview.com/showanswers/19847.html IEBGENER -- This is a dataset utility for copying sequential datasets which produces a PDS or a member from a sequential dataset. IEBCOPY -- This is a dataset utility for copying one PDS to another or to merge PDSs. REPRO -- This is for copy How do you restart a step in JCL? http://www.allinterview.com/showanswers/19804.html Use RESTART=step name. What is sqlcode -811? http://www.allinterview.com/showanswers/6301.html Is the SQLCODE returned when your singleton select statement returns/retrieves more than one row of data. What are SD37, SB37, SE37 abends? http://www.allinterview.com/showanswers/19831.html All indicate dataset out of space. SD37 - no secondary allocation was specified. SB37 - end of vol. and no further volumes specified. SE37 - Max. of 16 extents already allocated. How to resolve the -305 error code in DB2? And also please let me kno http://www.allinterview.com/showanswers/13618.html supose, one of ur DB2 table column is defined as NOT NULL, if u trying to insert null value on that column at that time , u will get this error. u can slove this error by handling the null indicator in ur program. define null indiactor wo What is 'S0C7' abend? http://www.allinterview.com/showanswers/19829.html Caused by invalid data in a numeric field. what is XSUM in some fields= none, xsum ?? http://www.allinterview.com/showanswers/58888.html XSUM is just to store the bypassed data during a SORT JCL. For example see the below given JCL, //STEPSORT EXEC PGM=SORT //SORTIN DD DISP=SHR,DSN=XXX.PV.SUMIN.SAMF //SORTOF01 DD DISP=SHR,DSN=XXX.PV.SUMOUT.SAMF //SORTXSUM DD DSN=XXX.PV.DUPLIC What is a DB2 plan? http://www.allinterview.com/showanswers/6096.html An application plan or package is generated by the bind to define an access path How to delete leading spaces/blank in COBOL ? Example:- 01 data-name- http://www.allinterview.com/showanswers/29408.html you can do this by defining another varible with JUSTIFIED RIGHT clause. then move the value from data-name-1 to that varible. You have to define the picture clause of that varible with proper length : below code will exactly do that: 01 d What does IEBGENER do? http://www.allinterview.com/showanswers/19877.html Used to copy one QSAM file to another. Source dataset should be described using SYSUT1 ddname. Destination dataset should be described using SYSUT2. IEBGENR can also do some reformatting of data by supplying control cards via SYSIN. What does it mean when EIBCALEN is equal to zeros? http://www.allinterview.com/showanswers/6035.html The Program is Running first time and there is not transfer of data from program to program.