Tags:
create new tag
view all tags

.UTIL PROCESS DD

This subroutine processes the Data Dictionary for the selected Application or File.


Usage:

      PASS         <application>              FIELD            SHARE? N
      PASS         <version>                  FIELD            SHARE? N
      PASS         <work_fields>              FIELD            SHARE? N
      PASS         <file_name>                FIELD            SHARE? N
      GOSUB    --- .UTIL PROCESS DD
      *        Check for errors
      IF       --- .UTIL PROCESS DD           NE


Description:

This subroutine processes the Data Dictionary for the selected Application or File. The first 2 parameters are required. If any required parameters are missing, the subroutine will CANCEL.

<application> is the application that contains the files to be processed (Required).

<version> is the version of the above application (Required).

<work_fields> is a Y/N flag that indicates whether or not work fields should also be processed (Optional). If not passed, defaults to Y.

<file_name> is the specific file in <application> you want processed (Optional). If not PASSed, then all files in <application> will be processed.

This subroutine performs the same function as 'Process Data Dictionary' in application design.

If .UTIL PROCESS DD is blank, it means the Data Dictionary compiler was successfully invoked, it does not mean that every file processed successfully. You must check the --- PDERR file to see which processes had errors, if any. The --- PDERR TEXT field will contain the error message in printable form. You can also use the --- PDERR ERR NO field to read --- MESSAGE to get the readable error message:

      SET      --- MESSAGE ID                 =  --- PDERR ERR NO
      READ     --- MESSAGE                HOLD 0 FT 0 BY MESSAGE ID

Comments:

Read what other users have said about this page or add your own comments.


-- JeanNeron - 2012-03-09

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2014-01-28 - GaryRogers
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback