MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using Receive Command

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
juan00982
Beginner


Joined: 29 Jun 2004
Posts: 36
Topics: 13
Location: PR

PostPosted: Tue Sep 20, 2005 9:57 am    Post subject: Using Receive Command Reply with quote

Hi,

Our shop doesn't have NDM. I connect to a mainframe which is not connected to our mainframe in anyway. I usually download all the data file using file transfer to my local machine then upload it to my mainframe.

Now I'm having a problem downloading a load module. the library specs are as follow: Organization PO, Record Format U, record length 0, Block size 8000.

I've tried many ways of downloading this file from the other mainframe and uploading to ours. I first tried downloading the file as binary and uploading as binary, but the problem is that once I open the file on my mainframe it looks diffrent from the original file on the other mainframe.

After reading for a while I discovered a command XMIT, I finally made it work, I XMIT the PDF into a file which is now: Organization PS, record format FB, record length 80, blksize 3120. I downloaded this file and uploaded to my mainframe, but now I don't know how to make the receive command to work.

Any information will be greatly apreciated.

Thanks
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Sep 20, 2005 10:06 am    Post subject: Reply with quote

juan00982,


Did you try pre-allocating a dataset on the receiving side with the same attributes(RECFM=FB,LRECL=80,BLKSIZE=3120) ?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
juan00982
Beginner


Joined: 29 Jun 2004
Posts: 36
Topics: 13
Location: PR

PostPosted: Tue Sep 20, 2005 10:17 am    Post subject: Reply with quote

Hi kolosu,

I uplaoded the file to the mainframe with those specs, my problem was trying to use the receive command. and after searching I saw how I had to set up the receive.

receive inds('FILE')

restore

thanks for your help
Back to top
View user's profile Send private message Send e-mail
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Tue Sep 20, 2005 10:25 am    Post subject: Reply with quote

Hi,

Are there any manuals on SEND/RECEIVE command ? I am unable to connect to our mainframe server thro' FTP. It takes ages to transfer even a small file If I use the SEND/RECEIVE. And this holds up the mainframe emulator and I am unable to work till the transfer is complete.

Can anyone provide me the complete Syntax of SEND/RECEIVE commands. Are there any restrictions to invoke IND$FILE in batch.

Thanks,
Phantom
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Sep 20, 2005 10:37 am    Post subject: Reply with quote

Phantom,

Check these links.

Using File Transfer in RUMBA for the Mainframe

http://supportweb.netmanage.com/ts_rumba/solution/pdf/Mframe/3222.pdf

Improving Mainframe IND$FILE File Transfers

http://supportweb.netmanage.com/ts_rumba/solution/pdf/Mframe/3225.pdf


Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Tue Sep 20, 2005 10:59 am    Post subject: Reply with quote

Thanks a lot kolusu,

I am writing this from home. I just a had a very brief look at the documents that you provided.

The document says:
Code:

IND$FILE GET HostFileName (options


If I were to invoke this via batch, where do I specify the PCFile_Name ?. I don't know how these emulators map the PC_File_name (which we enter in the dialog box) to IND$FILE GET/PUT command.

PS: We are running on IBM Personal Communications (I was working with RUMBA in my previous shop). Anyway both tools does have IND$FILE.

Thanks for your support,

Regards,
Phantom
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Tue Sep 20, 2005 11:05 am    Post subject: Reply with quote

The last bit of info I saw, stated that IND$FILE must be initiated by the 3270 emulation client.

Why not use the ISPF File Transfer facility (option 3.7), which CAN be initiated by a batch job?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Sep 20, 2005 11:25 am    Post subject: Reply with quote

Phantom,

I haven't done batch file transfer. However here is some info from the documentation.

Batch File Transfers : If your version of RUMBA for the Mainframe has the menu option Transfer Batch you have the ability to transfer multiple files at once (batch file transfers). To do so, you add single file transfers into a list. These lists can be saved with the FTB extension. For more information about the Transfer Batch dialog parameters,
see the context-sensitive help and on-line documentation.

I do not have this option,so I cannot really test it.

Superk,

I tried to use option 3.7 and then open 2 , It came up with No connection

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Tue Sep 20, 2005 12:58 pm    Post subject: Reply with quote

Go through Option 1 first to download a copy of the ISPF Workstation client. Just follow the directions:

Quote:

In order to install the ISPF Client/Server Component
workstation code you will need to download (Binary) from the
MVS data set where the ISPF Client/Server Component install
executable resides to a directory on your workstation.
Complete the install by running the install program on your
workstation. The program is a self extracting executable and
will result in files being generated on your workstation.

Copy member . : ISPGUINX

From data set : 'ISP.SISPGUI'

To file . . . : ispfinst.exe


Once the agent is installed, start it, and then you should be able to establish the connection from ISPF to the client.
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Wed Sep 21, 2005 6:14 am    Post subject: Reply with quote

Kolusu Wrote:
Quote:

multiple files at once (batch file transfers)


Batch - I meant was JCL - Background transfer. I hope you are referring to multiple file transfers.

Also, we are working on IBM Personal Communications Client which has a different interface.

Yet to work on Superk's suggestion. I will get back to you soon.

Thanks all for the help.

Meantime, if anyone has any experience of transfering files via JCL (Remember, FTP is not working in our system), please let me know.

Regards,
Phantom
Back to top
View user's profile Send private message
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Wed Sep 21, 2005 6:29 am    Post subject: Reply with quote

Phantom,

For transferring reasonably small datasets between systems, I always use XMIT/RECEIVE.

The commands are documented here:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IKJ4C531/CCONTENTS?DT=20021022140245

but it's very easy to get lost in them.

I use a very simple form:

TSO XMIT ssssssss.uuuuuuuu DS(dataset name in standard TSO notation)

where ssssssss is the value in the ISPF variable ZSYSNODE in the receiving system
and uuuuuuuu is the receiving user ID.

To receive the dataset, I use:

TSO RECEIVE

then hit enter until the process is complete. This causes the receiving dataset name to be the same as the sending dataset name, except for the high level qualifier which is set to your TSO default. It is possible to change the dataset name on the fly by responding to the first question in the RECEIVE dialog, but I'll let you find that in the manual.

Hope this helps,

Merv
_________________
The day you stop learning the dinosaur becomes extinct
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Wed Sep 21, 2005 6:49 am    Post subject: Reply with quote

Mervyn,

Quote:

For transferring reasonably small datasets between systems


I would like to transfer Mainframe dataset to PC and vice-versa. I apologize if I was not clear on this. In many cases, we create a semi-colan delimited dataset which we download to PC and upload in Excel.

The usual transfer method we adopt is either FTP/IND$FILE. But in my new shop, I am unable to connect to my mainframe server via FTP (from DOS). And IND$FILE is holding up my TSO session. So I would like to know if there are other ways to transmit files (in background - JCL) to PC.

Thanks,
Phantom
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group