View previous topic :: View next topic
|
Author |
Message |
Mikaron
New User
Joined: 13 Jun 2005 Posts: 2 Location: Switzerland
|
|
|
|
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 |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
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 |
|
|
Mikaron
New User
Joined: 13 Jun 2005 Posts: 2 Location: Switzerland
|
|
|
|
thanks for help i will try it ^_^ |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
Ops. The name of the stepname must be 8 byte...sorry, delete one!
Thanks |
|
Back to top |
|
|
|