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
 

 

TSO RECEIVE issue

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
rammraju

New User


Joined: 05 Mar 2005
Posts: 65
Location: Hyderabad

PostPosted: Wed May 14, 2008 7:06 am    Post subject: TSO RECEIVE issue
Reply with quote

Hi,
I am trying to send a file from a UNIX server to my mainframe. I am doing a FTP connecting to my mainframe and I am able to send the file. Now on the mainframe side I do a TSO RECEIVE INDATASET and i dont give the dataset name a file is automatically created prefixing my userid with LRECL=1024 and RECFM=VBA.

What i need is to copy the file to a LRECL=250, RECFM=VBM file. I created such file and when I do the

Code:
TSO RECEIVE INDATASET('TEST.ABC.XYZ')


I am getting the below error

Code:
INMR130I RECEIVE command terminated.  Input dataset unusable +
INMR139I Input file is empty
***


Can someone please let me know if LRECL=1024 and RECFM=VBA is any standard? if so is there any way to get the file into my 'TEST.ABC.XYZ' which is LRECL=250 and RECFM=VBM

Thanks in advance
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed May 14, 2008 7:37 am    Post subject:
Reply with quote

Hello,

What kind of session is transferring the file? An ftp client on the unix systgem?

Does the mainframe run an ftp service?

If it does, you can pre-allocate the file with the dcb attributes you want and then send it from the unix system.

I've done many, many ftp transfers from Win-based or unix systems to the mainframe and have never tried to use TSO RECEIVE.
Back to top
View user's profile Send private message
rammraju

New User


Joined: 05 Mar 2005
Posts: 65
Location: Hyderabad

PostPosted: Wed May 14, 2008 9:45 am    Post subject: Reply to: TSO RECEIVE issue
Reply with quote

I connect to mainframe with the command

Code:
FTP mainframe ip address


My mainframe runs a FTP service

I tried pre allocating the file with the required attributes and when I do a TSO RECEIVE the error msg as i stated earlier come up
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Wed May 14, 2008 10:33 am    Post subject:
Reply with quote

Hi,
my understanding of the RECEIVE statement is that the file was created by a TRANSMIT statement. The input file is sequential with an LRECL of 80.

Gerry
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed May 14, 2008 10:52 am    Post subject:
Reply with quote

Hello,

As i mentioned before - i have never used TSO RECEIVE when using ftp to transfer a file to the mainframe. You should not be using it either.

If your mainframe is running an ftp service, that is all that is needed.

When you connect to the mainframe via the unix ftp client, you then "put" the file to the mainframe. When the transfer successfully completes, the file is on the mianframe. There is nothing for the TSO RECEIVE to do.

Also, as i mentioned earlier - try pre-allocating the file on the mainframe and then connect and upload the file. When the upload completes, log into tso, go to 3.4 and list this dataset name.

If there are questions/problems doing this, post them here.
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 Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts DFHRESPONSE returns issue divated CICS 3 Wed Nov 02, 2016 6:32 pm
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm


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