MainFrame Interview Questions
Questions Answers Views Company eMail

What will happen if we r using seton lr after return or vice versa.

5 18473

What is different between variable length and fixed length?

TCS,

2 7384

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;

2384

what is the alternative to model parameter?

1698

can we read records in a file from botom to top. if possible how can we read

ACS,

12 17198

01 a pic s9(5) value '-12345' how it will be stored

ACS,

7 13182

how we can edit records in vsam data set and non vsam data sets

ACS,

2 7062

what is the advantage of sync class

ACS,

3 9739

01 a pic x(4) value 'abcd' 01 b pic 9(3) can we move from a to b.if possible what would be stored in b.

ACS,

15 17066

after submiting the jcl.how do you know that the job has been completed.

ACS,

4 7674

how do you resolve for soc7 error

ACS, iGate,

6 19617

I have a PDS and want to omit few rows of all members of a PDS. How to do it?

Accenture,

6 11781

At which situation we need to use the push and pop conditions...pls tell me with exampls.

Xansa,

2 11570

pls tell me abt the normalization five types....

2 4191

I have a Symbolic Parameter which can have a value say 01 or 02 etc. Now consider i have another Symbolic parameters which is used to get 3 digit code of months (JAN, FEB, etc) but for that i need to check the first symbolic parameter's value and provide its corresponding month's name in the second symbolic parameter. Say IF sym1 = 01 then sym2='Jan' ENDIF etc... In JCL, IF condition is used for RC, ABEND purposes of a step etc. When i use Symbolic parameter in IF clause it is showing Error message. Is there a way to get the above result possible in JCL. If you could provide me with an example, i would understand it better.

2631


Un-Answered Questions { MainFrame }

how to run other job when one job is active?

603


Cursors can be declared in both working-storage & procedure division, agreed. But is there any difference? If could you please suggest what is the difference

752


) how do u code after getting data?

1580


Name a few CICS programs which are generally used ?

637


define the purpose of the leave operation?

957






What are literals?

632


Is it possible to port existing applications from the mainframe or os/2? Are there major changes required to do this?

536


What is the difference between external and global variables in COBOL?

815


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

1989


What is the difference between escape(top or bottom) and escape immediate(top or bottom?

556


) How do u handle errors in BMS macro

1512


Can you summarize the steps I have to go through in writing my first cgi?

625


what do you mean by recovery and speed parameters in define cluster command?

585


how many types of display are available on as/400 for user interaction?

640


Explain difference between read work file 1 and read work file once? Why we are using work file once?

561