is there any jcl, I can put into the FTP step to convert the dataset while transfering to the PC?
i work on IBM ZOS, Complete
Here is the JCL for my usual FTP Host to PC:
//FTP EXEC PGM=FTP,PARM='(EXIT'
//SYSTCPD DD DSN=SYS1.TCPPARMS(TCPDATA),DISP=SHR
//SYSFTPD DD *
TRAILINGBLANKS TRUE
SBDATACONN TCPIP.STANDARD.GERSOND
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//INPUT DD DSN=Library(Member with server login data),DISP=SHR
// DD *
ascii
CD ..
CD /Directory/folder
PUT 'Dataset01' Textfile01.TXT
//SYSTCPD DD DSN=SYS1.TCPPARMS(TCPDATA),DISP=SHR
//SYSFTPD DD *
TRAILINGBLANKS TRUE
SBDATACONN TCPIP.STANDARD.GERSOND
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//INPUT DD DSN=Library(Member with server login data),DISP=SHR
// DD *
ascii
CD ..
CD /Directory/folder
PUT 'Dataset01' Textfile01.TXT
I found something like:
quote site en=mbcs mb=(utf-8,utf-8)
quote site unicodefilesystembom=never
quote site unicodefilesystembom=never
but dont know if this works for what I want to do, and dont know where to place these two statements.
can anyone help?
[coded for you]