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 converting a mainframe file with ASA ... Lynne Schuler All Other Mainframe Topics 5 Wed Apr 04, 2018 9:44 am
No new posts Print call stack in Mainframe C DIPANKAR SAHA ABENDS & Debugging 2 Thu Mar 15, 2018 2:58 pm
No new posts A couple of Interview Questions on Co... viplavmodi36 Mainframe Interview Questions 5 Fri Feb 23, 2018 6:21 pm
No new posts Mainframe developer / Testers in Pune girish_kanswa Mainframe Jobs 0 Wed Feb 14, 2018 1:35 pm
No new posts How to change the logon screen info o... sakthikumarT TSO/ISPF 4 Fri Dec 29, 2017 6:44 pm

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