I need to process a JOB in mainframe FROM CONTROL_M with FTP sending multiple files from HOST to a user server. The problem is that I need a name different that the original coming from host, even without ' .
The execution ( IT'S ONLY A PROOF JCL ):
+++++++++++++++
//PTCFTPES JOB (D,ING,4788),MSGCLASS=X,CLASS=A,PRTY=9,
// REGION=0M
//*
//* %%SET %%AAMM = %%SUBSTR %%$ODATE 3 4
//**********************************************************
//*STEP50 CARGA DE TABLA DE RECLAMOS WORKFLOW ' RLDTPER'
//**********************************************************
//PASO090 EXEC PGM=FTP,PARM='130.120.1.57 (EXIT=16',COND=(4
//OUTPUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//SYSIN DD DSN=CLBT.ALTAMIRA.PASSWORD(FTPRRHH),DISP=SHR
// DD *
LOCSITE RECFM=FB LRECL=140
MPUT 'CLBD.AB.FRM06.BUSCA*' BUSCA*.DAT
//
+++++++++++++++
THEN NAMES IN OUTPUT FILES IN SERVER I NEED ARE:
BUSCAJ.DAT BUSCAK.DAT BUSCAL.DAT ..ETC..ETC
BUT
The resultant phisical names are:
'CLBD.AB.FRM06.BUSCAJ'
'CLBD.AB.FRM06.BUSCAK'
'CLBD.AB.FRM06.BUSCAL'
and so on including '
Thanks for your help to everybody.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
Discuss This Question: