Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to check value when found %C

Sharon Wong
Ranch Hand
Posts: 35
IBM DB2 Java jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Team,

my servlet will be declared from FTP.ini.
this is sample file format from ini file

Client/%D[ yyyyMMdd]/_MY/_/%U/_/%C/_/%B/_/%E/%A[Z|Z|ARCHLIBNAME]| .csv

this is coding servlet:

the coding is fix coding.
if my ini file for %A function is like below:

Client/%D[ yyyyMMdd]/_MY/_/%U/_/%C/_/%B/_/%E/%A[ %C|%B|ARCHLIBNAME]| .csv

my coding above sure will find value1.equals("A"). then will continues running the code. But my code sure will exception format when find %C and %B.
Please kindly advice how to code when it have find %C, it will loop back to

and %B, it will loop back to

Thank you very much
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic