Leah Dela Cruz
New User
Joined: 27 May 2008 Posts: 13 Location: Philippines
|
|
|
|
Hello.
I'm trying to transfer an encrypted MVS dataset by copying it on OMVS and send it to remote server using SFTP.
I use the below code to copy the MVS dataset on OMVS.
Code: |
//COPYDATA EXEC PGM=IKJEFT01
//INMVS DD DISP=SHR,DSN=&FDATA
//OUTHFS DD FILEDATA=BINARY,
// PATHOPTS=(OWRONLY,OCREAT),
// PATHMODE=(SIRUSR,SIWUSR,SIRGRP,SIWGRP,SIROTH,SIWOTH),
// PATH='&FPATH'
//SYSTSIN DD *
OCOPY IND(INMVS) OUTDD(OUTHFS) BINARY
/*
//SYSTSPRT DD SYSOUT=*
|
Is there a way to retain the newlines that are in the encrypted dataset? When it is copied on OMVS, the newlines are replaced with trailing blanks which causes an error on the remote server side when they try to process the file.
thanks in advance. |
|