0% found this document useful (0 votes)
3K views3 pages

Top 27 IBM MainFrame Interview Questions and Answers PDF

Uploaded by

asriramanathan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3K views3 pages

Top 27 IBM MainFrame Interview Questions and Answers PDF

Uploaded by

asriramanathan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Global Guideline - Interviewer and Interviewee Guide

e.g. IMS DB Interview Questions Search

Interview Guides Mainframes IBM MainFrame


IBM MainFrame Interview Preparation Guide Download PDF Interview Categories:
(Details.php?c=Live_Stock )
(Details.php?c=Logistics )
Logistics (Details.php?c=Logistics )
(Download.php?sc=IBM_MainFrame) Add New Question () (Details.php?c=Mainframes_Interview_Questions_an
(Questions.php?sc=Customer_Information_Contro
(Questions.php?sc=IBM_ADABAS IBM ADABAS )
IBM MainFrame frequently Asked Questions in various IBM MainFrame job Interviews by (Questions.php?sc=IBM_AS400 )
IBM AS400 (Questions.php?sc=IBM_AS40

interviewer. Get preparation of IBM MainFrame job interview (Questions.php?sc=IBM_Assembler IBM Assembler )
(Questions.php?sc=CLIST_Command_List )
(Questions.php?sc=IBM_COBOL400 IBM COBOL400 )
27 IBM MainFrame Questions and Answers: (Questions.php?sc=IBM_COOLPLEX IBM COOLPLEX )
(Questions.php?sc=IBM_DB400 )
IBM DB400 (Questions.php?sc=IBM_DB40

1 :: How to fetch even records from one le to another le by using ICETOOL in JCL? (Answer.php? (Questions.php?sc=IBM_MainFrame IBM MainFrame )
(Questions.php?sc=IBM_MVS )
IBM MVS (Questions.php?sc=IBM_MVS )
a=How_to_fetch_even_records_from_one_ le_to_another_ le_by_using_ICETOOL_in_JCL) (Questions.php?sc=IBM_Natural )
IBM Natural (Questions.php?sc=IBM_Nat

//STEP1 EXEC PGM=SORT (Questions.php?sc=IBM_OS_2 )


IBM OS 2 (Questions.php?sc=IBM_OS_2 )
(Questions.php?sc=IBM_OS390 )
IBM OS390 (Questions.php?sc=IBM_OS39
//SYSPRINT DD SYSOUT=*
(Questions.php?sc=IBM_QMF )
IBM QMF (Questions.php?sc=IBM_QMF )
//SYSOUT DD SYSOUT=* (Questions.php?sc=IBM_QSAM )
IBM QSAM (Questions.php?sc=IBM_QSAM

//SORTIN DD DSN=INPUT.DATA,DISP=SHR (Questions.php?sc=IBM_REXX )


IBM REXX (Questions.php?sc=IBM_REXX )
(Questions.php?sc=IBM_RPG400 IBM RPG400 )
//OUTDATA DD DSN=OUTPUT.DATA,DISP=(NEW,CATLG,DELETE) (Questions.php?sc=IBM_Sysplex IBM Sysplex )
. (Questions.php?sc=Integrated_Database_Manage
. (Questions.php?sc=Information_Management_Sys
(Questions.php?sc=Job_Control_Language_JCL )
. (Questions.php?sc=MQ_Series )
MQ Series (Questions.php?sc=MQ_Series )

//SYSIN DD * (Questions.php?sc=Virtual_storage_access_metho
(Details.php?c=Management_Interview_Questions_a
OPTION COPY
(Details.php?c=Marketing_Interview_Questions_and_
OUTFIL FNAMES=OUTDATA,SAMPLE=2 (Details.php?c=Medical_Interview_Questions_and_A
(Details.php?c=Microsoft_.Net_Technologies_Intervie
(Details.php?c=Middleware
Middleware )(Details.php?c=Middleware )
THIS WILL COPY ALL EVEN RECORDS (Details.php?c=Mobile_Technologies )
Mobile Technologies
------------------------------------------- (Details.php?c=Microsoft_SQL_Server MS SQL Server )
FOR ODD RECORDS
OUTFIL FNAMES=OUTDATA,STARTREC=1,SAMPLE=2
Is This Answer Correct? 27 Yes 2 No Post Your Answer
(http://feeds.feedburner.com/GlobalGuideLine)

2 :: File1 has 100 records and le2 has 200 records i want to copy 50 records which r in both le
into le3? (Answer.php? IBM MainFrame Related Quiz Categories:
a=File1_has_100_records_and_ le2_has_200_records_i_want_to_copy_50_records_which_r_in_both_ le_into_)
First need to sort both files IBM WebS
READ FILE1
READ FILE2
PERFORM UNTIL EOF = 'Y'
IF FILE1-ID > FILE2-ID THEN
READ FILE2 AT END MOVE 'Y' TO EOF
ELSE IF FILE1-ID < FILE2-ID
READ FILE1 AT END MOVE 'Y' TO EOF
ELSE IF FILE1-ID = FILE2-ID
WRITE FILE3
READ FILE1 AT END MOVE 'Y' TO EOF
READ FILE2 AT END MOVE 'Y' TO EOF
END-PERFORM
Is This Answer Correct? 14 Yes 0 No Post Your Answer

Most Popular Quiz Categories:


3 :: What is use of linkage section? (Answer.php?a=What_is_use_of_linkage_section)
Linkage section is used to accept data from outside the program.either its parm part of Jcl or Call
SAT (Schol Networking
from any other programs,they pass data into called program thru linkage section only.
Is This Answer Correct? 19 Yes 0 No Post Your Answer Manageme Bank PO (

Testing (/q C Languag


4 :: What is di erence between comp and comp-3? (Answer.php?
a=What_is_di erence_between_comp_and_comp-3) Web Techn Network S
Comp is binary.its the type how system stores ur data.
JQuery (/q C Languag
pic s9(1)-->pics9(4) --occupies 2bytes
pic s9(5)---pic s9(8) ----4 bytes
pic s9(9)---pics9(18)-----8 bytes

comp-3 is for packed decimal data where each character occupies half byte and sign is stored in
last nibble.
Is This Answer Correct? 18 Yes 0 No Post Your Answer

5 :: How do de ne Dynamic array in COBOL how do u de ne single dimensional array and


multidimensional array in your COBOL? (Answer.php?
a=How_do_de ne_Dynamic_array_in_COBOL_how_do_u_de ne_single_dimensional_array_and_multidimensional_a)
In IBM Cobol
Interview Questions A
28,558 likes
1) In IBM's Language Environment you can dynamically
acquire storage (look up HEAP in the manual). The storage
you acquire you can use as you like. Can be an array,
Like Page Share
therefore a dynamic array. It is a "work-around" as dynamic
arrays are not directly supported.
Be the first of your friends to like this
2) 01 SINGLE-DIM-ARRAY
05 SDA-ITEM PIC X OCCURS 30.
A single-dimension array of thirty one-byte characters.
3) 01 MULTI-DIM-ARRAY.
05 MDA-FIRST-DIM OCCURS 20.
07 MDA-SECOND-DIM OCCURS 30 PIC X. Share This Page:
A multi-dimension array of 20 times 30 one-byte characters.
Is This Answer Correct? 11 Yes 1 No Post Your Answer
(http://www.facebook.com/share.php?
(http://www.twitter.com/home?
(http://www.linkedin.com/sh
(http://www.pinterest.com
6 :: How To get the last record in VSAM le in cluster? And How can u get the ksds le records into u=http://globalguideline.com/interview_
status=Top+27+IBM+MainFrame
mini=true&url=http://globalg
questions-

ur COBOL program? Please tell me about these two questions.? (Answer.php? sc=IBM_MainFrame&t=Top+27+IBM+Ma
(https://plus.google.com/109575479
sc=IBM_MainFrame)
sc=IBM_MainFrame&title=To
answers/followers/)
(http://feeds.feedburn
a=How_To_get_the_last_record_in_VSAM_ le_in_cluster_And_How_can_u_get_the_ksds_ le_records_into_ur_C)
Move highvalues to the key of the VSAM file and the issue Readnext record command. Then give
Readprev command. This will read the last record. In VSAM, there is one command HURBA,
Using that we can read the last record, If you want to know more about go to IBM RED BOOKS.
You will get the solution.
by using the HURBA we can get the max records by using the CKD count key data we will get the
last record
Is This Answer Correct? 5 Yes 0 No Post Your Answer

7 :: Tell about How do u eliminate the duplicates? (Answer.php?


a=Tell_about_How_do_u_eliminate_the_duplicates)
By using DFSORT we can eliminate the duplicates

//Sysin dd *
sort fields=(1,5,ch,A)
sum fields=
/*
//
in the above dfsort we use sum fields= empty then it
eliminate the duplicates

if u want all dupli.in one file u can use


sum fields = xsum........
Is This Answer Correct? 8 Yes 3 No Post Your Answer

8 :: What is di erence b/w le-aid tool and le-aid utility? (Answer.php?


a=What_is_di erence_bw_ le-aid_tool_and_ le-aid_utility)
File-aid tool is online tool (application) used for
processing files using online screens. File-aid utility is
used in jcl for processing files in batch.
Is This Answer Correct? 5 Yes 0 No Post Your Answer

9 :: How to override a dsn that is contained in a proc called by another proc? I need to do the
override in the calling JCL? (Answer.php?
a=How_to_override_a_dsn_that_is_contained_in_a_proc_called_by_another_proc_I_need_to_do_the_override_i)
//PROC1 PROC
//STEP1 EXEC PGM=IEFBR14
//DD1 DD DSN=XYZ, DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
// PEND

//JJJ JCLLIB ORDER=PROCLIB PATH


//PROC2 PROC
//STEP2 EXEC PROC1

//JOBNAME JOB PARAMETERS


//JJJ JCLLIB ORDER=PROCLIB PATH
//PROC3 PROC
//STEP2.DD1 DSN=NEW NAME,DISP=SHR
THIS IS D WAY....
THIS PROG. WILL DO NOTHING IT'S JUST AN EXAMPLE
Is This Answer Correct? 2 Yes 0 No Post Your Answer

10 :: if a pic 9(3) value 354,b pic x(2) value 46 then


a)a>b
2)a<b
3)error (Answer.php?a=if_a_pic_93_value_354b_pic_x2_value_46_thenaab2ab3error)
As picture clause for variable b is x(2), which means that
it can accept both numeric and characters of length 2, but
the care we should take here is that we should enclose them
in the single quotes, therefore to my expectation option b
is write.
Is This Answer Correct? 14 Yes 0 No Post Your Answer

Add New Question ()


Copyright 2007 - 2017 www.globalguideline.com All Rights Reserved. 137 Visitors Are Online Now

About Us (../about-us.php) | Contact Us (../contactUs.php) | Terms of use (../terms-of-use.php) | Privacy Policy (../privacy_guideline.php) | Google+ (https://plus.google.com/109575479305880892023)

You might also like