View previous topic :: View next topic
|
Author |
Message |
Jayalakshmi
New User
Joined: 02 Sep 2005 Posts: 26 Location: Hyderabad
|
|
|
|
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 |
|
|
Paddy
New User
Joined: 12 Sep 2005 Posts: 46 Location: Paris France
|
|
|
|
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 |
|
Back to top |
|
|
Jayalakshmi
New User
Joined: 02 Sep 2005 Posts: 26 Location: Hyderabad
|
|
|
|
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 |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
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 |
|
|
mak_tcs
New User
Joined: 23 Nov 2005 Posts: 69 Location: Minneapolis, MN USA
|
|
|
|
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 |
|
|
Jayalakshmi
New User
Joined: 02 Sep 2005 Posts: 26 Location: Hyderabad
|
|
|
|
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 |
|
|
Paddy
New User
Joined: 12 Sep 2005 Posts: 46 Location: Paris France
|
|
|
|
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 |
|
Back to top |
|
|
|