ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Retrieve File DDS

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

  • Retrieve File DDS

    Hello

    Does anybody know how to create DDS source for existing file?

    Thanks

  • #2
    Re: Retrieve File DDS

    If you have DBU this tool can create DDS. I think WRKDBF also does.

    THere is a tool on the index page FFD


    This tool shows all fields and keys for a passed in file.
    it could be modified to create DDS.

    to write to source file all you have to do
    is create source file in QTEMP
    crtsrcpf qtemp/source rcdlen(112)
    mbr(newdds)

    then in RPG just write to three field SRCDTA SRCDAT and SRCSEQ

    Hope this helps
    Jamie



    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


    • #3
      Re: Retrieve File DDS

      Originally posted by Gad Miron
      Hello

      Does anybody know how to create DDS source for existing file?

      Thanks
      What kind of file is it? Physical, logical, display, print, ...?

      Michael
      "Time passes, but sometimes it beats the <crap> out of you as it goes."

      Comment


      • #4
        Re: Retrieve File DDS

        found two one from alex_nubla his page is linked below
        and a second from midrange around 1990.....

        Latest news coverage, email, free stock quotes, live scores and video are just the beginning. Discover more every day at Yahoo!
        Attached Files
        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

        Working...
        X