MainFrame Interview Questions
Questions Answers Views Company eMail

How to delete generations of gdg without deleting gdg base?

3 16886

how 2 resolve the -311 sqlcode

1 18428

What is the use of base and index registers in the IBM 360/370 processor?

3539

in a indexed file what is procedure for read the records from 12 to 18. please give the code example

L&T,

2 7112

what are the utilities for load and unload the DB2 tables

L&T,

1 9478

IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why

3 5109

How to increase the logical record length of existing PS file?

7 33496

Can anybody give me example of subscript and index

5 8736

what will happen if pass values more than 100 using PARM parameter?

1 8944

write the logic for PAGEUP and PAGEDOWN by using psuedo conversatation technique?

Cap Gemini,

2 14363

While using SORT FILES =NONE,XSUM I am getting error "ICE172A E XSUM IS NOT SUPPORTED - USE ICETOOL SELECT IF APPROPRIATE"..I want to write duplicate records a a serparte file..how i can do tht?

Steria,

3 15680

how can i pull up a query which was previously stored in qmf

3 10665

seqence numbers in cobol

TCS,

2852

all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?

2655

How to define a array dynamically.....

Fidelity,

5 9197


Un-Answered Questions { MainFrame }

How to handle exceptional conditions in cics?

875


How can you validate Sql errors during cursor operation in db2 pgms and where do you code?

1999


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

959


What is the comaera?

1017


Can one database have multiple instances?

824


Hi, While I am trying to produce a html report from SAS interactive screen, I am always getting an error. I have attached the result of interactive execution with this. Please help me on this. NOTE: All profile changes will be lost at the end of the session. 1 *libname ia 'U19K.CAPS.SAS'; 2 3 /*Data declaration*/ 4 data work.staff; 5 infile 'U19K.CAPS.SAS (RAWDATA1)'; 6 input LastName $ 1-10 FirstName $ 11- 20 7 JobTitle $ 21-23 Salary 24- 28 8 BirthDat $ 29-37 Gender $ 38 9 run; 10 11 /*Basic "format" statement*/ 12 /*assign range of values to a variable and use it*/ 13 /*'$' should be used for a alphanumeric manipulation*/ NOTE: The infile 'U19K.CAPS.SAS(RAWDATA1)' is: Dsname=U19K.CAPS.SAS (RAWDATA1), Unit=3390,Volume=XTD007,Disp=SHR,Blksize=6160, Lrecl=80,Recfm=FB NOTE: 20 records were read from the infile 'U19K.CAPS.SAS (RAWDATA1)'. NOTE: The data set WORK.STAFF has 20 observations and 7 variables. NOTE: The DATA statement used 0.01 CPU seconds and 7537K. NOTE: The address space has used a maximum of 3676K below the line and 15196K above the line. 14 proc format; 15 value Salrange low- 10000='Below' 16 10001- 20000='Medium' 17 20001- High='Above'; NOTE: Format SALRANGE has been output. 18 value $Gender F='Female' 19 M='Male'; NOTE: Format ÅGENDER has been output. 20 run; NOTE: The PROCEDURE FORMAT used 0.00 CPU seconds and 7523K. NOTE: The address space has used a maximum of 3676K below the line and 15196K above the line. 21 22 /*ODS-Output delivery system to create html file*/ 23 ods listing close; 24 ods html file='C:\Documents and Settings\u19k\Desktop\html1.html'; NOTE: Writing HTML Body file: C:\Documents and Settings\u19k\Desktop\html1.html ERROR: Invalid file, C:\DOCUMENTS AND SETTINGS\U19K\DESKTOP\HTML1.HTML. WARNING: No body file. HTML output will not be created. 25 26 /*Basic "label" statement*/ 27 proc print data=work.staff split=''; 28 label LastName='Last Name' 29 FirstName='First Name' 30 JobTitle='Job Title' 31 Salary='Annual Salary'; 32 format Salary Salrange. Gender $Gender.; 33 var LastName FirstName JobTitle Salary Gender; 34 title 'Employee database'; 35 run; WARNING: No output destinations active. NOTE: The PROCEDURE PRINT used 0.00 CPU seconds and 10275K. NOTE: The address space has used a maximum of 3676K below the line and 15196K above the line. 36 37 /*ODS-html closing*/ 38 ods html close; 39 ods listing;

2594


Name and explain the three location modes?

1174


when does a dataset go uncataloged?

1068


How to pass data to a program that is coded in an exec statement?

1079


which parameter is used to check the syntax of a jcl without executing it?

1069


What are the 2 types of parameters in dd statement?

901


What is the difference between dbm cfg and db cfg file in db2 ?

1289


Explain the benefits you can get from mainframe connect?

748


Give certain situations where NEWCOPY is obligatory?

905


What is the difference between PIC 9.99 and 9v99 in COBOL?

1004