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
 

 

How to receive a Outputfile from JCL?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to receive a Outputfile from JCL?
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ADSO Store Procedure to receive mutip... yogi.47eie IDMS/ADSO 2 Fri Aug 21, 2015 7:14 pm
No new posts TSO RECEIVE - Get All Datasets/Messag... mrgnndhmk TSO/ISPF 4 Sat Mar 15, 2014 11:21 am
No new posts DID ANYONE RECEIVE THE OFFER LETTER F... anupam das Mainframe Jobs 0 Thu Feb 13, 2014 12:55 pm
No new posts Date-TimeStamp in Outputfile techslam DFSORT/ICETOOL 8 Mon Jul 09, 2012 8:54 pm
No new posts why CICS COMMAND "RECEIVE" ... harish5002 CICS 9 Thu Feb 23, 2012 12:24 pm


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