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
 

 

Remote access permit to FTP a region

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    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

khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

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

New User


Joined: 29 Apr 2006
Posts: 93
Location: Singapore

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: 105
Location: Somerset, NJ

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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts IMS DC screen Access sivasaras IMS DB/DC 3 Fri Nov 18, 2016 6:38 pm
No new posts Access SQLCA fields inside a stored p... gangapd DB2 4 Thu Oct 27, 2016 10:20 am
No new posts RACF profile access vasanthz All Other Mainframe Topics 11 Fri Sep 23, 2016 5:51 am
No new posts How to perform Digest Access Authenti... vasanthz All Other Mainframe Topics 0 Tue Mar 15, 2016 4:47 pm


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