APAR status
Closed as unreproducible in next release.
Error description
DESCRIPTION: The CreateFile method of the FileSystem object fails when trying to overwrite an already existing file Language = "VBSCRIPT" Sub CATMain() testFile = "c:\temp\TEST.txt" MsgBox "testFile = " & testFile Set FileSys = CATIA.FileSystem MsgBox "Before CreateFile method call" Set objParmFile = FileSys.CreateFile (testFile, True) MsgBox "After CreateFile method" End Sub EXPECTED RESULTS: The file specified should either be written or overwritten without any errors. . ACTUAL RESULTS: If the file does not already exist, the CreateFile method works successfully. However, if the file does already exist, the CreateFile method fails with ScriptingERR_1002.
Local fix
Problem summary
THE METHOD FILESYS.CREATEFILE FAILS IF FILE ALREADY EXISTS.
Problem conclusion
Temporary fix
Comments
THE PROBLEM WAS SUBMITTED ON : CATIA VERSION 5 RELEASE 10 . THIS PROBLEM IS NOT REPRODUCIBLE ON : CATIA VERSION 5 RELEASE 10 SP06 level and on CATIA VERSION 5 RELEASE 11 SP02 level and on CATIA VERSION 5 RELEASE 12 GA level. INCIDENT DIAGNOSIS: THE METHOD FILESYS.CREATEFILE FAILS IF FILE ALREADY EXISTS.
APAR Information
APAR number
HD05974
Reported component name
CATIA V5/NT/200
Reported component ID
569151000
Reported release
510
Status
CLOSED UR1
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2003-04-11
Closed date
2003-05-16
Last modified date
2003-05-16
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
CATIA V5/NT/200
Fixed component ID
569151000
Applicable component levels
R510 PSN
UP
R511 PSN
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSVJ2K","label":"CATIA V5"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"510","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
16 May 2003