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

how to move view the remote file in our same region

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

New User

Joined: 08 Feb 2016
Posts: 1
Location: india

PostPosted: Fri Feb 12, 2016 1:07 pm
Reply with quote

My doubt SYTA REGION files move to TSXA Region after that if i use like cemt i file(xxxx) if got both local and remote file here i have to open remote file in the same region how? pls let me know
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator

Joined: 21 Sep 2010
Posts: 2591
Location: NYC,USA

PostPosted: Fri Feb 12, 2016 9:55 pm
Reply with quote

You may wants to suffixed that with REMOTE.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator

Joined: 14 Jan 2008
Posts: 2504
Location: Atlanta, Georgia, USA

PostPosted: Fri Feb 12, 2016 10:19 pm
Reply with quote

If you don't have any 3rd-party packages (and I'm not advocating the following), you could issue a LINK API to IBM Program "DFHEMTP', passing a commarea, such as "SET FIL(XXXXXXXX) OPE ENA". The problem using this program is that although it was introduced some 30+ years ago (and it still works), it won't give you a return-code, indicating whether the SET was successful or not. If you do use this, you will need the SYSID of the target region where the file lives. This can be obtained via an INQUIRE FILE REMOTESYSTEM API. So, for REMOTE files, the only way to determine whether the "OPE ENA" was successful, is to issue a file API afterwards and keep your fingers crossed.

However, IBM has said for years that they were going to discontinue sending this OCO in future releases as well as its cousin "DFHEMTA" (which you can't use for REMOTE FILES), so keep this in mind.

Many in the CICS community have been asking IBM to enhance the "SET FILE" API to include access to REMOTE FILES, but nothing yet.

You can experiment with DFHEMTP using CECI (if you have the access).

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 -> CICS


Similar Topics
Topic Forum Replies
No new posts Starting a remote transaction using a... CICS 0
This topic is locked: you cannot edit posts or make replies. Writng matched records into output fi... DFSORT/ICETOOL 11
No new posts Compare the file record count percent... DFSORT/ICETOOL 4
No new posts compare two file to find position/dat... SYNCSORT 2
No new posts Converting a file from PD to display ... SYNCSORT 4
Search our Forums:

Back to Top