ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

updating just 2 fields in a file

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

  • #16
    Re: updating just 2 fields in a file

    I CHAIN and READ file names ... I UPDATE and WRITE record names.

    Also, posted before ...

    Code:
    Straight from the IL REference guide
    
    Examples: 
    D custkeyDS e ds extname(custfile:*key) 
    /free 
    CHAIN (keyA : keyB : key3) custrec; 
    CHAIN %KDS(custkeyDS) custrec;
    I believe if you are not going to use all of the keys for your CHAIN you can do this:

    Code:
    chain ( keyA : keyB ) custrec;
    -or-
    chain %kds( custKeyDS : 2 ) custrec;
    Your friends list is empty!

    Comment


    • #17
      Re: updating just 2 fields in a file

      Input - file name

      Output - format name
      "Time passes, but sometimes it beats the <crap> out of you as it goes."

      Comment

      Working...
      X