02-26-2004, 03:19 PM
Hi, I just want to share a weird problem I have encountered running a program in Batch Job. I wrote a report program that passes a data from Display file to RPGLE. I process the Display using CLP and call the RPG. The user have the option to run batch or interactive mode. When running interactive mode, the program runs perfect. But when the program submit to batch job, the the problem occurs. The two parameters is 35 Chars (from and to fields). The first parm last 2 chars position 34&35 overriden by the second parms. What I did is change the field 25 chars long and my problem was solved. Is there a maximum lenght when passing data from CL program to another on batch mode? Does anybody experiece this? Were on V5R2. Thanks Tiki.