+ Reply to Thread
Results 1 to 5 of 5

Thread: STRPCCMD document is "Read-Only"

  1. #1

    Default STRPCCMD document is "Read-Only"

    I have an idea here which may or may not be accurate. Because you specified the file name in the STRPCCMD command, when you try to re-open the file, it appears to be still in use, because STRPCCMD has not finished executing! This is even though the associated application has been closed. If this holds true universally, then it would be safe to say, that a file may be opened by a STRPCCMD invocation only once. Dave

  2. #2
    Guest.Visitor Guest

    Default STRPCCMD document is "Read-Only"

    Hi David, So, why does STRPCCMD successfully work repeatedly against the same file on my C: drive? Besides I watch the STRPCCMD execute and go to the next CL statement. When does an STRPCCMD officially end then? More importantly, this same scenario of opening a document as "read-only" on the IFS persists if I use the MC Oct 2000 utility that passes and executes PC commands from RPG to Visual Basic. I can even close and delete the document, use "copy" to create a new document and still get the same "read-only" problem with an apparently new document having the same document name as the deleted document. This surely must be an IFS or network (NT?) issue, not a STRPCCMD issue. Is there a "time-out" value that I can modify somewhere like CHGTELNA or CHGNETA? Thanks! Chris

  3. #3
    Guest.Visitor Guest

    Default STRPCCMD document is "Read-Only"

    I found a PTF that exactly describes the problem I am having but I am still confused because I normally don't deal with PTF's: A customer is using Microsoft Power Point application and saving Power Point documents to an AS/400 (any file system). Various combinations of open and closes on the file can result in a Power Point error: 'file xxxx is being modified by yyyy Open as read-only?'. This was caused by the File Server returning an incorrect timestamp. PTF#: MF10652 - OPERATING SYSTEM/400 Licensed Program: 5763999 APAR Fixed: MA11982 Release: 310 This AS/400 is at V4R5. We don't have a product 5763999, but we do have 576999. Can operations still download this PTF even though it supposedly is a fix for V3R1M0? Or does this mean that IBM believes the problem has been fixed? I can't find a more recent PTF that describes this same problem. How do I report this problem (if it is still a problem without a PTF) to IBM? Thank you. Chris Ringer

  4. #4
    Guest.Visitor Guest

    Default STRPCCMD document is "Read-Only"

    Hi Everyone, I've been wrestling with a problem that has me pinned to the mat. A PC document (same problem for an MS Word or Excel document) exists on the IFS (Integrated File System) that I can open with: STRPCCMD PCCMD('start \my400\tempPART123.DOC') PAUSE(*NO) which starts MS Word and opens the document. If I close the document and/or MS Word and then reissue the STRPCCMD command again for the same document, sometimes the document reopens as "read-only" because some "process" thinks the file is still in use, even if I wait a full minute or two between the opens. It doesn't matter if I open the document in a fresh copy of MS Word or not. I can alternately be in MS Explorer and double click on the same document, open the document, close the document, repeat and the document always opens as read/writeable. Now, this "read-only" situation does not happen if I copy the file to my C: drive and open the file from there repeatedly with STRPCCMD. Can anyone tell me why the IFS document appears to be in use when it's not? Also, my connection and green screen user profile has *ALLOBJ authority and I own the document. The *PUBLIC object and data authorities are both *ALL. Thanks. Chris Ringer

  5. #5
    Guest.Visitor Guest

    Default STRPCCMD document is "Read-Only"

    This PTF only applied to Version 3.1 of the operating system. You should report your new problem to IBM via support at 800-237-5511. You will need your customer number and support password to get help.
    Good luck!
    Don
    I found a PTF that exactly describes the problem I am having but I am still confused because I normally don't deal with PTF's: A customer is using Microsoft Power Point application and saving Power Point documents to an AS/400 (any file system). Various combinations of open and closes on the file can result in a Power Point error: 'file xxxx is being modified by yyyy Open as read-only?'. This was caused by the File Server returning an incorrect timestamp. PTF#: MF10652 - OPERATING SYSTEM/400 Licensed Program: 5763999 APAR Fixed: MA11982 Release: 310 This AS/400 is at V4R5. We don't have a product 5763999, but we do have 576999. Can operations still download this PTF even though it supposedly is a fix for V3R1M0? Or does this mean that IBM believes the problem has been fixed? I can't find a more recent PTF that describes this same problem. How do I report this problem (if it is still a problem without a PTF) to IBM? Thank you. Chris Ringer


+ Reply to Thread

Similar Threads

  1. STRPCCMD to print a document
    By ismilemyth in forum CL
    Replies: 1
    Last Post: 10-23-2006, 03:48 PM
  2. STRPCCMD
    By GlenKerner in forum CL
    Replies: 2
    Last Post: 12-23-2005, 07:08 AM
  3. STRPCCMD
    By David Abramowitz in forum General
    Replies: 4
    Last Post: 10-04-2002, 09:08 AM
  4. STRPCCMD
    By Guest.Visitor in forum Programming
    Replies: 2
    Last Post: 10-04-2001, 02:55 AM
  5. Replies: 1
    Last Post: 07-07-2000, 10:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts