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 

dataset transfer from mainframe to pc

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
computer
Beginner


Joined: 12 Jun 2007
Posts: 64
Topics: 17
Location: Hyderabad

PostPosted: Mon Jun 25, 2007 9:22 am    Post subject: dataset transfer from mainframe to pc Reply with quote

I browsed the forum site any the Mcmillan_The_Moron site, I got a code which I tried for but I am getting an error.Tried a lot to resolve but didnt get.Can anybody help me.

Code:

//JOBOJXXX JOB (APPLICATIONS),CMP-LNK.YOU,
//         CLASS=1,                       
//         MSGCLASS=B,                     
//         MSGLEVEL=(1,1),                 
//         NOTIFY=&SYSUID                 
//FTP00001 EXEC PGM=IKJEFT01,DYNAMNBR=50   
//OUT      DD SYSOUT=*                     
//AMSDUMP  DD SYSOUT=*                     
//SYSTSPRT DD SYSOUT=*                     
//SYSIN    DD DUMMY                       
//SYSPRINT DD DUMMY                       
//OUTPUT   DD SYSOUT=*                     
//SYSTSIN  DD *                           
FTP (EXIT                                 
IP ADDRESS                                 
USER-ID                                   
PASSWORD                                   
PWD                                         
ASCII                                       
CD D:\DATA\195366935\MY DOCUMENTS\TEST.TXT 
PWD                                         
PUT 'My.dataset.ps' test.txt                   
QUIT                                       
/*           


ERROR CODE:
Code:

SYSTSPRT

READY                                                 
FTP (EXIT                                             
FTP      ENDED DUE TO ERROR+                         
USER ABEND CODE 4093  REASON CODE 00000090           



SYSOUT

CEE5101C During initialization, the callable service BPX1MSS failed. The system
         reason code was 0B0C00FB . The application will be terminated.       


Due to some constraint I havenot mentioned my userid,password,ip address,dataset,session-id (security reason).Please cope with it.

Any help is highly appreciated
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: Mon Jun 25, 2007 9:30 am    Post subject: Reply with quote

computer,

1. Please follow the board rules.
2. Do Not post the same question in multiple forums
3. If you got the solution from another board please refer to the site you got the solution.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
computer
Beginner


Joined: 12 Jun 2007
Posts: 64
Topics: 17
Location: Hyderabad

PostPosted: Mon Jun 25, 2007 9:41 am    Post subject: Reply with quote

Sorry Kolusu for what I have done

I havent yet got my solution.PLease Help.I am little bit in a trouble.
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Mon Jun 25, 2007 9:51 am    Post subject: Reply with quote

I have no idea, but this will not work on a pc, don't know how you expect it to work form the mainframe:

Quote:

CD D:\DATA\195366935\MY DOCUMENTS\TEST.TXT


_________________
Dick Brenholtz
American living in Varel, Germany
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: Mon Jun 25, 2007 9:58 am    Post subject: Reply with quote

Quote:

CEE5101C During initialization, the callable service BPX1MSS failed. The
system return code was return_code; the reason code was
reason_code. The application will be terminated.

Explanation: The callable service BPX1MSS failed with return code
return_code and reason code reason_code because the application was not
authorized to use UNIX System Services.

Programmer Response: Contact your system administrator to have the id
registered with UNIX System Services to use these services.
See z/OS UNIX
System Services Programming: Assembler Callable Services Reference for the
appropriate action to take for this return code and reason code. Consult
with your UNIX System Services support personnel if necessary.

System Action: The application is terminated.

Symbolic Feedback Code: CEE4VD

_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Wed Jun 27, 2007 11:38 am    Post subject: Reply with quote

You want to transfer a file in mainframe to PC, then why don't you go for FTP. I use simple DOS commands to get it done.

go to cmd prompt: type FTP
>open
give ip address
>userid
>passw
>get 'filename'
now you should see it in your PC in the folder you specified
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 -> Application Programming 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