Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

TechTip: What Are Model Files?

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

  • TechTip: What Are Model Files?

    ** This thread discusses the article: TechTip: What Are Model Files? **
    ** This thread discusses the Content article: TechTip: What Are Model Files?0

  • #2
    TechTip: What Are Model Files?

    ** This thread discusses the article: TechTip: What Are Model Files? **
    What about the same Model File and different operating system versions, some times they change, so if you have a cataloged production program, it fails at runtime. Leonel Mejia.

    Comment


    • #3
      TechTip: What Are Model Files?

      ** This thread discusses the article: TechTip: What Are Model Files? **
      When I used the the code from the artical, I got the following error: 2100- DCLF FILE(QTEMP/QAFDMBRL) * CPD0852 30 File QAFDMBRL in library QTEMP not found.

      Comment


      • #4
        TechTip: What Are Model Files?

        ** This thread discusses the article: TechTip: What Are Model Files? **
        I don't see the code in the article, but basically here's an example that works...
        Code

        Comment


        • #5
          TechTip: What Are Model Files?

          ** This thread discusses the article: TechTip: What Are Model Files? **
          User space and data structures. A data bsae file is structured programming and object oriented. Also, insted of the cumbersome syntax of API, it should be an object orinted syntax of the command interface. to use command istead.

          Comment


          • #6
            TechTip: What Are Model Files?

            ** This thread discusses the article: TechTip: What Are Model Files? **
            When using outfiles in a program you should compile with LVLCHK(*NO). Outfiles can change with new releases, but the changes are typically done by adding new fields to the end of the records. Accessing outfiles with LVLCHK(*NO) will allow existing programs to continue running and you should only need to recompile those programs that want to use the newly added fields. This consideration is generally found under the topic Programming Considerations/Output file (OUTFILE) changes in each releases Memo to Users. If an outfile is changed in an incompatible fashion that would be specifically called out in the Memo to Users. Bruce Vining

            Comment


            • #7
              TechTip: What Are Model Files?

              ** This thread discusses the article: TechTip: What Are Model Files? **
              but this does... PGM DCLF FILE(QADSPFFD) DSPFFD FILE(MYFILE) OUTPUT(*OUTFILE) + OUTFILE(QTEMP/QADSPFFD) OVRDBF FILE(QADSPFFD) TOFILE(QTEMP/QADSPFFD) CALL PGM(MYHLLPGM) DLTOVR FILE(QADSPFFD) ENDPGM also, the easisest way to find the model file name is to prompt the command and press F1 whilst in the OUTFILE parameter. You will then find a list of all the model files for the command in question...
              Code

              Comment

              Working...
              X