IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FTP a text file from a server to mainframe.


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Jayalakshmi

New User


Joined: 02 Sep 2005
Posts: 26
Location: Hyderabad

PostPosted: Thu Dec 15, 2005 1:14 pm
Reply with quote

Hi all,

There is a problem while a text file is FTP ed from unix server to Mainframes.
It says "SVC99 Return code=4 S99INFO=0 S99ERROR=38656 HEX=9700 S99ERSN code X'000003E9').
Unable to create data set xxxx.samf for STOR command."

This problem is faced for a mainframe user ID given which is a newly created user id.

When using an already existing mainframe user id AAA then the dataset is succesfully created but the name of it is something like this:
AAA.xxxx.samf whereas, the requirment is only to create xxxx.samf

Is somebody there to help on this?

Regards,
Jaya.
Back to top
View user's profile Send private message
Paddy

New User


Joined: 12 Sep 2005
Posts: 46
Location: Paris France

PostPosted: Thu Dec 15, 2005 1:54 pm
Reply with quote

Hi Jaya,

For the first user check authorizations attached to userid. For AAA userid check that the userid is declared with NOPREF. If it's not case under command line pass the command TSO PROF NOPREF after it you will can create whatever pds without userid on first qualifer.


I hope in this help.

Regards

Paddy icon_smile.gif
Back to top
View user's profile Send private message
Jayalakshmi

New User


Joined: 02 Sep 2005
Posts: 26
Location: Hyderabad

PostPosted: Thu Dec 15, 2005 2:59 pm
Reply with quote

Hi Paddy,

Could u please tell me how to go about checking this 'NOPREF' for the userid. I have no idea. Need some help in doing this.

Regards,
Jaya.
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Thu Dec 15, 2005 3:04 pm
Reply with quote

Hi Jaya,

U forward this problem with ur sys admin.. i think so the authorization may be the major problem with ur query.. check out with that and if the sys admin corrects it then inform us what the privilage is added to that..
Back to top
View user's profile Send private message
mak_tcs

New User


Joined: 23 Nov 2005
Posts: 69
Location: Minneapolis, MN USA

PostPosted: Thu Dec 15, 2005 6:36 pm
Reply with quote

Hi Jaya,

How do u specify your dataset while doing FTP?

Normally if U specify a dataset like data.set then userid.data.set will be created. U can also specify like 'userid.data.set' .

Pardon If I could not answer your query!

Thanks,
Mani
Back to top
View user's profile Send private message
Jayalakshmi

New User


Joined: 02 Sep 2005
Posts: 26
Location: Hyderabad

PostPosted: Fri Dec 16, 2005 4:14 pm
Reply with quote

Hi all,

The problem is solved. Thanks for all ur suggestions.
The solution was:
When we use FTP command
put a1.txt "aaa.bbb.ccc" using userid - user1
then the dataset created in mainframes is like this: 'user1.aaa.bbb.ccc'

But when u use single quotes,
put a1.txt 'aaa.bbb.ccc' using userid - user1
then the dataset created is: 'aaa.bbb.ccc'

Can anybody tell why is this so???

And the the other problem with respect to userid was due to authorisation problem.

Thanks,
Jaya.
Back to top
View user's profile Send private message
Paddy

New User


Joined: 12 Sep 2005
Posts: 46
Location: Paris France

PostPosted: Sat Dec 17, 2005 2:41 pm
Reply with quote

Hi Jaya,

When you code dataset name with "" the system translate this like a literal characters and applies the SMS law : USERID dataset name. If you code dataset name between '' you force the system don't applies the sms law and coded the dataset name like you wrote.


I hope in this help.

Regards
PADDY icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Unable to interpret a hex value to De... COBOL Programming 7
No new posts Copy only TEXT or String from a record SYNCSORT 4
No new posts how to eliminate null indicator value... DB2 7
No new posts Email attachment from mainframe is empty PC Guides & IT News 9
No new posts Format Binary file to EBCDIC JCL & VSAM 4
Search our Forums:

Back to Top