IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Mainframe Interview Questions


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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: 435
Location: chennai, India

PostPosted: Thu Aug 25, 2005 11:32 am
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: 435
Location: chennai, India

PostPosted: Thu Aug 25, 2005 11:37 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts Mainframe Programmer with CICS Skill... Mainframe Jobs 0
No new posts How to Reformat a file using File Man... All Other Mainframe Topics 14
No new posts NDM getting stuck - mainframe/JCL All Other Mainframe Topics 13
Search our Forums:

Back to Top