Question

30
Views
Close popover
Tarun Reddy Bolla (TarunB68)
Bank of America

Bank of America
US
TarunB68 Member since 2017 3 posts
Bank of America
Posted: September 1, 2020
Last activity: September 1, 2020

Bad reply after attempting file transfer - FTPS

Created a FTP Server rule. Protocol is FTP Secure (FTPS) Test Connectivity is good.

Called this using Connect-FTP method and seeing below error in trace

Step Status Info 
 Bad reply after attempting file transfer 

 Checked logs and found below 

Caused by: com.pega.pegarules.integration.engine.external.client.ftp.PegaFTPClient$FTPBadReplyException: 501 Invalid data set name "PRWTCCU.UPLD.CCU180XO.FASTERMI(+1)".  Use MVS Dsname conventions. 

at com.pega.pegarules.integration.engine.internal.client.ftp.CommonsFTPClient.afterOperation(CommonsFTPClient.java:449) ~[printegrint.jar:?] 
	at com.pega.pegarules.integration.engine.internal.client.ftp.CommonsFTPClient.putFile(CommonsFTPClient.java:336) ~[printegrint.jar:?] 
	at com.pega.pegarules.integration.engine.internal.connect.ftp.FTPConnectorImpl.invoke(FTPConnectorImpl.java:551) ~[printegrint.jar:?] 
	at com.pega.pegarules.integration.engine.internal.util.PRServiceUtils.invokeFTPConnector(PRServiceUtils.java:3339) ~[printegrint.jar:?] 
	at com.pegarules.generated.activity.sh_action_testactivity_58b7d0a12ed6baf3642949de9bd8767e.step2_circum0(sh_action_testactivity_58b7d0a12ed6baf3642949de9bd8767e.java:268) ~[?:?] 
	at com.pegarules.generated.activity.sh_action_testactivity_58b7d0a12ed6baf3642949de9bd8767e.perform(sh_action_testactivity_58b7d0a12ed6baf3642949de9bd8767e.java:94) ~[?:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2793) ~[prprivate-session.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doAction(Executable.java:2181) ~[prprivate-session.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doAction(Executable.java:2164) ~[prprivate-session.jar:?] 
	at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_025cb29e81d295d991d37ad8d1e40455.step2_circum0(ra_action_pyrunrecordexecute_025cb29e81d295d991d37ad8d1e40455.java:280) ~[?:?] 
	at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_025cb29e81d295d991d37ad8d1e40455.perform(ra_action_pyrunrecordexecute_025cb29e81d295d991d37ad8d1e40455.java:94) ~[?:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2793) ~[prprivate-session.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:11359) ~[prprivate-session.jar:?] 
	at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_46ae077cc50244070fb53e2948cb85e1.step11_circum0(ra_action_pzrunrecordexecute_46ae077cc50244070fb53e2948cb85e1.java:1040) ~[?:?] 
	at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_46ae077cc50244070fb53e2948cb85e1.perform(ra_action_pzrunrecordexecute_46ae077cc50244070fb53e2948cb85e1.java:252) ~[?:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2793) ~[prprivate-session.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:653) ~[prprivate-session.jar:?] 
	... 61 more

 

Name of the file to be transferred to mainframe is correct. 

 

 

Has anyone face a similar issue or provide inputs for this implementation.

Pega Platform 8.4.1 Pega Platform Low-Code App Development Financial Services Senior System Architect