View previous topic :: View next topic
|
Author |
Message |
sivatechdrive
Active User
Joined: 17 Oct 2004 Posts: 191 Location: hyderabad
|
|
|
|
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 |
|
|
jz1b0c
Active User
Joined: 25 Jan 2004 Posts: 160 Location: Toronto, Canada
|
|
|
|
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 |
|
|
ovreddy
Active User
Joined: 06 Dec 2004 Posts: 211 Location: Keane Inc., Minneapolis USA.
|
|
|
|
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 |
|
|
himanshu
New User
Joined: 21 Feb 2005 Posts: 2 Location: Mumbai/Pune
|
|
|
|
Hi,
Please correct me if wrong.
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
-=H=- |
|
Back to top |
|
|
sekraj
New User
Joined: 23 Feb 2005 Posts: 1
|
|
|
|
pls, any one send me we can use subroutines in db2,if yes how can and what is the syntax. |
|
Back to top |
|
|
mainframe_vijay
New User
Joined: 11 Apr 2005 Posts: 8 Location: chennai
|
|
|
|
hi,
The equivalent statement for xctl in cobol is CHAIN. But it is only in cobol 74 only.
-vijay |
|
Back to top |
|
|
mainframe_vijay
New User
Joined: 11 Apr 2005 Posts: 8 Location: chennai
|
|
|
|
hi,
Cics supports only with VSAM datasets. if you wants to work with seq. file, you should use Entry Sequenced DataSet(ESDS).
-vijay |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
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 |
|
|
|