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

interview queries


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sivatechdrive

Active User


Joined: 17 Oct 2004
Posts: 191
Location: hyderabad

PostPosted: Wed Dec 15, 2004 7:50 pm
Reply with quote

1. can we use of sequential files in CICS,if so how to define in FCT

2. EQivalent XCTL,LINK in cobol

3. in a CICS-DB2 program which is master which is slave


Thanks
Siva
Back to top
View user's profile Send private message
jz1b0c

Active User


Joined: 25 Jan 2004
Posts: 160
Location: Toronto, Canada

PostPosted: Wed Dec 15, 2004 11:25 pm
Reply with quote

1. can we use of sequential files in CICS,if so how to define in FCT

you can use sequential files, but they have to be ESDS.

2. EQivalent XCTL,LINK in cobol
there is nothing equivalent to XCTL in cobol
Link is equivalent to CALL
Back to top
View user's profile Send private message
ovreddy

Active User


Joined: 06 Dec 2004
Posts: 211
Location: Keane Inc., Minneapolis USA.

PostPosted: Thu Dec 16, 2004 1:14 pm
Reply with quote

I agree with first 2 answers of above post. The 3 rd answer is....

The Relation ship between CICS and DB2 depends on implementation. Generally CICS initiates the process and DB2 serves so that we can say CICS master and DB2 slave. But it purely depends on implementation method.

Bye,
Reddy.
Back to top
View user's profile Send private message
himanshu

New User


Joined: 21 Feb 2005
Posts: 2
Location: Mumbai/Pune

PostPosted: Mon Feb 21, 2005 4:20 pm
Reply with quote

Hi,
Please correct me if wrong. icon_wink.gif
What I think is all the CICS commands in the CICS-COBOL program are converted in to equivalent COBOL Calls by the CICS TRansalator.
Is this right?
and yes, we can not use flat files in CICS. We can use any type of SAM files, DB2 and ADABAS.

Cheers
icon_biggrin.gif -=H=-
Back to top
View user's profile Send private message
sekraj

New User


Joined: 23 Feb 2005
Posts: 1

PostPosted: Wed Feb 23, 2005 7:56 pm
Reply with quote

pls, any one send me we can use subroutines in db2,if yes how can and what is the syntax.
Back to top
View user's profile Send private message
mainframe_vijay

New User


Joined: 11 Apr 2005
Posts: 8
Location: chennai

PostPosted: Tue Apr 26, 2005 5:59 pm
Reply with quote

hi,

The equivalent statement for xctl in cobol is CHAIN. But it is only in cobol 74 only.

-vijay
Back to top
View user's profile Send private message
mainframe_vijay

New User


Joined: 11 Apr 2005
Posts: 8
Location: chennai

PostPosted: Tue Apr 26, 2005 6:03 pm
Reply with quote

hi,
Cics supports only with VSAM datasets. if you wants to work with seq. file, you should use Entry Sequenced DataSet(ESDS).

icon_razz.gif
-vijay
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Wed May 04, 2005 6:48 am
Reply with quote

You CAN use SAM files in CICS but it's not recommended. The vehicle for this is the extra-partition TDQ. Many yrs ago these Qs were used to write transaction logs to tape because disk space was VERY expensive.

The problem with its use is that the entire CICS region that issued the I/O goes into a wait state when the system waits for the I/O to complete. Not a good way to win friends and influence people, especially ops people.
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 Comp interview questions Mainframe Interview Questions 5
No new posts Index related queries DB2 5
No new posts Interview Questions on Cobol DB2 program Mainframe Interview Questions 5
No new posts The Last Two Question For You To Ask ... Mainframe Interview Questions 0
No new posts Need help with below queries DB2 3
Search our Forums:

Back to Top