Ansicht
Dokumentation
06239 - Automatic triggering of and ABAP program
CPI1466 during Backup CPI1466 during BackupThis documentation is copyright by SAP AG.
Automatic triggering of and ABAP program
Hi,if you really know the name of the STMF and not onlny the directory it is a
bit simpler.
You just issue all 300 s or whatever, the following command:
DSPLNK OBJ('/tmp/<name>') OUTPUT(*PRINT)
If it fails, you wait again, otherwise, you start processing of this file.
Regards
Volker
-----Original Message-----
From: sfmick95 [mailto:sfmick95Zy...]
Sent: Freitag, 24. Mai 2002 11:13
To: DoNotReply@consolut.eu
Subject: Re: Automatic triggering of and ABAP program
Hi Volker
can you elaborate more on your quick and dirty way suggested ?
I believe in Unix we can test the present of a file and the system
will return either a true = 1 or false = 0 in variable $. Is there
a same way to test in the case for OS400 ?
thanks
mick
--- In SAP on System iZy..., "Gueldenpfennig, Volker"
<volker.gueldenpfennigZs...> wrote:
> Hi Mick,
>
> I think, I would use a small RPGLE program to check for the files
in a
> specific directory. This would run periodically. For any "hit" I
would call
> the CL-Program.
>
> If you want to have a "quick&dirty" solution, you can use a pure CL
program
> with the old spoolfile-output trick and CPYSPLF as follows:
> DSPLNK OBJ('/tmp/*') OUTPUT(*PRINT) OBJTYPE(*STMF) DETAIL(*BASIC)
>
> Regards
>
> Volker
>
> -----Original Message-----
> From: sfmick95 [mailto:sfmick95Zy...]
> Sent: Freitag, 24. Mai 2002 06:15
> To: SAP on System iZy...
> Subject: Automatic triggering of and ABAP program
>
>
> Hi All
>
> Is it possible to schedule a CL to query a specific directory
> for an incoming IFS file and then trigger an ABAP program to
> upload and process it.
>
> I understand we can use SAPEVT at O/S level to trigger the event,
> but how can I schedule it as a periodic job?
>
> thanks & regards
>
> mick
>
>
>
> Have a look to our homepage at: http://www.consolut.net
> SAP on System i-unsubscribeZy...
>
> Your use of consolut is subject to
http://www.consolut.net
Have a look to our homepage at: http://www.consolut.net
DoNotReply@consolut.eu
Your use of consolut is subject to http://www.consolut.net
Durban Tours - Südafrika Safari
ROGBILLS - Synchronize billing plans Vendor Master (General Section)
This documentation is copyright by SAP AG.
Length: 3419 Date: 20240602 Time: 015041 sap01-206 ( 3 ms )