|
C |
|
|
|
|
|
|
|
|
C |
* |
|
|
-------------------------------------- |
|
|
C |
* |
|
|
Datei löschen falls vorhanden |
|
|
C |
* |
|
|
-------------------------------------- |
|
|
C |
|
|
|
EVAL |
FILENAMEDS = %TRIM(FILENAMEMIN)+NULL |
|
|
C |
|
|
|
EVAL |
FD = UNLINK |
( |
%ADDR(FILENAMEDS)) |
|
|
C |
|
|
|
|
|
|
|
|
C |
* |
|
|
-------------------------------------- |
|
|
C |
* |
|
|
Datei löschen falls vorhanden |
|
|
C |
* |
|
|
-------------------------------------- |
|
|
C |
|
|
|
EVAL |
FILENAMEDS = %TRIM(FILENAMEDLT)+NULL |
|
|
C |
|
|
|
EVAL |
FD = UNLINK |
( |
%ADDR(FILENAMEDS)) |
|
|
C |
|
|
|
|
|
|
|
|
C |
* |
|
|
-------------------------------------- |
|
|
C |
* |
|
|
Pfad anlegen |
|
|
C |
* |
|
|
-------------------------------------- |
|
|
C |
|
|
|
EVAL |
PATHNAMEDS = %TRIM(PATHNAME)+NULL |
|
|
C |
|
|
|
EVAL |
RC = MKDIR |
( |
%ADDR(PATHNAMEDS): |
|
|
C |
|
|
|
|
|
OWNR+OWNW+OWNX+ |
|
|
C |
|
|
|
|
|
GRPR +GRPX+ |
|
|
C |
|
|
|
|
|
OTHR +OTHX) |
|
|
C |
|
|
*NULL |
IFNE |
FILEPTR |
|
|
|
|
|
|
|
|
|
C |
* |
|
|
-------------------------------------- |
|
|
C |
* |
|
|
Datei anlegen und Daten sichern |
|
|
C |
* |
|
|
-------------------------------------- |
|
|
C |
|
|
|
EVAL |
FILENAMEDS = %TRIM(FILENAME)+NULL |
|
|
C |
|
|
|
EVAL |
FD = OPEN |
( |
%ADDR(FILENAMEDS): |
|
|
C |
|
|
|
|
|
OCODEPAGE+OTRUNC+ |
|
|
C |
|
|
|
|
|
OCREATE +ORDWR: |
|
|
C |
|
|
|
|
|
OWNR+OWNW+OWNX+ |
|
|
C |
|
|
|
|
|
GRPR +GRPX+ |
|
|
C |
|
|
|
|
|
OTHR +OTHX:CODEPAGE) |
|
|
C |
|
|
FD |
IFGE |
*ZERO |
|
|
|
|
|
|
|
|
|
C |
|
|
|
EVAL |
RC = WRITE |
( |
FD:FILEPTR:FILELEN) |
|
|
C |
|
|
|
EVAL |
RC = CLOSE |
( |
FD) |
|
|
C |
|
|
|
ENDIF |
|
|
|
|
|
|
|
|
|
|
C |
|
|
|
ENDIF |
|
|
|
|
|
|
|
|
|
|
C |
* |
|
|
-------------------------------------- |
|
|
C |
* |
|
|
Minibild erstellen |
|
|
C |
* |
|
|
-------------------------------------- |
|
|
C |
|
|
*BLANKS |
IFNE |
FILENAME |
|
|
|
|
|
|
|
|
|
C |
|
|
*BLANKS |
ANDNE |
FILENAMEMIN |
|
|
|
|
|
|
|
|
|
C |
|
|
|
MOVEL(P) |
FILENAME |
FILENAMEX |
|
|
|
|
|
|
|
|
C |
|
|
|
MOVEL(P) |
FILENAMEMIN |
FILENAMEMINX |
|
|
|
|
|
|
|
|
C |
|
|
|
CALL |
'IMAGE' |
IMAGEPARM |
|
|
— |
77 |
— |
|
|
|
C |
|
|
|
ENDIF |
|
|
|
|
|
|
|
|
|
|
C |
|
|
|
|
|
|
|
|
C |
|
|
|
SETON |
|
|
|
|
— |
LR |
— |
|
|
|
C |
|
|
|
|
|
|
|
|
C |
|
|
*PSSR |
BEGSR |
|
|
|
|
|
|
|
|
|
|
C |
|
|
|
ENDSR |
'*CANCL' |
|
|
|
|
|
|
|
|
|
C |
|
|
|
|
|
|
|
|
C |
|
|
*ENTRY |
PLIST |
|
|
|
|
|
|
|
|
|
|
C |
|
|
|
PARM |
|
FILEPTR |
|
|
|
|
|
|
|
|
C |
|
|
|
PARM |
|
FILELEN |
|
|
|
|
|
|
|
|
C |
|
|
|
PARM |
|
PATHNAME |
|
|
|
|
|
|
|
|
C |
|
|
|
PARM |
|
FILENAME |
|
|
|
|
|
|
|
|
C |
|
|
|
PARM |
|
FILENAMEMIN |
|
|
|
|
|
|
|
|
C |
|
|
|
PARM |
|
FILENAMEDLT |
|
|
|
|
|
|
|
|
C |
|
|
|
PARM |
|
FORMAT |
|
|
|
|
|
|
|
|
C |
|
|
|
|
|
|
|
|
X |
* |
*MAIN* |
CALL |
IFS$WRITE |
|
|
|
|
|
|
|
|
|
X |
|
|
|
C |
|
|
IMAGEPARM |
PLIST |
|
|
|
|
|
|
|
|
|
|
C |
|
|
|
PARM |
|
FILENAMEX |
|
|
|
|
|
|
|
|
C |
|
|
|
PARM |
|
FILENAMEMINX |
|
|
|
|
|
|
|
|
C |
|
|
|
PARM |
|
FORMAT |
|
|
|
|
|
|
|
|
C |
|
|
|
PARM |
'1' |
SUBMIT |
|
|
|
|
|
|
|