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 

TSO command TRANSMIT can not transmit empty file

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


Joined: 19 Jan 2008
Posts: 7
Topics: 2

PostPosted: Wed May 26, 2010 11:43 am    Post subject: TSO command TRANSMIT can not transmit empty file Reply with quote

I want to ask a question that if TSO command TRANSMIT can not transmit an empty dataset(PS) or not?
and if yes,how to transmit the empty file?
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Wed May 26, 2010 12:01 pm    Post subject: Reply with quote

What happens if you try it?

I can see why you might want to send an 'empty' file but it would be better if the file had headers and trailers with a detail record count of 0 so that the receiver knows that the empty file is valid.
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
wangxi875230
Beginner


Joined: 19 Jan 2008
Posts: 7
Topics: 2

PostPosted: Wed May 26, 2010 12:16 pm    Post subject: Reply with quote

now I can not acess MVS and I see this issue from a customer's reply,so I just ask for help...for the season why I have to send empty file - because it is generated automatically so...

help!!!
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: Wed May 26, 2010 12:17 pm    Post subject: Reply with quote

wangxi875230,

You canNOT send an empty file using TSO transmit command. You may try FTP

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
wangxi875230
Beginner


Joined: 19 Jan 2008
Posts: 7
Topics: 2

PostPosted: Wed May 26, 2010 12:26 pm    Post subject: Reply with quote

Hi Kolusu
thanks for advice,and the problem is that in different environments PTF utility may be different and in my application Shocked
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: Wed May 26, 2010 12:29 pm    Post subject: Reply with quote

wangxi875230,

May be you need to follow Nick's advice of sending the file with a header and trailer at the end which contains the number of records sent. This will help validating that every record is transferred correctly and the receiving system can drop these 2 records after validation.

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
wangxi875230
Beginner


Joined: 19 Jan 2008
Posts: 7
Topics: 2

PostPosted: Wed May 26, 2010 12:30 pm    Post subject: Reply with quote

wangxi875230 wrote:
Hi Kolusu
thanks for advice,and the problem is that in different environments PTF utility may be different and in my application Shocked


should be :
Hi Kolusu
thanks for your advice,and the problem is that in different environments PTF utility may be different and in my program TRANSMIT is contained in REXX program,so...
And if send a empty dataset the RC = 4 or other value for this command?
Back to top
View user's profile Send private message
wangxi875230
Beginner


Joined: 19 Jan 2008
Posts: 7
Topics: 2

PostPosted: Wed May 26, 2010 8:54 pm    Post subject: Reply with quote

I got the message when transmitting a null dateset:
TRANSMIT command terminated. Input dataset unusable +
Null sequential datasets cannot be transmitted
***
how to work out this problem and make the transmit successfully? Neutral
Back to top
View user's profile Send private message
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Thu May 27, 2010 1:14 pm    Post subject: Reply with quote

Quote:
You canNOT send an empty file using TSO transmit command.
This seems rather clear. . .

You need to change the process to something that does work.

Quote:
and in my program TRANSMIT is contained in REXX program,so...
Possibly, this is where to start.
_________________
All the best,

di
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