Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Mainframe Interview Questions

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
rocky

New User


Joined: 25 Aug 2005
Posts: 1

PostPosted: Thu Aug 25, 2005 10:33 am    Post subject: Mainframe Interview Questions
Reply with quote

Plz answer these questions

1.A file has 3 records,how to move them to 3 diff files?
2.Real time use of TSQ and TDQ.
3.How will you change DSN of a cataloged PROC?
4.How do you access DB2 Table data for your programs?
5.What are the common problems that occur during TESTING and how to resolve thwm?

6.How many records can a table contain?
7. How to handle abends in CICS?
Back to top
View user's profile Send private message

radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 436
Location: chennai, India

PostPosted: Thu Aug 25, 2005 11:32 am    Post subject:
Reply with quote

1.hope this helps

Code:
//STEP1    EXEC  PGM=ICETOOL                           
//*                                                   
//TOOLMSG      DD  SYSOUT=*                           
//*                                                   
//DFSMSG       DD  SYSOUT=*                           
//*                                                   
//SORTIN       DD DSN=ds1   
//SORT1        DD DSN=Ds1             
//SORT2        DD DSN=Ds2
//SORT3        DD DSN=Ds3
//TOOLIN       DD  * *** CONSTANT CONTROL CARDS ***   
COPY FROM(SORTIN) USING(CTL1)                         
//CTL1CNTL     DD  * *** CONSTANT CONTROL CARDS ***   
//CTL1CNTL     DD  * *** CONS
 OUTFIL FNAMES=SORT1,       
 OUTREC=(1:1,20)      if you have condition then issue it inside outrec...     
 OUTFIL FNAMES=SORT2,       
 OUTREC=(1:1,20)           
 OUTFIL FNAMES=SORT3,       
 OUTREC=(1:1,20)           
/*                           
//                           
/*                                                 
//
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 436
Location: chennai, India

PostPosted: Thu Aug 25, 2005 11:37 am    Post subject:
Reply with quote

2.
http://ibmmainframes.com/viewtopic.php?t=2013&highlight=real+tsq


All were already answered.Plz do a simple search using SEARCH option in the header of the forum page.
Back to top
View user's profile Send private message
maggiebms

New User


Joined: 23 May 2005
Posts: 16

PostPosted: Fri Sep 02, 2005 11:13 am    Post subject: Re: Mainframe Interview Questions
Reply with quote

Hi,

The following are the answers for ur questions. If any corrections, plz correct me immediately.


1.
//jobcard
//step1 exec pgm=sort
//dd1 dd dsn=inputfile,disp=shr
//f1 dd dsn=outputfile1,
disp=(new,catlg,delete),space,dcb parameters...
//f2 dd dsn=outputfile2,
disp=(new,catlg,delete),space,dcb parameters...
//f3 dd dsn=outputfile3,
disp=(new,catlg,delete),space,dcb parameters...

//sysin dd *
OUTFIL FNAMES =(F1,F2,F3),SPLIT
/*
//

3.
//jobcard
//step1 exec catalog proc
//catstepname.ddname dd dsn=newnamedatasetname

//step2 .............
//...............

4.
i) Using cursor
ii) Usinf Singleton select

With thanks and regards,
MaggieBMS
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SNMP trap from Mainframe bipinpeter Compuware & Other Tools 6 Wed Apr 26, 2017 3:05 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Opening in Allianz India- T... Rajesh Gopinathan Mainframe Jobs 0 Wed Apr 19, 2017 11:33 am
No new posts The Last Two Question For You To Ask ... CaptBill Mainframe Interview Questions 0 Fri Apr 14, 2017 5:42 am
No new posts FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 7 Thu Mar 23, 2017 5:12 am
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us