I should know this, but have forgotten how to do it. The following is the job. Where/how do I specify that the program is to be run with TADS ?
From CANDE, it is easy to do a RUN OBJECT/DIRSCANNER;TADS.
I need to pass various options to the program which has been compiled with TADS, which is why I am running it from the WFL.
00000100BEGIN JOB J;
00000200BDNAME=CSR;
00000310RUN OBJECT/DIRSCANNER ON WORKPACK;
00000400 DATABASE BLPACKDB(TITLE=BLPACKDB ON PACK);
00000500DATA OPTIONS
00000600PACKNAMES PROD
00000700COMPAREDATE -1
00000800?
00000900END JOB.
Thanks
Chai
On 9/22/2022 12:19 PM, CR wrote:Yes Paul, you are correct. I was just putting the "TADS" in the wrong spot with the START statement. Thanks.
I should know this, but have forgotten how to do it. The following is the job. Where/how do I specify that the program is to be run with TADS ?
From CANDE, it is easy to do a RUN OBJECT/DIRSCANNER;TADS.
I need to pass various options to the program which has been compiled with TADS, which is why I am running it from the WFL.
00000100BEGIN JOB J;
00000200BDNAME=CSR;
00000310RUN OBJECT/DIRSCANNER ON WORKPACK;
00000400 DATABASE BLPACKDB(TITLE=BLPACKDB ON PACK);
00000500DATA OPTIONS
00000600PACKNAMES PROD
00000700COMPAREDATE -1
00000800?
00000900END JOB.
ThanksThe same way you do in CANDE. TADS is a Boolean task attribute, so it
Chai
can go anywhere a task attribute can go -- after the RUN statement and before the DATA line, e.g,
00000310RUN OBJECT/DIRSCANNER ON WORKPACK;
00000350 TADS;
00000400 DATABASE BLPACKDB(TITLE=BLPACKDB ON PACK);
00000500DATA OPTIONS
Specifying just "TADS;" is the same as specifying "TADS=TRUE;"
When the program runs, TADS is going to need to connect to either a
remote station or an IDE (like PWB), so you may need to specify the
STATION or STATIONNAME attribute or supply file equation for the port file.
Paul
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 63 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 492926:08:13 |
| Calls: | 840 |
| Calls today: | 1 |
| Files: | 1,300 |
| D/L today: |
5 files (16,259K bytes) |
| Messages: | 258,426 |