'morning all.....
I got an odd problem here that only rears it's ugly head when the job is submitted to batch. If I run it interactive (debug) no problems.
I have an application that tracks a users tasks, time spent on each and important Notes regarding what they have done and why.
Within this app is a function for the user to see an on-screen version of their weekly report which needs to be handed in for billing purposes. If they are satisfied with it (there are some things they can do to clean it up, make it easier to read, etc.) they have a function key to generate a data file which they can then download into an Excel spreadsheet template. The function key calls a program with specific parms which then submits a job to batch.
Well, whenever they take this option to generate the file, they get a decimal data error.
As I have said, when I debug it without submitting the job to batch, it runs fine. I'm using all the same programs and parms but I get no errors.
I have traced the flow from the very first program, and all the parms, are correct. I have triple-checked the parm types, decimal vs character and all are correct.
I even went so far as to create a command for them to use in the interim until I can figure out what is going wrong AND it too uses the same programs and parms without error!
there are a lot of programs, too many to include here.
Any ideas?
I got an odd problem here that only rears it's ugly head when the job is submitted to batch. If I run it interactive (debug) no problems.
I have an application that tracks a users tasks, time spent on each and important Notes regarding what they have done and why.
Within this app is a function for the user to see an on-screen version of their weekly report which needs to be handed in for billing purposes. If they are satisfied with it (there are some things they can do to clean it up, make it easier to read, etc.) they have a function key to generate a data file which they can then download into an Excel spreadsheet template. The function key calls a program with specific parms which then submits a job to batch.
Well, whenever they take this option to generate the file, they get a decimal data error.
As I have said, when I debug it without submitting the job to batch, it runs fine. I'm using all the same programs and parms but I get no errors.
I have traced the flow from the very first program, and all the parms, are correct. I have triple-checked the parm types, decimal vs character and all are correct.
I even went so far as to create a command for them to use in the interim until I can figure out what is going wrong AND it too uses the same programs and parms without error!
there are a lot of programs, too many to include here.
Any ideas?
Comment