StewartGilligan
asked on
writing a batch file to run reports
I am looking to write a batch file to automatically run reports from a point of sale software program. I know nothing of batch files but here is the batch file (see below) that was currently used (but it runs different reports). how do I know which Y and N to use? sorry for my lack of knowledge. thanks
REM *Unknown Command
C:
cd\sc
REM *Unknown Command
REM *Sales Journal Report
PSNEWW 1 1 NNYNYNNNYNNNNYNN YNNNNNNNN N
REM *Sales Trend Report
SLTRENDW C 2 1
REM *Unknown Command
C:
cd\sc
REM *Unknown Command
REM *Sales Journal Report
PSNEWW 1 1 NNYNYNNNYNNNNYNN YNNNNNNNN N
REM *Sales Trend Report
SLTRENDW C 2 1
ASKER
actually working now. just wrong reports.....
Do you mean if you change the NY sequences, it runs or you expect it to run a different report? Have you tried changing it?
That is something we cannot really help with, because the reports are proprietary, and the parameters do not have any meaning to us.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thank you. I kind of figured we would need a manual of some sort. thanks
ps I have another batch question so I guess I should start a different thread
ps I have another batch question so I guess I should start a different thread
Looks like it runs 2 things:
PSNEWW with various parameters
...and
SLTRENDW with various parameters
Are these "NNYNYNNNYNNNNYNN YNNNNNNNN N " your guesses or an actual working one?
Are PSNEWW and SLTRENDW also batch files? If so, you can open those files and possibly see what those parameters mean.