sponsored links

Collapse

Announcement

Collapse
No announcement yet.

Diff between SFLCLR and SFLINZ+SFLRNA

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

  • Diff between SFLCLR and SFLINZ+SFLRNA

    Can any tell me the difference between sflclr and sflinz + sflrna.
    and can we display a subfile just after sflinz using sfldsp.

  • #2
    SFLCLR removes all the records in a subfile and SFLINZ fills the subfile with records that have the default value for all of the fields. SFLRNA makes the records output with SFLINZ inactive but they are still there. Since records are in the subfile when using SFLINZ, they can be displayed with SFLDSP. See the manual for a more detailed explanation.

    Comment


    • #3
      what do u mean by inactive here

      Comment


      • #4
        Originally posted by Iceberg View Post
        what do u mean by inactive here
        "Inactive" means just what the SFLRNA documentation says that it means:
        • Your program cannot send an input operation to an inactive subfile record. Issuing a get-next-changed operation to one of the subfile records returns the record only when the record has become active and has been changed.

          Your program cannot send output operations to active records (SFLRNA not specified). It must send update operations. Also, your program cannot send update operations to inactive records (SFLRNA specified). It must send output operations.
        The records exist in the subfile, but your program can't read any of them back in unless they are activated by one of the documented actions.
        Tom

        There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors.

        Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?

        Comment


        • #5
          From the DDS-Display File manual under the SFLRNA keyword:
          Subfile records are not considered active unless one of the following
          conditions occurs:
          1. Your program sends an output operation to the subfile record format, placing data in one of the subfile
          records. The subfile record becomes active but is not considered changed unless the SFLNXTCHG
          keyword is also in effect.
          2. After your program displays the subfile, the workstation user types data into subfile records. The
          records typed in become active and changed.
          I've never had to use the SFLRNA keyword. Is there a specific problem that you're trying to solve?

          Edit: I wrote this last week and forgot to post it. Thanks to Tom for providing an answer.

          Comment

          sponsored links

          Collapse

          Working...
          X