Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Remote access permit to FTP a region

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
Author Message
anu_kannu

New User


Joined: 20 Sep 2005
Posts: 6

PostPosted: Mon Jun 19, 2006 11:02 am    Post subject: Remote access permit to FTP a region
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
References
khamarutheen

Senior Member


Joined: 23 Aug 2005
Posts: 678
Location: chennai

PostPosted: Mon Jun 19, 2006 1:38 pm    Post subject: FTP access
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:

http://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

Active User


Joined: 29 Apr 2006
Posts: 81
Location: Gurgaon

PostPosted: Mon Jun 19, 2006 1:47 pm    Post subject:
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    Post subject:
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: 102
Location: Manchester

PostPosted: Mon Jun 19, 2006 2:21 pm    Post subject:
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1