generate the file path with name required

Hi all

as a sys user I want to draw a user session. so, I'm using

SQL > EXEC DBMS_SYSTEM.set_sql_trace_in_session (sid = > 123, serial #= > 1234, sql_trace = > TRUE);

SQL > EXEC DBMS_SYSTEM.set_sql_trace_in_session (sid = > 123, serial #= > 1234, sql_trace = > FALSE);

track. but this track file is the mixture with an another udump trace files.

did a few google and found that we can use ALTER SESSION SET TRACEFILE_IDENTIFIER = "MY_TEST_SESSION." but it will generate a trace file for the user account sys not to the session of the user of your choice. How we can define the name of the user of your choice session trace file.

Please let me...

Thank you

Note how to track of database users specific to collect full DML statements Executed (Doc ID 309798.1) explains how to set the identifier for a specific user using a trigger. This may work for what you are looking for

Paul

Tags: Database

Similar Questions

  • B2B generate the file with the file extension will start

    Hi guru B2B.

    We have a problem with the name of the output file. We have customized the java class to change the file name out based on operational needs. It works well, but recently, we see the file with the extension name from "start" are generated with size '0 '. The right files always generated with the appropriate content.

    Can someone tell us what is causing this problem?

    Thank you in advance,

    NAFTA Li

    Hi Alena

    I assume you are using a B2B channel tuned to retrieve messages in a folder. Please check if this channel to listen is to have the parameter enable selected marker.

    Disabling the marker Enable should avoid generating the file start in the folder.

    Thank you

    Arun

  • name the file exported with date

    Hi, I use this command to export my schema

    exp file = c:\expdat.dmp med/med

    I think that if I use the same command over and over again, it will replace the old file with the new one? right?

    2. I want to name the file exported with the sysdate (date and time)? , and I think it's a way to create a new file and does not replace the old file.

    Thank you

    Here is an example of adding a date for a file name:

    > exp med/med file=c:\expdat.%date:~10,4%%date:~7,2%%date:~4,2%.dmp

    To add as a data and once, you just need something based on time that is unique, so try something like:

    > exp med/med file=c:\expdat.%date:~10,4%%date:~7,2%%date:~4,2%.%time:~1,1%%time:~3,2%%time:~6,2%%time:~9,2%.dmp

  • Measurement and Automation does not open and generates the MAXKnownException error with an unknown exception.

    Measurement & Automation does not open and generates the MAXKnownException error with an unknown exception.

    Heres the log

    Context where the exception was taken:
    (No context - the unhandled exception)

    Size version of Base module
    -------------------- -------- -------- ------------------
    NIMax.exe 00400000 0006 has 000 4.6.0.49152
    ntdll.dll 770E0000 00180000 6.1.7601.18247
    00110000-76060000 6.1.7601.18409 Kernel32.dll
    KERNELBASE.dll 74E00000 00047000 6.1.7601.18409
    SYSFER. 74830000 00072000 12.1.1101.401 DLL
    1BFB0000 0001 NiMaxImp.dll B 000 4.6.0.49152
    Shell32.dll 74E50000 00C4A000 6.1.7601.18429
    Msvcrt.dll 76830000 000AC000 7.0.7601.17744
    74 00000 00057000 6.1.7601.17514 SHLWAPI.dll
    76740000 00090000 6.1.7601.18275 Gdi32.dll
    00100000 76480000 6.1.7601.17514 User32.dll
    Advapi32.dll 75DD0000 000 A 0000 6.1.7601.18247
    sechost.dll 76CC0000 00019000 6.1.7600.16385
    000F0000 rpcrt4.dll 76980000 6.1.7601.18205
    SspiCli.dll 74AE0000 00060000 6.1.7601.18443
    CRYPTBASE.dll 74AD0000 0000 C 000 6.1.7600.16385
    LPK.dll 76470000 0000 has 000 6.1.7601.18177
    USP10.dll 768E0000 0009D 000 1.626.7601.18454
    Ole32.dll 75F00000 0015C 000 6.1.7601.17514
    Msvcp90.dll 739F0000 0008E000 9.0.30729.6161
    Msvcr90.dll 73DB0000 000 has 3000 9.0.30729.6161
    74470000 00009000 6.1.7600.16385 VERSION.dll
    IMM32. 00060000 60000 74 6.1.7601.17514 DLL
    000CC000 76BB0000 MSCTF.dll 6.1.7600.16385
    74320000 00021000 6.1.7600.16385 Ntmarta.dll
    Wldap32.dll 00045000 763E0000 6.1.7601.17514
    Uxtheme.dll 6EB20000 00080000 6.1.7600.16385
    NiMaxUI.dll 1C2D0000 00269000 4.6.0.49153
    Msvfw32.dll 6BE30000 00021000 6.1.7601.17514
    73970000 00032000 6.1.7601.17514 WINMM.dll
    Comctl32.dll 73E80000 0019E000 6.10.7601.17514
    Wsock32.dll 73DA0000 00007000 6.1.7600.16385
    74DC0000 00035000 WS2_32.dll 6.1.7601.17514
    NSI.dll 75AA0000 00006000 6.1.7600.16385
    Oleaut32.dll 76580000 0008F000 6.1.7601.17676
    6D8E0000 003 Mfc90u.dll has 1000 9.0.30729.6161
    MSIMG32.dll 6EBA0000 00005000 6.1.7600.16385
    dwmapi.dll 6EB00000 00013000 6.1.7600.16385
    MFC90ENU. DLL 6EAF0000 0000 D 000 9.0.30729.6161
    NiMaxRes.dll 1BFD0000 0007 has 000 4.6.0.49153
    BtMmHook.dll 10000000 00038000 6.4.0.2900
    PSAPI. DLL 76440000 00005000 6.1.7600.16385
    DCIMAN32. DLL 6E1F0000 00006000 6.1.7601.18177
    MXS.dll 1 B 240000 4.6.0.49152 0000F000
    mxsutils.dll 1B4D0000 00041000 4.6.0.49152
    Msvcp71.dll 7C3C0000 0007C 000 7.10.6030.0
    7 360000 00056000 7.10.6030.0 Msvcr71.dll
    mxsout.dll 1 B 400000 00075000 4.6.0.49152
    64600000 00014000 4.257.3.0 nirpc.dll
    Mswsock.dll 73A 90000 0003C 000 6.1.7601.18254
    profapi.dll 76460000 0000B 000 6.1.7600.16385
    mxMax.dll 1BF20000 00086000 4.6.0.49152
    58000000 00240000 6.5.0.3005 AsstntUI.mxx
    MFC80U. DLL 71210000 8.0.50727.6195 0010F000
    MSVCR80.dll 0009B 000 8.0.50727.6195 72E50000
    Comdlg32.dll 20000 75 0007B 000 6.1.7601.17514
    71180000 00087000 8.0.50727.6195 Msvcp80.dll
    ATL80. DLL 6BD70000 0001 B 000 8.0.50727.6195
    MFC80ENU. DLL 730F0000 8.0.50727.6195 0000E000
    59000000 00582000 6.5.0.3005 mxwTask.dll
    00011000 74180000 6.1.7601.17887 Netapi32.dll
    74170000 00009000 6.1.7601.17514 netutils.dll
    74150000 00019000 6.1.7601.17514 srvcli.dll
    wkscli.dll 74140000 6.1.7601.17514 0000F000
    56000000 00148000 6.5.0.3005 mxwRCEng.dll
    mxcal.mXX 1 A 110000 00056000 4.6.0.49152
    mxcat.mXX 1BE20000 000AB000 4.6.0.49152
    nidmfuiu.mXX 04360000 0010D 000 1.11.0.49152
    NIPALU.dll 64000000 00057000 2.1025.3.0
    64500000 00006000 2.1025.3.0 nipalut.dll
    NIPAL32.dll 00007000 1F700000 2.1025.3.0
    SETUPAPI.dll 76240000 0019D 000 6.1.7601.17514
    CFGMGR32.dll 75DA0000 00027000 6.1.7601.17621
    76220000 00012000 6.1.7601.17621 DEVOBJ.dll
    6 280000 00031000 1.9.0.49152 nimdbgu.dll
    6 000000 00017000 1.9.3.49152 niorbu.dll
    nimstsu.dll 6E180000 0001 has 000 1.11.0.49152
    nimhwcfu.dll 6DFD0000 000 B 6000 1.11.0.49152
    6 050000 0001E000 1.9.0.49152 nidimu.dll
    nimxdfu.dll 0003E000 1.10.0.49152 6D0F0000
    nimxpu.dll 6E1B0000 0000 000 1.11.0.49152 B
    Iphlpapi.dll 74280000 0001C 000 6.1.7601.17514
    WINNSI. DLL 74270000 00007000 6.1.7600.16385
    74B 40000 001BD000 11.0.9600.17126 WININET.dll
    76A 70000 API-MS-Win-Downlevel-User32-L1-1-0.dll 00004000 6.2.9200.16492
    770B 0000 API-MS-Win-Downlevel-shlwapi-L1-1-0.dll 00004000 6.2.9200.16492
    75AB0000 API-MS-Win-Downlevel-Version-L1-1-0.dll 00004000 6.2.9200.16492
    76430000 00003000 6.2.9200.16492 API-MS-Win-Downlevel-normaliz-L1-1-0.dll
    normaliz. DLL 76450000 00003000 6.1.7600.16385
    iertutil.dll 75AC0000 00219000 11.0.9600.17126
    76610000 00005000 6.2.9200.16492 API-MS-Win-Downlevel-advapi32-L1-1-0.dll
    76200000 00017000 6.1.7601.17514 USERENV.dll
    nidmxfu.dll 04470000 0049F000 1.12.0.49152
    nimru2u.dll 6EC70000 00044000 2.10.1.49152
    nimmgluu.dll 69830000 0001E000 1.11.0.49152
    nimercu.dll 6DFB0000 00019000 1.11.0.49152
    MFC71. 00106000 140000 7 7.10.6101.0 DLL
    MFC71ENU. 360000 5 0000E000 7.10.3077.0 DLL
    niGPIBui.mxx B 6, 000000 0008E000 2.7.0.49152
    niIVIui.mxx 02CE0000 000D 0000 4.2.0.49152
    niPXIui.mxx A 671 0000 000BC000 2.1280.1.49152
    niRemPXI.mxx 1 A 270000 00057000 4.6.0.49152
    mxRmCfg.dll 1 has 000000 00090000 4.6.0.49152
    niRMui.mxx 1AD70000 000FD000 4.6.0.49152
    NISRLUI.mxx 6B 500000 00061000 3.4.0.49154
    63800000 00010000 2.7.0.49152 NiSpyLog.dll
    niSWui.mxx 1A3B0000 00072000 4.6.0.49152
    niVISAui.mxx 63360000 0017D 000 4.1280.0.49152
    62 30000 0002E000 4.1280.0.49152 niVISAres2.dll
    RICHED32. DLL 40000 00006000 6.1.7601.17514 6FC
    Riched20.dll 61F70000 00076000 5.31.23.1230
    Wshtcpip.dll 73A 80000 00005000 6.1.7600.16385
    nisysapi.dll 68 has 00000-000B 2000 5.5.2.49152
    Dbghelp.dll 70F20000 000EB000 6.1.7601.17514
    -------------------- -------- -------- ------------------

    Application: C:\Program Files (x 86) \National Instruments\MAX\NIMax.exe
    User name: administrator
    OS version: 6.1.7601 (Service Pack 1)
    Exception code: C06D007E
    Exception addr: 74E0C42D

    Sender's address: 74E0C42D
    Function name: RaiseException
    Module name: KERNELBASE
    Parameters: 00000000 00000001 0518FD84 C06D007E
    Source file: (not available)

    Sender's address: 68A3C6F7
    Function name: DllUnregisterServer
    Module name: nisysapi
    Parameters: 00000000 0518FD50 005F59B8 0000001E
    Source file: (not available)

    Sender's address: 68A53D87
    Function name: DllUnregisterServer
    Module name: nisysapi
    Parameters: 00000350 68A791B8 005F59B8 00000000
    Source file: (not available)

    Sender's address: 68A0DC65
    Function name: nisysInitDiagnosticsByValue
    Module name: nisysapi
    Parameters: 68A 01680 00000001 68A93BB8 FFFFFF01
    Source file: (not available)

    Sender's address: 68A0DFC4
    Function name: nisysInitDiagnosticsByValue
    Module name: nisysapi
    Parameters: 005E2C40 00000000 00000001 00000001
    Source file: (not available)

    Sender's address: 68A 01698
    Function name: nisysInitDiagnosticsByValue
    Module name: nisysapi
    Parameters: 005E2C40 00000000 00000001 00000001
    Source file: (not available)

    Sender's address: 1BE27A73
    Function name: mxGetProvider
    Module name: mxcat
    Parameters: 020469F0 02047084 0518FED0 1BE76CBA
    Source file: (not available)

    Sender's address: 1BE30D2E
    Function name: mxGetProvider
    Module name: mxcat
    Parameters: 02029FA8 02047748 0518FF34 1BE21D4C
    Source file: (not available)

    Sender's address: 1BE35780
    Function name: mxGetProvider
    Module name: mxcat
    Parameters: 00000000 00000000 02047818 020469F0
    Source file: (not available)

    Sender's address: 1BE21D4C
    Function name: (not available)
    Module name: mxcat
    Parameters: 02029FA8 1BE6264D 0518FF7C 73DD3433
    Source file: (not available)

    Sender's address: 1BE21CDC
    Function name: (not available)
    Module name: mxcat
    Parameters: 02030018 00000000 00000000 9192C45C
    Source file: (not available)

    Sender's address: 73DD3433
    Function name: endthreadex
    Module name: MSVCR90
    Parameters: 00000000 0518FF94 7607338A 02047818
    Source file: (not available)

    Sender's address: 73DD34C7
    Function name: endthreadex
    Module name: MSVCR90
    Parameters: 02047818 0518FFD4 77119F72 02047818
    Source file: (not available)

    Sender's address: 7607338A
    Function name: BaseThreadInitThunk
    Name of the module: kernel32
    Parameters: 02047818 00000000 00000000 775D5D69
    Source file: (not available)

    Sender's address: 77119F72
    Function name: RtlInitializeExceptionChain
    Name of the module: ntdll
    Parameters: 02047818 00000000 00000000 73DD345E
    Source file: (not available)

    Sender's address: 77119F45
    Function name: RtlInitializeExceptionChain
    Name of the module: ntdll
    Parameters: 02047818 00000000 00000000 73DD345E
    Source file: (not available)

    If I could come with the OS discs for the thing, I think I'd do a new install of Windows 7.

    Mike...

  • IE7 "could not open the file: * path *.» The file exists may not

    I created a package of IE7 a while back which works great.  Apart from this little problem.  It generates an error when the user tries to open a .msg to the WebApp.  It will try to open Outlook and display the following error message.  «Could not open the file: * path *.»  The file exists may not, you don't have permission to open it, or it may be open in another program.  Right click on the folder that contains the file, and then click action to check your permissions for the folder. »

    All the other files attached to work.  PDF, html, txt, rtf, etc.  I tried to move temporary Internet files to a different location with the same result.

    Someone at - it ideas?

    Thank you!

    He was captured on Windows Server 2003 x 64 running on W7 x 64

    Also note that when users choose to save him, it opens fine.  This isn't an "acceptable workaround solution.

    Looks a lot like this one: http://blogs.vmware.com/thinapp/2011/01/locally-installed-applications-and-integration-with-virtualized-internet-explorer.html

  • Unable to play video file error: Windows Media Player cannot play the file. The player might not support the file type or a required codec may not be installed on your computer

    Original title: Windows Media Player shows that the new codecs are required

    Original title: query codec and Media Player re

    Have used windows media player for many years on my dell. Usually to see the videos from Sony handycam. Just downloaded wmediaplayer and recent videos from Camcorder will not open one of the videos.

    The following message is displayed "Windows Media Player cannot play the file. The player might not support the file type or a required codec may not be installed on your computer. »

    As I have not changed anything helpful suggestions please.

    concerning

    The winemaker

    Hello

    1. What is the format of the video file?

    2. what operating system is installed on the computer?

    Method 1: Run the troubleshooter in Windows Media Player on Windows 7 settings:

    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-settings-Troubleshooter

    Method 2: You can check if the file format of the music files are supported by Windows media player using the link below.

    Information on the types of media files that supports Windows Media Player

    Note: If you have tried to play the file type is included in this table, the file might have been encoded with a codec that is not supported by Windows Media Player. If this is the case, Windows Media Player cannot play the file.

    Method 3: In addition, you can also download & install the necessary codec to play the files.

    For more information, see: Codecs: frequently asked questions

    (For Windows Vista)

    WARNING of THIRD PARTY SOFTWARE: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Hope this information is useful.

  • Transfer the file RAW with edited Information?

    I have Lightroom on my pc laptop and desktop (Windows Vista and Windows 7 64 bit respectively).  I copied a few Canon RAW CR2 files to my laptop in the field and edited some of the files.  Is it possible to transfer these changes, along with the files on my desktop pc?

    Probably do you a temporary LR catalog on the LT to make your changes, but your permanent catalog is on the DT?

    On your LT, if you use the library / metadata / save metadata to the files (plural) with selected images in the library grid, you should get an XMP file for each file CR2 containing the snapshot of adjustments when you perform the backup.  Copy the CR2 as well as the XMP file on your desktop, and when you import the changes will be part of the State of the initial import.  If you have already imported the files on your w/o the XMPs DT, then remove them from the library of DT (but not record) and reimport them after copying the XMP files above.

    If it is something unique, then the single transfer and CR2/XMP is ok.

    Depending on what else is in the your LT LR catalog, you can export a catalog, with just your images and their settings and import this catalog on your DT, change the paths to the images if necessary on the side of DT.

    Presumably, you know how to copy files (CR2s, XMPs, LRCATs) from your laptop to your desktop through a network or a USB drive connected, right?

    Either of these processes is a little messy.  If you do this on an ongoing basis then think about how to make the process as simple as possible.  What I do is have the LR catalog and images (for the last year, at least) on an external drive 1 TB USB3-speed that I bought at Best Buy, where drive letter is set to be the same on both computers I use LR on, and then I just plug in the USB drive to any computer I want to use at the moment.  I backup all the contents of the drive every night at a different speed USB3 drive so if I never forget that I'm wearing autour and destroy it, then I have another copy of everything.

    The initial copy took time, but changes in nightly replication does not take too long.  I use PTReplicator from KarenWare to plan a my pictures folder replication nightly at 02:00.  There are other similar programs to facilitate unidirectional replication such as RoboCopy SyncToy and DoubleTake.

  • Attaching generated the file in the intrusion via cfmail excel

    Hello

    I have attached the code in which I generated an excel file of my data, which the user can then open/save on their PC. Now, I want to join this excel file to an email (using intrusion via cfmail) and send it (the task will then become planned).

    How do I save rather than the excel output file?

    Katie

    Hello

    Take a look at the following tags:

    1)
    to generate a variable of your tabs-delimited content
    to generate a file temp with your content
    and attach this file to your e-mail
    or
    2)

    to attach the variable directly to e-mail without prior establishment of a temporary file (have not tried myself)

    see you soon,
    Fouad

  • What is the file brayhs with size zero?

    Original title: brayhs

    What is the file brayhs with size zero?
    How can I clean my system (windows Server 2003) this?

    Run a full scan of the system and set your PC to show hidden and system files and the folder and check if there is any suspicious element or just try to delete.

  • I lost all the file associaation, with the exception of aol, how do I add these files?

    I lost all the file associaation, with the exception of aol, how do I add these files?

    Hello

    1. what happens when you try to open a program?
    2. have you made changes on the computer recently?

    Try the steps listed in the article below and check.
    How to change or choose the program that starts when you double-click a file in Windows XP
    http://support.Microsoft.com/kb/307859

    I hope this helps.

  • DVD how much we need for the files backup with backup and restore program?

    Hello how are you?
    DVD how much we need for the files backup with backup and restore program? Y at - it large differences in the time and space between write backups on DVD and external hard drive?

    I do not understand your question.  Asked how the space has been used on your C: drive and you answered 60 GB.  Now you say your PARTITION C: is 60 GB with only 20 GB used?  I really don't understand what you're so confused.  It's simple arithmetic grade 3rd.  What is space you USED on the C: drive, that multiply by 0.7 to obtain the amount of space will be used on your backup disk after compression.  Divide this number by 4.7 and round.  That's how many DVDs you'll need if you insist on the use of DVDs for backup.  Then

    (1) If you are using 60 GB, the answer is (60 x.7) / 4.7 = 8.936.  I rounded up to 9 and added 1 just to be sure.

    (2) If you use only 20 GB, the answer is (20 x.7) / 4.7 = 2.97 rounded up to 3.  Add 1 and get 4.

    If you use only 20 GB, I am very surprised, because almost any important installation of Windows 7 is going to take more than 20 GB.

    All of this assumes that you do NOT use the Windows backup and restore program, but one that I recommended.  When I used the windows one, the results were several times the space that I used on my C: partition.

    Good luck.

  • Is possible to write the INSERT statement that fills two columns: 'word' and 'sense' of the file text with multiple lines - in each line is followed word that is the meaning?

    Is possible to write the INSERT statement that fills two columns: 'word' and 'sense' of the file text with multiple lines - in each line is followed word that is the meaning?

    Hello

    2796614 wrote:

    Is possible to write the INSERT statement that fills two columns: 'word' and 'sense' of the file text with multiple lines - in each line is followed word that is the meaning?

    Of course, it is possible.  According to what the text file looks like to, you can create an external table that treats the text file as if it were a table.  Otherwise, you can always read the file in PL/SQL, using the utl_file package and INSERT of PL/SQL commands.

    You have problems whatever you wantt?  If so, your zip code and explain what the problem is.

    Whenever you have any questions, please post a small example of data (CREATE TABLE and only relevant columns, INSERT statements) for all of the tables involved and the exact results you want from these data, so that people who want to help you can recreate the problem and test their ideas.  In this case, also post a small sample of the text involved file.

    If you ask about a DML operation, such as INSERT, then INSERT statements, you post should show what looks like the tables before the DML, and the results will be the content of the table changed after the DML.

    Explain, using specific examples, how you get these results from these data.

    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: Re: 2. How can I ask a question on the forums?

  • Can generate the file TKPROF without the SQL does not finished?

    Hi all:
    I want to generate the TKPROF to the trace file file, can generate the file TKPROF without the SQL does not finished? The file TKPROF can be used? because the report is too large. My environment is ORACLE 11.5.9





    Concerning
    Terry

    Yes, you can run a tkprof on one incomplete (or currently being created) trace file.

    HTH
    Srini

  • Archives generate the different path compared with the path mentioned in LOG_ARCHIVE_DEST_1

    Hi all

    I have 2 Installation RAC + ASM from the node. Here, I found that generate the archives on the different path compared to the path mentioned in log_archive_dest_1.

    O/P to the list of archive logs:

    Database log modeFashion Archive
    Automatic archivingActivated
    Destination of archive+ ORAARCH

    Sequence of journal online oldest 2307

    Log sequence archive 2309

    Current log sequence2309

    Archives to generate the path are: (to 17 July 2015)

    + ORAARCH, ABCDB, ARCHIVELOG, 2015_07_17

    Please guide why such difference?

    Destination of archive + ORAARCH

    Above location is diskgroup name in ASM (OMF), all files created in the DISKGROUP/DBNAME/FILETYPE format.

    2015_07_17 is the DATE of generation of the Archive.

  • script to save .pdf with different presets generates the file size low resolution wildly different interactive operation

    The script below is adapted in part from that has been with Illustrator and other pieces and the pieces that I picked up the Forum.  When I run it on a 15.3 Mg .ai file it produces

    . The same PFS size that would be the case if I manually created at Headquarters printing and by default; but the low-resolution sort option to 9 Mg as opposed to the 439 K he "should" be.

    Please someone be kind advise me how can I change the script to work as I want that: I had counted on my custom screening done the work for me.  Thank you in advance.

       var jiName=app.activeDocument.name
    
       var pos = jiName.indexOf(".ai"); 
          if (pos > 0){
              jiName=jiName.substr(0,(pos))  
          }
        var pos = jiName.indexOf(".pdf"); 
          if (pos > 0){
             jiName=jiName.substr(0,(pos)) 
          }
        
        var saveProof = new Window ("dialog", "Save Proof");
            saveProof.orientation="column"
            saveProof.alignChildren = "center";
            
      var sPGroup1 = saveProof.add ("group");
            sPGroup1.orientation="column"
            sPGroup1.add ("statictext", undefined, "File Name");
                
      var save_pdf = sPGroup1.add ('edittext {text:"", characters: 30, justify: "center", active: true}');
            save_pdf.text=jiName+".pdf"
            
      var sPdQButtonGroup = saveProof.add ("group");
            sPdQButtonGroup.alignment = "center"; 
            sPdQButtonGroup.alignChildren="row"
            sPdQButtonGroup.add ("statictext", undefined,"File Quality");
      var HQ=sPdQButtonGroup.add ("radiobutton", undefined, "  HI-RES  ");
      var IDefault=sPdQButtonGroup.add ("radiobutton", undefined, "  Standard  ");
      var lowres=sPdQButtonGroup.add ("radiobutton", undefined, "  low-res  ");
            sPdQButtonGroup.children[1].value = false;
            sPdQButtonGroup.children[3].value = false;
            sPdQButtonGroup.children[2].value = true;
            sPdQButtonGroup.active=true;
            sPdQButtonGroup.visible=true;
            
      var sPButtonGroup = saveProof.add ("group");
            sPButtonGroup.alignment = "center"; 
            sPButtonGroup.alignChildren="row"      
                
      var sPok=sPButtonGroup.add ("button", undefined, "Save Proof");
      var sPcancel=sPButtonGroup.add ("button", undefined, "Exit");
            sPButtonGroup.active = true;
               
            sPcancel.onClick = function() {
               //sP_ok=false;
               saveProof.close();
                           }
            sPok.onClick = function() {
                
                  app.executeMenuCommand('save'); // save existing Illustrator file
                  
                  var my_pdf= new File("users/Les/Desktop/PROOFS/"+save_pdf.text); //Full File Path 
                  
                  saveFileToPDF(my_pdf);
                              
                  function saveFileToPDF(myFile){  
                  //Setup Save Options for PDF  
                  var saveOpts = new PDFSaveOptions();  
                  saveOpts.compatibility = PDFCompatibility.ACROBAT6;
                  saveOpts.generateThumbnails = true;  
                  saveOpts.preserveEditability = true;
                  saveOpts.requirePermissionPassword = true;  
                  saveOpts.permissionPassword = "*-*-*-*-*-*";
                  saveOpts.compressArt = true; //default
                 saveOpts.embedICCProfile = true;
                 saveOpts.enablePlainText = true;
                 saveOpts.generateThumbnails = true; // default
                 saveOpts.optimization = true;
                 saveOpts.pageInformation = true;
                  
                  if (HQ.value==true){
                    saveOpts.pDFPreset = '[High Quality Print]';
                  }
              
                  if (IDefault.value==true){
                    saveOpts.pDFPreset = '[Illustrator Default]';
                  }
              
                  if (lowres.value==true){
                    saveOpts.compatibility = PDFCompatibility.ACROBAT4;
                    saveOpts.pDFPreset = 'Smallest File Size v4';
                  }
              
                  //  
                  var originalInteractionLevel = userInteractionLevel;        //save the current user interaction level  
                  app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;      //Set user interaction level to suppress alerts  
                  app.activeDocument.saveAs(myFile,saveOpts);        //Save File  
                  userInteractionLevel = originalInteractionLevel;        //Set user interaction level back to original settings 
                                }
                            
                  saveProof.close();
                  
            }
                
      saveProof.active=true
      saveProof.show()
    
      
    
    

    Oh, please check that: ' "saveOpts.preserveEditability = true;".

    Maybe try to disable this option.

Maybe you are looking for