mfnu007
Member
List,
We have several SQL statements that create a report, that we run
periodically.
I would like to put these statements into a program format, so that we could
run them on SLEEPER.
I am having trouble getting a clean compile. Has anyone done this or have
any experience with this subject? I have looked at several programs within
JDE that use embedded SQL and P98A5_A6DW, but I am still having trouble.
Below is a sample statement, that I need to get into a program format..
Any help would be appreciated.
SELECT YAHMCU, YAPOS, YAAN8, YAEST, YAPAST, YADST, YAALPH FROM
F060116 WHERE YAPAST > 'Z' and not exists (Select * from F08101
where HPFY = 01 and HPHMCU = YAHMCU and HPPOS = YAPOS)
ORDER BY YAHMCU, YAPOS
Colette J. Culver
Programmer/Analyst
Metropolitan Government of Nashville and Davidson County
Phone 615.880.2812
Fax 615.880.2805
Colette J. Culver
System Advisor I
Metropolitan Government of Nashville
& Davidson County
615.880-2812
We have several SQL statements that create a report, that we run
periodically.
I would like to put these statements into a program format, so that we could
run them on SLEEPER.
I am having trouble getting a clean compile. Has anyone done this or have
any experience with this subject? I have looked at several programs within
JDE that use embedded SQL and P98A5_A6DW, but I am still having trouble.
Below is a sample statement, that I need to get into a program format..
Any help would be appreciated.
SELECT YAHMCU, YAPOS, YAAN8, YAEST, YAPAST, YADST, YAALPH FROM
F060116 WHERE YAPAST > 'Z' and not exists (Select * from F08101
where HPFY = 01 and HPHMCU = YAHMCU and HPPOS = YAPOS)
ORDER BY YAHMCU, YAPOS
Colette J. Culver
Programmer/Analyst
Metropolitan Government of Nashville and Davidson County
Phone 615.880.2812
Fax 615.880.2805
Colette J. Culver
System Advisor I
Metropolitan Government of Nashville
& Davidson County
615.880-2812