DELETING AND CREATING FILE
- Atitotito
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
8 years 5 months ago #19531
by Atitotito
DELETING AND CREATING FILE was created by Atitotito
GOOD EVENING,
PLEASE HOW DO I CHECK IF A FILE EXISTS, DELETE IT THEN RE-CREATE
PLEASE HOW DO I CHECK IF A FILE EXISTS, DELETE IT THEN RE-CREATE
Please Log in or Create an account to join the conversation.
- jpb
- Offline
- Moderator
- retired
Less
More
- Posts: 2859
- Thank you received: 649
8 years 5 months ago #19532
by jpb
Replied by jpb on topic DELETING AND CREATING FILE
What kind of file ?
Please Log in or Create an account to join the conversation.
- Atitotito
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
8 years 5 months ago #19536
by Atitotito
Replied by Atitotito on topic DELETING AND CREATING FILE
a text file. I am generating a report.. I want to check if the file exists it should be deleted or overwritten
Please Log in or Create an account to join the conversation.
- jpb
- Offline
- Moderator
- retired
Less
More
- Posts: 2859
- Thank you received: 649
8 years 5 months ago #19537
by jpb
Replied by jpb on topic DELETING AND CREATING FILE
So you should use OPENSEQ.
Overwriting can be achieved by using WEOFSEQ as first statement after the open.
Look HERE for an example.
Overwriting can be achieved by using WEOFSEQ as first statement after the open.
Look HERE for an example.
Please Log in or Create an account to join the conversation.
Time to create page: 0.092 seconds