use of ftp for multiple files

10 pts.
Tags:
File transfers
FTP
JCL
Mainframe
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.

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following