Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

using ksds vsam file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
rashmi.ranjan75

New User


Joined: 20 Feb 2006
Posts: 34

PostPosted: Wed Apr 12, 2006 5:05 pm    Post subject: using ksds vsam file
Reply with quote

Hi,

I want to use same vsam ksds file for batch as well as cics processes. This file will actaully keep a seq no which will be updated by every process. So we need to maintain the data integrity also.

could you please help me to implement this logic.

Regards
Rashmi
Back to top
View user's profile Send private message

martin9

Active User


Joined: 01 Mar 2006
Posts: 287
Location: Basel, Switzerland

PostPosted: Wed Apr 12, 2006 5:10 pm    Post subject:
Reply with quote

hy rashmi.ranjan75,

as long your vsam ksds is open in cics,
you cannot access it at the same time in batch.
stop online first, or close the file in cics...
i supposed you have a fct entry defined for this file...

martin9
Back to top
View user's profile Send private message
sunish_sr

New User


Joined: 02 Jan 2006
Posts: 9
Location: Chennai

PostPosted: Wed Apr 12, 2006 5:30 pm    Post subject: Using ksds vsam file
Reply with quote

HI,
It is possible to use a KSDS for both Batch and Online.But KSDS file cannot be accessed in Batch when the file is opened in CICS region.So make sure that the file is closed in CICS region before you update the same file using Batch process.

Thanks & Regards
Sunish S
Back to top
View user's profile Send private message
killms

New User


Joined: 17 Sep 2003
Posts: 16

PostPosted: Mon Apr 17, 2006 12:38 pm    Post subject: other way
Reply with quote

try coding your batch program as a cics program. IE. Try using call a program that is a cics program in which you can access the files.
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us