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

Remote access permit to FTP a region


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
anu_kannu

New User


Joined: 20 Sep 2005
Posts: 6

PostPosted: Mon Jun 19, 2006 11:02 am
Reply with quote

We need to FTP some file from one region REGION A to another region REGION B in MVS. We could do that only through personal ID and password on REGION B. I was told that the user ID on REGION A should be defined in REGION B. I absolutely have no idea about it. Could any one please help?
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Mon Jun 19, 2006 1:38 pm
Reply with quote

Anu,

Can you please explain in detail such that your problem may be solved quickly. Since you got the User ID and pswd there should not be any problem. If you need to create a JCL to access FTP means plz have a look to this post:

ibmmainframes.com/viewtopic.php?t=6874&highlight=ftp

Else search for more post. i will get back to you if you still face the problem.
Back to top
View user's profile Send private message
graswant

New User


Joined: 29 Apr 2006
Posts: 93
Location: Singapore

PostPosted: Mon Jun 19, 2006 1:47 pm
Reply with quote

I think you need to put User ID and Password of region B Id and transfer the File.... So you need an ID which have access to the data you want to transfer in region B.

Correct me if I am wrong.
Back to top
View user's profile Send private message
anu_kannu

New User


Joined: 20 Sep 2005
Posts: 6

PostPosted: Mon Jun 19, 2006 2:17 pm
Reply with quote

Think, I need to clarify myself to make the problem at my end clear.

For using //FTP EXEC PGM=DVGIFBI

To code RSECURP, we give the personal user ID and its password on the receiving region.
when will we code the parameters as
RSECURP=('*','*') ?

Pls help
Back to top
View user's profile Send private message
twissi

Active User


Joined: 01 Aug 2005
Posts: 105
Location: Somerset, NJ

PostPosted: Mon Jun 19, 2006 2:21 pm
Reply with quote

Anu,
In addition to (and in accordance with) what have been said by Kamarutheen & Graswant, you may find the details below very useful:

The piece of JCL will have to be run on the region where you've the files existing.

Code:
FTP      EXEC PGM=FTP,REGION=4096K,                   
            PARM='12.345.678.901 (EXIT',               
            COND=(4,LE,EXTRACT)                       
SYSTCPD  DD DISP=SHR,DSN=SYS1.TCPPARMS(TCPDATA)       
SYSFTPD  DD DISP=SHR,DSN=SYS1.TCPPARMS(FTPDATAP)
NETRC    DD DISP=SHR,DSN=SYS1.TCPIP.FTP.DATALIB(XXXXXXXX)
OUTPUT   DD SYSOUT=*                                   
SYSPRINT DD SYSOUT=*                                   
INPUT    DD DISP=SHR,DSN=OPCA.TCPIP.DATALIB(XXXXXXXY)


SYS1.TCPIP.FTP.DATALIB(XXXXXXXX) should contain the user id, password and destination details.
You won't have access to that PDS (because it contains other user id & password details), you need to request IBM for that.

OPCA.TCPIP.DATALIB(XXXXXXXY) should contain the details of which file you would want to be FTPd to and other relevant details. See the details below:

Code:
EBCDIC                                                                 
MODE B                                                                 
PUT 'SOURCE.FILE.NAME'    'TARGET.FILE.NAME'
SITE PRIMARY=20 SECONDARY=10               
QUIT


Hope this helps you.

Cheers, Twissi.
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts How to access web services/website? Mainframe Interview Questions 4
No new posts Remote Unload of CLOB Columns DB2 6
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts access the last host command CLIST & REXX 2
Search our Forums:

Back to Top