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
 

 

FTP a text file from a server to mainframe.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: FTP a text file from a server to mainframe.
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    Post subject:
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    Post subject: Re: FTP a text file from a server to mainframe.
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: 680
Location: NJ

PostPosted: Thu Dec 15, 2005 3:04 pm    Post subject: rights
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    Post subject:
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    Post subject: Re: FTP a text file from a server to mainframe.
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    Post subject: Re: FTP a text file from a server to mainframe.
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    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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
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 Liberty Angel Server using RACF Keyring martin9 CICS 0 Tue May 02, 2017 5:49 pm


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