ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

File Sharing Allowed . . . . . . . . . : NO

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • File Sharing Allowed . . . . . . . . . : NO

    when i do a program dump why am i getting this. and what do i need to do to make the files shared.

    Thanks in advance

  • #2
    Re: File Sharing Allowed . . . . . . . . . : NO

    umm

    ovrdbf share(*yes) ??

    you didnt give us too much information there cowboy
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

    Comment


    • #3
      Re: File Sharing Allowed . . . . . . . . . : NO

      it is off a physical and logical files that i have created. no cl's involved are involved in these programs. the program works fine as long as one person is using it but i need multiple people to be in them at one time. I understand that i should have record locking but not the whole file. what am i doing wrong when i create them.

      thanks again hope that explains it a little better.

      Comment


      • #4
        Re: File Sharing Allowed . . . . . . . . . : NO

        When you define your file as update

        fSLGSLMNA uf e k disk

        when you read the record you lock it.
        Im guessing your loading a subfile??? by reading the file and
        the file you are reading is an update file.

        you can read an update file by record and not lock by doing this

        read(n) - this is read no-lock then when user wants to update this record
        then chain back and update when found.

        does this help?

        jamie
        All my answers were extracted from the "Big Dummy's Guide to the As400"
        and I take no responsibility for any of them.

        www.code400.com

        Comment


        • #5
          Re: File Sharing Allowed . . . . . . . . . : NO

          yes u were correct and thank you for your info. it was what i was looking for in a round about way.

          thanks again for being so quick to respond

          Comment

          Working...
          X