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
 

 

how to move view the remote file in our same region

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
mailtoashok

New User


Joined: 08 Feb 2016
Posts: 1
Location: india

PostPosted: Fri Feb 12, 2016 1:07 pm    Post subject: how to move view the remote file in our same region
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

Senior Member


Joined: 21 Sep 2010
Posts: 1609
Location: NY,USA

PostPosted: Fri Feb 12, 2016 9:55 pm    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Fri Feb 12, 2016 10:19 pm    Post subject: Reply to: how to move view the remote file in our same region
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).

HTH....
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
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
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


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