Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Mainframe scheduling tool ddhar Compuware & Other Tools 2 Wed Sep 27, 2017 12:48 am
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us