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

How to receive a Outputfile from JCL?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mikaron

New User


Joined: 13 Jun 2005
Posts: 2
Location: Switzerland

PostPosted: Mon Jun 13, 2005 2:37 pm
Reply with quote

huhu ^-^

i have to following problem..

i use the =6 to receive an inputfile into textfile and print it o.o"

how to copy something from JCL? i mean i hvae SYSOUT=* then i found it in m.5
how can i load it to my pc?

damn i hate it to be a nub T_T

please help me ^.^
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Mon Jun 13, 2005 3:02 pm
Reply with quote

You can put your sysout=* in a file as you can see below:
Code:
//SYSOUT DD DISP=(,CATLG),LRECL=133,RECFM=FB,
//          SPACE=(.....),UNIT=SYSDA,
//          DSN=MYPSFILE

then you can use a simple step of FTP putting your file to your PC(but you need the FTP server active in it i.e. "pwftpd") so you will append to your job a step like this:
Code:

//STEPFTP01 EXEC PGM=FTP,REGION=2048K,
//         PARM='your_IP      22 (EXIT ' 
//SYSFPTD  DD DSN=SYS1.TCPPARMS(FTPDATA),DISP=SHR
//SYSTCPD  DD DSN=SYS1.TCPPARMS(FTPDATA),DISP=SHR
//SYSPRINT DD SYSOUT=B                           
//OUTPUT   DD SYSOUT=B                           
//INPUT    DD *                                   
Your_userid   Your_Pwd
put   'MYPSFILE' test.txt (replace                   
LS                                               
QUIT                                             
/*

Here I attach the program that does not need install(if I'm able to do it).
You must open it and create an account with user and password and define as defalut the port number (in jcl is 22) and the default folder.
This method is useful both for send and receive.
Back to top
View user's profile Send private message
Mikaron

New User


Joined: 13 Jun 2005
Posts: 2
Location: Switzerland

PostPosted: Mon Jun 13, 2005 3:05 pm
Reply with quote

thanks for help i will try it ^_^
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Mon Jun 13, 2005 3:29 pm
Reply with quote

Ops. The name of the stepname must be 8 byte...sorry, delete one!
Thanks
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts interactive cics program using CICS s... CICS 5
No new posts FSET not working on my receive CICS 3
No new posts Need help with 002-030 ABEND in TSO R... TSO/ISPF 1
No new posts Receive a file using PCOMM macro IBM Tools 0
No new posts ADSO Store Procedure to receive mutip... IDMS/ADSO 2
Search our Forums:

Back to Top