Ansicht
Dokumentation

09965 - Problems deleting special files

09965 - Problems deleting special files

General Data in Customer Master   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Problems deleting special files

Hi Juan,

very strange, I'm not sure if this is an OS400 bug, normally \ is not a valid
character for file names. You can try to delete the file with QSH-command rm
./\\idocs\\test.txt or ./?idocs?test.txt (Hint: try ls instead of rm first. If
ls shows the file then rm can delete it). If this doesn't work then you can move
(QSH-command mv) all files to a different directory, move the files you need
back and use rm -rf to delete the other directory.

Thomas

-----Ursprüngliche Nachricht-----
Von: Joan Mir Rubio [mailto:jmirZcamper.es]
Gesendet: Donnerstag, 1. Mai 2003 11:19
An: DoNotReply@consolut.eu
Betreff: RE: Problems deleting special files


Thank you Chris.

Using the QSH we have deleted all files with c:* and d:*, but there is a last
case of files that we can't delete. Files STMF with name \idocs\test.txt (for
example), that were created with the path inside the name because there wasn't
the directory idocs.

Thank you very much.
Best regards,
Juan


> -----Mensaje original-----
> De: Sugg, Chris [mailto:cgcsuggZnmhg.com]
> Enviado el: miércoles, 30 de abril de 2003 19:30
> Para: 'DoNotReply@consolut.eu'
> Asunto: RE: Problems deleting special files
>
> Hi Juan.
>
> From the AS400 command line:
>
> QSH
> cd <directory where your files are located at /usr/sap/....>
> rm <file to be deleted>
>
> In your case rm c:* or rm d:* , This would remove all STMF files that
> started with c: or d:. Also remember that it is case sensitive.
>
> Good luck,
> Chris Sugg
>
> -----Original Message-----
> From: Joan Mir Rubio [mailto:jmirZcamper.es]
> Sent: Wednesday, April 30, 2003 9:17 AM
> To: DoNotReply@consolut.eu
> Subject: Problems deleting special files
>
>
> Dear group,
>
> Sometimes our sap users save files in the AS/400 server instead of his
> local hosts using windows names. Then, SAP saves the files in the
> /usr/sap/<sapid>/DVEBMGS<inst number>/work with names like
>
> c:\prueba.txt STMF
> d:\pgc.txt STMF
>
> or if the path does not exist, it joins it with the name.
>
> \IDOCS\IN01535.txt STMF
> \QDLS\SAPTOOL\CLIP STMF
>
> I have tried to delete them several times with qsecofr using WRKLNK or
> the navigator, but it always returns a
> "path error with name /usr/sap/D03/DVEBMGS13/work/c:/prueba.txt"
>
> Do you how can we delete them?
>
> Thank you,
> Juan Mir
>
>
>
> 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
>
>
>
> 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
>



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

Fill RESBD Structure from EBP Component Structure   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 5143 Date: 20240329 Time: 153356     sap01-206 ( 3 ms )